5

Exporting PAT comparison results to .html

I often run baseline comparisons in a PAT environment and as of now are taking screenshots of each results section to save. Is there a way to get this comparison data into a portable .html format similar to the open studio results summary?

ParticleSwarm's avatar
389
ParticleSwarm
asked 2018-07-30 14:39:22 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2018-08-05 09:03:50 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

5

Unfortunately there isn't currently a way to export the PAT analysis HTML files to view them outside of PAT. Although for algorithmic runs you can download a CSV with high level input and output values from the server.

Here is a feature request about this. The data needed to generate an HTML is contained inside of the "out.osw" files for each datapoint in the "localResults" folder. "out.osw" is a JSON file, so if you are comfortable working with JSON files and ruby, you can build up HTML files outside of PAT. If anyone is interested I can share a script that creates a CSV file in this manor. Someone could adapt that to an HTML.

David Goldwasser's avatar
20.4k
David Goldwasser
answered 2018-07-31 09:55:12 -0500
edit flag offensive 0 remove flag delete link

Comments

Hey David! I was wondering if you're still able to share the script you referred to. I'm interested in working with JSON files and Ruby to independently create something similar to PAT's comparisons. Thanks!

OH.AME2021's avatar OH.AME2021 (2021-06-16 08:45:27 -0500) edit
1

@OH.AME2021 here is the script https://github.com/NREL/BESTEST-GSR/b.... If you want to see this in use check out this repo and then run this script. It will run the simulations, then this script, then using RubyXL gem populate Excel file. You can comment out the end fo the script past the script you care about. https://github.com/NREL/BESTEST-GSR/b...

David Goldwasser's avatar David Goldwasser (2021-06-16 10:22:21 -0500) edit
add a comment see more comments