EnergyManagementSystem:Sensor, T1, Environment, Site Direct Solar Radiation Rate per Area;
EnergyManagementSystem:Actuator, T, b_0_Srf_2_glz_0, WindowMaterial:Glazing, Solar Transmittance at Normal Incidence;
EnergyManagementSystem:Program, D, SET Site Direct Solar Radiation Rate per Area = T1, if site Direct Solar Radiation Rate per Area >= 300, Solar Transmittance at Normal Incidence = 0.2, ELSEIF site Direct Solar Radiation Rate per Area < 300, Solar Transmittance at Normal Incidence = 0.5, ENDIF;
EnergyManagementSystem:OutputVariable, M, M-b-0, Averaged, SystemTimestep;