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

Is my ExportVariabletoCSV missing its input argument?

asked 2020-06-04 10:04:43 -0500

vskiezv's avatar

updated 2020-06-04 13:03:56 -0500

From the threads I'd came across, I am supposed to key in the variables to be converted to CSV in both the AddOutputVariable and ExportVariabletoCSV scripts. However, for my ExportVariabletoCSV, there is nothing for me to input. The input segment of the script is totally blank. Am I missing something?

I am getting the error: Script argument 'variable_name' is required, but the user argument does not have a value or default value set.

edit retag flag offensive close merge delete


I have the same problem. Have you found a solution?

gianfra's avatar gianfra  ( 2020-06-14 05:58:32 -0500 )edit

@vskiezv you should have enough karma points to add images to your post, which will help us answer your question better.

Aaron Boranian's avatar Aaron Boranian  ( 2020-06-14 15:36:57 -0500 )edit

On the right-hand pane of the "ExportVariabletoCSV" measure, there should be an input blank to insert the name of the variable to be exported and the corresponding frequency. I'm now using the OpenStudio Application 1.0.0 and there are no blanks in the measure pane.
I'm pretty sure I correctly used the "ExportVariabletoCSV" measure in a previous OpenStudio Application release.
I'm sorry, but I can't still upload images.

gianfra's avatar gianfra  ( 2020-06-15 07:43:17 -0500 )edit

Hey gianfra, I get your frustration there hahah i'm using OpenStudio 3.0.0 and I'm experiencing the same issue too. I'd actually worked around the issue by using xEsoView to extract my output variable data from the eplusout.eso file. You may refer to this thread for info:

vskiezv's avatar vskiezv  ( 2020-06-15 08:26:46 -0500 )edit

Hi @vskiezv and @gianfra,

Have you managed to resolve the issue with ExportVariabletoCSV measure??

Manu4Energy's avatar Manu4Energy  ( 2020-07-29 00:29:00 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2020-07-29 07:27:31 -0500

Manu4Energy's avatar


While using OpenStudio Application 1.0.0 or Parametric Analysis Tool 3.0.1, you may alter the measure ExportVariabletoCSV a bit to sort out your issue. Replace def arguments() with def arguments(model = nil). A picture of the same is attached here for reference.

image description

edit flag offensive delete link more


Thank you very much!

gianfra's avatar gianfra  ( 2020-08-29 09:48:19 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2020-06-04 10:04:43 -0500

Seen: 210 times

Last updated: Jul 29 '20