BSDF with rtcontrib

Hallo Andy,

thank you for your reply.

I looked through the Tutorial you advised about. I realised the generated
results are for one day. In our office we are using the .EPW to generate
the results for the whole year. (as used in the tutorial in rtcontrib). Is
it possible with BSDF somehow? if yes, Is there any hints or tips to insert
the .xml format generated by window7beta into the rtcontrib process?

Thanks in advance!

N.Nassif

···

On Tue, Jun 12, 2012 at 6:21 PM, < [email protected]> wrote:

Send Radiance-general mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.radiance-online.org/mailman/listinfo/radiance-general
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiance-general digest..."

Today's Topics:

   1. Re: BSDF xml into Radiance (Andrew McNeil)

----------------------------------------------------------------------

Message: 1
Date: Tue, 12 Jun 2012 08:43:53 -0700
From: Andrew McNeil <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] BSDF xml into Radiance
Message-ID:
        <CAOG+Nizc0-+xrNry_qVJh6-hoA0C-=
[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi Nasif,

Information for the BSDF material is at the bottom of page 12:
http://radsite.lbl.gov/radiance/refer/refman.pdf

Though I've found that the BSDF material doesn't work well for
daylight coefficient based annual simulations (I'm assuming dds.bash is a
dynamic daylight simulation script). Putting the solar radiance into
skypatches relies on probabilistic sampling to find patches containing the
sun, and if you don't have much direct transmission from the direction of
the sun, you aren't likely to find the sun. Not finding the sun causes big
errors. For now, the three-phase method is a better alternative for annual
simulation of BSDF materials (you can find a tutorial at the bottom of this
page: http://www.radiance-online.org:82/learning/tutorials - if you're at
work, your company's firewall might block access to port 82 - the temporary
location of the new radiance online).

Andy

On Tue, Jun 12, 2012 at 8:18 AM, nassif nassif <[email protected]> wrote:

> Hallo,
>
> I manage to obtain bsdf in xml Format using Window7beta, but i couldn't
> know how to insert it in radiance. Is there somewhere an example how to
> embed or convert it into radiance material? I need to use it in dds.bash
(
> or rtcontrib).
>
> Thanks in advance
>
> --
> *N.Nassif
>
> Lighting Designer***
> *PLDA Member
>
> Neue Str. 55
> 21073, Hamburg
> Deutschland
>
> +49 162 6050060
> [email protected]*
>
> _______________________________________________
> Radiance-general mailing list
> [email protected]
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>

You could try OpenStudio for this; we have a simple implementation of the three phase method currently working with Window6 BSDF files. I'm still working on documentation, but I could help you along offline, if interested.

- Rob

Rob Guglielmetti IESNA, LEED AP
Commercial Buildings Research Group
National Renewable Energy Laboratory
15013 Denver West Parkway MS:RSF202
Golden, CO 80401
303.275.4319
[email protected]

···

On 7/12/12 1:46 AM, "nassif nassif" <[email protected]<mailto:[email protected]>> wrote:

Hallo Andy,

thank you for your reply.

I looked through the Tutorial you advised about. I realised the generated results are for one day. In our office we are using the .EPW to generate the results for the whole year. (as used in the tutorial in rtcontrib). Is it possible with BSDF somehow? if yes, Is there any hints or tips to insert the .xml format generated by window7beta into the rtcontrib process?

Thanks in advance!

N.Nassif

On Tue, Jun 12, 2012 at 6:21 PM, <[email protected]<mailto:[email protected]>> wrote:
Send Radiance-general mailing list submissions to
        [email protected]<mailto:[email protected]>

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.radiance-online.org/mailman/listinfo/radiance-general
or, via email, send a message with subject or body 'help' to
        [email protected]<mailto:[email protected]>

You can reach the person managing the list at
        [email protected]<mailto:[email protected]>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiance-general digest..."

Today's Topics:

   1. Re: BSDF xml into Radiance (Andrew McNeil)

----------------------------------------------------------------------

Message: 1
Date: Tue, 12 Jun 2012 08:43:53 -0700
From: Andrew McNeil <[email protected]<mailto:[email protected]>>
To: Radiance general discussion <[email protected]<mailto:[email protected]>>
Subject: Re: [Radiance-general] BSDF xml into Radiance
Message-ID:
        <CA[email protected]<mailto:[email protected]>>
Content-Type: text/plain; charset="iso-8859-1"

Hi Nasif,

Information for the BSDF material is at the bottom of page 12:
http://radsite.lbl.gov/radiance/refer/refman.pdf

Though I've found that the BSDF material doesn't work well for
daylight coefficient based annual simulations (I'm assuming dds.bash is a
dynamic daylight simulation script). Putting the solar radiance into
skypatches relies on probabilistic sampling to find patches containing the
sun, and if you don't have much direct transmission from the direction of
the sun, you aren't likely to find the sun. Not finding the sun causes big
errors. For now, the three-phase method is a better alternative for annual
simulation of BSDF materials (you can find a tutorial at the bottom of this
page: http://www.radiance-online.org:82/learning/tutorials - if you're at
work, your company's firewall might block access to port 82 - the temporary
location of the new radiance online).

Andy

On Tue, Jun 12, 2012 at 8:18 AM, nassif nassif <[email protected]<mailto:[email protected]>> wrote:

Hallo,

I manage to obtain bsdf in xml Format using Window7beta, but i couldn't
know how to insert it in radiance. Is there somewhere an example how to
embed or convert it into radiance material? I need to use it in dds.bash (
or rtcontrib).

Thanks in advance

--
*N.Nassif

Lighting Designer***
*PLDA Member

Neue Str. 55
21073, Hamburg
Deutschland

+49 162 6050060<tel:%2B49%20162%206050060>
[email protected]<mailto:[email protected]>*

_______________________________________________
Radiance-general mailing list
[email protected]<mailto:[email protected]>
http://www.radiance-online.org/mailman/listinfo/radiance-general

Hi Nassif,
Data in the BSDF isn't specific to a date or time, so yes it is possible to
do an annual simulation with the xml file from window.

There are two official options and one un-official option:

1 - As Rob mentioned, you can use OpenStudio which does a lot of this for
you.

2 - you can loop through hours of the weather data file. Following is a
bash/awk example (add your weather data file at the end and include -a -o
and -m in the gensky and gendaylit command):
count=-8
while read line ; do
count=$((count+1))
if [ count -gt 0 ] ; then
daytime=`echo $line | awk -F, '{print $2,$3,$4-0.5}'`
alt=`gensky $daytime | awk '{if(NR==3) print $6}'
if [ alt -gt 2 ]; then
dir=`echo $line | awk -F, '{print $14}'`
dif=`echo $line | awk -F, '{print $15}'`
gendaylit $daytime -W $dir $dif | genskyvec | dctimestep V.vmx T.xml D.dmx

output_$count.txt

fi
fi
done < myweather.epw

3 - Unofficial - you can use our annual utility (dctimestepcpu) that takes
a sky matrix file (list of annual sky vectors) and multiplies a whole year
in one go. Let me know if you want to go this route, I can send you the
code for you to compile on your system. This isn't a straight forward
compile process though, it may require some tweaking on your end.
http://simulationresearch.lbl.gov/sites/simulationresearch.lbl.gov/files/2011-ibpsa-radiance.pdf

Andy

···

On Thu, Jul 12, 2012 at 12:46 AM, nassif nassif <[email protected]> wrote:

Hallo Andy,

thank you for your reply.

I looked through the Tutorial you advised about. I realised the generated
results are for one day. In our office we are using the .EPW to generate
the results for the whole year. (as used in the tutorial in rtcontrib). Is
it possible with BSDF somehow? if yes, Is there any hints or tips to insert
the .xml format generated by window7beta into the rtcontrib process?

Thanks in advance!

N.Nassif

On Tue, Jun 12, 2012 at 6:21 PM, < > [email protected]> wrote:

Send Radiance-general mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.radiance-online.org/mailman/listinfo/radiance-general
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiance-general digest..."

Today's Topics:

   1. Re: BSDF xml into Radiance (Andrew McNeil)

----------------------------------------------------------------------

Message: 1
Date: Tue, 12 Jun 2012 08:43:53 -0700
From: Andrew McNeil <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] BSDF xml into Radiance
Message-ID:
        <CAOG+Nizc0-+xrNry_qVJh6-hoA0C-=
[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi Nasif,

Information for the BSDF material is at the bottom of page 12:
http://radsite.lbl.gov/radiance/refer/refman.pdf

Though I've found that the BSDF material doesn't work well for
daylight coefficient based annual simulations (I'm assuming dds.bash is a
dynamic daylight simulation script). Putting the solar radiance into
skypatches relies on probabilistic sampling to find patches containing the
sun, and if you don't have much direct transmission from the direction of
the sun, you aren't likely to find the sun. Not finding the sun causes
big
errors. For now, the three-phase method is a better alternative for
annual
simulation of BSDF materials (you can find a tutorial at the bottom of
this
page: http://www.radiance-online.org:82/learning/tutorials - if you're at
work, your company's firewall might block access to port 82 - the
temporary
location of the new radiance online).

Andy

On Tue, Jun 12, 2012 at 8:18 AM, nassif nassif <[email protected]> >> wrote:

> Hallo,
>
> I manage to obtain bsdf in xml Format using Window7beta, but i couldn't
> know how to insert it in radiance. Is there somewhere an example how to
> embed or convert it into radiance material? I need to use it in
dds.bash (
> or rtcontrib).
>
> Thanks in advance
>
> --
> *N.Nassif
>
> Lighting Designer***
> *PLDA Member
>
> Neue Str. 55
> 21073, Hamburg
> Deutschland
>
> +49 162 6050060
> [email protected]*
>
> _______________________________________________
> Radiance-general mailing list
> [email protected]
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general

I should have tested BEFORE sending. Here it is again with about 12 errors
fixed...

count=-8
while read line ; do
count=$((count+1))
if [ $count -gt 0 ] ; then
daytime=`echo $line | awk -F, '{print $2,$3,$4-0.5}'`
alt=`gensky $daytime | awk '{if(NR==3) print int($6) }'`
if [ $alt -gt 5 ]; then
dir=`echo $line | awk -F, '{print $15}'`
dif=`echo $line | awk -F, '{print $16}'`
gendaylit $daytime -W $dir $dif | genskyvec | dctimestep V.vmx T.xml D.dmx

output_$count.txt

fi
fi
done < myweather.epw

···

On Thu, Jul 12, 2012 at 12:25 PM, Andrew McNeil <[email protected]> wrote:

Hi Nassif,
Data in the BSDF isn't specific to a date or time, so yes it is possible
to do an annual simulation with the xml file from window.

There are two official options and one un-official option:

1 - As Rob mentioned, you can use OpenStudio which does a lot of this for
you.

2 - you can loop through hours of the weather data file. Following is a
bash/awk example (add your weather data file at the end and include -a -o
and -m in the gensky and gendaylit command):
count=-8
while read line ; do
count=$((count+1))
if [ count -gt 0 ] ; then
daytime=`echo $line | awk -F, '{print $2,$3,$4-0.5}'`
alt=`gensky $daytime | awk '{if(NR==3) print $6}'
if [ alt -gt 2 ]; then
dir=`echo $line | awk -F, '{print $14}'`
dif=`echo $line | awk -F, '{print $15}'`
gendaylit $daytime -W $dir $dif | genskyvec | dctimestep V.vmx T.xml D.dmx
>> output_$count.txt
fi
fi
done < myweather.epw

3 - Unofficial - you can use our annual utility (dctimestepcpu) that takes
a sky matrix file (list of annual sky vectors) and multiplies a whole year
in one go. Let me know if you want to go this route, I can send you the
code for you to compile on your system. This isn't a straight forward
compile process though, it may require some tweaking on your end.
http://simulationresearch.lbl.gov/sites/simulationresearch.lbl.gov/files/2011-ibpsa-radiance.pdf

Andy

On Thu, Jul 12, 2012 at 12:46 AM, nassif nassif <[email protected]>wrote:

Hallo Andy,

thank you for your reply.

I looked through the Tutorial you advised about. I realised the generated
results are for one day. In our office we are using the .EPW to generate
the results for the whole year. (as used in the tutorial in rtcontrib). Is
it possible with BSDF somehow? if yes, Is there any hints or tips to insert
the .xml format generated by window7beta into the rtcontrib process?

Thanks in advance!

N.Nassif

On Tue, Jun 12, 2012 at 6:21 PM, < >> [email protected]> wrote:

Send Radiance-general mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://www.radiance-online.org/mailman/listinfo/radiance-general
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Radiance-general digest..."

Today's Topics:

   1. Re: BSDF xml into Radiance (Andrew McNeil)

----------------------------------------------------------------------

Message: 1
Date: Tue, 12 Jun 2012 08:43:53 -0700
From: Andrew McNeil <[email protected]>
To: Radiance general discussion <[email protected]>
Subject: Re: [Radiance-general] BSDF xml into Radiance
Message-ID:
        <CAOG+Nizc0-+xrNry_qVJh6-hoA0C-=
[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hi Nasif,

Information for the BSDF material is at the bottom of page 12:
http://radsite.lbl.gov/radiance/refer/refman.pdf

Though I've found that the BSDF material doesn't work well for
daylight coefficient based annual simulations (I'm assuming dds.bash is a
dynamic daylight simulation script). Putting the solar radiance into
skypatches relies on probabilistic sampling to find patches containing
the
sun, and if you don't have much direct transmission from the direction of
the sun, you aren't likely to find the sun. Not finding the sun causes
big
errors. For now, the three-phase method is a better alternative for
annual
simulation of BSDF materials (you can find a tutorial at the bottom of
this
page: http://www.radiance-online.org:82/learning/tutorials - if you're
at
work, your company's firewall might block access to port 82 - the
temporary
location of the new radiance online).

Andy

On Tue, Jun 12, 2012 at 8:18 AM, nassif nassif <[email protected]> >>> wrote:

> Hallo,
>
> I manage to obtain bsdf in xml Format using Window7beta, but i couldn't
> know how to insert it in radiance. Is there somewhere an example how to
> embed or convert it into radiance material? I need to use it in
dds.bash (
> or rtcontrib).
>
> Thanks in advance
>
> --
> *N.Nassif
>
> Lighting Designer***
> *PLDA Member
>
> Neue Str. 55
> 21073, Hamburg
> Deutschland
>
> +49 162 6050060
> [email protected]*
>
> _______________________________________________
> Radiance-general mailing list
> [email protected]
> http://www.radiance-online.org/mailman/listinfo/radiance-general
>
>

_______________________________________________
Radiance-general mailing list
[email protected]
http://www.radiance-online.org/mailman/listinfo/radiance-general