Skip to content

Commit

Permalink
Update ModelicaTest/Media.mo
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Beutlich <modelica@tbeu.de>
  • Loading branch information
HansOlsson and beutlich committed Jan 18, 2024
1 parent 03af0d9 commit 47d5802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModelicaTest/Media.mo
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ is given to compare the approximation.
replaceable package Medium = Modelica.Media.R134a.R134a_ph "Medium model";
SI.Temperature h = Medium.h_default;
parameter SI.AbsolutePressure p0 = 10e5 "p at time 0";
parameter Real pRate(unit = "Pa/s") = 20e5 "p's rate of change";
parameter SI.PressureSlope pRate = 20e5 "p's rate of change";
SI.AbsolutePressure p = p0 + pRate*time;
Medium.ThermodynamicState state = Medium.setState_phX(p, h);
SI.SpecificEnthalpy T= Medium.temperature(state);
Expand Down

0 comments on commit 47d5802

Please sign in to comment.