Revision history  [back]

How can I control a roller shade in EMS based on an hourly solar transmittance scheduled ?

How can I control a roller shade in EMS based on an hourly solar transmittance scheduled? Where can I enter the schedule in the EMS control?

EnergyManagementSystem:Sensor,
  S1, !- Name
  D1, !- Output:Variable
  Daylighting Reference Point 1 Glare Index;

EnergyManagementSystem:Sensor,
  S2, !- Name
  D1, !- Output:Variable
  Daylighting Reference Point 1 Illuminance;


EnergyManagementSystem:Actuator,
  myA1, !-Name
  VB-sch, !-Unique ID
  Schedule:Year, !-Component Type
  Schedule Value; !-Control Type

EnergyManagementSystem:Program,
  myP1, !-Name
  SET DGI = S1,
  SET ill = S2,
  IF (DGI >= 22) && (ill>=2000),
  SET myA1 = 0,
  ELSEIF (DGI < 22) && (ill>=2000),
  SET myA1 = 90,
  ELSEIF (DGI < 22) && (ill<2000),
  SET myA1 = 90,
  ELSEIF (DGI >= 22) && (ill<2000),
  SET myA1 = 30,
  ENDIF;

EnergyManagementSystem:ProgramCallingManager,
  myCal1, !-Name
  BeginTimestepBeforePredictor, !-Calling point
  myP1;

EnergyManagementSystem:OutputVariable,
  myV1,
  myV1_room_0,
  Averaged,
  SystemTimestep;

EnergyManagementSystem:GlobalVariable,
  myV1_room_0;

Thank you

How can I control a roller shade in EMS based on an hourly solar transmittance scheduled ?

How can I control a roller shade in EMS based on an hourly solar transmittance scheduled? Where can I enter the schedule in the EMS control?

control?
EnergyManagementSystem:Sensor,
 S1, !- Name
 D1, !- Output:Variable
 Daylighting Reference Point 1 Glare Index;
Index;

EnergyManagementSystem:Sensor, S2, !- Name D1, !- Output:Variable Daylighting Reference Point 1 Illuminance; Illuminance;

EnergyManagementSystem:Actuator, myA1, !-Name VB-sch, !-Unique ID Schedule:Year, !-Component Type Schedule Value; !-Control Type Type

EnergyManagementSystem:Program, myP1, !-Name SET DGI = S1, SET ill = S2, IF (DGI >= 22) && (ill>=2000), SET myA1 = 0, ELSEIF (DGI < 22) && (ill>=2000), SET myA1 = 90, ELSEIF (DGI < 22) && (ill<2000), SET myA1 = 90, ELSEIF (DGI >= 22) && (ill<2000), SET myA1 = 30, ENDIF; ENDIF;

EnergyManagementSystem:ProgramCallingManager, myCal1, !-Name BeginTimestepBeforePredictor, !-Calling point myP1; EnergyManagementSystem:OutputVariable, myV1, myV1_room_0, Averaged, SystemTimestep; EnergyManagementSystem:GlobalVariable, myV1_room_0;

myP1;

Thank youEnergyManagementSystem:OutputVariable, myV1, myV1_room_0, Averaged, SystemTimestep;

EnergyManagementSystem:GlobalVariable, myV1_room_0;

How can I control a roller shade in EMS based on an hourly solar transmittance scheduled ?

How can I control a roller shade in EMS based on an hourly solar transmittance scheduled? Where can I enter the schedule in the EMS control? EnergyManagementSystem:Sensor, S1, !- Name D1, !- Output:Variable Daylighting Reference Point 1 Glare Index;

EnergyManagementSystem:Sensor, S2, !- Name D1, !- Output:Variable Daylighting Reference Point 1 Illuminance;

EnergyManagementSystem:Actuator, myA1, !-Name VB-sch, !-Unique ID Schedule:Year, !-Component Type Schedule Value; !-Control Type

EnergyManagementSystem:Program, myP1, !-Name SET DGI = S1, SET ill = S2, IF (DGI >= 22) && (ill>=2000), SET myA1 = 0, ELSEIF (DGI < 22) && (ill>=2000), SET myA1 = 90, ELSEIF (DGI < 22) && (ill<2000), SET myA1 = 90, ELSEIF (DGI >= 22) && (ill<2000), SET myA1 = 30, ENDIF;

EnergyManagementSystem:ProgramCallingManager, myCal1, !-Name BeginTimestepBeforePredictor, !-Calling point myP1;

EnergyManagementSystem:OutputVariable, myV1, myV1_room_0, Averaged, SystemTimestep;

EnergyManagementSystem:GlobalVariable, myV1_room_0;