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;