Skip to content
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

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

kbenne
Copy link
Contributor

@kbenne kbenne commented Sep 6, 2024

close #5251

@kbenne kbenne self-assigned this Sep 6, 2024
@kbenne kbenne added the Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge. label Sep 6, 2024
Copy link
Collaborator

@joseph-robertson joseph-robertson left a 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?

Comment on lines 109 to -126

// 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());
Copy link
Collaborator

@jmarrec jmarrec Oct 29, 2024

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

@jmarrec
Copy link
Collaborator

jmarrec commented Oct 29, 2024

Just triggering CI once again after a rebase to make sure everything is still right, and this can drop in.

@ci-commercialbuildings
Copy link
Collaborator

ci-commercialbuildings commented Oct 29, 2024

@jmarrec jmarrec merged commit 62f977e into develop Oct 29, 2024
2 of 6 checks passed
@jmarrec jmarrec deleted the 5251-remove-avm-from-oa-system branch October 29, 2024 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component - IDF Translation Pull Request - Ready for CI This pull request if finalized and is ready for continuous integration verification prior to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Availability Manager List for the Outdoor Air System.
4 participants