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

add new actuators by changing the source code of EnergyPlus

asked 2019-06-10 14:10:27 -0600

building_performance's avatar

updated 2019-06-13 07:23:41 -0600

I am working on an ASHRAE project for demand control ventilation. I need to add three actuators by changing the source code of EnergyPlus:

• Minimum Primary Air Flow Fraction in module AirTerminal:SingleDuct:SeriesPIU:Reheat

• Minimum Primary Air Flow Fraction in module AirTerminal:SingleDuct:ParallelPIU

• Zone Minimum Air Flow Fraction in module AirTerminal:DualDuct:VAV

Please advise what modules and what procedure to follow to add the 3 actuators? I already have the software environment ready to build EnergyPlus.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2019-06-13 17:19:05 -0600

updated 2019-06-14 11:00:16 -0600

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:

"Mass Flow Rate",

This is in 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.

edit flag offensive delete link more


Thank you! this is a smart approach!

building_performance's avatar building_performance  ( 2019-06-13 17:58:25 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2019-06-10 14:10:27 -0600

Seen: 277 times

Last updated: Jun 14 '19