2

How to summarize values of DGPs?

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

designer4's avatar
327
designer4
asked 2018-03-09 13:25:16 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2018-05-09 19:44:51 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

2

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.

rpg777's avatar
7k
rpg777
answered 2018-03-09 15:40:05 -0500, updated 2018-03-09 15:45:22 -0500
edit flag offensive 0 remove flag delete 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 (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's avatar rpg777 (2018-03-10 16:17:08 -0500) edit
add a comment see more comments