3

Equations behind models (energy plus)

Hey, I have questions regarding EnergyPlus: how can I open models for example HVACTemplate:Boiler to see the code/equations input and output which goes behind them. Are the submodels/objects written in C++ or ruby or different language? And the last question where can i create new or adopt existing objects (models). Best regards, Gosia

m_socha's avatar
71
m_socha
asked 2015-08-10 07:41:59 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

7

The easiest way to find out the algorithm for each model is to look at the Engineering Reference which is available in two places:

http://nrel.github.io/EnergyPlus/

https://energyplus.net/documentation

If you want to look at the specific source code, you can do that also. It is written in C++ and is available at:

https://github.com/NREL/EnergyPlus

For the boilers, I would start with the following C++ files:

https://github.com/NREL/EnergyPlus/blob/develop/src/EnergyPlus/Boilers.cc

https://github.com/NREL/EnergyPlus/blob/develop/src/EnergyPlus/BoilerSteam.cc

It is much easier to use the existing objects that are already in EnergyPlus than to create new ones but if none of the existing models matches the piece of equipment or building component or type of system that you are looking to model, you can either add or modify the source code. The instructions are here:

https://github.com/NREL/EnergyPlus

Since EnergyPlus is open source code you can modify for your own use. If you want to ultimately contribute the code back to the project so that anyone can use your model, I would suggest that you contact the development team by using the help desk so that we can guide you through the process. The helpdesk can be reached here:

http://energyplus.helpserve.com/

JasonGlazer's avatar
6.8k
JasonGlazer
answered 2015-08-10 08:20:45 -0500, updated 2015-08-10 08:22:28 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments