Skip to content

Commit

Permalink
Removed nonused parameter p
Browse files Browse the repository at this point in the history
For #1614
  • Loading branch information
mwetter committed May 11, 2022
1 parent 96bf57e commit c149c77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 6 additions & 2 deletions IBPSA/Fluid/Storage/ExpansionVessel.mo
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ model ExpansionVessel "Expansion vessel with fixed pressure"
final mSenFac=1);
parameter Modelica.Units.SI.Volume V_start(start=1)
"Volume of liquid stored in the vessel at the start of the simulation";
parameter Modelica.Units.SI.Pressure p=Medium.p_default
"Constant pressure of the expansion vessel";

Modelica.Fluid.Interfaces.FluidPort_a port_a(
redeclare package Medium = Medium) "Fluid port"
Expand Down Expand Up @@ -111,6 +109,12 @@ of equations, which may result in faster simulation.
</html>", revisions="<html>
<ul>
<li>
May 11, 2022, by Michael Wetter:<br/>
Removed nonused parameter <code>p</code>.<br/>
This is for
<a href=\"https://github.com/ibpsa/modelica-ibpsa/issues/1614\">IBPSA, #1614</a>.
</li>
<li>
May 29, 2014, by Michael Wetter:<br/>
Removed undesirable annotation <code>Evaluate=true</code>.
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ clear

convertClear();

// Conversion for https://github.com/ibpsa/modelica-ibpsa/issues/1614
convertModifiers("IBPSA.Fluid.Storage.ExpansionVessel", {"p"}, fill("",0), true);

// Conversion for https://github.com/ibpsa/modelica-ibpsa/issues/1542
convertClass("IBPSA.Airflow.Multizone.MediumColumnDynamic", {"massDynamics"}, fill("",0), true);
convertClass("IBPSA.Fluid.Actuators.Valves.ThreeWayEqualPercentageLinear", {"massDynamics"}, fill("",0), true);
Expand Down

0 comments on commit c149c77

Please sign in to comment.