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 7 years ago

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?

Preview: (hide)

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  ( 7 years ago )

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  ( 7 years ago )

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

Julien Marrec's avatar Julien Marrec  ( 7 years ago )

1 Answer

Sort by » oldest newest most voted
2

answered 7 years ago

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.

Preview: (hide)
link

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  ( 7 years ago )

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  ( 7 years ago )

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 7 years ago

Seen: 374 times

Last updated: Jul 11 '17