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

How to summarize values of DGPs?

asked 7 years ago

designer4's avatar

updated 6 years ago

I got glare.json output of my model.

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

THANKS

image description

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 7 years ago

updated 7 years ago

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.

Preview: (hide)
link

Comments

@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's avatar designer4  ( 7 years ago )

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's avatar rpg777  ( 7 years ago )

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

Seen: 154 times

Last updated: Mar 09 '18