=?gb18030?b?u9i4tKO6IEdsb2JhbCBQYXJhbWV0ZXIgZXhw?= =?gb18030?q?ression_problem?=

1 post / 0 new

(#PA("EXT-LTG-MAX") + #PA("EXT-LTG-MIN") )?2
---????---
???: "Jones, Christopher"
????: 2014?10?28? 00:00:03
???: "equest-users at lists.onebuilding.org";
??: [Equest-users] Global Parameter expression problem

I thought this would be fairly simple. I have two global paramaters:

PARAMETER

“EXT-MAX” = 0.9 ..

PARAMETER

“EXT-MIN” = 0.05 ..

Simple enough but then in a User expression, I want to take the average of the two.

The input dialog doesn’t seem to provide a way to define this simply:

#PA("EXT-LTG-MAX") + #PA("EXT-LTG-MIN") is allowed but I can’t find the right symbol to enclose that expression then divide by 2:

{#PA("EXT-LTG-MAX") + #PA("EXT-LTG-MIN")} / 2 – gives an error

(#PA("EXT-LTG-MAX") + #PA("EXT-LTG-MIN")) / 2 – gives an error

#PA("EXT-LTG-MAX") / 2 + #PA("EXT-LTG-MIN") / 2 – works but I don’t like it.

Christopher Jones, P.Eng.
Tel: 416.644.4226 • Toll Free: 1.888.425.7255 x 527

=?GB2312?B?1dTTwMfg?='s picture
Joined: 2013-07-05
Reputation: 0