-
Notifications
You must be signed in to change notification settings - Fork 460
Make ExternalInterface:FunctionalMockupUnitExport:To:Schedule/Actuator Initial Value field optional #10943
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
Conversation
This reverts commit 752e3ac.
|
The FMU IDD changes were tested successfully by @Florian-Sim (who posted the issue) and Thierry N. This is ready for final review. |
| \memo space air node, air inlet nodes, air exhaust nodes, and the air return node. | ||
| \memo If any space in a zone has a SpaceHVAC:EquipmentConnections object, then all spaces in the zone must have one. | ||
| \memo Used only when ZoneAirHeatBalanceAlgorithm "Do Space Heat Balance for Sizing"is Yes. | ||
| \memo Used only when ZoneAirHeatBalanceAlgorithm "Do Space Heat Balance for Simulation" is Yes. |
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.
A fine fix
| \reference SpaceSplitterNames | ||
| A2, \field Zone Name | ||
| \note Must be a controlled zone which has a ZoneHVAC:EquipmentConfiguration object. | ||
| \note Must be a controlled zone which has a ZoneHVAC:EquipmentConnections object. |
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.
Yes, good.
| \type real | ||
| \required-field | ||
| \note Used during the first call of EnergyPlus. | ||
| \note Used during EnergyPlus sizing and warm-up. |
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.
👍
| \required-field | ||
| \note Used during the first call of EnergyPlus. | ||
| \note Used during EnergyPlus sizing and warm-up. | ||
| \note If no value is specified, then the actuated component will only be updated after sizing and warm-up. |
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.
Sounds good to me.
|
Everything reads well and looks good, thanks @mjwitte |
| \type real | ||
| \required-field | ||
| \note Used during the first call of EnergyPlus. | ||
| \note Used during EnergyPlus sizing and warm-up. |
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.
NumErrorFlag is set. But that's not used later to throw.
Is allowing a blank really intended though, given the warning?
EnergyPlus/src/EnergyPlus/ScheduleManager.cc
Lines 2047 to 2053 in 0befe77
| // Initialize the ExternalInterface day schedule for the ExternalInterface compact schedule. | |
| // It will be overwritten during run time stepping after the warm up period | |
| if (NumNumbers < 1) { | |
| ShowWarningCustom(state, eoh, "Initial value is not numeric or is missing. Fix idf file."); | |
| NumErrorFlag = true; | |
| } | |
| ExternalInterfaceSetSchedule(state, daySched->Num, Numbers(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.
@jmarrec I wasn't set up to test this, so it was tested by two others. This warning should go, but I wonder if line 2053 should be inside this if.
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.
For the record, looking further at this code, it appears that this is creating a new schedule, so it would need a value to initialize it.
Pull request overview
Description of the purpose of this PR
Pull Request Author
Reviewer