[Radiance-general] optics2glazed and glaze script

Greg Ward gregoryjward at gmail.com
Tue Dec 19 08:09:42 PST 2017


Never mind -- I see you took care of it!

-Greg

> From: raghuram kalyanam <kalyanam at rhrk.uni-kl.de>
> Subject: Re: [Radiance-general] optics2glazed and glaze script
> Date: December 19, 2017 2:05:15 AM PST
> To: Radiance general discussion <radiance-general at radiance-online.org>
> Cc: Jack de Valpine <jedev at visarc.com>
> Reply-To: Radiance general discussion <radiance-general at radiance-online.org>
> 
> Thanks CJ. That solves the mystery. I should have looked into the script once. 
> 
> @Jack de Valpine. Thank you very much for a nice blog. I have come this far with the help of your blog. 
> 
> Could any one explain  part #2 , why the transmittances are different ? 
> 
> Best Regards,
> Raghu
> 
>> On Dec 18, 2017, at 6:23 PM, Charudatta Joshi <cjoshi.energy at gmail.com> wrote:
>> 
>> Hi Raghu,
>> 
>> Re: #1 of your queries: It has to do with the underscores and spaces in your rad file that comes from Optics. You need to remove " " and "_", or replace them with another character in the following three strings. Note that the last "_" before glass / front / back remains.
>> 
>> Changes:
>> CARDINAL 66_0.76 _glass >> CARDINAL-66_0.76_glass
>> CARDINAL 66_0.76 _front >> CARDINAL-66_0.76_front
>> CARDINAL 66_0.76 _back >> CARDINAL-66_0.76_back
>> 
>> Probably good (or required?) to do this also for your file name (CARDINAL_66_0.76.rad >> CARDINAL-66-0.76.rad).
>> 
>> With that, you get:
>> 
>> CJUNIX at SJ-PC:/mnt/c/Users/SJ/Downloads/Raghuram$ ./optics2glazedb CARDINAL-66-0.76.rad SageGlass-8905.rad SageGlass-8906.rad SageGlass-8908.rad SageGlass-8909.rad > LLglasses.db
>> CJUNIX at SJ-PC:/mnt/c/Users/SJ/Downloads/Raghuram$ more LLglasses.db
>> Surface Tr      Tg      Tb      Rcr     Rcg     Rcb     Rgr     Rgg     Rgb     Part
>> CARDINAL-66-0.76   0.789   0.845   0.767    0.071    0.091    0.116     0.06    0.077    0.113 0
>> SageGlass-8905   0.666    0.69   0.502    0.086     0.08    0.058    0.119     0.12    0.144 0
>> SageGlass-8906   0.154   0.216   0.187    0.028    0.012    0.013    0.087    0.105    0.126 0
>> SageGlass-8908   0.034   0.074   0.085    0.025    0.006    0.009    0.085    0.105    0.125 0
>> SageGlass-8909   0.004   0.013   0.019     0.03    0.007    0.014    0.099    0.117    0.135 0
>> CJUNIX at SJ-PC:/mnt/c/Users/SJ/Downloads/Raghuram$
>> 
>> 
>> Hope that helps.
>> Thanks,
>> CJ
>> 
>> Charudatta Joshi
>> 
>> If it is worth doing, it is worth doing well.
>> 
>> 
>> 
>> 
>> On Mon, Dec 18, 2017 at 6:43 PM, raghuram kalyanam <kalyanam at rhrk.uni-kl.de> wrote:
>> Hi Everyone,
>> 
>> I want to create glazing systems for different states of EC glass (NFRC ID’s 8905,8906,8908,8909) with a coated glass(CARDINAL_66_0.76.rad). I used optics2glazedb and glaze script to combine them. I have few questions about using them.
>> 
>> I tried to add all the glasses to LLGlasses.db using below command, but this doesn't add "CARDINAL_66_0.76.rad” to the db. I had to add it manually, but why wouldn’t it add to the db?
>> 
>> 	./optics2glazedb  Clear-Float-Glass-8.rad CARDINAL_66_0.76.rad SageGlass-8905.rad SageGlass-8906.rad SageGlass-8908.rad SageGlass-8909.rad > LLGlasses.db
>> 
>> 	2. After creating LLGlasses.db i executed the Glaze script and created glazing systems like below, only changing s2 with EC glass states and keeping other surfaces constant. The 'Normal hemispherical transmittance’ calculated this way (0.553) is different from Tvis( 0.453) calculated using Window, for the same combination of glasses (the case of 8905 and CARDINAL_66_0.76.rad, shown below). The only thing extra in Window is air gap (mix of Argon and air). 
>> 
>> 
>> 	
>> Window normal faces interior
>> 
>>   | |    | |
>>   | |    | |
>>   | |    | |
>>   | |    | |-->
>>   | |    | |
>>   | |    | |
>>   | |    | |
>>  s1 s2  s3 s4
>> 
>> Supported surface types are:
>>    1 - Clear-Float-Glass-8
>>    2 - Cardinal
>>    3 - SageGlass-8905
>>    4 - SageGlass-8906
>>    5 - SageGlass-8908
>>    6 - SageGlass-8909
>> 
>> What is the type of s1? 1
>> What is the type of s2? 3
>> What is the type of s3? 2
>> What is the type of s4? 1
>> 
>> ############################################
>> # Glazing produced by Radiance glaze script
>> # $Revision$
>> # Loaded: LLGlasses.db
>> # Mon Dec 18 10:47:37 CET 2017
>> # Material surface normal points to interior
>> # Number of panes in system: 2
>> # Exterior surface s1 type: Clear-Float-Glass-8
>> # Inner surface s2 type: SageGlass-8905
>> # Inner surface s3 type: Cardinal
>> # Interior surface s4 type: Clear-Float-Glass-8
>> # Exterior normal hemispherical reflectance: 0.160661531
>> # Interior normal hemispherical reflectance: 0.129405804
>> # Normal hemispherical transmittance: 0.553981928
>> #
>> void BRTDfunc glaze2_unnamed
>> 10
>> if(Rdot,cr(fr(0.060),ft(0.789),fr(0.086)),cr(fr(0.119),ft(0.666),fr(0.071)))
>> if(Rdot,cr(fr(0.077),ft(0.845),fr(0.08)),cr(fr(0.12),ft(0.69),fr(0.091)))
>> if(Rdot,cr(fr(0.113),ft(0.767),fr(0.058)),cr(fr(0.144),ft(0.502),fr(0.116)))
>> ft(0.789)*ft(0.666)
>> ft(0.845)*ft(0.69)
>> ft(0.767)*ft(0.502)
>> 	0 0 0
>> 	glaze2.cal
>> 0
>> 9
>> 	0 0 0
>> 	0 0 0
>> 	0 0 0
>> 
>> 
>> I would like to know why they are different and which is the correct visible transmittance for the glazing. I have included all the files here.
>> 
>> 	3. Why does optics2glazedb needs first argument a clear glass? I generated a db with Clear-Float-Glass-8 initially (see the Supported surface types above) and then another db after removing it (see below). It still generated db, but when using Glaze script, I see  a 1 - clear glass is generated in Supported surface types automatically. In both cases (above and below) i get same Normal hemispherical transmittance. Is it ok to use any clear glass here?
>> 
>>    1 - clear glass
>>    2 - Cardinal
>>    3 - SageGlass-8905
>>    4 - SageGlass-8906
>>    5 - SageGlass-8908
>>    6 - SageGlass-8909
>> 
>> It would be great if any one could explain this .
>> 
>> Thanks in advance
>> 
>> Best Regards,
>> Raghu
>> _______________________________________________
>> Radiance-general mailing list
>> Radiance-general at radiance-online.org
>> https://www.radiance-online.org/mailman/listinfo/radiance-general
> 
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> https://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/20171219/eb2fd49f/attachment-0001.html>


More information about the Radiance-general mailing list