<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Prof Bina,</p>
    <p>  Values of outputs at previous time steps can be obtained from
      Type150 in the standard library or from Type661 in the TESS
      Controllers library. I am not aware of any components that read
      ahead in the weather data so obtaining Tsky (or anything else) at
      time t+1 would require writing a new component.</p>
    <p>kind regards,</p>
    <p> David</p>
    <p>  <br>
    </p>
    <div class="moz-cite-prefix">On 10/26/2020 06:31, saeid
      mohammadzadeh via TRNSYS-users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABCqxA+JcryZ-JH7=uDF=oUz595Qa+xirJZQpcx9K-6ymyNfxg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small">Hello
          everyone, <br clear="all">
        </div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small">I
          hope you are doing well and safe from Covid-19.  </div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small">I
          am seeking a way to call a parameter's value at the desire
          time step of running. For example, I wanna connect weather to
          an equation component and write an if statement something like
          this:</div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small">if
          T_sky(t-1), which shows the temperature of the sky at the
          previous hour (based on run time step). Or even t+1 for the
          next time step. </div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif;font-size:small"><br>
        </div>
        <div>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div>
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr">
                      <div dir="ltr">
                        <div dir="ltr">
                          <div dir="ltr">
                            <div dir="ltr">
                              <div dir="ltr">
                                <div dir="ltr">
                                  <div dir="ltr">
                                    <div dir="ltr">
                                      <div dir="ltr">
                                        <div dir="ltr">
                                          <div dir="ltr">
                                            <div dir="ltr">
                                              <div dir="ltr">
                                                <div
                                                  style="color:rgb(0,0,0)"><i
style="font-size:12.8px"><font size="2" color="#000000"><i><font
                                                          face="arial,
                                                          helvetica,
                                                          sans-serif"
                                                          color="#000000">Best
                                                          Regards</font></i></font></i><br>
                                                </div>
                                                <div
                                                  style="color:rgb(0,0,0)"><i><font
                                                      size="2"
                                                      face="arial,
                                                      helvetica,
                                                      sans-serif">Saeid
                                                      Mohammadzadeh
                                                      Bina, Dr. (Eng.)</font></i></div>
                                                <div
                                                  style="color:rgb(0,0,0)"><i
style="font-size:12.8px;color:rgb(34,34,34)"><font size="2" face="times
                                                      new roman, new
                                                      york, times,
                                                      serif"
                                                      color="#000000"><i><font
                                                          size="3"
                                                          face="arial,
                                                          helvetica,
                                                          sans-serif"
                                                          color="#000000">-------------------------------------------------</font></i></font></i></div>
                                                <div
                                                  style="color:rgb(0,0,0);font-family:HelveticaNeue,"Helvetica
Neue",Helvetica,Arial,"Lucida Grande",sans-serif"><font
                                                    size="2" face="times
                                                    new roman, new york,
                                                    times, serif"
                                                    color="#000000">
                                                    <div align="left"><font
style="font-size:16px" size="3" face="arial, helvetica, sans-serif"><font
                                                          size="2"
                                                          face="times
                                                          new roman, new
                                                          york, times,
                                                          serif"
                                                          color="#000000">
                                                          <div
                                                          align="left"><em><font
                                                          face="times
                                                          new
                                                          roman,serif">Akita
                                                          <var></var>University</font></em><br>
                                                          </div>
                                                        </font></font><font
                                                        face="arial,
                                                        helvetica,
                                                        sans-serif"><font
                                                          size="2"
                                                          face="times
                                                          new roman, new
                                                          york, times,
                                                          serif"
                                                          color="#000000">
                                                          <div
                                                          align="left"><span
style="font-family:"Times New Roman",serif"><i>Graduate
                                                          school of
                                                          International
                                                          Resource
                                                          Sciences</i></span><font
                                                          face="times
                                                          new
                                                          roman,serif"><em>.<br>
                                                          1-1 Tegata
                                                          gakuen-machi,
                                                          Akita
                                                          010-8502,
                                                          Japan</em></font></div>
                                                          <div
                                                          align="left"><font
                                                          face="times
                                                          new
                                                          roman,serif"><em>Tel: </em></font><em
style="font-family:"times new roman",serif">+815068665026
                                                          (Japan)</em></div>
                                                          <div
                                                          align="left"><em
style="font-family:"times new roman",serif">     
                                                           +989141011757
                                                          (Iran)</em><em
style="font-family:"times new roman",serif">   </em></div>
                                                        </font></font></div>
                                                    <div align="left"><font
style="font-size:16px" size="3" face="garamond, new york, times, serif"><em>E-mail: </em></font><a
href="mailto:s.mohammadzadeh66@gmail.com" target="_blank"
                                                        moz-do-not-send="true"><em>d9515254@s.akita-u.ac.jp</em></a><em
style="font-size:16px"> </em></div>
                                                    <div
                                                      style="font-size:16px"
                                                      align="left"><em
                                                        style="font-family:garamond,"new
york",times,serif;font-size:medium;background-color:rgba(0,0,0,0);margin:0px;padding:0px;color:blue"> 
                                                                 <a
                                                          href="mailto:mohammadzadehsaeid@yahoo.com"
                                                          rel="nofollow"
style="font-family:garamond,"new
york",times,serif;font-size:medium;background-color:rgba(0,0,0,0);margin:0px;padding:0px;color:blue"
target="_blank" moz-do-not-send="true">mohammadzadehsaeid@yahoo.com</a></em></div>
                                                  </font><font
                                                    style="font-size:16px"
                                                    size="2" face="times
                                                    new roman, new york,
                                                    times, serif"
                                                    color="#000000">
                                                    <div align="left">
                                                      <div
                                                        style="font-family:HelveticaNeue,"Helvetica
Neue",Helvetica,Arial,"Lucida
                                                        Grande",sans-serif;font-size:16px"><i><font
                                                          size="2"
                                                          face="times
                                                          new roman, new
                                                          york, times,
                                                          serif"
                                                          color="#000000"><i><font
                                                          size="3"
                                                          face="arial,
                                                          helvetica,
                                                          sans-serif"
                                                          color="#000000">-------------------------------------------------<br>
                                                          <br>
                                                          </font></i></font></i></div>
                                                    </div>
                                                  </font></div>
                                              </div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>

<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
  </body>
</html>