Skip to content

Commit

Permalink
Removed trailing white spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mwetter committed Jan 3, 2025
1 parent c3c3c57 commit d9f6b54
Show file tree
Hide file tree
Showing 21 changed files with 58 additions and 58 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,20 @@ equation
Documentation(info="<html>
<p>
This model calculates the power consumption, and the corrections
due to different rotational speeds for the sensible
heat exchange effectiveness and the latent
heat exchange effectiveness of an enthalpy wheel.
due to different rotational speeds for the sensible
heat exchange effectiveness and the latent
heat exchange effectiveness of an enthalpy wheel.
</p>
<p>
The calculation of the power consumption and the sensible
The calculation of the power consumption and the sensible
heat exchange effectiveness correction is described in
<a href=\"modelica://Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.SpeedCorrectionSensible\">
<a href=\"modelica://Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.SpeedCorrectionSensible\">
Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.SpeedCorrectionSensible</a>.
</p>
<p>
The latent heat exchange effectiveness correction is calculated using
a cubic hermite spline interpolation of the latent heat exchange
effectiveness dataset (see
a cubic hermite spline interpolation of the latent heat exchange
effectiveness dataset (see
<a href=\"modelica://Buildings.Fluid.HeatExchangers.ThermalWheels.Data.Characteristics.HeatExchangerEffectiveness\">
Buildings.Fluid.HeatExchangers.ThermalWheels.Data.Characteristics.HeatExchangerEffectiveness</a>).
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected
initial equation
assert(s < 1 + 1E-4,
"In " + getInstanceName() + ": The motor efficiency curve is wrong.
The ratio of the speed ratio to the motor percent
The ratio of the speed ratio to the motor percent
full-load efficiency must be less than 1.",
level=AssertionLevel.error)
"Check if the motor efficiency curve is correct";
Expand All @@ -62,7 +62,7 @@ equation
defaultComponentName="speCor",
Documentation(info="<html>
<p>
This model calculates the power consumption and the sensible heat exchanger
This model calculates the power consumption and the sensible heat exchanger
effectiveness correction due to different rotational speed of a sensible heat wheel.
</p>
<ul>
Expand All @@ -73,24 +73,24 @@ P = P_nominal * uSpe / eta,
</p>
<p>
where <code>P_nominal</code> is the nominal wheel power consumption,
<code>uSpe</code> is the wheel speed ratio,
and <code>eta</code> is the motor percent full-load efficiency,
<code>uSpe</code> is the wheel speed ratio,
and <code>eta</code> is the motor percent full-load efficiency,
which is calculated as
<p align=\"center\" style=\"font-style:italic;\">
eta = eff(uSpe=x) / eff(uSpe=1),
</p>
<p>
where <code>eff(uSpe=x)</code> is the motor efficiency when the speed ratio is <code>x</code>.
The efficiency <code>eta</code> is obtained based on a cubic hermite spline interpolation of
the motor percent full-load efficiency dataset (see
the motor percent full-load efficiency dataset (see
<a href=\"modelica://Buildings.Fluid.HeatExchangers.ThermalWheels.Data.Characteristics.MotorEfficiency\">
Buildings.Fluid.HeatExchangers.ThermalWheels.Data.Characteristics.MotorEfficiency</a>).
Please note that <code>uSpe/eta</code> must be less or equal to 1.
</p>
</li>
<li>
The sensible heat exchanger effectiveness correction is calculated based
on a cubic hermite spline interpolation of the sensible heat exchanger effectiveness
The sensible heat exchanger effectiveness correction is calculated based
on a cubic hermite spline interpolation of the sensible heat exchanger effectiveness
dataset (see <a href=\"modelica://Buildings.Fluid.HeatExchangers.ThermalWheels.Data.Characteristics.HeatExchangerEffectiveness\">
Buildings.Fluid.HeatExchangers.ThermalWheels.Data.Characteristics.HeatExchangerEffectiveness</a>).
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ model VariableSpeedThermalWheels
haveLatentHeatExchange=true,
useDefaultMotorEfficiencyCurve=true)
"Performance record for the enthalpy wheel with default motor dataset"
annotation (Placement(transformation(extent={{0,74},{20,94}})));
annotation (Placement(transformation(extent={{0,74},{20,94}})));
Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.SpeedCorrectionSensible
senWhe(per=perSenWhe)
"Sensible heat wheel"
Expand Down Expand Up @@ -70,7 +70,7 @@ The input signals are configured as follows:
</p>
<ul>
<li>
The wheel speed <code>uSpe</code> changes from <i>0</i> to <i>1</i>
The wheel speed <code>uSpe</code> changes from <i>0</i> to <i>1</i>
during the period from 0 to 1 second.
</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions Buildings/Fluid/HeatExchangers/ThermalWheels/Data/ASHRAE.mo
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ ASHRAE performance dataset for the variable-speed wheel model.
</p>
<p>
It is developed based on Figure 7 in ASHRAE (2024).
However, the original data set was extrapolated to cover lower values
of speed ratio, i.e. <code> &lt;= 0.2</code>, by setting the heat exchange effectiveness
However, the original data set was extrapolated to cover lower values
of speed ratio, i.e. <code> &lt;= 0.2</code>, by setting the heat exchange effectiveness
corrections to 0 when the speed ratio is 0.
</p>
<h4>References</h4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ record HeatExchangerEffectiveness
Documentation(info="<html>
<p>
Data record that describes wheel speed ratio <code>uSpe</code> versus
heat exchange effectiveness corrections <code>epsCor</code>, i.e., the ratio of the heat exchange effectiveness
heat exchange effectiveness corrections <code>epsCor</code>, i.e., the ratio of the heat exchange effectiveness
to that when the <code>uSpe</code> is <i>1</i>.
The elements of the vector <code>uSpe</code> should be in ascending order,
The elements of the vector <code>uSpe</code> should be in ascending order,
i.e.,<code>uSpe[i] &lt; uSpe[i+1]</code>.
Both vectors, <code>uSpe</code> and <code>epsCor</code>
must have the same size.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ record MotorEfficiency
Documentation(info="<html>
<p>
This model describes wheel speed ratio <code>uSpe</code> versus
the motor percent full-load efficiency (see
the motor percent full-load efficiency (see
<a href=\"modelica://Buildings.Fluid.Movers.BaseClasses.Characteristics.motorEfficiencyCurve\">
Buildings.Fluid.Movers.BaseClasses.Characteristics.motorEfficiencyCurve</a>).
It is based on
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ corrections versus wheel speed ratio is enabled,
When <code>useDefaultMotorEfficiencyCurve = true</code>,
the motor efficiency versus wheel speed ratio is disabled,
and the default motor percent full-load
efficiency versus wheel speed ratio is enabled.
efficiency versus wheel speed ratio is enabled.
</li>
</ul>
</html>"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ equation
Check if the part load (75% of the nominal supply flow rate) or nominal sensible heat exchanger effectiveness is too high or too low.",
level=AssertionLevel.error);
assert(epsLat >= 0 and epsLat < 1,
"In " + getInstanceName() + ": The latent heat exchange effectiveness epsLat = " + String(epsLat) + ". It should be in the range of [0, 1],
"In " + getInstanceName() + ": The latent heat exchange effectiveness epsLat = " + String(epsLat) + ". It should be in the range of [0, 1],
Check if the part load (75% of the nominal supply flow rate) or nominal latent heat exchanger effectiveness is too high or too low.",
level=AssertionLevel.error);
annotation (Icon(coordinateSystem(preserveAspectRatio=false), graphics={Text(
Expand Down Expand Up @@ -135,22 +135,22 @@ It then calculates the sensible and latent heat exchanger effectiveness by:
<p>
where <code>epsSen</code> and <code>epsLat</code> are the effectiveness
for the sensible and latent heat transfer, respectively,
<code>epsSen_nominal</code> and <code>epsSenPL</code> are the effectiveness
<code>epsSen_nominal</code> and <code>epsSenPL</code> are the effectiveness
for the sensible heat transfer when <code>rat</code> is 1 and 0.75, respectively,
<code>epsLat_nominal</code> and <code>epsLatPL</code> are the effectiveness
<code>epsLat_nominal</code> and <code>epsLatPL</code> are the effectiveness
for the latent heat transfer when <code>Rat</code> is 1 and 0.75, respectively.
</p>
<p>
The parameters <code>epsSen_nominal</code>, <code>epsSenPL</code>, <code>epsLat_nominal</code>, and
<code>epsLatPL</code> have different values depending on if the wheel is in
the cooling or heating mode.
If the supply air temperature is greater than the exhaust air
If the supply air temperature is greater than the exhaust air
temperature, the exchanger is considered to operate under
the cooling mode;
Otherwise, it operates under the heating mode.
</p>
<P>
<b>Note:</b>
<b>Note:</b>
The value of the <code>rat</code> is suggested to be between <i>0.5</i> and <i>1.3</i> during normal operation
to ensure reasonable extrapolation.
Likewise, an unbalanced air flow ratio less than 2, i.e., <code>VSup_flow/VExh_flow</code> &#62; <i>0.5</i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ the exhaust air temperature <i>TExh</i>. After that,
</li>
<li>
In the first 60 seconds, the supply air flow rate, <i>VSup</i>, and the
exhaust air flow rate, <i>VExh</i>, change from
exhaust air flow rate, <i>VExh</i>, change from
0.6 to 1 and 0.8 to 1 respectively. The flow rates then stay constant.
</li>
<li>
<li>
In the first 60 seconds, the wheel speed <i>uSpe</i> keeps constant.
It then increases from 0.3 to 1 during the period from 60 seconds to 120
seconds.
</li>
</li>
</ul>
<p>
The expected outputs are:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package Validation "Collection of models that validate the module in the base cl

annotation (Documentation(info="<html>
<p>
This package contains validation models for the classes in
This package contains validation models for the classes in
<a href=\"modelica://Buildings.Fluid.HeatExchangers.ThermalWheels.Latent.BaseClasses\">
Buildings.Fluid.HeatExchangers.ThermalWheels.Latent.BaseClasses</a>.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ The supply air flow rate <i>mAir_flow</i> changes from <i>0</i> to <i>0.646</i>
and from <i>0.646</i> to <i>0</i> at around 17:00.
</li>
<li>
The bypass damper positions are controlled to maintain the temperature of the air leaving the thermal wheel,
The bypass damper positions are controlled to maintain the temperature of the air leaving the thermal wheel,
<code>senTemHXOut.T</code>, at 298.15 K.
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ annotation (
coordinateSystem(preserveAspectRatio=false, extent={{-180,-100},{100,160}})),
Documentation(info="<html>
<p>
Model of an enthalpy recovery wheel, which has the
Model of an enthalpy recovery wheel, which has the
wheel speed as the input to control the heat recovery.
</p>
<p>
Expand All @@ -74,7 +74,7 @@ heat exchanger effectiveness in both heating and cooling conditions.
</p>
<p>
The operation of the heat recovery wheel is adjustable by modulating the wheel speed.
See details about the impacts of the wheel speed in
See details about the impacts of the wheel speed in
<a href=\"modelica://Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.SpeedCorrectionLatent\">
Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.SpeedCorrectionLatent</a>.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ The supply air temperature <i>TSup</i> changes from <i>273.15 + 30 K</i> to
The exhaust air temperature remains constant.
</li>
<li>
The bypass damper position <i>uBypDamPos</i> changes from <i>0</i> to <i>0.2</i>
The bypass damper position <i>uBypDamPos</i> changes from <i>0</i> to <i>0.2</i>
during the period from 200 seconds to 360 seconds.
</li>
<li>
Expand All @@ -131,7 +131,7 @@ The expected outputs are:
</p>
<ul>
<li>
The sensible heat exchanger effectiveness <code>epsSen</code> and the latent effectiveness
The sensible heat exchanger effectiveness <code>epsSen</code> and the latent effectiveness
<code>epsLat</code> are 0 at the beginning.
They become positive at 72 seconds and keep constant until 200 seconds.
After the 200 seconds, both <code>epsSen</code> and <code>epsLat</code> decrease.
Expand All @@ -140,7 +140,7 @@ After the 200 seconds, both <code>epsSen</code> and <code>epsLat</code> decrease
Before 72 seconds, the temperature of the leaving supply air is equal to <i>TSup</i>.
Likewise, the temperature of the leaving exhaust air is equal to that of the entering exhaust
air temperature.
The temperatures of the leaving supply air and the leaving exhaust air
The temperatures of the leaving supply air and the leaving exhaust air
follow the change of <i>TSup</i> during the period from 72 seconds to 200 seconds.
After 200 seconds, the leaving supply air temperature increases and the
leaving exhaust air temperature decreases.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ The supply air temperature <i>TSup</i> changes from <i>273.15 + 30 K</i> to
The exhaust air temperature remains constant.
</li>
<li>
The wheel speed <i>uSpe</i> changes from <i>0.7</i> to <i>1</i>
The wheel speed <i>uSpe</i> changes from <i>0.7</i> to <i>1</i>
during the period from 200 seconds to 360 seconds.
</li>
<li>
Expand All @@ -165,12 +165,12 @@ The expected outputs are:
</p>
<ul>
<li>
The sensible heat exchanger effectiveness <code>epsSen</code> and the latent effectiveness
The sensible heat exchanger effectiveness <code>epsSen</code> and the latent effectiveness
<code>epsLat</code>, keep constant before the 200 seconds.
After 200 seconds, both <code>epsSen</code> and <code>epsLat</code> increase.
</li>
<li>
The leaving supply air temperature and the leaving exhaust air temperature
The leaving supply air temperature and the leaving exhaust air temperature
follow the change of <i>TSup</i> before the 200 seconds.
After 200 seconds, the leaving supply air temperature decreases
and the leaving exhaust air temperature increases.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ supply flow rate by:
<p>
where <code>mSup_flow</code> is the flow rate of the supply air,
<code>mExh_flow</code> is the flow rate of the exhaust air,
<code>mSup_flow_nominal</code> is the nominal flow rate of the supply air and
<code>mSup_flow_nominal</code> is the nominal flow rate of the supply air and
<code>rat</code> is the flow ratio.
</p>
<p>
Expand All @@ -103,23 +103,23 @@ It then calculates the sensible heat exchanger effectiveness as
<p>
where <code>eps</code> is the effectiveness
for the sensible heat transfer, respectively,
<code>eps_nominal</code> and <code>epsPL</code> are the effectiveness
<code>eps_nominal</code> and <code>epsPL</code> are the effectiveness
for the sensible heat transfer when <code>rat</code> is 1 and 0.75, respectively.
</p>
<p>
The parameters <code>eps_nominal</code> and <code>epsPL</code>
have different values depending on if the wheel is in
the cooling or heating mode.
If the supply air temperature is greater than the exhaust air
If the supply air temperature is greater than the exhaust air
temperature, the exchanger is considered to operate under
the cooling mode.
Otherwise, it operates under the heating mode.
</p>
<P>
<b>Note:</b>
<b>Note:</b>
The value of the <code>rat</code> is suggested to be between <i>0.5</i> and <i>1.3</i>
during normal operation to ensure reasonable extrapolation.
Likewise, an unbalanced air flow ratio less than 2, i.e., <code>mSup_flow/mExh_flow</code> &#62; <i>0.5</i>
Likewise, an unbalanced air flow ratio less than 2, i.e., <code>mSup_flow/mExh_flow</code> &#62; <i>0.5</i>
and <code>mSup_flow/mExh_flow</code> &#60; <i>2</i> is recommended.
</P>
<h4>References</h4>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,22 +71,22 @@ the exhaust air temperature <i>TExh</i>. After that,
</li>
<li>
In the first 60 seconds, the supply air flow rate, <i>VSup</i>, and the
exhaust air flow rate, <i>VExh</i>, change from
exhaust air flow rate, <i>VExh</i>, change from
0.6 to 1 and 0.8 to 1 respectively. The flow rates then stay constant.
</li>
<li>
<li>
In the first 60 seconds, the wheel speed <i>uSpe</i> keeps constant.
It then increases from 0.3 to 1 during the period from 60 seconds to 120
seconds.
</li>
</li>
</ul>
<p>
The expected outputs are:
</p>
<ul>
<li>
The sensible effectiveness <code>eps</code> increases in the whole
simulation period.
simulation period.
</li>
<li>
At 20 seconds, <code>eps</code> changes significantly as the exchanger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package Validation "Collection of models that validate the module in the base cl

annotation (Documentation(info="<html>
<p>
This package contains validation models for the classes in
This package contains validation models for the classes in
<a href=\"modelica://Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses\">
Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.BaseClasses</a>.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ The supply air flow rate <i>mAir_flow</i> changes from <i>0</i> to <i>0.646</i>
and from <i>0.646</i> to <i>0</i> at around 17:00.
</li>
<li>
The bypass damper positions are controlled to maintain the temperature of the air leaving the thermal wheel,
The bypass damper positions are controlled to maintain the temperature of the air leaving the thermal wheel,
<code>senTemHXOut.T</code>, at 298.15 K.
</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ annotation (
coordinateSystem(preserveAspectRatio=false, extent={{-180,-100},{100,100}})),
Documentation(info="<html>
<p>
Model of a generic, sensible heat recovery wheel, which has the
Model of a generic, sensible heat recovery wheel, which has the
wheel speed as the input to control the heat recovery.
</p>
<p>
Expand All @@ -61,7 +61,7 @@ exchanger effectiveness in both heating and cooling conditions.
</p>
<p>
The operation of the heat recovery wheel is adjustable by modulating the wheel speed.
See details about the impacts of the wheel speed in
See details about the impacts of the wheel speed in
<a href=\"modelica://Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.SpeedCorrectionSensible\">
Buildings.Fluid.HeatExchangers.ThermalWheels.BaseClasses.SpeedCorrectionSensible</a>.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ The supply air temperature <i>TSup</i> changes from <i>273.15 + 30 K</i> to
The exhaust air temperature remains constant.
</li>
<li>
The bypass damper position <i>uBypDamPos</i> changes from <i>0</i> to <i>0.2</i>
The bypass damper position <i>uBypDamPos</i> changes from <i>0</i> to <i>0.2</i>
during the period from 200 seconds to 360 seconds.
</li>
<li>
Expand All @@ -132,7 +132,7 @@ After the 200 seconds, it decreases.
Before 72 seconds, the temperature of the leaving supply air is equal to <i>TSup</i>.
Likewise, the temperature of the leaving exhaust air is equal to that of the entering exhaust
air temperature.
The temperatures of the leaving supply air and the leaving exhaust air
The temperatures of the leaving supply air and the leaving exhaust air
follow the change of <i>TSup</i> during the period from 72 seconds to 200 seconds.
After 200 seconds, the leaving supply air temperature increases and the
leaving exhaust air temperature decreases.
Expand Down
Loading

0 comments on commit d9f6b54

Please sign in to comment.