eta_s for turbocompressor as UDE(v) #935
Unanswered
JanKochanski
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Hi @JanKochanski, if it is only from tespy.tools.fluid_properties import isentropic
def calculate_eta_s(vol_flow):
# eta_s map lookup method
return 0.8
def eta_s_ude(ude):
c1, c2 = ude.conns
vol_flow = c1.calc_vol() * c1.m.val_SI
eta_s = calculate_eta_s(vol_flow)
return (
(c2.h.val_SI - c1.h.val_SI) * eta_s - (
isentropic(
c1.p.val_SI,
c1.h.val_SI,
c2.p.val_SI,
c1.fluid_data,
c1.mixing_rule,
) - c1.h.val_SI
)
)
def eta_s_ude_dependents(ude):
c1, c2 = ude.conns
return [c1.m, c1.p, c1.h, c2.p, c2.h] If you need frequency in there as well, you could have a look at the implementation of the efficiency map in the tespy/src/tespy/components/turbomachinery/pump.py Lines 614 to 638 in 90f3ba7 Best |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!$\eta_s = f(\dot{v})$ . Do you have any ideas on that, or are there better ways to deal with this situation?
I have a compressor-map, that is based in the volume-flow. If I understand correctly, the char maps only support mass flow. My idea was to bypass this through a user defined equation, so that
Thanks in advance!
Best regards, Jan
Beta Was this translation helpful? Give feedback.
All reactions