Skip to content

Commit

Permalink
Delete multiple and/or leading whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
tobolar committed Mar 14, 2023
1 parent 9779e20 commit f8c9eaf
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 23 deletions.
38 changes: 19 additions & 19 deletions Modelica/Media/Air/MoistAir.mo
Expand Up @@ -1168,7 +1168,7 @@ end thermalConductivity;
algorithm
a := sqrt(isentropicExponent(state)*gasConstant(state)*temperature(state));
annotation (Documentation(revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end velocityOfSound;

Expand All @@ -1177,7 +1177,7 @@ end thermalConductivity;
algorithm
beta := 1/temperature(state);
annotation (Documentation(revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end isobaricExpansionCoefficient;

Expand All @@ -1186,7 +1186,7 @@ end thermalConductivity;
algorithm
kappa := 1/pressure(state);
annotation (Documentation(revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end isothermalCompressibility;

Expand All @@ -1196,7 +1196,7 @@ end thermalConductivity;
ddph := 1/(gasConstant(state)*temperature(state));

annotation (Documentation(revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end density_derp_h;

Expand All @@ -1205,7 +1205,7 @@ end thermalConductivity;
algorithm
ddhp := -density(state)/(specificHeatCapacityCp(state)*temperature(state));
annotation (Documentation(revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end density_derh_p;

Expand All @@ -1215,7 +1215,7 @@ end thermalConductivity;
ddpT := 1/(gasConstant(state)*temperature(state));

annotation (Documentation(revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end density_derp_T;

Expand All @@ -1224,7 +1224,7 @@ end thermalConductivity;
algorithm
ddTp := -density(state)/temperature(state);
annotation (Documentation(revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end density_derT_p;

Expand All @@ -1237,16 +1237,16 @@ end thermalConductivity;
state.X[Air])^2*temperature(state));

annotation (Documentation(revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2019-05-14 Stefan Wischhusen: Corrected derivatives.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2019-05-14 Stefan Wischhusen: Corrected derivatives.</p>
</html>"));
end density_derX;

redeclare function extends molarMass
algorithm
MM := Modelica.Constants.R/Modelica.Media.Air.MoistAir.gasConstant(state);
annotation (Documentation(revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end molarMass;

Expand Down Expand Up @@ -1275,7 +1275,7 @@ end thermalConductivity;
Temperature is computed from pressure, specific entropy and composition via numerical inversion of function <a href=\"modelica://Modelica.Media.Air.MoistAir.s_pTX\">s_pTX</a>.
</html>",
revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end T_psX;

Expand All @@ -1301,7 +1301,7 @@ Temperature is computed from pressure, specific entropy and composition via nume
The <a href=\"modelica://Modelica.Media.Air.MoistAir.ThermodynamicState\">thermodynamic state record</a> is computed from pressure p, specific enthalpy h and composition X.
</html>",
revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end setState_psX;

Expand All @@ -1328,9 +1328,9 @@ The <a href=\"modelica://Modelica.Media.Air.MoistAir.ThermodynamicState\">thermo
Specific entropy of moist air is computed from pressure, temperature and composition with X[1] as the total water mass fraction.
</html>",
revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2019-05-14 Stefan Wischhusen: Corrected calculation.</p>
<p>2019-09-10 Stefan Wischhusen: Corrected pressure influence (p &lt; p_ref).</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2019-05-14 Stefan Wischhusen: Corrected calculation.</p>
<p>2019-09-10 Stefan Wischhusen: Corrected pressure influence (p &lt; p_ref).</p>
</html>"),
Icon(graphics={Text(
extent={{-100,100},{100,-100}},
Expand Down Expand Up @@ -1389,9 +1389,9 @@ Specific entropy of moist air is computed from pressure, temperature and composi
Specific entropy of moist air is computed from pressure, temperature and composition with X[1] as the total water mass fraction.
</html>",
revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2019-05-14 Stefan Wischhusen: Corrected calculation.</p>
<p>2019-09-10 Stefan Wischhusen: Corrected pressure influence (p &lt; p_ref).</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2019-05-14 Stefan Wischhusen: Corrected calculation.</p>
<p>2019-09-10 Stefan Wischhusen: Corrected pressure influence (p &lt; p_ref).</p>
</html>"),
Icon(graphics={Text(
extent={{-100,100},{100,-100}},
Expand All @@ -1415,7 +1415,7 @@ Specific entropy of moist air is computed from pressure, temperature and composi
extent={{-100,100},{100,-100}},
textColor={255,127,0},
textString="f")}), Documentation(revisions="<html>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
<p>2012-01-12 Stefan Wischhusen: Initial Release.</p>
</html>"));
end isentropicEnthalpy;

Expand Down
10 changes: 6 additions & 4 deletions Modelica/Media/Air/SimpleAir.mo
Expand Up @@ -26,8 +26,10 @@ package SimpleAir "Air: Simple dry air model (0..100 degC)"
"Constant data for the fluid";

annotation (Documentation(info="<html>
<h4>Simple Ideal gas air model for low temperatures</h4>
<p>This model demonstrates how to use the PartialSimpleIdealGas base class to build a
simple ideal gas model with a limited temperature validity range.</p>
</html>"));
<h4>Simple Ideal gas air model for low temperatures</h4>
<p>
This model demonstrates how to use the PartialSimpleIdealGas base class to build a
simple ideal gas model with a limited temperature validity range.
</p>
</html>"));
end SimpleAir;

0 comments on commit f8c9eaf

Please sign in to comment.