Closed jmarrec closed 2 years ago
@jmarrec thanks for the refactoring, I have to test that.
FYI in 536db89 I made some extra refactoring, which will correspond to this new release: https://github.com/jmarrec/EnergyPlus/releases/tag/v22.1.0-rl-testbed-refactor-extra
In that one:
This is again untested, so perhaps you'll want to revert 536db89.
tested the main loop and it works fine. I didn't test new error codes handling and integration in C/Python API, but shouldn't be a problem to merge as is and see if it's functional and useful later.
Complete refactor of the C++ code to eliminate global state, use constexpr, avoid gotos
This builds upon #91, but I didn't want to put it there because this is untested yet.