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

Re: [EnergyPlus_Support] put an equation in a field





Hello,

I effectively forgot to mention, I use jEPlus for my simulations.
Thank you for the answer, but I'm afraid I don't know how to deal with the errors occuring ( the line 22683 is:   #eval[THICK[] * 326.67 + 2.83];  !- Cost per Area {$/m2}) :

Program Version,EnergyPlus-32 7.0.0.036, 22/03/2013 10:33,IDD_Version 7.0.0.036
   ** Severe  ** Output:PreprocessorMessage="EPMacro" has the following Severe conditions:
   **   ~~~   ** at approximately input line number=22683: column=17
   **   ~~~   ** macro ] missing or incorrect no of args
   **   ~~~   ** symbol=326.67 +
   **   ~~~   ** refer to <file>.epmdet for details.
   ************* IDF Context for following error/warning message:
   ************* Note -- lines truncated at 280 characters, if necessary...
   ************* Only the comment character (!) on a line is shown -- nothing following that.
   *************  21354 ComponentCost:LineItem,
   *************  21355 costglasswool,           !
   *************  21356 ,                        !
   *************  21357 Construction,            !
   *************  21358 1,                       !
   *************  21359 ,                        !
   *************  21360 ,                        !
   *************  21361 98.001007080+ 2.83];  !
   ** Severe  ** IP: IDF line~21361 Invalid Number in Numeric Field#2 (Cost per Area), value=98.001007080+ 2.83], in COMPONENTCOST:LINEITEM=COSTGLASSWOOL
   ** Severe  ** IP: Possible incorrect IDD File
   **   ~~~   ** IDD Version:"IDD_Version 7.0.0.036"
   **   ~~~   ** Possible Invalid Numerics or other problems
   **  Fatal  ** IP: Errors occurred on processing IDF file. Preceding condition(s) cause termination.

It seems that THICK needs an argument.
Furthermore, I do not find any .epmdet in my output files...

Cheers,

Mayeul

From: Ivan Korolija <ivankorolija@xxxxxxxxx>
To: "EnergyPlus_Support@xxxxxxxxxxxxxxx" <EnergyPlus_Support@xxxxxxxxxxxxxxx>
Sent: Thursday, March 21, 2013 11:06 PM
Subject: Re: [EnergyPlus_Support] put an equation in a field

 
Hi Mayeul

Looking into your search string @@1@@ I got a felling that you are using jEPlus for running parametric simulations. To get what you want you'll have to use EP-Macro. 

1. Change the extension of your file from idf to imf 
2. Add the following line at the beginning of your file
##set1 THICK @@1@@
3. Replace the last line of your ComponentCost:LineItem object with
#eval[THICK[] * 326.67 + 2.83];  !- Cost per Area {$/m2}

I think this should work.

Cheers,

Ivan


Dr Ivan Korolija
IESD, De Montfort University, Leicester, UK


From: Mayeul FAURE <mayeul21@xxxxxxxxx>
To: "EnergyPlus_Support@xxxxxxxxxxxxxxx" <EnergyPlus_Support@xxxxxxxxxxxxxxx>
Sent: Thursday, March 21, 2013 3:32 PM
Subject: [EnergyPlus_Support] put an equation in a field

 
Hi,

I want to calculate the economic cost of a construction. I use for that the class "ComponentCost:LineItem"

For example, here glass wool, I use a key replacing the material's thickness of a construction (@@1@@) which will take several values (0.1,0.2,0.3...). I want the cost for each value. My formula is : Cost(?/m²)= 326,,67*thickness + 2,83. How can I introduce it in the field "cost per area"? Here is my code, it returns me the severe error below: 


** Severe  ** ComponentCost:LineItem: "COSTGLASSWOOL" Construction object needs non-zero construction costs per square meter
   **  Fatal  ** Errors found in processing cost estimate input

ComponentCost:LineItem,
    costglasswool,           !- Name
    ,                        !- Type
    Construction,            !- Line Item Type
    1,                       !- Item Name
    ,                        !- Object End Use Key
    ,                        !- Cost per Each {$}
    = @@1@@  * 326.67 + 2.83;  !- Cost per Area {$/m2}

Thank you in advance for helping,

Mayeul FAURE
HEI-Lille
France






__._,_.___


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

__,_._,___