First time here? Check out the Help page!

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

Is my ExportVariabletoCSV missing its input argument?

asked 4 years ago

vskiezv's avatar

updated 4 years ago

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.

Preview: (hide)

Comments

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

gianfra's avatar gianfra  ( 4 years ago )

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

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

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:

http://energy-models.com/forum/energy...

vskiezv's avatar vskiezv  ( 4 years ago )

Hi @vskiezv and @gianfra,

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

Manu4Energy's avatar Manu4Energy  ( 4 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 4 years ago

Manu4Energy's avatar

Hi,

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

Preview: (hide)
link

Comments

Thank you very much!

gianfra's avatar gianfra  ( 4 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: 4 years ago

Seen: 261 times

Last updated: Jul 29 '20