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

Problems exporting 15-minute interval data

asked 2017-07-07 19:55:38 -0500

kmpiscopo's avatar

I have modeled a building openstudio 1.14.0 with EnergyPlus 8-6-0 and am exporting several output variables and meters to csv files, and all runs fine when the reporting frequency is set to 'hourly.' However, I am interested in seeing the data at 15-minute intervals. I am running into 2 issues when I switch the reporting frequency from 'hourly' to 'timestep':

(1) When I change the reporting frequency to 'timestep' for the output variables, the model runs without error messages, but does not generate any csv files with the variable data.

(2) When I change the reporting frequency to 'timestep' for the meters, the model fails and I get my least favorite error message: "...being ignored in restricted program because of @executable_path"

Is there another method for viewing meter and output variable data at 15-minute intervals? Has anyone run into these issues?

edit retag flag offensive close merge delete

Comments

Can you please indicate how you have setup the csv export? Are you using a measure for this?

Julien Marrec's avatar Julien Marrec  ( 2017-07-10 04:02:07 -0500 )edit

Yes, for the variables I'm using the measure 'Export Output Variable to CSV' and for the meters, I'm using the measure 'Export Meter to CSV'

kmpiscopo's avatar kmpiscopo  ( 2017-07-10 11:05:56 -0500 )edit

I'm picky, but a link would be nice. ExportVariableToCSV and ExportMetertoCSV?

Julien Marrec's avatar Julien Marrec  ( 2017-07-11 02:31:21 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-07-11 02:46:58 -0500

You are aware that this ExportVariableToCSV measure must work in conjunction with the add_output_variable measure right?

What the ExportVariableToCSV does is just to query a time series from the .sql file and dump that into a CSV file. It DOES NOT request an extra Output:Variable to be added to your model.

The add_output_variable does the requesting of the variable.

So if you want to change the reporting frequency, you must do it in both measures.


For eg, to request Site Outdoor Air Wetbulb Temperature at the Timestep level:

  • In add_output_variable, ask for VariableName = Site Outdoor Air Wetbulb Temperature and reporting_frequency = timestep
  • In ExportVariableToCSV, ask for VariableName = Site Outdoor Air Wetbulb Temperature and reporting_frequency = Zone Timestep

If I was using this ExportVariableToCSV measure a lot (I'm not), I would probably just refactor it to also request the output variable to be added to the model, that'd avoid this kind of mistakes.

edit flag offensive delete link more

Comments

Thanks for the note, Julien. I had changed the timestep in the OpenStudio Measure 'AddMeter', but not in the Reporting Measure 'ExportMetertoCSV'. I've now switched them both to timestep, and it works well.

kmpiscopo's avatar kmpiscopo  ( 2017-07-13 11:13:59 -0500 )edit

Since that solved your problem, please mark the answer as accepted (by clicking on the green check mark below the upvote/downvote buttons), thanks!

Julien Marrec's avatar Julien Marrec  ( 2017-07-17 03:39:02 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2017-07-07 19:55:38 -0500

Seen: 269 times

Last updated: Jul 11 '17