-
Notifications
You must be signed in to change notification settings - Fork 161
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
Issue3538 thermal wheel #3909
Conversation
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, |
There was a problem hiding this comment.
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,
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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"; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
,
...
There was a problem hiding this comment.
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., |
There was a problem hiding this comment.
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 is
x`?
There was a problem hiding this comment.
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.
There was a problem hiding this 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
@JayHuLBL I believe I have addressed all your comments. Could you please resume your review? |
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>). |
There was a problem hiding this comment.
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>). |
There was a problem hiding this comment.
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>). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
correct the model path
There was a problem hiding this 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.
Buildings.Fluid.HeatExchangers.BaseClasses.VariableSpeedThermalWheels
for accounting for the impacts of wheel speed ratios on the wheel performanceBuildings.Fluid.HeatExchangers.ThermalWheels.Sensible.Examples.SpaceCooling
and
Buildings.Fluid.HeatExchangers.ThermalWheels.Latent.Examples.SpaceCooling