Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSV export from OpenStudio #1375

Closed
macumber opened this issue Feb 2, 2015 · 12 comments
Closed

CSV export from OpenStudio #1375

macumber opened this issue Feb 2, 2015 · 12 comments
Assignees

Comments

@macumber
Copy link
Contributor

macumber commented Feb 2, 2015

We have had several requests for timeseries CSV output from OpenStudio similar to ReadVarsESO. However, I am unsure about the best implementation.

We could do this with a reporting measure with a boolean checkbox to report each variable or meter, would that be acceptable? Should we separate output into multiple CSV files, one for each reporting frequency?

Another option is to add CSV output from ResultsViewer. This could allow more control of outputs but is less automated.

@macumber
Copy link
Contributor Author

macumber commented Feb 3, 2015

We will likely not add this feature to ResultsViewer which leaves a measure implementation. I would think that the scope of reporting a variable for all keys is appropriate. If we need a second measure to report a variable for particular keys we can do that as well. We should implement this as an html measure which shows the data in tabular form with a link to download the raw CSV. We do not need to use ReadVarsESO directly.

@MatthewSteen
Copy link
Member

+1

1 similar comment
@jmarrec
Copy link
Collaborator

jmarrec commented Aug 13, 2015

+1

@shorowit
Copy link
Contributor

If/when OpenStudio switches from ResultsViewer to DView, this can be closed as DView has a right-click menu option to 'Save data to CSV'.

@jmarrec
Copy link
Collaborator

jmarrec commented Sep 29, 2017

Switch to DView is live. This can be closed

@macumber
Copy link
Contributor Author

@MatthewSteen do you agree with closing this now that DView is included?

@MatthewSteen
Copy link
Member

Yes, sounds good.

@aaron-boranian
Copy link

Migrated from UserVoice

@Maharshi-Pathak
Copy link

how can I run the readvarESO or equivalent to convert this .eso file to csv if I am running the command line interface on linux based systems? Is it already possible in the OSW?

@jmarrec
Copy link
Collaborator

jmarrec commented Feb 16, 2023

@Maharshi-Pathak Use the OutputControlFiles object

m = Model.new
o = m.getOutputControlFiles()
o.setOutputCSV(true)

E+ doc: https://bigladdersoftware.com/epx/docs/22-2/input-output-reference/input-for-output.html#outputcontrolfiles

@Maharshi-Pathak
Copy link

Amazing. Thanks @jmarrec

@govertsenk
Copy link

I turned @Maharshi-Pathak's question and @jmarrec's answer into a measure for others to use. Posted on my GitHub here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants