Hello everyone,
This bug was about not setting the flowsheet to be green in those cases
when the model is solved but is non-square. In other words, to declare a
model "successfully solved" only when everything is perfect with the
system.
Upon preliminary investigation I found that this is a difficult task given
the present structure of the code which switches between python,C and C++.
My findings include :
1. The information about "squareness" of system is detected in "block.c"
which lies in the system branch of the code. The error message related to
the same is written onto some file from where gtkbrowser.py retrieves it
and displays it.
2. There is no direct variable, as of now, from where this information can
be accessed by gtkbrowser.py. There are variables like ASCXX_VAR_SOLVED,
ASCXX_REL_INACTIVE, etc to detect convergence,etc but not one that detects
the squareness.
3. However in "simulation.cpp" there is a variable "StructuralStatus" which
records this information but I couldnt find a way to access it through
gtkbrowser.py.
It would be helpful if someone can give me some insight into the kind of
interaction between "block.c" which uses ASC_USER_ERROR to report the error
message and gtkbrowser.py which displays the same in the error panel. More
specifically, if someone could help me detect the squareness of the system
using this interaction or somehow access the StructuralStatus variable.
However, I believe we should increase the transparency between these pieces
of codes for an efficient long term solution.
Thanks,
Aditya Jain
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users