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

HVAC Schedule Flaw #5300

Closed
nixub-a opened this issue Nov 12, 2024 · 1 comment
Closed

HVAC Schedule Flaw #5300

nixub-a opened this issue Nov 12, 2024 · 1 comment
Labels
Enhancement Request Triage Issue needs to be assessed and labeled, further information on reported might be needed

Comments

@nixub-a
Copy link

nixub-a commented Nov 12, 2024

Enhancement Request

The Always On Schedule for the HVAC System needs to become more fail-safe.

Detailed Description

I wanted to declutter my list of schedules. After deleting all of them, the simulation could not run. The following is the error message I received:

[openstudio.model.ControllerMechanicalVentilation] Object of type 'OS:Controller:MechanicalVentilation' and named 'Controller Mechanical Ventilation 1' does not have an Availability Schedule attached.

I could not find a solution online. I had to compare my old and new models' lines of code to notice the missing element. Long story short, one of the Always On Schedule that I deleted was critical for my HVAC system to work.

Possible Implementation

Someone might find themselves in the same position as me. I have a couple of potential fail-safe features.

One option is to add a new Always On Schedule input box in OS:AirLoopHVAC. That way, the user can insert a new schedule in case one was deleted.

OS:AirLoopHVAC

The other option is to hide the Always On Schedule from the Schedule>>Other Schedule list to prevent someone from deleting it. It can only be deleted with the HVAC System.

@nixub-a nixub-a added Enhancement Request Triage Issue needs to be assessed and labeled, further information on reported might be needed labels Nov 12, 2024
@jmarrec
Copy link
Collaborator

jmarrec commented Nov 12, 2024

If you delete all of your schedules, you're just shooting yourself in the foot, and there's not much we can do.

Also, this repo has nothing to do with the OpenStudioApplication.

I suggest your look at the BCL measure "Remove Orphan Objects and Unused Resources", the source is at https://github.com/NREL/openstudio-common-measures-gem/tree/develop/lib/measures/remove_orphan_objects_and_unused_resources

@jmarrec jmarrec closed this as completed Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Request Triage Issue needs to be assessed and labeled, further information on reported might be needed
Projects
None yet
Development

No branches or pull requests

2 participants