ladybug-tools / radiance-folder-structure

⚡️📂Folder structure for Radiance studies
GNU Lesser General Public License v3.0
0 stars 2 forks source link

Write usage case for running daylight factor #5

Closed mostaphaRoudsari closed 5 years ago

mostaphaRoudsari commented 5 years ago

cc: @antoinedao

mostaphaRoudsari commented 5 years ago

@antoinedao, I added a script here that shows how I think the folder structure will be used for running the recipes from command line: https://github.com/ladybug-tools/radiance-folder-structure/blob/master/script/daylight_factor.py

You can also just run these commands if it is easier for your tests:

gensky 9 21 12 -B 558.659217877 -c > 1-lightsource/sky/100000lux.sky
oconv -f 1-lightsource/sky/100000lux.sky 1-lightsource/sky/ground.rad 0-model/etc/opaque/sample_case.mat 0-model/etc/opaque/sample_case.rad 0-model/etc/opaque/indoor/partition.mat 0-model/etc/opaque/indoor/partition.rad 0-model/etc/opaque/outdoor/context.mat 0-model/etc/opaque/outdoor/context.rad 0-model/etc/nonopaque/indoor/partition_glass.mat 0-model/etc/nonopaque/indoor/partition_glass.rad 0-model/aperture/static/sample_case.mat 0-model/aperture/static/sample_case.rad 0-model/aperture/dynamic/south_window..direct..000.rad > 2-octree/default.oct
rtrace -I -aa 0.01 -h -dj 0.0 -lr 4 -ad 1024 -lw 0.0001 -ar 16 -dc 0.25 -ss 0.0 -dp 64 -dr 0 -dt 0.5 -ds 0.5 -as 128 -ab 3 -st 0.85 2-octree/default.oct < 3-sensorgrid/room.pts | rcalc -e '$1=(0.265*$1+0.67*$2+0.065*$3)*179/1000' > 5-output/daylight-factor.dat