EnergyPlus Module Development Documentation

asked 2017-11-16 10:53:32 -0500

saccon's avatar

updated 2018-03-11 10:57:28 -0500

Because I am having a hard time trying to integrate a Matlab script to EnergyPlus via EMS/ExternalInterface objects and an Erl program is not enough for my purposes, I am willing to create a new module in EnergyPlus by cloning the repository in my machine and see how it goes. However, the ModuleDeveloper.pdf documentation (version 8.8) mentions that modules are developed in Fortran 90/95, which seems not to be the case anymore, as EnergyPlus was translated to C++ few years ago. And if you check the E+ source code, the modules are there, C coded. Am I missing something? If not, is there a module developer documentation for C++?

edit retag flag offensive close merge delete


@saccon I expect that documentation mentioning Fortran just needs to be updated, but @JasonGlazer can probably confirm this.

David Goldwasser's avatar David Goldwasser  ( 2017-11-16 11:15:26 -0500 )edit

The Guide for Module Developers is out of date and does reference Fortran instead of C++. The general structure of EnergyPlus still follows what is described but probably many details mentioned are out of date. I would suggest you look at the current code as the best example on development.

JasonGlazer's avatar JasonGlazer  ( 2017-11-16 11:56:15 -0500 )edit