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

Nathaniel Jones's profile - activity

2023-06-20 09:01:59 -0500 commented question epw2wea terminated : buffer overflow

What EPW file are you using? There appears to be a problem with it that is preventing epw2wea from producing an output.

2022-04-05 19:46:37 -0500 received badge  Commentator
2022-04-05 19:46:37 -0500 commented answer EPW files for locations with Winter Time

In that case, there seems to be a bug in the Dublin EPW file. Ireland has "standard time" when most European countries a

2022-04-05 17:09:38 -0500 received badge  Student (source)
2022-04-05 16:44:14 -0500 asked a question EPW files for locations with Winter Time

EPW files for locations with Winter Time There are a few locations where, rather than setting clocks forward for Dayligh

2020-11-06 14:46:28 -0500 answered a question oconv: fatal - (E:\sky.mat): undefined modifier " ■#"

This question may have been answered here.

2020-10-30 08:13:21 -0500 commented answer Radiance Measure Doesn''t Work

This sounds like a separate issue. Please open a new question for it.

2020-10-25 20:12:16 -0500 answered a question Radiance Measure Doesn''t Work

The error is self-explanatory. You need to install Perl. (If you already have Perl installed, make sure it is added to y

2019-07-01 12:29:18 -0500 commented question parameter setting about rfluxmtx for dynamic simulation

It sounds like you aren't yet familiar with multi-phase methods. I recommend starting here with Sarith Subramaniam's tut

2019-06-20 13:09:45 -0500 commented question parameter setting about rfluxmtx for dynamic simulation

You have experimental data? How did you verify that the sky luminance distribution in your physical experiment matched y

2019-03-25 16:01:02 -0500 answered a question Luminous walls with -ab 0

It looks like you have provided a non-zero ambient value with the -av setting. This setting is used to specify backgroun

2019-03-22 15:41:47 -0500 commented question Luminous walls with -ab 0

Can you provide the full set of parameters that you are using? I'm specifically wondering if you are setting -av 0 0 0.

2018-11-23 10:51:57 -0500 answered a question OSplugin - Sky models and distribution

why does in oconv the dc_sky. rad is duplicated? It should only be there once, but there is no negative effect of d

2018-11-14 11:13:22 -0500 answered a question Overlapping surfaces in Radiance

You will need to check whether the backface visibility ("-bv") flag is given to Radiance. If it is, then rays only encou

2018-07-03 11:21:09 -0500 commented answer Increase 5 phase sun positions for ms windows

Actually, _setmaxstdio is used in rcontrib on Windows, in rcmain.c line 184 to be exact.

2018-07-03 11:20:30 -0500 commented answer Increase 5 phase sun positions for ms windows

Actually, _setmaxstdio is used in rcontrib on Windows, in rtmain.c line 184 to be exact.

2018-06-19 09:09:39 -0500 answered a question genBSDF in Windows 10

You are using UNIX sytnax on a Windows machine. $PATH won't do anything on Windows. You have to use %PATH%.

2018-01-09 00:38:34 -0500 answered a question how to quote Radiance officially?

For Radiance, it is typical to cite the publication: Ward Larson, G. & Shakespeare, R., 1998. Rendering with R

2017-12-30 08:57:09 -0500 commented question sun altitude and azimuth calculation error following sun.c in Radiance source files

@Avi Yes, it is the solar time adjustment.

2017-12-30 08:56:14 -0500 edited answer sun altitude and azimuth calculation error following sun.c in Radiance source files

In the formulas you reference from the Radiance source code, solar altitude and azimuth are calculated from solar time,

2017-12-30 01:34:45 -0500 answered a question sun altitude and azimuth calculation error following sun.c in Radiance source files

In the formulas you reference from the Radiance source code, solar altitude and azimuth are calculated from solar time,

2017-12-30 01:29:47 -0500 commented question sun altitude and azimuth calculation error following sun.c in Radiance source files

@Avi There's no reason that standard meridian and site longitude need to be within 7.5 degrees of each other. There are

2017-12-13 11:42:54 -0500 commented question How to have detailed illuminance map by Radiance (in OpenStudio)

Rob's map is using linear interpolation. It is NOT more detailed. The smoothing function only makes it LOOK nicer, but i

2017-10-30 18:36:45 -0500 answered a question rpict can't find rayinit.cal

Radiance uses the RAYPATH environment variable to find its /lib directory, so when you're not running from within OpenSt

2017-09-25 12:07:42 -0500 answered a question Important computer specs (cpu clock, nr of cores/threads, ram, etc.) if you want rtrace to compute faster?

The optimum depends on exactly what you're trying to do. Specifically, how many jobs are you trying to run at a time, an

2016-09-13 11:37:06 -0500 answered a question Glare and lighting in gaming engines vs Radiance and evalGlare

Performing glare analysis within a gaming engine is not an unreasonable idea. Some current gaming engines do make physically-based calculations to produce fairly accurate lighting distributions with validated resutls (e.g. Call of Duty: Advanced Warfare). To shamelessly plug some of my own work, I've previously shown that daylight glare probability calculations can be performed quite quickly using similar techniques. However, there are a number of clarifications we need to make here, and your question really breaks into three parts: the production of models, the simulation of light levels and glare, and the display of results.

Production of Models

You seem to imply that VR could cut down on the time it takes to make models because it would somehow take Rhino out of the picture. Creating and debugging models is the most time-intensive part of simulation. However, CAD environments are generally separate from VR environments (at least for now). So no matter what, you need to generate your geometry with one tool and then export to another tool for analysis. Perhaps as a programmer you want to link a different CAD tool to Radiance in place of Rhino or you want to make the export process less visible to the user. Either is possible, and because Radiance can interpret OBJ files, it can be made to work with pretty much any modeling software. So if the problem is that rebuilding models in Rhino takes too long, then build them with something else, but I'm not sure how VR fits into this picture.

Simulation

The term "gaming engine" is too vague, so let's be specific. You need a rendering engine that performs calculations on real-valued inputs, so that if you provide it with light source luminance values scaled in units of radiance, it will output an image in which the pixel values are scaled to the same units. OpenGL renders won't do this because they scale values to integers in the range [0,256). Instead, you need a ray tracing tool. Fortunately many of these exist (e.g. Radiance, Iray, Mitsuba).

Next, you need HDR input for light sources. For glare, you're probably interested in daylight, which means you need an accurate model of the sky. The worst glare occurs under clear skies, so it's fairly straightforward to go with the CIE Clear Sky model or the Perez model, both of which are available through Radiance (several newer variants exist which give the sky color and improved accuracy at low light levels, but those aren't important for glare).

Most quantitative models of glare examine the contrast between bright and dark areas of the field of view. Bright areas will be direct views to light sources (e.g. the sun) or specular paths that take a small number of bounces. Fortunately, these can be calculated very quickly by most ray tracing tools. Dark areas are illuminated by only diffuse (or ambient) lighting, which is much more complex to calculate. However, these can be computed ... (more)

2016-04-05 09:01:49 -0500 answered a question Ambient files in parallel computations

It sounds like the answer is to manage your users' expectations. As Greg noted in his answer to your last question, when you use ambient caching with a "-aa" parameter, you are specifying the amount of error you are willing to accept. If you can't accept error, don't use an ambient cache.

But furthermore, remember George Box's comment: "All models are wrong but some are useful". If your users expect that the answers they get will be 100% accurate (and therefore both simulation orders should give exactly the same results) then you are misleading them. If you check out the IESNA Lighting Handbook, 10th edition, you will find the guideline that simulated illuminance values (like yours) can only be expected to fall within 20% of actual lighting levels in the as-built space. Ng, et al., ("Advanced lighting simulation in architectural design in the tropics", 2001) report errors of up to 20% at individual sensors. Reinhart and Herkel ("The simulation of annual daylight illuminance distributions - a state-of-the-art comparison of six RADIANCE-based methods", 2000) compared six simulation engines and found root-mean-square errors (RMSEs) in global illumination ranging from 16% to 63%. Reinhart and Walkenhorst ("Validation of dynamic RADIANCE-based daylight simulations for a test office with external blinds", 2001) found errors under 20% and RMSE under 32%, which were later taken by Reinhart and Breton ("Experimental validation of Autodesk® 3ds Max® Design 2009 and Daysim 3.0", 2009) as acceptable maximums; however, the latter study produced higher errors in 15 of 80 data points. Reinhart and Andersen ("Development and validation of a radiance model for a translucent panel", 2006) reduced error to 9% and RMSE to 19% using advanced modelling and measurement techniques; however, they allow for the possibility of 20% error in daylight simulation results when applying them to energy calculations.

So yes, simulation tools that use Monte Carlo sampling or other stochastic processes like Radiance are not guaranteed to return the same results every time.

2016-03-15 11:13:33 -0500 commented answer Ambient files increase illiminance

That's 3% error, which is ridiculously low compared to the error you would likely get against sensor data in the actual building. To see if it's reasonable, try a few runs with -u+ to see how much error could be attributed just to the pseudorandom sequence. Also, regardless of how many bounces you allow, you still aren't getting the benefit of the overture pass when you don't use an ambient file.

2016-03-15 10:03:08 -0500 answered a question Ambient files increase illiminance

To your questions:

1) You can read up more on the Irradiance Cache (which is stored in the ambient file) in the following sources:

2) Do you still use an irradiance cache (i.e., a non-zero ambient accuracy (-aa) value) when you don't use ambient files? In my experience, you will get higher illuminance values when you use irradiance caching as opposed to turning it off, and the higher values are more correct. That's because using an irradiance cache effectively increases the number of bounces in ray paths beyond the constraints you set with -ab, -lr, and -lw for those values cached late in the process, because they can sample the values that were cached earlier. This effective increase is a good thing, because real physics does not place a limit on ray bounces.

