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

Can EnergyPlus EMS feature model PI/PID Controls?

asked 2021-10-06 01:43:33 -0500

Harsha's avatar

updated 2022-02-05 15:30:27 -0500

I want to implement PI/PID Controls strategy in energy plus and i am unable to find the same. Can someone help if anyone has tried using PI and PID Control techniques for modeling AHU/HVAC/Plant models with energy plus using EMS or any other way?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-10-08 04:04:21 -0500

Solution using Native Erl

There is a paper from Raftery et al from 2017 called "A new control strategy for high thermal mass radiant systems":

This paper implements a Model Predictive Controller in EMS (Erl) natively. This might be a good starting point.

Resources including example IDFs etc are available at

Using E+ v9.3.0+: the Python API

Since then, E+ actually implemented a Python API. See

It would be definitely easier to implement this using this Python API instead of using the built-in Erl language for EMS. Python packages such as simple-pid might be a great help to avoid reinventing the wheel.

edit flag offensive delete link more

Your Answer

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

Add Answer

Training Workshops

Question Tools


Asked: 2021-10-06 01:43:33 -0500

Seen: 114 times

Last updated: Oct 08 '21