two-phase fluid Simulink
조회 수: 1 (최근 30일)
이전 댓글 표시
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:
- ['model/block': In foundation.two_phase_fluid.utilities.two_phase_fluid_properties (line 898)
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
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Two-Phase Fluid Library에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!