-
Notifications
You must be signed in to change notification settings - Fork 194
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
Remove AVM for AirLoopHVACOutdoorAirSystem #5252
Conversation
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.
This is only unused when connected to the AirLoopHVACOutdoorAirSystem object, right? So we need to leave it in ProposedEnergy+.idd?
|
||
// Field: Availability Manager List Name ////////////////////////////////// | ||
IdfObject availabilityManagerListIdf(IddObjectType::AvailabilityManagerAssignmentList); | ||
availabilityManagerListIdf.setName(name + " Availability Manager List"); | ||
m_idfObjects.push_back(availabilityManagerListIdf); | ||
|
||
IdfObject availabilityManagerScheduledIdf = IdfObject(openstudio::IddObjectType::AvailabilityManager_Scheduled); | ||
availabilityManagerScheduledIdf.setName(name + " Availability Manager"); | ||
m_idfObjects.push_back(availabilityManagerScheduledIdf); | ||
|
||
Schedule alwaysOn = modelObject.model().alwaysOnDiscreteSchedule(); | ||
IdfObject alwaysOnIdf = translateAndMapModelObject(alwaysOn).get(); | ||
|
||
availabilityManagerListIdf.setString(1 + openstudio::AvailabilityManagerAssignmentListExtensibleFields::AvailabilityManagerObjectType, | ||
availabilityManagerScheduledIdf.iddObject().name()); | ||
availabilityManagerListIdf.setString(1 + openstudio::AvailabilityManagerAssignmentListExtensibleFields::AvailabilityManagerName, | ||
availabilityManagerScheduledIdf.name().get()); | ||
availabilityManagerScheduledIdf.setString(openstudio::AvailabilityManager_ScheduledFields::ScheduleName, alwaysOnIdf.name().get()); |
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.
Since 9.6.0, this AVM + AVM List was written to the IDF, but not actually used since the field itself was removed.
The removal of the use of this AVM List is in this commit of yours @joseph-robertson : a7962bf
75b06aa
to
d707162
Compare
Just triggering CI once again after a rebase to make sure everything is still right, and this can drop in. |
CI Results for d707162:
|
close #5251