Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Reluctantly repeating an answer from the helpdesk here, because this question was asked in both places......

To learn how to add a new actuator, search the code for the name of an existing actuator. For example, search for "AirTerminal:SingleDuct:Uncontrolled" and find SetupEMSActuator in the search results:

SetupEMSActuator("AirTerminal:SingleDuct:Uncontrolled", DirectAir(Loop).EquipID, "Mass Flow Rate", "[kg/s]", DirectAir(Loop).EMSOverrideAirFlow, DirectAir(Loop).EMSMassFlowRateValue);

This in DirectAirManager.cc. Search that source file for the last two variables above "EMSOverrideAirFlow" and "EMSMassFlowRateValue" to see how the actuator is applied in the terminal unit model.

If you search the code for "AirTerminal:SingleDuct:SeriesPIU:Reheat" you should find the source file that models that unit. Likewise for the others.

click to hide/show revision 2
No.2 Revision

Reluctantly repeating an answer from the helpdesk here, because this question was asked in both places......

To learn how to add a new actuator, search the code for the name of an existing actuator. For example, search for "AirTerminal:SingleDuct:Uncontrolled" and find SetupEMSActuator in the search results:

SetupEMSActuator("AirTerminal:SingleDuct:Uncontrolled",
DirectAir(Loop).EquipID,
"Mass Flow Rate",
"[kg/s]",
DirectAir(Loop).EMSOverrideAirFlow,
DirectAir(Loop).EMSMassFlowRateValue);

DirectAir(Loop).EMSMassFlowRateValue);

This is in DirectAirManager.cc. DirectAirManager.cc. Search that source file for the last two variables above "EMSOverrideAirFlow" EMSOverrideAirFlow and "EMSMassFlowRateValue" EMSMassFlowRateValue to see how the actuator is applied in the terminal unit model.

If you search the code for "AirTerminal:SingleDuct:SeriesPIU:Reheat" you should find the source file that models that unit. Likewise for the others.

click to hide/show revision 3
No.3 Revision

To learn how to add a new actuator, search the code for the name of an existing actuator. For example, search for "AirTerminal:SingleDuct:Uncontrolled" and find SetupEMSActuator SetupEMSActuator in the search results:

SetupEMSActuator("AirTerminal:SingleDuct:Uncontrolled",
DirectAir(Loop).EquipID,
"Mass Flow Rate",
"[kg/s]",
DirectAir(Loop).EMSOverrideAirFlow,
DirectAir(Loop).EMSMassFlowRateValue);

This is in DirectAirManager.cc. Search that source file for the last two variables above EMSOverrideAirFlow and EMSMassFlowRateValue to see how the actuator is applied in the terminal unit model.

If you search the code for "AirTerminal:SingleDuct:SeriesPIU:Reheat" you should find the source file that models that unit. Likewise for the others.