<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Toni,</p>
    <p> Type83 will compute the derivative of an input that you give it.
      Send your storage temperature to Type83 and watch the derivative;
      if it gets too small then you can increase the compressor speed.
      There is also a PID controller (Type23) whose gain constants you
      can tune to get your compressor to respond to the changing tank
      temperature.</p>
    <p>kind regards,</p>
    <p> David</p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 11/29/2022 08:55, Toni Calabrese via
      TRNSYS-users wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:GV0P278MB07347ACDDAE4C42227D77439E9129@GV0P278MB0734.CHEP278.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
      <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:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Arial",sans-serif;
        mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0065A3;
        text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#6E1C50;
        text-decoration:underline;}span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:windowtext;}.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Arial",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 style="font-size:10.0pt" lang="EN-US">Dear
            Trnsys users,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">within
            a project we need to control the compressor speed of a heat
            pump for the heating of a thermal storage. The basic idea
            would be to adapt the compressor speed (from 0 to 100%)
            based on a gradient temperature (Tt2 – Tt1) in the storage.
            If the temperature of the storage is increasing too slowly,
            compressor speed needs to be increased and if the
            temperature is increasing too fast, compressor speed needs
            to be decreased. Which is the easiest way to implement this
            in Trnsys? Which Types could we use?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US">Thanks
            a lot and have a nice evening<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:10.0pt" lang="EN-US"><o:p> </o:p></span></p>
        <div class="MsoNormal" style="text-align:center" align="center"><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">
            <hr width="100%" size="2" align="center">
          </span></div>
        <p class="MsoNormal" style="margin-top:4.0pt"><b><span
              style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">Toni
              Calabrese</span></b><span
            style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">,
            MSc.</span><span
            style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">Wissenschaftlicher
            Projektleiter<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><a
              href="mailto:toni.calabrese@spf.ch" moz-do-not-send="true"><span
                style="color:#0065A3">toni.calabrese@spf.ch</span></a> |</span><span
style="font-size:10.0pt;color:#8C195F;mso-fareast-language:DE-CH">
          </span><span
            style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><a
              href="mailto:toni.calabrese@ost.ch" moz-do-not-send="true"><span
                style="color:#0065A3">toni.calabrese@ost.ch</span></a></span><span
style="font-size:10.0pt;color:#8C195F;mso-fareast-language:DE-CH"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-family:"Calibri",sans-serif;color:#8C195F;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">T
            +41 58 257 4827<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH">SPF
            Institut für Solartechnik<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH">OST
            – Ostschweizer Fachhochschule<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH">Oberseestr.
            10 | CH-8640 Rapperswil | Switzerland |
          </span><span style="color:red;mso-fareast-language:DE-CH"><a
              href="http://www.spf.ch/" moz-do-not-send="true"><span
                style="font-size:10.0pt;color:red;text-decoration:none">www.spf.ch</span></a></span><span
style="font-size:10.0pt;color:#002060;mso-fareast-language:DE-CH"> |
          </span><span style="color:red;mso-fareast-language:DE-CH"><a
              href="http://www.ost.ch/" moz-do-not-send="true"><span
                style="font-size:10.0pt;color:red;text-decoration:none">www.ost.ch</span></a></span><span
            style="mso-fareast-language:DE-CH"><o:p></o:p></span></p>
        <div class="MsoNormal" style="text-align:center" align="center"><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE-CH">
            <hr width="100%" size="2" align="center">
          </span></div>
        <p class="MsoNormal"><o:p> </o:p></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>