Skip to content

Commit

Permalink
Use prefix style 'quantity' for MixtureGases.m1 and MixtureGases.m2
Browse files Browse the repository at this point in the history
This follows the style in Modelica.Media.Interfaces.PartialMedium.MassFlowRate and give tools a chance of making sense of the quantity.
  • Loading branch information
henrikt-ma committed Mar 28, 2023
1 parent 64b1f57 commit b5dea8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modelica/Media/package.mo
Expand Up @@ -2316,7 +2316,7 @@ is given to compare the approximation.
fixed=true,
stateSelect=StateSelect.prefer),
X(start={0.8,0.2}));
Real m1(quantity=Medium1.mediumName, start=1.0);
Real m1(unit = "kg", quantity = "Mass." + Medium1.mediumName, start=1.0);
SI.InternalEnergy U1;
Medium1.SpecificHeatCapacity cp1=Medium1.specificHeatCapacityCp(medium1.state);
Medium1.DynamicViscosity eta1=Medium1.dynamicViscosity(medium1.state);
Expand All @@ -2332,7 +2332,7 @@ is given to compare the approximation.
fixed=true,
stateSelect=StateSelect.prefer),
X(start={0.1,0.1,0.1,0.2,0.2,0.3}));
Real m2(quantity=Medium2.mediumName, start=1.0);
Real m2(unit = "kg", quantity = "Mass." + Medium2.mediumName, start=1.0);
SI.InternalEnergy U2;
Medium2.SpecificHeatCapacity cp2=Medium2.specificHeatCapacityCp(medium2.state);
Medium2.DynamicViscosity eta2=Medium2.dynamicViscosity(medium2.state);
Expand Down

0 comments on commit b5dea8c

Please sign in to comment.