[Equest-users] User-Defined Default Expressions

Michael Campbell via Equest-users equest-users at lists.onebuilding.org
Fri Mar 3 11:31:20 PST 2017


Thank you Bill, Jeremy, and Chris for the responses!

On Fri, Mar 3, 2017 at 1:24 PM, Bishop, Bill <bbishop at pathfinder-ea.com>
wrote:

> Mike,
>
> You can start with the expression below. Paste only the text between the
> brackets if you are pasting within the interface. If pasting into the input
> file, this would go after “SET-DEFAULT FOR SPACE”. Like Chris said, the
> case statement names should be four characters or less. However, they are
> not case sensitive, so upper/lower case doesn’t matter.
>
> ~Bill
>
>
>
>    AREA/PERSON      =
>
> {if(#SV(#L("ZONE-TYPE"))==2) then no_def else
>
> if(#RV(#L("PEOPLE-SCHEDULE"))!=0) then unused else
>
> switch (#L("C-ACTIVITY-DESC"))
>
> case "Reta": 67
>
> case "Lobb": 150
>
> case "Clas": 100
>
> default: 500
>
> endswitch
>
> endif
>
> endif}
>
>
>
> *William Bishop, PE, BEMP, BEAP, CEM, LEED AP **|** Pathfinder Engineers
> & Architects LLP*
>
> *Senior Energy Engineer*
>
>
>
>
>
> 134 South Fitzhugh Street                 Rochester, NY 14608
>
> *T: (585) 698-1956 <(585)%20698-1956>*                        F: (585)
> 325-6005
>
> bbishop at pathfinder-ea.com <wbishop at pathfinder-ea.com>
> www.pathfinder-ea.com
>
> [image: http://png-5.findicons.com/files/icons/977/rrze/720/globe.png]Carbon
> Fee and Dividend - simple, effective, and market-based.
>
>
>
> *From:* Equest-users [mailto:equest-users-bounces at lists.onebuilding.org] *On
> Behalf Of *Chris Jones via Equest-users
> *Sent:* Friday, March 03, 2017 12:52 PM
> *To:* Michael Campbell <mcamp1206 at gmail.com>
> *Cc:* equest-users at onebuilding.org
> *Subject:* Re: [Equest-users] User-Defined Default Expressions
>
>
>
> Note, only the first 4 characters of the C-ACTIVITY-DESC field are
> recognized in user defined expressions. Therefore, if your UDF uses
> “RETAIL” as the test, it may fail because only “RETA” is used.
>
>
>
> Other than that, I suggest reviewing the BDLDFT.TXT file in the eQUEST
> 3-65 Data folder. It is full of example default expressions.
>
>
>
>
>
> [image: Title: RWDI - Description: RWDI logo]
> <http://www.rwdi.com/assets/logos/RWDI-logo.gif>
>
> *Christopher Jones, **P.Eng. *| Senior Energy Analyst
> *RWDI*
> 901 King Street West, Suite 400, Toronto, ON M5V 3H5 Canada
> Tel: (519) 823-1311 ext 2052 <(519)%20823-1311>
> rwdi.com <http://www.rwdi.com/>
>
>
>
>
>
> *From:* Equest-users [mailto:equest-users-bounces at lists.onebuilding.org
> <equest-users-bounces at lists.onebuilding.org>] *On Behalf Of *Michael
> Campbell via Equest-users
> *Sent:* Friday, March 03, 2017 12:32 PM
> *To:* equest-users
> *Subject:* [Equest-users] User-Defined Default Expressions
>
>
>
> Hi eQUEST Users,
>
> I'm trying to create default user expressions in an effort to
> auto-populate certain fields in my models.
>
> I want to reference the activity description (C-ACTIVITY-DESC) have it
> automatically fill in fields such as Area/Person.
>
> So for this example, I'm trying to make all spaces that have Activity
> Description of "RETAIL" to be populated with a Area/Person value of 67.
>
> I've tried using the "Switch" function and if-then statements but haven't
> been able to get it to work.
>
> Any assistance is appreciated.
>
> Thank you,
>
> Mike Campbell
> ------------------------------
>
> *RWDI - A Platinum Member of Canada's 50 Best Managed Companies*
> This communication is intended for the sole use of the party to whom it
> was addressed and may contain information that is privileged and/or
> confidential. Any other distribution, copying or disclosure is strictly
> prohibited. If you received this email in error, please notify us
> immediately by replying to this email and delete the message without
> retaining any hard or electronic copies of same. Outgoing emails are
> scanned for viruses, but no warranty is made to their absence in this email
> or attachments. If you require any information supplied by RWDI in a
> different format to facilitate accessibility, contact the sender of the
> email, email solutions at rwdi.com or call +1.519.823.1311 <(519)%20823-1311>.
>
> ------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20170303/3bcf3d06/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 1517 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20170303/3bcf3d06/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.jpg
Type: image/jpeg
Size: 1647 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20170303/3bcf3d06/attachment-0007.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 2227 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20170303/3bcf3d06/attachment-0008.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.png
Type: image/png
Size: 3859 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20170303/3bcf3d06/attachment-0002.png>


More information about the Equest-users mailing list