[Equest-users] DOE-2 User Expression functionality in eQuest

Neetu Neetu at greenengineer.com
Wed Jan 10 09:51:53 PST 2018


Hi Nick,

 

Thank you for the quick response. 

 

I’ll admit that I tested this with only a single if then else so did not catch the syntax error for AND and OR operators. 

You are correct that the efficiency values are different for the different capacity ranges and that it’s a typo in the code below. I do something very similar to your prescribed workflow for efficiencies using user-default values or global parameters but was hoping to not have to do that either 😊

 

I will post this on the bldg. sim list serve for the benefit of everyone.

 

Once again appreciate your getting back to me on this. 

 

p.s. do you still blog about energy modeling in general and eQuest in particular ?

 

Neetu S. Siddarth, BEMP,  LEED AP BD&C

Senior Building Performance Analyst

The Green Engineer, Inc.

O: (978) 369-8978

C: (413) 230-8458

 

From: Nicholas Caton [mailto:Nicholas.Caton at schneider-electric.com] 
Sent: Wednesday, January 10, 2018 12:15 PM
To: Neetu <Neetu at greenengineer.com <mailto:Neetu at greenengineer.com> >
Subject: RE: DOE-2 User Expression functionality in eQuest

 

Hi Neetu,

 

I’m afraid there’s no way for user expressions to utilize variables from simulation outputs without some kind of human intervention.

 

For this particular case, I find often my baseline systems’ prescribed efficiencies for a whole project are most efficiently input by setting a user-default value (not expression) for the most commonly repeating cooling capacity range, then just manually overwriting the exceptions to that rule.  That workflow would in most cases end up taking less time than punching in all capacities manually... probably!

 

A couple suggestions though, if it helps:

1.	A few simple typos are highlighted below for spelling
2.	When you use operators like .AND. and .OR., I think you need to write out the whole conditional statement each time, like this: 

if (#L("COOLING-CAPACITY")>=65000 .AND. #L("COOLING-CAPACITY")<135000)

  then 1

  else 0

endif

3.	I don’t have the standard open to check, but is it correct to have the same EIR for two different capacity ranges?

 

 

Hope this is helpful!  Feel free to CC this to the list in reply if you feel others could benefit.  There really is a plurality of expression-savvy contributors and that remains the best way to get a complete answer in my experience.

 

Kind regards,

 

~Nick

 

 



Nick Caton, P.E., BEMP


  Senior Energy Engineer
  Regional Energy Engineering Manager

  Energy and Sustainability Services
  Schneider Electric

D  913.564.6361 
M  785.410.3317 
F  913.564.6380
E   <mailto:nicholas.caton at schneider-electric.com> nicholas.caton at schneider-electric.com

15200 Santa Fe Trail Drive
Suite 204
Lenexa, KS 66219
United States




 

 

From: Neetu [mailto:Neetu at greenengineer.com] 
Sent: Wednesday, January 10, 2018 11:01 AM
To: Nicholas Caton <Nicholas.Caton at schneider-electric.com <mailto:Nicholas.Caton at schneider-electric.com> >
Subject: DOE-2 User Expression functionality in eQuest

 

Hi Nick,

 

Please forgive me for reaching out directly regarding an eQuest related question. I read some of your responses re: user expressions in eQuest  on the energy-models.com website and I believe you are my best bet to get to the bottom of this. Back in the days I used to follow your blog posts. Thank you for taking the time to read this.

 

So for Appendix G modeling, Baseline system type 3 efficiencies are based on auto-sized cooling capacities. I am trying to write a user expression using a nested if-then-else statement so that the “COOLING-EIR” keyword gets auto-populated with the correct EIR based on the auto-sized capacity. This can otherwise become a labor intensive waste of time task. I think I got the user expression figured out but the challenge is if the “COOLING-CAPACITY” keyword is set to default (no value) because of the auto-size requirements, the expression does not work. It works perfectly well if I hardcode the cooling capacities. Is there a way to return a value for the keyword based on simulation results. Below is the user expression I am trying to use for the “COOLING-EIR” input.

 

if (#L("COOLING-CAPACITY") < 65000)

then 0.2507

else if (#L("COOLING-CAPACITY") >= 65000 .AND. <135000)

then 0.2580

else if (#L("COLLING-CAPACITY") >= 135000 .AND. <240000)

then 0.2635

else if (#L("COLLING-CAPACITY") >= 240000 .AND. <760000)

then 0.2945

else 0.3051

endif

endif

endif

endif

 

Thank you,

Neetu

 

Neetu S. Siddarth, BEMP,  LEED AP BD&C

Senior Building Performance Analyst

The Green Engineer, Inc.

Sustainable Design Consulting

54 Junction Square Dr.

Concord, MA 01742

O: (978) 369-8978

C: (413) 230-8458

 


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20180110/25959b03/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 255 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20180110/25959b03/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 8477 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/equest-users-onebuilding.org/attachments/20180110/25959b03/attachment-0009.png>


More information about the Equest-users mailing list