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

Revision history [back]

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.

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.

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.