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

How to calculate the average of dgp-s values?

asked 2018-03-10 08:06:23 -0500

designer4's avatar

updated 2018-03-10 08:12:22 -0500

I would like to compare glare of my models;

Model a: A room with one window and with louvers

Model b: A room with one window and with no louvers

According to output of OS (glare.json), I have a large number of dgp-s. I think that to compare glare of my models, I have to average all dgp-s values (and I guess there is no need to raw values).

If I am not wrong my question is that how can I calculate the average of all dgp-s? (as they are 8760 values and calculating by hand is really time consuming). image description

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-03-10 16:14:08 -0500

updated 2018-03-10 16:20:30 -0500

Yes, of course you have a large number of values. You have one for each hour of the year, for each sensor point (view). Your screenshot is showing some data for 10:00 a.m., and we can see six views from a single glare sensor, for each model. The first value is for the primary view (the one the arrow points to in the GUI), and the rest are arrayed equally about the sensor's location. So, lots of values.

These DGP(s) values are highly dependent upon view direction, and the glare results file includes (in your case) multiple view directions; averaging will smear the metric, likely in ways you don't want. I recommend looking at Jakubiec's paper about the "Adaptive Zone" for more details.

See my comments on your other question as well. I think you need to gain an understanding of what this glare metric is all about, in order to decide what to average (if anything), and what it is you want to say with your data.

edit flag offensive delete link more



@rpg777, Thank you Rob for your reply, Your recommended paper was really helpful to me.

designer4's avatar designer4  ( 2018-03-21 09:32:14 -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-10 08:06:23 -0500

Seen: 118 times

Last updated: Mar 10 '18