Hi,
Is there a ready made library for Helium (He) two-phase fluid properties?
Could not find that from the twoPhaseFluidTables.
Br. Saara

 채택된 답변

Juan Sagarduy
Juan Sagarduy 2021년 5월 26일

0 개 추천

Hello Saara
Unfortunately not. The way to do it would be through the two phase fluid settings block (Simscape Foundation Library) and adding tabulated data.
There is a way to generate tables from REFPROP, NIST or CoolProp.
https://se.mathworks.com/help/physmod/simscape/ref/twophasefluidtables.html
Good luck Juan

댓글 수: 6

Thanks for your answer!
Two phase fluid settings block will be the way then.
  • Saara
Juan Sagarduy
Juan Sagarduy 2021년 5월 27일
Yes, I think so Saara. Get in touch if you need any help.
You can reach me at: jsagardu@mathworks.com
What is your affiliation at the moment?
BR / Juan
I have a follow-up question concerning the twophasefluid table.
I have installed CoolProp and it woks fine for the fluid r134a (https://se.mathworks.com/help/physmod/simscape/ref/twophasefluidtables.html). It also returns single values for Helium.
However, when using twoPhaseFluidTables for Helium an error occurs:
HeTables = twoPhaseFluidTables([-27.2,20000],...[0.01,2.27],25,25,50,'Helium','py.CoolProp.CoolProp.PropsSI')
Error using twoPhaseFluidTables>coolpropFluidProperties (line 899)
CoolProp failed to return fluid properties at P = 0.30942 MPa, U = 9.1303 kJ/kg.
Error in twoPhaseFluidTables>@(p,u)coolpropFluidProperties(p,u,substance,coolpropFun) (line 789)
fluidProperties = @(p, u) coolpropFluidProperties(p, u, substance, coolpropFun);
Error in twoPhaseFluidTables (line 215)
= fluidProperties(p(j), u_sat_liq(j));
Error in CoolProp (line 5)
HeTables = twoPhaseFluidTables([-27.2,20000],[0.01,2.27],25,25,50,...
Caused by:
Error using CoolProp/CoolProp.__Props_err2 (line 346)
Python Error: ValueError: PropsSI failed ungracefully :: inputs
were:"L","P",3.0941899477420672e+05,"U",9.1303102201927686e+03,"Helium"; please file a ticket at
Is there something wrong in the limits / how the twoPhaseFluidTables should be used correctly?
Thanks Juan!
Juan Sagarduy
Juan Sagarduy 2021년 8월 17일
Hello Saara,
I believe we need to look into this more closely. I haven't used the two phase fluid table often. I propose that we have a Teams session to explore this and see what a solution could be.
is this adress correct to send an invitation: saara.vaananen@student.tut.fi
Regards/Juan
Yangyang
Yangyang 2024년 5월 13일
Hello Saara and Juan, I also have this question concerning the twophasefluid table, could you please help me solve this problem?
Aristotelis
Aristotelis 2024년 10월 16일
I have the same question regarding helium

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Gas Library에 대해 자세히 알아보기

질문:

2021년 5월 26일

댓글:

2024년 10월 16일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by