필터 지우기
필터 지우기

two-phase fluid Simulink

조회 수: 1 (최근 30일)
Alejandro calvo
Alejandro calvo 2019년 5월 20일
Hi,
I am having some troubles simulating a hydraulic model with a two-phase fluid in Simulink (using Simscape Fluids)
The model works properly when the inputs in the "Two-Phase Fluid Properties (2P)" block are defined within the subcritical region (Pcritical = 46 bar in my model). However, when I extend the pressure vector (and the other thermophysical properties of the fluid) over the critical pressure specified in the block, the following error pops up:
Error compiling Simscape network for model aaaa.
Caused by:
The bold equation below seems to be popping up the error message:
if n_sub < n
assert(all(v_sat_liq_sup(:) == v_sat_vap_sup(:)))
assert(all(s_sat_liq_sup(:) == s_sat_vap_sup(:)))
assert(all(T_sat_liq_sup(:) == T_sat_vap_sup(:)))
assert(all(nu_sat_liq_sup(:) == nu_sat_vap_sup(:)))
assert(all(k_sat_liq_sup(:) == k_sat_vap_sup(:)))
assert(all(Pr_sat_liq_sup(:) == Pr_sat_vap_sup(:)))
I have defined the liquid and vapor-saturated curves over the critical pressure to be exactly the same but still getting that error...
Anybody had similar problems? I Would appreciate any comment/hint with this.
Thanks!
Alejandro.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Upgrading Hydraulic Models to Use Isothermal Liquid Blocks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by