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

Export SQL to CSV files OpenStudio Radiance

asked 8 years ago

adityord's avatar

updated 8 years ago

I am currently do simulation using OpenStudio Radiance and would like to know how I can export full EnergyPlus simulation results to a .csv file through OpenStudio? If it's not possible, what program i can use to transform eplusout.sql to the .csv file? . . .

Based on this thread Exporting full (component-level) simulation results to CSV from OpenStudio

Once the OS has been ran, you can turn the eplusout.eso file which contains the hourly results into a .csv by using the ReadVarsEAO.exe program that comes with E+ located here : C:\EnergyPlusV8-3-0\PostProcess

I usually copy the eplusout.eso file into a empty folder and then also copy in the ReadVarsEAO.exe. Simply double click the ReadVarsEAO.exe file and it will create a file called eplusout.csv.

image description

in my Energyplus Folder there is no ReadVarsEAO.exe. files, so what should i do next? thankyou

Preview: (hide)

Comments

ReadVarsESO.exe should be located in the PostProcess directory, which is a subdirectory/folder of your EnergyPlus-[version] directory, which is a subdir of the sharedresources subdirectory of your OpenStudio[version] directory.

rpg777's avatar rpg777  ( 8 years ago )

sure, i have to search in the PostProcess and also share folder, but still there is no .exe file name ReadVarsEAO.exe. i use the OpenStudio 1.11.5 Version.

adityord's avatar adityord  ( 8 years ago )

2 Answers

Sort by » oldest newest most voted
2

answered 8 years ago

Dinosaver's avatar

If you want to export E+ variables in CSV format you can either apply a measure from BCL (haven't tried it but still) or edit and run the exported out.idf file with option to export variables data to CSV file - this works well. If you want to export Radiance daylight simulation results, then you need to deal with .sql file it provides. Use one of SQLIte database browsers (like this) find a table with daylight results (either maps or for sensors) and export it as a CSV file. Be aware that natively SQLite keeps data as lists of values, not separating them through columns as we used to see in CSV files. You probably will need to format data either before or after the export.

Preview: (hide)
link

Comments

yess so i do the export using SQLite database browser. And now i had to learn more about this software. is it possible that we know what the units of data, in CSV files? because the result only number without the unit measure.

adityord's avatar adityord  ( 8 years ago )

Depends on what you export. E+ native CSV contains names of variables in the first row, but not their units, this you should know from E+ documentation. If you export CSV from SQL you can export ReportDataDictionary table as a separate CSV, there you see the units. Anyway if you want to receive a beautifully arranged report to present it on a meeting or whatever, you will definitely need some manual work :)

Dinosaver's avatar Dinosaver  ( 8 years ago )
1

answered 8 years ago

updated 8 years ago

Clearly that was an honest typo from @TaylorRoberts on the inital question (I just corrected it)...

ReadVarsESO.exe is the name of the program you're looking for. It's an .eso file, makes sense no?

Also see this question Exporting results data from Openstudio and do a query on the BCL

Preview: (hide)
link

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

Seen: 528 times

Last updated: Jun 16 '16