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

David Reddy david at 360-analytics.com
Mon Oct 20 09:30:07 PDT 2014


I wasn't actually aware of this, but found this when I searched the 
DOE-2 documentation for DEG-FROM-NORTH; it appears this is the function 
being executed to calculate DEG-FROM-NORTH:





On 10/19/2014 10:53 PM, 冷面寒枪 wrote:
>
> 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|
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "Ting Wang"<wangting.ioz at gmail.com>;
> *发送时间:* 2014年10月20日(星期一) 上午9:43
> *收件人:* "冷面寒枪"<503271081 at qq.com>;
> *抄送:* 
> "equest-users at lists.onebuilding"<equest-users at lists.onebuilding.org>;
> *主题:* Re: [Equest-users] A mothod to set WWR in detailed mode
>
> 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 
> <mailto: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:
>
>     In your project,
>
>     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
>     <mailto:EQUEST-USERS-UNSUBSCRIBE at ONEBUILDING.ORG>
>
>
>
>
> -- 
> *王 亭 *
> *Terrence Wang*
> *M:* +86 1391 085 4291
> *E: *wangting.ioz at gmail.com <mailto:wangting.ioz at gmail.com>
>
>
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20141020/bd4ef902/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eebhcbdf.png
Type: image/png
Size: 11361 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20141020/bd4ef902/attachment-0001.png>


More information about the Equest-users mailing list