<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Mattias,<br>
The tools you need are definitely there! first off, yes, there are
two components that can store the value of an input and keep it for
one or more time steps before "releasing" it. Utility: Input Value
Recall: Type93 and Controllers Library (TESS): Delayed Inputs:
Type661)<br>
<br>
Second, you may already have noted that some of the TESS HVAC
Library heat pump components allow you to specify that there is more
than one identical heat pump in parallel among the parameters and to
control how many of them are currently on among the inputs. Type927
is one of these.<br>
<br>
I would recommend that you look at the components available in the
TESS Controllers library; you may find a staged controller in that
library that does what you want without having to write your own
controller model.<br>
kind regards,<br>
David<br>
<br>
<br>
<div class="moz-cite-prefix">On 4/10/2015 9:02 AM, Mattias Ericsson
wrote:<br>
</div>
<blockquote
cite="mid:777D646A442160489D76D7417D296031602C4D4B@Varmex2011"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
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.E-postmall17
{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;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
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">Dear TRNSYS users!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I am running a Type 927
water-water heat pump with a borehole field as source. The
heat pump heats a storage tank which in turn supplies
several secondary heating systems.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Now I want to model 4
identical heat pumps and determine the number of heat pumps
on depending on the return temperature from the storage tank
to the heat pump. If the temperature is below a certain set
point I want to start another heat pump and if the
temperature is too high I want to switch one off. <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I tried to write a short
code in the w-interpreter but my problem is that the heat
pump component can’t tell another component how many heat
pumps that are already running. Therefore the option “start
one more heat pump” is not available. Is it possible to let
another component store the input variable to Type 927 so it
can be available in the next time step? Or do anyone have
any idea on how to achieve what I want to do?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Best regards<o:p></o:p></span></p>
<p class="MsoNormal"><i><span style="mso-fareast-language:SV"
lang="EN-GB">Mattias Ericsson<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span
style="color:#1F497D;mso-fareast-language:SV" lang="EN-GB"><o:p> </o:p></span></i></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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>
<br>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
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>