-
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
Issue3711 desiccant dehumidifier #3748
base: issue3711_desDehumidifier
Are you sure you want to change the base?
Issue3711 desiccant dehumidifier #3748
Conversation
@JayHuLBL Could you please take a look at this PR? |
@JayHuLBL it is ready for your review. |
@SenHuang19 All the new validation models are failed to run by Optimica.
|
@JayHuLBL thanks for letting me know this. I only tested the model in Dymola and it seems to work at my end. I don't have an optimica license. Can you please let me know if Modelon still offers development licenses to the Spawn project team? If so, I will request one. |
@SenHuang19 Just double checked. The error is due to the OS environment setup. After correcting the setup, it can run with Optimica. |
"Prescribed heat flow" | ||
annotation (Placement(transformation(extent={{-62,50},{-82,30}}))); | ||
Modelica.Blocks.Sources.RealExpression mPro_flow( | ||
final y(final unit="kg/s")= outCon.port_a.m_flow) |
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.
one more space before final
. In general, make sure the format looks consistent.
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.
Fixed the inconsistent format.
within Buildings.Fluid.Dehumidifiers.Desiccant.BaseClasses; | ||
model Performance | ||
"Model calculates the outlet condition of the process air through a desiccant dehumidifier" | ||
extends Modelica.Blocks.Icons.Block; |
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.
delete one empty space before extends
. Format
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.
Removed the extra space.
final parameter Real uSpe_min = 0.3 | ||
"Minimum allowable wheel speed ratio"; | ||
Modelica.Blocks.Interfaces.BooleanInput onDeh | ||
"Set to true to enable the dehumidification process" annotation (Placement( |
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.
change the annotation()
to new line.
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.
Fixed
iconTransformation(extent={{-120,-92},{-100,-72}}))); | ||
Modelica.Blocks.Interfaces.RealInput mPro_flow( | ||
final unit="kg/s") "Mass flow rate of the process air" | ||
annotation (Placement(transformation( |
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 format.
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.
Corrected the format.
"Coefficients for calculating the latent heat exchange effectiveness"; | ||
final parameter Real uSpe_min = 0.3 | ||
"Minimum allowable wheel speed ratio"; | ||
Modelica.Blocks.Interfaces.BooleanInput onDeh |
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.
change the onDeh
to uRot
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.
Renamed.
"Latent heat exchange effectiveness"; | ||
|
||
equation | ||
if onDeh then |
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.
in this section, please ensure the indent in right way.
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.
Removed the extra spaces.
<li> | ||
If the dehumidification signal <code>onDeh=true</code>, | ||
<ul> | ||
<li> |
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.
make sure no empty space in front of each sentence.
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.
Removed the extra spaces.
|
||
</html>", revisions="<html> | ||
<ul> | ||
<li>April 10, 2024, by Sen Huang:<br/>Added wheel speed ratio as an input. </li> |
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.
do not need to add the second revision record, as it is still the first implementation.
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.
Removed the revision record.
<h4>References</h4> | ||
<ul> | ||
<li> | ||
<a href=\"https://energyplus.net/assets/nrel_custom/pdfs/pdfs_v22.1.0/EngineeringReference.pdf\"> |
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.
change the reference format as
U.S. Department of Energy, <i> "EnergyPlus Version 22.1.0 Documentation: Engineering Reference". </i>
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.
Replaced the reference text as suggested
@@ -0,0 +1,51 @@ | |||
within Buildings.Fluid.Dehumidifiers.Desiccant.Data; | |||
record Default = |
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.
you may rename it as EnergyPlus
. See Buildings.Fluid.HeatPumps.Data.EquationFitReversible
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.
Renamed the model as suggested.
annotation (Dialog(group="Efficiency")); | ||
parameter Real c[:] = {1} | ||
"Coefficients for power consumption curve for the rotor, | ||
P/P_nominal = sum a_i uSpe^(i-1). The sum(a) of the elements must be equal to 1" |
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.
don't include any equation in comment. Also don't include the variable names in the comment.
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.
Removed the equation and variable name.
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 See inline comments.
Also, is it possible to change the figures (like Buildings/Resources/Images/Fluid/Dehumidifiers/Desiccant/BaseClasses/system_schematic_VFD.png
)to different format? Usually, each figure in our library has the .svg format and .png format, see for example in Buildings/Resources/Images/Fluid/CHPs
.
@SenHuang19 Let me when it is ready for another review. |
@JayHuLBL Thanks for checking with me. It is ready for your review. |
|
Will update this PR once #3554 is completed. |
No description provided.