<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Dear all, <o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white"><br></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">I got a type55 (</span></span><span lang="EN-US">periodic integrator</span><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;
font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;background:white">) output 6¡¯s wrong output.  </span></span><span style="background-color: white; color: rgb(68, 68, 68); font-size: 11.5pt;">I chose type55 to get the sum of the squares of the input to compute the penalty function</span><span class="apple-converted-space" style="font-size: 12pt;"><span lang="EN-US" style="font-size: 11.5pt; color: rgb(68, 68, 68); background-color: white;"> (P71, </span></span><span style="background-color: rgb(255, 255, 255); color: rgb(68, 68, 68); font-size: 15px;"> </span><span style="background-color: rgb(255, 255, 255); color: rgb(68, 68, 68); font-size: 15px;">GENOPT</span><span style="background-color: white; color: rgb(68, 68, 68); font-size: 11.5pt;">user manual)</span><span style="background-color: white; color: rgb(68, 68, 68); font-size: 11.5pt;">. But
I found that the output6 of the type55 is not it should be, while other results,
such as the minimum value and the mean value are right though.</span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white"><br></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">For example, the only one input for the type55 is from 1, 2,
3, 4, 5, 6, ¡­¡­¡­.to 24. The simulation step is 1hr, I want to evaluation the
output6 from 8am to 16pm for everyday. T</span></span><span style="background-color: rgb(255, 255, 255); color: rgb(68, 68, 68); font-size: 15px;">he simulation time from 0 to 24 in the TRNSYS studio.</span><span style="background-color: white; color: rgb(68, 68, 68); font-size: 11.5pt;">The set of the typer55 parameter is as the
following:</span></p><p class="MsoNoSpacing"><span style="background-color: white; color: rgb(68, 68, 68); font-size: 11.5pt;"><br></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:9.0pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Integrate or sum input: -1<o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:9.0pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Relative starting hour for input    7     hr<o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:9.0pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Duration for input  8     hr<o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:9.0pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Cycle repeat time for input   24    hr<o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:9.0pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Reset time for input      24    hr<o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:9.0pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Absolute starting hour for input  0     hr<o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:9.0pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Absolute stopping hour for input       24    hr<o:p></o:p></span></span></p><p class="MsoNoSpacing"><br></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">According to my understand, the output6 of type55 should be:<o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white"><br></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-family: Î¢ÈíÑźÚ, sans-serif; color: rgb(68, 68, 68); background-color: white; background-position: initial initial; background-repeat: initial initial;"><font size="2">For the 8<sup>th</sup> hour: 8*8=64<o:p></o:p></font></span></span></p><p class="MsoNoSpacing" style="text-indent:23.0pt;mso-char-indent-count:2.0"><span class="apple-converted-space"><span lang="EN-US" style="font-family: Î¢ÈíÑźÚ, sans-serif; color: rgb(68, 68, 68); background-color: white; background-position: initial initial; background-repeat: initial initial;"><font size="2">the 9<sup>th</sup>
hour: 8*8+9*9=136<o:p></o:p></font></span></span></p><p class="MsoNoSpacing" style="text-indent:23.0pt;mso-char-indent-count:2.0"><span class="apple-converted-space"><span lang="EN-US" style="font-family: Î¢ÈíÑźÚ, sans-serif; color: rgb(68, 68, 68); background-color: white; background-position: initial initial; background-repeat: initial initial;"><font size="2">the 10<sup>th</sup>
hour: 8*8+9*9+10*10=236<o:p></o:p></font></span></span></p><p class="MsoNoSpacing" style="text-indent:23.0pt;mso-char-indent-count:2.0"><span class="apple-converted-space"><span lang="EN-US" style="font-family: Î¢ÈíÑźÚ, sans-serif; color: rgb(68, 68, 68); background-color: white; background-position: initial initial; background-repeat: initial initial;"><font size="2">¡­¡­¡­¡­¡­¡­.<o:p></o:p></font></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-family: Î¢ÈíÑźÚ, sans-serif; color: rgb(68, 68, 68); background-color: white; background-position: initial initial; background-repeat: initial initial;"><font size="2">until add to 8*8+9*9+10*10+¡­¡­¡­¡­¡­¡­¡­¡­+16*16</font><span style="font-size: 11.5pt;"><o:p></o:p></span></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white"><o:p> </o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">But the output6 of the type55 results was: (from 8<sup>th</sup> to 16<sup>th</sup>
):<o:p></o:p></span></span></p><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="72" style="width:54.0pt;margin-left:4.65pt;border-collapse:collapse;mso-yfti-tbllook:
 1184;mso-padding-alt:0cm 5.4pt 0cm 5.4pt">
 <tbody><tr style="mso-yfti-irow:0;mso-yfti-firstrow:yes;height:13.5pt">
  <td width="72" nowrap="" style="width:54.0pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:13.5pt">
  <p class="MsoNormal" align="right" style="text-align:right;mso-pagination:widow-orphan"><span lang="EN-US" style="font-size: 11pt; font-family: ËÎÌå;">0 <o:p></o:p></span></p>
  </td>
 </tr>
 <tr style="mso-yfti-irow:1;height:13.5pt">
  <td width="72" nowrap="" style="width:54.0pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:13.5pt">
  <p class="MsoNormal" align="right" style="text-align:right;mso-pagination:widow-orphan"><span lang="EN-US" style="font-size: 11pt; font-family: ËÎÌå;">1 <o:p></o:p></span></p>
  </td>
 </tr>
 <tr style="mso-yfti-irow:2;height:13.5pt">
  <td width="72" nowrap="" style="width:54.0pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:13.5pt">
  <p class="MsoNormal" align="right" style="text-align:right;mso-pagination:widow-orphan"><span lang="EN-US" style="font-size: 11pt; font-family: ËÎÌå;">2 <o:p></o:p></span></p>
  </td>
 </tr>
 <tr style="mso-yfti-irow:3;height:13.5pt">
  <td width="72" nowrap="" style="width:54.0pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:13.5pt">
  <p class="MsoNormal" align="right" style="text-align:right;mso-pagination:widow-orphan"><span lang="EN-US" style="font-size: 11pt; font-family: ËÎÌå;">5 <o:p></o:p></span></p>
  </td>
 </tr>
 <tr style="mso-yfti-irow:4;height:13.5pt">
  <td width="72" nowrap="" style="width:54.0pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:13.5pt">
  <p class="MsoNormal" align="right" style="text-align:right;mso-pagination:widow-orphan"><span lang="EN-US" style="font-size: 11pt; font-family: ËÎÌå;">10 <o:p></o:p></span></p>
  </td>
 </tr>
 <tr style="mso-yfti-irow:5;height:13.5pt">
  <td width="72" nowrap="" style="width:54.0pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:13.5pt">
  <p class="MsoNormal" align="right" style="text-align:right;mso-pagination:widow-orphan"><span lang="EN-US" style="font-size: 11pt; font-family: ËÎÌå;">18 <o:p></o:p></span></p>
  </td>
 </tr>
 <tr style="mso-yfti-irow:6;height:13.5pt">
  <td width="72" nowrap="" style="width:54.0pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:13.5pt">
  <p class="MsoNormal" align="right" style="text-align:right;mso-pagination:widow-orphan"><span lang="EN-US" style="font-size: 11pt; font-family: ËÎÌå;">28 <o:p></o:p></span></p>
  </td>
 </tr>
 <tr style="mso-yfti-irow:7;height:13.5pt">
  <td width="72" nowrap="" style="width:54.0pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:13.5pt">
  <p class="MsoNormal" align="right" style="text-align:right;mso-pagination:widow-orphan"><span lang="EN-US" style="font-size: 11pt; font-family: ËÎÌå;">42 <o:p></o:p></span></p>
  </td>
 </tr>
 <tr style="mso-yfti-irow:8;mso-yfti-lastrow:yes;height:13.5pt"><td width="72" nowrap="" style="width:54.0pt;padding:0cm 5.4pt 0cm 5.4pt;
  height:13.5pt"><br></td></tr></tbody></table><br><p class="MsoNoSpacing"><br></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">May anybody help me figure out this problem? I am appreciated
for your reply.<o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white"><br></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white"><br></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">With best regards, <o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white"><br></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white"><br></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Yours sincerely<o:p></o:p></span></span></p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Weiwei<o:p></o:p></span></span></p><p class="MsoNoSpacing">





















































</p><p class="MsoNoSpacing"><span class="apple-converted-space"><span lang="EN-US" style="font-size:11.5pt;font-family:"΢ÈíÑźÚ","sans-serif";color:#444444;
background:white">Chongqing University<o:p></o:p></span></span></p>                                         </div></body>
</html>