Replies: 2 comments 4 replies
-
@Yazeede73 We will need more information about what you are trying to do in order to help - e.g. what property package are you using and what are in inlet conditions to the heater? Also, what solver ae you using, and what is the full output from the solver at the end of the run? The fact that you are getting an infeasible solution in itself is telling - it implies that there is no solution that satisfies the conditions you are trying to model. In many cases, this is due to bounds placed on one or more of the variable in the problem, but without more details that is all we can tell you. This is also why the vapour fraction never changes - the solver cannot find a new solution to the problem, so there is no new value for vapour fraction. |
Beta Was this translation helpful? Give feedback.
-
@Yazeede73 you can certainly use a generic heater to represent a boiler or condenser. It is very important to initialize every unit, I believe for the generic heater you need to specify inlet (flow, enthalpy, pressure if you are using IAPWS95 as property package) and heat duty (just an estimate) so the initialization calculates the outlet. Make sure to initialize the turbine, and pump too. Then you can solve the entire flowsheet making sure that
To initialize simply do: If you want to know the current values, do: Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
I have been trying to use the heater generic unit model as a boiler and a condenser while trying to simulate a basic Rankine cycle flowsheet. however the vapor fractions never changes further more solution keeps converging to an infeasible point. is there any way to use the heater unit model as a boiler or a condenser anyway?
Thanks for your help in advance.
Beta Was this translation helpful? Give feedback.
All reactions