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

asked 2022-12-29 23:19:44 -0600

updated 2023-01-04 10:23:05 -0600

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

edit retag flag offensive close merge delete

Comments

1

I am interested in the same but I want to do it using python plugins and also have other parameters for the trigger, e.e. the zone air temperature. I do not know how to do it.

halimgur's avatar halimgur  ( 2023-01-07 18:50:31 -0600 )edit

@halimgur did you end up with a solution for this? I am still interested on it.

lrebello's avatar lrebello  ( 2023-07-31 16:47:35 -0600 )edit

No. I could not do it.

halimgur's avatar halimgur  ( 2023-07-31 19:19:12 -0600 )edit