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

PAT Summary Table output variables

asked 2021-10-22 03:55:51 -0500

Olfa's avatar

updated 2021-10-22 08:20:05 -0500

I am using PAT 3.1.0 to compare different alternatives, I run the workflow manually and I want to use the SI units.

In the reporting measures, I added the openstudio results and I changed the unit system to SI. But, in the sammary table report, units are in IP.

  1. Where can i change the units system for the summary table?
  2. Is it possible to personnalize the variables that will be compared: for exemple, by default, the summary table shows district cooling and heating savings but i would like to have the cooling and heating loads savings in general when modelling heating and cooling coils.
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-10-22 12:38:36 -0500

updated 2022-02-22 09:55:59 -0500

We had experimented a bit making the PAT reports customizable similar to reporting measures but it wasn't something we can easily do. I do have an example of this but it requires building PAT in a development environment, and we can not support issues you hit.

There is an alternative. The OpenStudio Server creates a results.csv file with a row for every datapoint. There is a column for each measure argument value and for selected runner.regierValue objects. runner.registerVaslues can be added by any measure but are typically added by reporting measures to store processed results. The last step to get a runner.registerValue into the result is to add it in PAT as an output variable. There are some pre-defined ones you can select, but you can add custom ones as a string as long as they exist in the measure.You could then aggregate or compare datapoints in Excel or with another script.

OpenStudio Results already had hundreds of runner.registerValues and has an SI/IP switch. The easiest ways to see what is available is to look at the out.osw of a prior simulation. Under step values you see a bunch of items like this. Add the ones you want in PAT as output variables. If the outputs you are looking for are not herre, then you might have to write your own reporting measure, or use another reporting measure.

"name" : "end_use_electricity_interior_equipment",
"units" : "kWh",
value" : 732166.66666666

One last approach is a server finalization script that can run on OpenStudio Server. This doesn't generate reports but has access to all of the data that makes it into the results.csv file and can post-process results to compare datapoints or identify a best datapoint for some criteria. This takes some effort so is more useful for a process that has to be used many times. I'm not sure if we have an example published, but I can find one if someone is interested.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools

1 follower


Asked: 2021-10-22 03:47:15 -0500

Seen: 630 times

Last updated: Feb 22 '22