Dear colleagues,
I am trying to optimize thermal comfort in multi-zone office served by central AHU with heat recovery. Supply air is entering the zones directly through AirTerminal:SingleDuct:Uncontolled objects.
The optimization is performed in custom software which reads output in order to calculate objective function and writes in predetermined lines values of selected independent variables. Then starts the simulation and the process repeats until the optimal solution is found (similar to GenOPT).
Since the AHU composition and operation is very tricky (at least) to model with EnergyPlus Objects, I would like to optimize the availability schedules for each of the separate sections.
The AHU contains HX with OA Mixer, Cooling Coil and Supply and Return Fans and has 3 different availability schedules for HX availability, Coil Availability and fans availability.
Here is the problem:
I created simple EMS program that forces Fans On when either Cooling Coil or HX need to be On (as a result of optimization), but dont know how to leave the possibility for Fans to be On when coil and HX are set to 0 (possibility of free cooling). Is this possible and how within the EMS?
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:SENSOR ===========
EnergyManagementSystem:Sensor,
AHUCCOnSensor, !- Name
AHU Cooling Coil Availability, !- Output:Variable or Output:Meter Index Key Name
Schedule Value; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Sensor,
AHUHXOnSensor, !- Name
AHU HX Availability, !- Output:Variable or Output:Meter Index Key Name
Schedule Value; !- Output:Variable or Output:Meter Name
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:ACTUATOR ===========
EnergyManagementSystem:Actuator,
AHUFanAvailable, !- Name
AHU Fan Availability, !- Actuated Component Unique Name
Schedule:Compact, !- Actuated Component Type
Schedule Value; !- Actuated Component Control Type
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:PROGRAM ===========
EnergyManagementSystem:Program,
AHUFanStart, &n