<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Dear All<BR> <BR>I am writing an equation in TRNSYS:<BR> <BR>1- For the next iteration I want to use the previous value of the same Variable<BR>    <BR>    example: <BR>     T_COOL_ON = T_COOL_ON + PPD20 -PPDHI<BR>      this is throwing an error.<BR> <BR>2- How can I set the initial value of the variable (T_CCOL_ON in the previous example)?<BR>     Should it be set in the "Simulation Cards"?<BR> <BR>Regards & Thanks<BR> <BR>Alex<BR> <BR> <BR><br> <BR> <BR>                                       </div></body>
</html>