Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

built-in variable

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!!!

built-in variable

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!!!

built-in variable

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!!!