NREL / EnergyPlus

EnergyPlus™ is a whole building energy simulation program that engineers, architects, and researchers use to model both energy consumption and water use in buildings.
https://energyplus.net
Other
1.14k stars 392 forks source link

Investigate/Remove statistics file #5354

Open Myoldmopar opened 8 years ago

Myoldmopar commented 8 years ago

https://github.com/NREL/EnergyPlus/blob/74c0c9990aa231931c449c70a46a4bc5fbaa2acb/src/EnergyPlus/HVACControllers.cc#L2513

I don't know if it is useful, but if it is, it probably needs some refinement. Or just get rid of it.

jmarrec commented 5 years ago

Tehcnically it would dump some statistics (number of calls, etc, see here) to a file when you pass the environment variable TRACK_AIRLOOP (eg TRACK_AIRLOOP=True energyplus -w ../chig.epw -d out 5ZoneAirCooled.idf)

Problem is that it crashes, because on this line https://github.com/jmarrec/EnergyPlus/blob/develop/src/EnergyPlus/HVACControllers.cc#L2644 AirLoopStats is empty.

Not sure whether it is worth fixing though.


I had no idea there were so many Environment variables one could pass... Some search after discovering it in the code, shows that it's indeed in the documentation though: here's the TRACK_AIRLOOP one: https://bigladdersoftware.com/epx/docs/9-0/module-developer/air-loop-simulation-environment-variables.html#trackux5fairloop-runtime-performance-tracker-for-air-loop-simulation

mjwitte commented 5 years ago

@rraustad Do you use this?

rraustad commented 5 years ago

Never have, probably because I dislike the water controllers. Looks to me like a developers debugging tool.