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

Python Library for EnergyPlus Runtime Language (ERL)

asked 2019-04-09 02:13:57 -0500

Tanay gravatar image

updated 2019-04-09 15:45:06 -0500

Hello, I am a complete NOOB on EnergyPlus (E+). I just started looking into it and have spent only 2 days learning the E+ with some tutorials mentioned in the documentation. My goal is to simulate a custom PID controller for the underfloor heating system on a residential building.

From the tutorials, I understand how I can create .IDF file and simulate them with the WeatherData using DOS commands. I also checked that I can use Eppy (Python Library, to create/edit/start simulation for E+.

I found (from the documentation) that I can create custom controllers using ERL. I am wondering if there is any Python Library for running ERL from Python itself? It can be either Python v3 or Python v2.

P.S - I haven't read the ERL documentation fully yet.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-04-09 12:35:27 -0500

First, welcome to EnergyPlus. I'm glad you started with the tutorials, and your goal seems interesting and very much doable with EnergyPlus. You can definitely create IDFs and run them from the command line, or you can use a variety of tools to generate/modify the IDFs and run the files from a GUI.

As for a Python-based EMS, there isn't anything right now, but we (the core EnergyPlus development team) are currently developing a Python-EMS implementation in EnergyPlus. It will be completed in a future release, as it is still early in the design phase. I would suggest continuing with raw ERL if you are already getting comfortable with it, though I know some interfaces have also adopted at least minimal EMS functionality right into the interface.

Good luck

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


Question Tools


Asked: 2019-04-09 02:13:57 -0500

Seen: 66 times

Last updated: Apr 09