Hi,
I'm trying to use the EMS actuators to manually set the supply mass flow rate and supply air temperature in an
ZoneHVAC:IdealLoadsAirSystem.
Reading the EMS documentation on actuators I see I can edit the "Air Mass Flow Rate” and “Air Temperature”. I have so set sensors and actuators how you can see below. However, I see changes with respect to no actions only in the mass flow (mdot_ideal
, mdot_sys
) rate and not in the system temperature (tair_sys
). I have also tried to use this actuator
EnergyManagementSystem:Actuator,
t_air_act, !- Name
NODE BLOCK1:ZONEWEST IN, !- Actuated Component Unique Name
System Node Setpoint, !- Actuated Component Type
Temperature Setpoint; !- Actuated Component Control Type
But no changes in the temperature as well. I want to do so in order to develop a model predictive control able to regulate both mass flow rate and inlet temperature.
EMS OBJECTS IN THE IDF
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:ACTUATOR ===========
EnergyManagementSystem:Actuator,
t_air_act, !- Name
BLOCK1:ZONEWEST IDEAL LOADS AIR, !- Actuated Component Unique Name
Ideal Loads Air System, !- Actuated Component Type
Air Temperature; !- Actuated Component Control Type
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:SENSOR ===========
EnergyManagementSystem:Sensor,
T_in, !- Name
Block1:ZoneWest, !- Output:Variable or Output:Meter Index Key Name
Zone Mean Air Temperature; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Sensor,
mdot_ideal, !- Name
BLOCK1:ZONEWEST IDEAL LOADS AIR, !- Output:Variable or Output:Meter Index Key Name
Zone Ideal Loads Supply Air Mass Flow Rate; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Sensor,
heat_power, !- Name
DistrictHeating:Facility,!- Output:Variable or Output:Meter Index Key Name
DistrictHeating:Facility;!- Output:Variable or Output:Meter Name
EnergyManagementSystem:Sensor,
mdot_sys, !- Name
NODE BLOCK1:ZONEWEST ZONE, !- Output:Variable or Output:Meter Index Key Name
System Node Mass Flow Rate; !- Output:Variable or Output:Meter Name
EnergyManagementSystem:Sensor,
tair_sys, !- Name
NODE BLOCK1:ZONEWEST ZONE, !- Output:Variable or Output:Meter Index Key Name
System Node Temperature; !- Output:Variable or Output:Meter Name
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:ACTUATOR ===========
EnergyManagementSystem:Actuator,
MDOT_act, !- Name
BLOCK1:ZONEWEST IDEAL LOADS AIR, !- Actuated Component Unique Name
Ideal Loads Air System, !- Actuated Component Type
Air Mass Flow Rate; !- Actuated Component Control Type
EnergyManagementSystem:Actuator,
t_air_act, !- Name
BLOCK1:ZONEWEST IDEAL LOADS AIR, !- Actuated Component Unique Name
Ideal Loads Air System, !- Actuated Component Type
Air Temperature; !- Actuated Component Control Type
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:PROGRAMCALLINGMANAGER ===========
EnergyManagementSystem:ProgramCallingManager,
sensorsTemp, !- Name
EndOfSystemTimestepBeforeHVACReporting, !- EnergyPlus Model Calling Point
getSensors; !- Program Name 1
EnergyManagementSystem:ProgramCallingManager,
act, !- Name
BeginTimestepBeforePredictor, !- EnergyPlus Model Calling Point
setAct; !- Program Name 1
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:PROGRAM ===========
EnergyManagementSystem:Program,
getSensors, !- Name
; !- Program Line 1
EnergyManagementSystem:Program,
setAct, !- Name
SET t_air_act = 17; !- Program Line 1
SET MDOT_act = 0.1 !- Program Line 2
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:GLOBALVARIABLE ===========
EnergyManagementSystem:GlobalVariable,
MDOTact; !- Erl Variable 1 Name
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:OUTPUTVARIABLE ===========
EnergyManagementSystem:OutputVariable,
T_in, !- Name
T_in, !- EMS Variable Name
Averaged, !- Type of Data in Variable
ZoneTimestep, !- Update Frequency
, !- EMS Program or Subroutine Name
C; !- Units
EnergyManagementSystem:OutputVariable,
heat_power, !- Name
heat_power, !- EMS Variable Name
Summed, !- Type of Data in Variable
ZoneTimestep, !- Update Frequency
, !- EMS Program or Subroutine Name
J; !- Units
EnergyManagementSystem:OutputVariable,
mdot_ideal, !- Name
mdot_ideal, !- EMS Variable Name
Averaged, !- Type of Data in Variable
ZoneTimestep, !- Update Frequency
, !- EMS Program or Subroutine Name
kg/s; !- Units
EnergyManagementSystem:OutputVariable,
MDOTact, !- Name
MDOTact, !- EMS Variable Name
Summed, !- Type of Data in Variable
SystemTimestep, !- Update Frequency
, !- EMS Program or Subroutine Name
kg/s; !- Units
EnergyManagementSystem:OutputVariable,
mdot_sys, !- Name
mdot_sys, !- EMS Variable Name
Averaged, !- Type of Data in Variable
ZoneTimestep; !- Update Frequency
EnergyManagementSystem:OutputVariable,
tair_sys, !- Name
tair_sys, !- EMS Variable Name
Averaged, !- Type of Data in Variable
ZoneTimestep, !- Update Frequency
, !- EMS Program or Subroutine Name
C; !- Units