Skip to content
Discussion options

You must be logged in to vote

Hi @HaSchneider,

thank you for reporting this. This is a starting value issue, which may come from the fact, that the starting values are selected differently between the two versions. What you can do is to solve in two steps:

feed_pump.set_attr()  # do not set eta_s here!
c5.set_attr(p=max_pressure, h=Ref(c4, 1, 10))  # instead add a referenced h specification here!

model.solve('design')

# then switch specifications
feed_pump.set_attr(eta_s =0.95)
c5.set_attr(h=None)

model.solve('design')

I will adapt the convergence_check method for the Pump class, to force liquid only inlet and outlet state. That will resolve the issue.

Best

Francesco

Replies: 2 comments 3 replies

Comment options

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

Answer selected by HaSchneider
Comment options

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

@HaSchneider
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