Skip to content

Commit

Permalink
Correct use of incorrect parameter and enumeration. However, the basi…
Browse files Browse the repository at this point in the history
…c design doesn't work.
  • Loading branch information
HansOlsson committed Sep 12, 2023
1 parent aabd50b commit 25ca24b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Modelica/Fluid/Dissipation.mo
Expand Up @@ -10382,7 +10382,9 @@ documentation available in this package.
annotation (Dialog);
input Real epsilon_A(min=0,max=1)
"Void fraction (cross sectional averaged)"
annotation (Dialog(enable=not (twoPhaseDensityApproach == Modelica.Fluid.Dissipation.Utilities.Types.TwoPhaseDensityApproach.Homogeneous)));
annotation (Dialog(enable=true));
// It should be enable=not (voidFractionApproach == Modelica.Fluid.Dissipation.Utilities.Types.VoidFractionApproach.Homogeneous)
// But then there is no value for epsilon_A
input Real x_flow(min=0,max=1) "Mass flow rate quality" annotation (Dialog);

output SI.Density rho_2ph "Mean density of two phase flow";
Expand Down

0 comments on commit 25ca24b

Please sign in to comment.