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

Re: [TRNSYS-users] Equation : variable use / iteration



One solution to your problem might be to use Type93 for Input Value Recall from the standard component library, feeding a new input variable to your equation:

T_COOL_ON à Type93 à T_CTRL

T_COOL_ON = T_CTRL + PPD20 -PPDHI

 

Ben Heymer, PE

Senior Energy Engineer | Energy Center of Wisconsin | Madison.Chicago.Minneapolis

608.210.7168 | Mobile: 312.315.4783 | www.ecw.org

 

From: trnsys-users-bounces@cae.wisc.edu [mailto:trnsys-users-bounces@cae.wisc.edu] On Behalf Of Alex Rachid
Sent: Wednesday, October 23, 2013 10:17 AM
To: trnsys users
Subject: [TRNSYS-users] Equation : variable use / iteration

 

Dear All
 
I am writing an equation in TRNSYS:
 
1- For the next iteration I want to use the previous value of the same Variable
   
    example:
     T_COOL_ON = T_COOL_ON + PPD20 -PPDHI
      this is throwing an error.
 
2- How can I set the initial value of the variable (T_CCOL_ON in the previous example)?
     Should it be set in the "Simulation Cards"?
 
Regards & Thanks
 
Alex