<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Amin,</p>
    <p>  We have discontinued the use of this email list in favor of a
      forum. Please visit <a class="moz-txt-link-abbreviated" href="http://www.trnsys.org/community">www.trnsys.org/community</a> to join the forum,
      browse previous questions and responses, and post new topics. <br>
    </p>
    <p>  If you signed up for the forum and never received your
      confirmation, please send me a direct email and I can help you get
      logged in. <br>
    </p>
    <p>kind regards,</p>
    <p> David</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 5/17/2024 2:52 AM, Mohammadamin
      Faghihi via TRNSYS-users wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:46bf29b7f8094fd08688232d10c87892@kth.se">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator"
        content="Microsoft Word 15 (filtered medium)">
      <style>@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}div.WordSection1
        {page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hi,<br>
            <br>
            I want to design an MPC controller for an energy system
            which is modeled in TRNSYS 18. I used Type 155 component to
            call a MATLAB script which includes an MPC algorithm.<br>
            In the MPC algorithm, I want to use the TRNSYS model as the
            prediction model in the optimization loop, so I want to call
            the TRNSYS model from MATLAB and run it for the next 24
            hours with the prescribed initial conditions .
            <br>
            How can I do it? I could not prescribe initial conditions of
            TRNSYS components from MATLAB.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Buy the way, is there
            any better way to apply an MPC controller on a system
            simulated in TRNSYS?<br>
            <br>
            Thank you very much in advance,<br>
            <br>
            Best regards,<br>
            Amin<o:p></o:p></span></p>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></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 System Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
<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>