3

Hourly simulation data

is there a way I can get the hourly data for electricity consumption for one day through OpenStudio?

shahin1992's avatar
569
shahin1992
asked 2016-04-28 08:04:00 -0500
MatthewSteen's avatar
10.1k
MatthewSteen
updated 2016-04-28 10:33:44 -0500
edit flag offensive 0 remove flag close merge delete

Comments

2

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.

Waseem's avatar Waseem (2016-04-28 09:39:19 -0500) edit

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!

shahin1992's avatar shahin1992 (2016-04-28 09:59:50 -0500) edit
1

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.

Waseem's avatar Waseem (2016-04-28 10:11:38 -0500) edit

image description thanks very much for your reply, i really appreciate it but i still don't seem to find the CSV file @mdahlhausen

shahin1992's avatar shahin1992 (2016-04-28 22:28:05 -0500) edit
1

As this is not an answer so please move it as a comment or edit your question.

Waseem's avatar Waseem (2016-04-29 02:08:48 -0500) edit
add a comment see more comments

2 Answers

4

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: image description

Then add the ExportMetertoCSV measure: image description

Once you run the model, a .csv file will be available in the run -> UserScript -> directory for that measure: image description

EDIT: Other ways to do this:

mdahlhausen's avatar
9.5k
mdahlhausen
answered 2016-04-28 15:24:52 -0500, updated 2016-04-29 12:24:11 -0500
edit flag offensive 0 remove flag delete link

Comments

thanks very much for your reply, i really appreciate your help..please check the file i sent in an answer below

shahin1992's avatar shahin1992 (2016-04-28 23:07:14 -0500) edit

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.

mdahlhausen's avatar mdahlhausen (2016-04-29 11:53:19 -0500) edit
add a comment see more comments
1

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). Reporting

Waseem's avatar
2.5k
Waseem
answered 2016-04-28 10:09:08 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments