Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue3538 thermal wheel #3909

Conversation

SenHuang19
Copy link

@SenHuang19 SenHuang19 commented Jun 22, 2024

  • Update the revision history for Thermal wheels #3554 (comment)
  • Specify the definition of 75% part load for Thermal wheels #3554 (comment)
  • Replace the volumetric flow rates with mass flow rates for Thermal wheels #3554 (comment)
  • Replace the RealExpression blocks with mass flow sensors
  • Only one medium object is needed
  • Wrong pressure values for the damper for Thermal wheels #3554 (comment)
  • Modify the layout of the connection lines in the icons so that they don't lay on top of other lines, and are aligned with the grid
  • Add Buildings.Fluid.HeatExchangers.BaseClasses.VariableSpeedThermalWheels for accounting for the impacts of wheel speed ratios on the wheel performance
  • Add realistic examples Buildings.Fluid.HeatExchangers.ThermalWheels.Sensible.Examples.SpaceCooling
    and Buildings.Fluid.HeatExchangers.ThermalWheels.Latent.Examples.SpaceCooling

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
to that when the <code>uSpe</code> is <i>1</i>.
The wheel speed ratio <code>uSpe</code> must be increasing,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The elements of the vector <code>uSpe</code> should be in ascending order,

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the model doc as suggested.

@@ -0,0 +1,26 @@
within Buildings.Fluid.HeatExchangers.BaseClasses.VariableSpeedThermalWheels.BaseClasses.Characteristics;
record motorEfficiencyParameters
"Record for motor efficiency parameters vs. wheel speed ratio"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parameters for defining motor efficiency at different wheel speed ratio

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the model doc as suggested.

@@ -0,0 +1,27 @@
within Buildings.Fluid.HeatExchangers.BaseClasses.VariableSpeedThermalWheels.BaseClasses.Characteristics;
record heatExchangerEffectivenessParameters
"Record for heat exchanger effectiveness correction vs. wheel speed ratio"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Parameters for defining heat exchanger effectiveness at different wheel speed ratio

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the model doc as suggested.

parameter Real uSpe[:](each min=0)
"Wheel speed ratio";
parameter Real epsCor[:](each max=1)
"Correction of the heat exchange effectiveness under a given speed ratio";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction of the heat exchange effectiveness at a given speed ratio

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the model doc as suggested.

</p>
<ul>
<li>
wheel speed ratio versus motor percent full-load
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better put the wheel speed ratio at the end, so it will be like:
motor efficiency versus wheel speed ratio,
sensible heat exchange effectiveness corrections versus wheel speed ratio,
...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the model doc as suggested.

<p>
where <code>P_nominal</code> is the nominal wheel power consumption,
<code>uSpe</code> is the wheel speed ratio,
and the <code>eta</code> is the motor percent full-load efficiency, i.e.,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need a clear explanation of the eta, what is it? is it eff(uSpe=x) / eff(uSpe=1), where the eff(uSpe=x)is the motor efficiency when the speed ratio isx`?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the detailed explanation as suggested.

Copy link
Contributor

@JayHuLBL JayHuLBL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SenHuang19 Please see inline comments

@SenHuang19
Copy link
Author

@SenHuang19 Please see inline comments

@JayHuLBL I believe I have addressed all your comments. Could you please resume your review?

@SenHuang19 SenHuang19 mentioned this pull request Sep 18, 2024
on the cubic hermite spline interpolation of the latent heat exchange
effectiveness dataset (see
<a href=\"modelica://Buildings.Fluid.HeatExchangers.BaseClasses.VariableSpeedThermalWheels.BaseClasses.Characteristics.heatExchangerEffectivenessParameters\">
Buildings.Fluid.HeatExchangers.BaseClasses.BaseClasses.VariableSpeedThermalWheels.Characteristics.heatExchangerEffectivenessParameters</a>).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bildings.Fluid.HeatExchangers.BaseClasses.VariableSpeedThermalWheels.BaseClasses.

The <code>eta</code> is obtained based on the cubic hermite spline interpolation of
the motor percent full-load efficiency dataset (see
<a href=\"modelica://Buildings.Fluid.HeatExchangers.BaseClasses.VariableSpeedThermalWheels.BaseClasses.Characteristics.motorEfficiencyParameters\">
Buildings.Fluid.HeatExchangers.BaseClasses.BaseClasses.VariableSpeedThermalWheels.Characteristics.motorEfficiencyParameters</a>).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct the model path

The sensible heat exchanger effectiveness correction is calculated based
on the cubic hermite spline interpolation of the sensible heat exchanger effectiveness
dataset (see <a href=\"modelica://Buildings.Fluid.HeatExchangers.BaseClasses.VariableSpeedThermalWheels.BaseClasses.Characteristics.heatExchangerEffectivenessParameters\">
Buildings.Fluid.HeatExchangers.BaseClasses.BaseClasses.VariableSpeedThermalWheels.Characteristics.heatExchangerEffectivenessParameters</a>).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct the model path

Copy link
Contributor

@JayHuLBL JayHuLBL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run unit test gives following error. Please check if the result difference is expected.

ianjunhu@ubuntu:~/GitFolder/SenHuang19/modelica-buildings/Buildings$ ../bin/runUnitTests.py -s Buildings.Fluid.HeatExchangers.ThermalWheels
Regression tests are only run for the following package:
  Buildings.Fluid.HeatExchangers.ThermalWheels
Number of models   : 2471
          blocks   : 613
          functions: 210
Using 4 of 4 processors to run unit tests for dymola.
Generated 10 regression tests.

*** Error: Buildings_Fluid_HeatExchangers_ThermalWheels_Latent_Examples_SpaceCooling.txt: Errors during result verification.
           Absolute error = 3.807e+00 at t = 15615072.0 for cooCoi.sta_a2.T
             For Buildings_Fluid_HeatExchangers_ThermalWheels_Latent_Examples_SpaceCooling.txt,
             update reference files with new trajectories?
             Enter: y(yes), n(no), Y(yes for all), N(no for all): N
*** Error: Buildings_Fluid_HeatExchangers_ThermalWheels_Sensible_Examples_SpaceCooling.txt: Errors during result verification.
           Absolute error = 5.767e+00 at t = 15569280.0 for cooCoi.sta_a2.T
Comparison files output by funnel are stored in the directory 'funnel_comp' of size 0.6 MB.
Run 'python -c "import buildingspy.development.regressiontest as t; t.Tester(tool=\"dymola\").report()"'
to access a summary of the comparison results.

@SenHuang19 Please address the comments. Otherwise, it is ready to merge.

@JayHuLBL JayHuLBL merged commit ba6c61e into lbl-srg:issue3538_Air2Air_recovery Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

2 participants