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

How to summarize values of DGPs?

asked 2018-03-09 13:25:16 -0500

designer4 gravatar image

I got glare.json output of my model.

But I do not know how to summarize and average those data. Does OS do that?


image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-03-09 15:40:05 -0500

updated 2018-03-09 15:45:22 -0500

The OpenStudio Radiance measure does just what you see there. For each glare sensor in your model, you get all of the view vectors (i.e. the directions the glare sensors are facing), and then for each one of those vectors, you get all 8,760 hourly values for DGP-simplified and the calculated vertical eye illuminance (keys are named "dgp" and "raw" in the data file, respectively). You could read this data file and summarize or do other types of analyses using any number of tools, e.g. Ruby, R, Python/Pandas, WhatHaveYou...)

In hindsight, we should probably include the x,y,z sensor location coordinates in addition to the view vectors; would be helpful for plotting the results spatially.

edit flag offensive delete link more


@rpg777 ,Thank you Rob for your informative reply, unfortunately I am not familiar with Ruby, R, Python/Pandas, and I do not know they are able to calculate the average of all dgp-s values or not? I have asked my question here with more detail, I hope to get your guidance as well.

designer4 gravatar imagedesigner4 ( 2018-03-10 08:07:32 -0500 )edit

I was merely listing some programming languages that would allow you to write a script to read this data and manipulate it and plot it. I have replied to your other question as well since that one was more about the "why" of manipulating this glare data, as opposed to this question which was more of the "how".

rpg777 gravatar imagerpg777 ( 2018-03-10 16:17:08 -0500 )edit

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: 2018-03-09 13:25:16 -0500

Seen: 24 times

Last updated: Mar 09