[Equest-users] eQuest BDL Function Programming

Julien Marrec julien.marrec at gmail.com
Fri Jun 19 02:07:46 PDT 2015


Daric,

I haven't tried it, but:
1) you're missing a local ref from the space to the C-ACTIVITY-DESC KEYWORD
2) the space might be a parent to the zone rather than local ref

Envoyé de mon iPhone

> Le 19 juin 2015 à 02:45, Daric Adair <Daric.Adair at hei-eng.com> a écrit :
> 
> Hello All;
>  
> Has anyone had success using  a User Default expression  for a System to reference the control zone’s Activity Description to set a MinOA Schedule?
> Effectively, the System’s MinOA Schedule to references the Control-Zone, which will look at the Control-Zone’s to determine the Space, and then determine the Activity Description of the Space.
> I believe the use of #LR and #L gets me on the right path, but haven’t been able to ‘crack the nut’….
> The code below attempts pass referenced names, but unsure where the breakdown is…
>  
>  
>    FAN-SCHEDULE     =   
>    {switch(#LR(#LR(#L("CONTROL-ZONE"),"NAME")),"SPACE")
> case "SCHO" : #SI("FAN SUP EVNT","CONTROL-ZONE","FAN-SCHEDULE")
> case "OFFI" : #SI("FAN SUP EVNT","CONTROL-ZONE","FAN-SCHEDULE")
> default : no_default
> endswitch}  
>  
>  
> There are more than 2 activity types, but it has been shorted for testing & debugging.
> In reality, IF this is possible, any of the System level schedules should be able to be set from the Controlling Zone’s Space’s Activity Description.
> Any help is greatly appreciated.
>  
>  
>  
> 
>  
> 
> Thanks,
> DARIC R. ADAIR  PE, C.E.M. 
> Mechanical Engineer, Energy Analyst 
> 
> <image001.gif>
> 
> Henderson Engineers, Inc.  8345 Lenexa Drive, Suite 300   Lenexa, KS 66214
> dir 913 742 5530  tel 913 742 5000  fax 913 742 5001  tx id #F-001236  www.hei-eng.com 
> 
> Licensed in KS.  
> Sending me large files? Please use my HEI DropBox
> 
> <image002.gif>
> <image003.gif>
> <image004.gif>
>  
>  
> 
> 
> This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. This communication represents the originator's personal views and opinions, which do not necessarily reflect those of Henderson Engineers, Inc. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please immediately notify administrator at hei-eng.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/20150619/7aa6bea0/attachment.htm>


More information about the Equest-users mailing list