built-in variable

asked 2018-10-04 10:11:53 -0500

mindcoder's avatar

updated 2018-10-04 12:37:58 -0500

I wrote an EMS program in EnergyPlus to output the built-in variables (CurrentTime, Hour, Minute, etc) to the csv files by Output:Variables. I tried to get the simulation time outputs / reporting time outputs, just like the first column shown in the normal energyplus output csv files. But what I got are all zero values for those built-in variables. The reason I do this is I try to test out and pass the built-in variables(simulation time outputs) out of Energyplus to the ExternalInterface for further post-processing. Please give some instructions how to implement this correctly? My thoughts are: if the EMS approach on EnergyPlus works, then the measure approach will also work. Our final solution would be writing an measure to expose the time outputs from EnergyPlus/OpenStudio during the simulation process. Thank you!!!

edit retag flag offensive close merge delete