2

Problems exporting 15-minute interval data

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?

kmpiscopo's avatar
223
kmpiscopo
asked 2017-07-07 19:55:38 -0500
edit flag offensive 0 remove flag 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
add a comment see more comments

1 Answer

2

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.

Julien Marrec's avatar
29.7k
Julien Marrec
answered 2017-07-11 02:46:58 -0500
edit flag offensive 0 remove flag delete 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 (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
add a comment see more comments