-
Notifications
You must be signed in to change notification settings - Fork 164
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
Issue2885 fan coil unit controls #2946
Issue2885 fan coil unit controls #2946
Conversation
Merge lbl master into pnnl master
@karthikeyad-pnnl I just created the branch |
Thanks! |
…uildings:issue1913_g36_final
…nabled until the fan is proven ON
… all of them. Added svg file for control diagrams
@JayHuLBL: @terrancelu92 and I have updated the files according to the previous comments. Please see my responses in bold for each of the comments. Thanks!
|
|
Updated names and comments of connections in FanCoilUnit folder
Updated names of the connections in validation models
Propagated the naming changes to the validation scripts
Updated unit test logs
…al documentation to the plant requests subsequence validation
@JayHuLBL We have updated the interface instances according to the above comments. Please review the changes when you get a chance. Thanks! |
"Subsequence for calculating supply air temperature setpoint" | ||
|
||
parameter Boolean have_cooCoi | ||
"Does the fan coil unit have a cooling coil? True: Yes, False: No"; |
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 comment to True: the unit has a cooling coil
, and give it a default value true
"Does the fan coil unit have a cooling coil? True: Yes, False: No"; | ||
|
||
parameter Boolean have_heaCoi | ||
"Does the fan coil unit have a heating coil? True: Yes, False: No"; |
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.
True: the unit has a heating coil
|
||
Buildings.Controls.OBC.CDL.Interfaces.RealOutput yCooCoi( | ||
final unit="1", | ||
displayUnit="1") if have_cooCoi |
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 yCooCoi
and yHeaCoi
are conditional connectors. However, the conditions are not propagated upstream. For example, the instances mul3
, swiCooCoi
, cooPIDCoo
can be conditional removed if have_cooCoi=false
. so that the parameters needed in instance cooPIDCoo
can be disabled.
The conditions to diable parameters may need to be propagated to Buildings.Controls.OBC.ASHRAE.FanCoilUnit.Controller
.
equation | ||
connect(uHea, linTHeaSupAir.u) annotation (Line(points={{-140,40},{-74,40},{-74, | ||
60},{-62,60}}, color={0,0,127})); | ||
|
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.
remove the empty lines.
"Fan speed setpoint subsequence" | ||
|
||
parameter Boolean have_cooCoi | ||
"Does the fan coil unit have a cooling coil? True: Yes, False: No"; |
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 comment and set the default value to true
.
Also, please propagate the condition to instances and parameters.
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.
@karthikeyad-pnnl Please see the inline comments. There are following html errors:
jianjunhu@ubuntu:~/GitFolder/karthikeyad-pnnl/modelica-buildings/Buildings$ ../bin/validateHTML.py
The following malformed html syntax has been found:
[-- ./Controls/OBC/ASHRAE/FanCoilUnit/Subsequences/Validation/PlantRequests.mo ]
line 55 column 1 - Warning: inserting implicit <p>
line 25 column 1 - Warning: trimming empty <p>
line 55 column 1 - Warning: trimming empty <p>
@JayHuLBL : I am creating this PR for the fan coil unit controls. I have currently assigned the destination branch as the 'master' branch. Can you please create a new development branch "issue2885_FanCoilUnitControls" on lbl-srg/modelica-buildings? I will then edit the PR to use that as the target branch.