SImilarly, when you use a previously created ambient file, any additional ambient values that are created early in the run also get the benefit of sampling previously calculated ambient values that were saved in the file.

In your case, your zone 2 simulation is reusing the ambient values calculated by your zone 1 simulation that were saved into the ambient file. You could consider using an overture pass: running rtrace twice for each zone, so that the first time you create the ambient file, and the second time you read the ambient file and use it to calculate that values you will use.

Note that setting the number of ambient bounces to 50 requires that you also set your ray relays (-lr) to 50 or higher and set your minimum ray weight (-lw) extremely low. Otherwise, I doubt very much that your large ab simulation is very different from your low ab simulation.

2015-12-11 01:13:30 -0500 received badge  Teacher (source)
2015-12-11 01:13:10 -0500 answered a question The Definition of Radiance Parameters in OpenStudio

You can find the meanings of these parameters in the Radiance man pages, which are distributed with Radiance and also happen to be online. For instance, the man page for rtrace is here:

http://radsite.lbl.gov/radiance/man_h...

In this file, you will find the definitions of the parameters Direct Threshold (-dt), Direct Certainty (-dc), Direct Jitter (-dj), and others.

If the descriptions there don't provide you with enough detail, you may want to refer to the book Rendering with Radiance for more information.

2014-09-17 13:03:46 -0500 received badge  Supporter (source)