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

Exporting PAT comparison results to .html

asked 2018-07-30 14:39:22 -0600

ParticleSwarm's avatar

updated 2018-08-05 09:03:50 -0600

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2018-07-31 09:55:12 -0600

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.

edit flag offensive delete link more

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 -0600 )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 -0600 )edit

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

3 followers

Stats

Asked: 2018-07-30 14:39:22 -0600

Seen: 193 times

Last updated: Jul 31 '18