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

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

__,_._,___