[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [EnergyPlus_Support] Re: EMS Expressions: square root ^ 0.5





So use an IF to check for a negative number before doing a square root…

 

Ned Lyon, P.E. (MA)
Staff Consultant

SIMPSON GUMPERTZ & HEGER
781.907.9000 main
781.907.9350 direct 
781.907.9009 fax
www.sgh.com

 

From: EnergyPlus_Support@xxxxxxxxxxxxxxx [mailto:EnergyPlus_Support@xxxxxxxxxxxxxxx] On Behalf Of tobiasschulzeoooitu
Sent: Tuesday, March 15, 2011 2:46 PM
To: EnergyPlus_Support@xxxxxxxxxxxxxxx
Subject: [EnergyPlus_Support] Re: EMS Expressions: square root ^ 0.5

 

 

Sorry, my fault - it was a SQRT of a negative number like
(-2)^0.5
that crashed the program without producing an error file

Tank you anyway for your promt reply

--- In EnergyPlus_Support@xxxxxxxxxxxxxxx, Linda Lawrie <linda@...> wrote:
>
> please submit your input file to the helpdesk.
>
> At 12:17 PM 3/15/2011, tobiasschulzeoooitu wrote:
> >Hi,
> >
> >I am actually programming an EMS control for my model. It seems it
> >is not possible to program:
> >SET e = c ^ 0.5 (which is an example from EMS guide page 6)
> >
> >E+ crashes without a finn

__._,_.___


Primary EnergyPlus support is found at:
http://energyplus.helpserve.com or send a message to energyplus-support@xxxxxxxx

The primary EnergyPlus web site is found at:
http://www.energyplus.gov

The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/

Attachments are currently allowed but be mindful that not everyone has a high speed connection.  Limit attachments to small files.

EnergyPlus Documentation is searchable.  Open EPlusMainMenu.pdf under the Documentation link and press the "search" button.




Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___