Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Leticia's profile - activity

2023-02-08 05:17:35 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

But I'm receving an error: Variable = 'DEADBAND' used in expression has not been initialized! Do you know what I'm doing

2023-02-08 05:16:51 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

But I'm receving an error: Variable = 'DEADBAND' used in expression has not been initialized! Do you know what I'm doing

2023-02-08 05:16:14 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

But I'm receving an error: Variable = 'DEADBAND' used in expression has not been initialized! Do you know what I'm doing

2023-02-08 05:14:47 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

But I'm receving an error: Variable = 'DEADBAND' used in expression has not been initialized! Do you know what I'm doing

2023-02-08 05:14:03 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

But I'm receving an error: Variable = 'DEADBAND' used in expression has not been initialized! Do you know what I'm doing

2023-02-08 05:12:09 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

But I'm receving an error: Variable = 'DEADBAND' used in expression has not been initialized! Do you know what I'm doing

2023-02-08 05:11:07 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

Eric, I still didn't manage to make it work. I tried using a Trend Variable as follows: EnergyManagementSystem:Program,

2023-02-08 05:10:49 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

Eric, I still didn't manage to make it work. I tried using a Trend Variable as follows: EnergyManagementSystem:Program,

2023-02-08 05:10:16 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

Eric, I still didn't manage to make it work. I tried using a Trend Variable as follows: EnergyManagementSystem:Program,

2023-02-08 05:07:50 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

Hi @Eric Ringold. I still didn't manage to make it work. I tried using a Trend Variable as follows. EnergyManagementSys

2023-02-06 02:58:20 -0500 marked best answer Problem with EMS code to control window operation according to indoor CO2 levels

I'm using EMS to set the window operation (open = 1, closed = 0) according to the zone CO2 levels (over 800 ppm the window should open). It's working fine but the problem is that the window state changes each timestep (reaches the target - window opens / the next timestep is below the target - window closes... and so on). Any suggestions on how I could overcome this oscillation?

My code is:

EnergyManagementSystem:Sensor,
  Num_People,
  Ocupacao_Z1,
  People Occupant Count;

EnergyManagementSystem:Sensor,
  Sensor_CO2,
  Z1,
  Zone Air CO2 Concentration;

EnergyManagementSystem:Actuator,
  Window,
  Window,
  Schedule:Constant,
  Schedule Value;

EnergyManagementSystem:Program,
  CO2_window_control,
  IF (Num_People > 0) && (Sensor_CO2 >= 800),
  SET Window = 1,
  ELSE,
  SET Window = 0,
  ENDIF;

Thank you.

2023-02-06 02:58:20 -0500 received badge  Scholar (source)
2023-02-06 02:51:15 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

Hi @Eric Ringold. I just tried to use a fixed value for the deadband but the oscillation continues. I would have to inc

2023-02-03 05:03:29 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

Hi @Eric Ringold. Sorry, but I'm not being able to find out how I could set the deadband. Could you help me, please?

2023-02-03 05:01:24 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

Hi Eric. Sorry, but I'm not being able to find out how I could set the deadband. Could you help me, please?

2023-02-02 02:34:35 -0500 commented question EMS to set window operation according to CO2 levels

Sorry, I received an error and I thought this one wasn't posted, so I posted it again. I'll erase this one.

2023-02-02 02:32:40 -0500 commented answer Problem with EMS code to control window operation according to indoor CO2 levels

Hi Eric. That will solve my problem, thanks so much for your help!

2023-02-02 02:32:12 -0500 commented question Problem with EMS code to control window operation according to indoor CO2 levels

Hi Aaron. I want the window opening actuator to stop oscillating. I think Eric's suggestion of adding a deadband will so

2023-02-01 12:40:36 -0500 received badge  Student (source)
2023-02-01 09:41:29 -0500 asked a question Problem with EMS code to control window operation according to indoor CO2 levels

Problem with EMS code to control window operation according to indoor CO2 levels I'm using EMS to set the window operati

2023-02-01 09:41:24 -0500 asked a question EMS to set window operation according to CO2 levels

EMS to set window operation according to CO2 levels I'm using EMS to set the window operation (open = 1, closed = 0) acc