Hourly simulation data
is there a way I can get the hourly data for electricity consumption for one day through OpenStudio?
is there a way I can get the hourly data for electricity consumption for one day through OpenStudio?
There may be faster ways to do this, but I made a measure to export hourly .csv data for meters and variables.
Add the AddMeter measure to your model:
Then add the ExportMetertoCSV measure:
Once you run the model, a .csv file will be available in the run -> UserScript -> directory for that measure:
EDIT: Other ways to do this:
Open the .eso file with DesignBuilder ResultsViewer.
I built a little python script to do this for VARIABLES (not METERS) if it's just a few variables and I don't want to bother with other things. You could easy adapt it to meters if you can tinker with code.
thanks very much for your reply, i really appreciate your help..please check the file i sent in an answer below
Are you looking in the measure directory for the EnergyPlus run directory? Check:
Make sure
(1) the meter is in your model. The name should be just Electricity:Facility.
(2) the ExportMetertoCSV measure has the same name. Also make sure this is the OutputMeter, NOT OutputVariable.
(3) The csv is in the model folder -> run -> #-UserScript-# directory, NOT the measure directory.
Please see the figure below. You have to select the variable that you are interested in (on the left-hand side) and then the reporting granularity (on the right-hand side).
Are you running your simulation for one day, if not then this can be done from Simulation setting tab. If yes, then you should be able to output hourly variables from Output Variable tab.
thanks very much for your answer, i'm not running my simulation for one day but i still need to get an hourly simulation data. i'm sorry, where in the simulation data tab can i do that!
Please see my answer below, this will output hourly values of the requested variable no matter whether you are running it for one day or one year.
As this is not an answer so please move it as a comment or edit your question.