How to actuate Fan Airflow through Python
Hi,
I am a beginner to energy modelling and I am working on modulating Fan Speed through a logic. I have tried every method, I have added Variable Fan and its mass flow rate in the list of EMS Actuator as well. I am adding the details in the code but I am not getting what details is being missed here !!
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:SENSOR ===========
EnergyManagementSystem:Sensor,
Energy_Management_System_Sensor_1, !- Name
Fan Variable Volume 1, !- Output:Variable or Output:Meter Index Key Name
Fan Air Mass Flow Rate; !- Output:Variable or Output:Meter Name
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:ACTUATOR ===========
EnergyManagementSystem:Actuator,
Energy_Management_System_Actuator_2, !- Name
Thermal Zone 1, !- Actuated Component Unique Name
Zone Temperature Control,!- Actuated Component Type
Cooling Setpoint; !- Actuated Component Control Type
EnergyManagementSystem:Actuator,
Energy_Management_System_Actuator_3, !- Name
Thermal Zone 1, !- Actuated Component Unique Name
Zone Temperature Control,!- Actuated Component Type
Heating Setpoint; !- Actuated Component Control Type
EnergyManagementSystem:Actuator,
Energy_Management_System_Actuator_4, !- Name
Fan Variable Volume 1, !- Actuated Component Unique Name
Fan, !- Actuated Component Type
Fan Air Mass Flow Rate; !- Actuated Component Control Type
Thanks.
Where is the EMS:Program and EMS:ProgramCallingManager?
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:SENSOR ===========
EnergyManagementSystem:Sensor, OutdoorTempSensor, !- Name Environment, !- Output:Variable or Output:Meter Index Key Name Site Outdoor Air Drybulb Temperature; !- Output:Variable or Output:Meter Name
!- =========== ALL OBJECTS IN CLASS: ENERGYMANAGEMENTSYSTEM:ACTUATOR ===========
EnergyManagementSystem:Actuator, Energy_Management_System_Actuator_2, !- Name Thermal Zone 1, !- Actuated Component Unique Name Zone Temperature Control,!- Actuated Component Typ
I am trying to work in throgh Python. Do I still need EMS: Program and EMS: ProgramCallingManager ?
These are still not the EnergyManagementSystem:Program and EnergyManagementSystem:ProgramCallingManager, both objects are needed. I suggest you read the EMS Application Guide in more details, including example.
If you're trying to do it with python, then you don't need any EMS object. You need a PythonPlugin:Instance