[Radiance-general] Five-phase Method Tutorial: Errors in generating direct sun coefficient matrix

Andy McNeil mcneil.andrew at gmail.com
Wed Mar 9 07:25:33 PST 2016


Alireza,

This behavior is consistent with running up against limitations on open files. I don't know how to change the limit on Windows, but found this:
http://stackoverflow.com/questions/870173/is-there-a-limit-on-number-of-open-files-in-windows

Andy


> On Mar 9, 2016, at 12:53 AM, Alireza Hashemloo <alireh at uw.edu> wrote:
> 
> Hi Greg and Rob,
> 
> Thank you for your responses:
> 
> - It does not appear that the single back quotes are the source of the problem as I tested the command following your recommendation without passing the `vwrays -vf views/view_A.vf -x 600 -y 600 -d` to "rcontrib" and the rtrace "invalid argument" error still appears.
> 
> - I have tested the approach to split the command into two parts as you had suggested:
> 
> part 1:   vwrays -c 4 -pj 1 -fa -vf views/view_A.vf -x 600 -y 600 | rtrace -h -opN -fa -ab 0 model_nosuns.oct > points.txt
> part 2:   rcontrib -x 600 -y 600 -fac -fo -o viewpics_ds/back_%04d.hdr -e MF:4 -f reinhart.cal -b rbin -bn Nrbins -m solar -c 4 -I -ab 1 -ad 100 -dt 0 -dc 1 -lw 1e-2 model_suns.oct < points.txt
> 
> the part 1 appears to work properly considering that a "points.txt" file is generated. The part 2, however, does not appear to work: although I do not receive any error messages on my command line, the rcontrib call is completed immediately after it is run and 508 hdr images are generated in the given directory. However, each .hdr file is only 1 KB and the attempt to opening any of them is failed. It does not appear that the files have actually been written successfully.
> 
> In addition, could you elaborate about your suggestion to  " Replace the "-x 600 -y 600" with the output of "vwrays -vf views/view_A.vf -x 600 -y 600 -d" " in part 2 of the command?
> Finally,  I was wondering where the definition for the "solar" modifier as the target light source passed to the 'rcontrib' call (-m solar) is made in the previous steps of the tutorial?
> 
> Thank you for your help.
> Best Regards,
> 
> Alireza
> 
> 
> 
> 
> 
> 
> 
>> On Mon, Mar 7, 2016 at 8:17 AM, Guglielmetti, Robert <Robert.Guglielmetti at nrel.gov> wrote:
>> On 3/6/16, 9:53 AM, "Greg Ward" <gregoryjward at gmail.com<mailto:gregoryjward at gmail.com>> wrote:
>> 
>> I do not think you can have multiple processes under Windows using rcontrib, no matter which shell you use, so -n 1 (the default) is all you get.
>> 
>> 
>> That is true; rcontrib on Windows will silently ignore -n settings > 1.  On OpenStudio, you will get a heads up about this.
>> 
>> _______________________________________________
>> Radiance-general mailing list
>> Radiance-general at radiance-online.org
>> http://www.radiance-online.org/mailman/listinfo/radiance-general
> 
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> http://www.radiance-online.org/mailman/listinfo/radiance-general
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20160309/0e1995d5/attachment-0001.html>


More information about the Radiance-general mailing list