openstudiocoalition / OpenStudioApplication

The OpenStudio Application is a fully featured graphical interface to OpenStudio models including envelope, loads, schedules, and HVAC.
https://openstudiocoalition.org
Other
136 stars 25 forks source link

HVAC Schedule Flaw #769

Closed nixub-a closed 5 days ago

nixub-a commented 1 week ago

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.

eringold commented 1 week ago

FYI the 'purge unused objects' button is good for uncluttering schedules, while keeping the ones that are referenced by other objects in the model. image

nixub-a commented 5 days ago

FYI the 'purge unused objects' button is good for uncluttering schedules, while keeping the ones that are referenced by other objects in the model. image

Good to know.