Hi,

I am new to ASCEND, so please excuse if this question is a bit dumb.

I am trying to implement a model where I have a stream model, and a
set of additional equations, some of which include the vapor pressure
explictly.

I am, however, unable to get the values of the vapor pressure from the
model. When I load it into the graphical interface, I can see the
values for component i in the tree as

L_stream.phase[L_stream.pd.reference_phase].pure[i].VP

If I try to access them in the same way in my model I get an error
that this value does not exist. I suppose that this is because of the
hierarchy of the objects, and the stream only knows that what he has
there is a phase_partial, which does not have a VP variable, but I am
actually using a derived class.

My question: Is there an easy way to extract the value for the vapor
pressures from a stream?

Thanks!

Hans

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ascend-sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ascend-sim-users

Reply via email to