# [Equest-users] 回复： A mothod to set WWR in detailed mode

Sun Oct 19 22:53:50 PDT 2014

```Though above expression can implement the WWR setting,a warning "expression too long" will occur.So I modify the expression to solve it,Which is shown as following:
if (MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360) >= 0   && MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<60 ) then   #PA("N")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")   else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)  >= 300  && MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<360 ) then #PA("N")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")        else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)  >= 60 && MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<150 )  then  #PA("E")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")            else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)  >= 150  && MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<210 )   then  #PA("S")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")                 else  #PA("W")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")                 endif            endif        endif  endif

------------------ 原始邮件 ------------------

Hi Yongqing,

Thanks for your input. It's brilliant!

Regards,
Ting Wang

On Sun, Oct 12, 2014 at 8:29 PM, 冷面寒枪 <503271081 at qq.com> wrote:

When we perform energy analysis in preliminary design stage ,there is a situation often occurs,which is the Window to Wall Ratio (WWR) is frequently changed. But in eQUEST, WWR can only be set in wizard mode.And once we enter the detailed mode,we can not return wizard mode.So if we have entered the detailed mode,how can we change the WWR? Is there a way to manipulate WWR in detailed mode?

Below is the solution:

Firstly,set WWR to value as large as possible in wizard mode,and then enter the detailed mode.

Secondly,create four global parameters,named E,S,W and N ,which represent for East,South,West and North WWR respectively.

Thirdly,default the height of all windows using follwing expression.
if (MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360) >= 0   && MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<60 ) then   #PA("N")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")   else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)  >= 300      && MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<360 )     then #PA("N")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")                else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)  >= 60             && MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<150 )              then  #PA("E")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")                            else if(MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)  >= 150                      && MOD(#p3("AZIMUTH")+#p2("AZIMUTH")+#p("AZIMUTH"),360)<210 )                       then  #PA("S")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")                                     else  #PA("W")*#P3("FLOOR-HEIGHT")*#P("WIDTH")/#L("WIDTH")                                     endif                            endif                endif  endif
If you want to change WWR,you can only change the global parameters.For example:

East WWR is 30 %,

South WWR is 50 %,

West WWR is 20 %,

and North WWR is 40 %.

In eQUEST detailed mode,you can modify global parameter E to 0.3,S to 0.5,W to 0.2 and N to 0.4.

_______________________________________________
Equest-users mailing list
http://lists.onebuilding.org/listinfo.cgi/equest-users-onebuilding.org
To unsubscribe from this mailing list send  a blank message to EQUEST-USERS-UNSUBSCRIBE at ONEBUILDING.ORG

--
王 亭  Terrence Wang M: +86 1391 085 4291
E: wangting.ioz at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20141020/bcb6dcef/attachment-0001.htm>
```