[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[EnergyPlus_Support] EP Macro Eval
To
:
EnergyPlus_Support@xxxxxxxxxxxxxxx
Subject
: [EnergyPlus_Support] EP Macro Eval
From
: Jason Kirkpatrick <
jason.alan.kirkpatrick@xxxxxxxxx
>
Date
: Mon, 10 Dec 2012 17:21:40 -0800
Delivered-to
: mailing list
EnergyPlus_Support@xxxxxxxxxxxxxxx
Delivery-date
: Mon, 10 Dec 2012 18:21:45 -0700
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoogroups.com; s=echo; t=1355188902; bh=/3nvGPfcOcrdcGHvNGyG9PWK78GueIF7RZVH75oeDc4=; h=Received:Received:X-Yahoo-Newman-Id:X-Sender:X-Apparently-To:X-Received:X-Received:X-Received:X-Received:X-Received:X-Received:Message-ID:To:X-Originating-IP:X-eGroups-Msg-Info:From:X-Yahoo-Profile:Sender:MIME-Version:Mailing-List:Delivered-To:List-Id:Precedence:List-Unsubscribe:Date:Subject:Reply-To:X-Yahoo-Newman-Property:Content-Type; b=hQm/a6H0FjF4zo0GMqO6Gl6kt8lORixMEKzn0oJ3++XTZRUXRWerHYDSkhZp5X7OuHbSM5jjtBIob1y/IzVTWEKmqe6RX5XbleqjI+/LqiHfHScMfYgB8ZKE5jfXvZ+LeW2hXAFkKIYzcrivWmvoHeaAfaBgTdZlkpnbr0xaPJ0=
Domainkey-signature
: a=rsa-sha1; q=dns; c=nofws; s=echo; d=yahoogroups.com; b=AL5+1m2661Pa20Ntv7zhEGoiM9e3LC1boL7rRrWNJneGCeHrIvKLhVCY2WdfeQbWPfaFLky/r0j1WkhowGaM6Uf+gV5CcbKZWpUUYqMtR9s+BLQQIQHGHOjA9SiEs0SJKrPh0QsIX4c7omaxRW+Zyo/o77vSfIuSnaKWNz5cy4A=;
Envelope-to
:
linda@xxxxxxxxxxxxxx
List-id
: <EnergyPlus_Support.yahoogroups.com>
List-unsubscribe
: <
mailto:EnergyPlus_Support-unsubscribe@yahoogroups.com
>
Mailing-list
: list
EnergyPlus_Support@xxxxxxxxxxxxxxx
; contact
EnergyPlus_Support-owner@xxxxxxxxxxxxxxx
Reply-to
:
EnergyPlus_Support@xxxxxxxxxxxxxxx
Sender
:
EnergyPlus_Support@xxxxxxxxxxxxxxx
I am trying to understand the use of the #eval commands in the EP Macro auxiliary program,
I have copied the example directly from the Auxiliary Programs reference (pg 148):
##set1 x 0
##set1 x #eval[ x[]+1]
According the reference, x should be set to 0, and then redefined to 1 by the second command, but when I run this example, I get this error:
# 64 # ##set1 x 0
# 65 # ##set1 x #eval[ x[]+1]
*ERROR*** **************** ===== ***********************************************************macro argument missing
Could anyone help me? I am trying to take two macro definitions and define a third macro with the first two values:
##set1 Width[] 50
##set1 Length[] 40
##set1 Area[] #eval[Width[]*Length[]]
I feel like this should work.
Also any guidance as to combining parametric variables and ep macros would be appreciated (I think you can't combine them) or alternatives to performing calculations on macros....
Thanks,
Jason K
__._,_.___
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
__,_._,___
Follow-Ups
:
Re: [EnergyPlus_Support] EP Macro Eval
From:
Joe Huang
Prev by Date:
RE: [EnergyPlus_Support] Severe Error temperature out of bounds
Next by Date:
Re: [EnergyPlus_Support] EP Macro Eval
Previous by thread:
[EnergyPlus_Support] Thermodynamic heat recovery
Next by thread:
Re: [EnergyPlus_Support] EP Macro Eval
Index(es):
Date
Thread