Skip to content

LP process steam generator #444

Answered by fwitte
PabloMBarral asked this question in Q&A
Discussion options

You must be logged in to vote

The issue is the cycle closer. It cuts mass flow and fluid composition into two branches. Since you have a splitter and a merger inside the cycle the cycle closer is not required. You only need it for closed cycles, which do not have a source and a sink.

What you can do to fix this is remove the component (not actually: I tested it and it does not work out of the box, because there is a different bug in the fluid composition set-up... You'd have to fix it in the source code of tespy first). So instead I recommend bringing in a mass flow equality contraint for the cycle closer. You can do that by appending

from tespy.connections import Ref
c[0].set_attr(m=Ref(c[1], 1, 0))

after you have d…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@fwitte
Comment options

@fwitte
Comment options

Answer selected by PabloMBarral
@PabloMBarral
Comment options

Comment options

You must be logged in to vote
1 reply
@fwitte
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants