EMS schedule for Natural Ventilation

Hey everyone,

I believe it would be a good idea to have this as a separate question and not link it with my previous one.

After further investigating the previous script. A schedule control was also needed to be incorporated into my EMS script where the schedule calls the window to open for 15 minutes twice a day. Unfortunately, the results aren't looking like how they should.

EnergyManagementSystem:Sensor,
    NatVentSchedule_Sensor01,        !- Name
    AtticBedroom-cutout,  !- Output:Variable or Output:Meter Index Key Name
    Zone Mean Air Temperature;  !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Actuator,
    OpenFactorSchedule,            !- Name
    Natural_Ventilation_Test,  !- Actuated Component Unique Name
    Schedule:Year,        !- Actuated Component Type
    Schedule Value;  !- Actuated Component Control Type
EnergyManagementSystem:Program,
    CO2_Sensor01,            !- Name
    IF (EMS_CO2_Sensor02 > 1000) || (Temperature_Sensor02 >= 23) || (NatVentSchedule_Sensor02 > 0.2) ,  !- Program Line 1
    SET OpenFactor01 = 1.0, !- Program Line 2
    SET OpenFactorSchedule = 1.0, !- A4
    ELSE,  !- A5
    SET OpenFactor01 = 0.0,  !- A6
    SET OpenFactorSchedule = 0.0, !- A7
    ENDIF;  !- A8

The schedule is an On-Off schedule with 1 calling the window to open. When I look at my indoor CO2 levels and the EUI, it looks to be that the window opens throughout the day.

image description

I would appreciate it if anyone could help me out with this script.

Cheers, Adarsh

Adarsh's avatar
23
Adarsh
asked 2024-03-20 03:54:35 -0500
edit flag offensive 0 remove flag close merge delete

Comments

What calling point are you using?

shorowit's avatar shorowit (2024-03-20 09:40:55 -0500) edit

@shorowit, I use BeginTimestepBeforePredictor for all of the programs.

Adarsh's avatar Adarsh (2024-03-20 09:48:29 -0500) edit

What object is using the "Natural_Ventilation_Test" schedule? Hard to help without seeing more. Can you provide an IDF via Dropbox or Google Drive?

shorowit's avatar shorowit (2024-03-20 18:27:55 -0500) edit

Hey @shorowit. Natural_Ventilation_Test schedule is used by the ventilation control. Here is a drive link for the IDF along with the IDF for the schedule (lower timestep) and the EMS control.

Adarsh's avatar Adarsh (2024-03-21 08:17:41 -0500) edit

Hey @shorowit, I hope you're well. I'm just checking in to see if you were able to go through the IDF file? Have a nice weekend. Cheers, Adarsh

Adarsh's avatar Adarsh (2024-03-24 03:47:17 -0500) edit
add a comment see more comments