<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</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]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi everyone,<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>I found a problem with TYPE568-1:<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>This type requires 16 inputs for mode 3:<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>    ElseIf (mode_eff == 3) Then<o:p></o:p></p>

<p class=MsoNormal>       Call
SetNumberofInputs(10)          
<o:p></o:p></p>

<p class=MsoNormal>       Call
SetInputUnits(16,'DM1')    <o:p></o:p></p>

<p class=MsoNormal>    EndIf<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>However, only 10 are specified in the proforma!<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>So I get this error<o:p></o:p></p>

<p class=MsoNormal>“    TRNSYS Message   
142 : The subroutine has attempted to set the units for the reported input
number, which is beyond the number of inputs specified for the Type.<o:p></o:p></p>

<p class=MsoNormal>    Reported information  : Input # 16
Set to Type: DM1”<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><b><span style='font-size:14.0pt'>I think the 16 should be a
10 in the code (Call SetInputUnits(16,'DM1') ) , right?<o:p></o:p></span></b></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>How can I change this and bring it into the TRNDLL, as it is
a TESS type?<o:p></o:p></p>

<p class=MsoNormal>I found the TESS dlls, but I got no idea how I could open
and rebuild them.<o:p></o:p></p>

<p class=MsoNormal>I can import it as a user component, but there must be a way
to recompile the TESS DLL… ? <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Could anyone please confirm that the source code is
incorrect, or if it’s not the case, provide the solution <span
style='font-family:Wingdings'>J</span> ?<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Best,<o:p></o:p></p>

<p class=MsoNormal>Philip<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><b><span style='color:black'>Philip Horn</span></b><span
style='color:black'><br>
<b>Fraunhofer Center for Sustainable Energy Systems CSE</b><br>
25 First Street</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:black'>Cambridge, MA 02141, U.S.A.<br>
+1 617-575 7250 x139<br>
</span><span style='font-size:8.5pt;font-family:"Arial","sans-serif";
color:black'><a href="mailto:astokes@fraunhofer.org"><span style='color:blue'>phorn@fraunhofer.org</span></a><br>
</span><span style='color:#1F497D'><a href="http://cse.fraunhofer.org/"><span
style='font-size:8.5pt;font-family:"Arial","sans-serif";color:blue'>http://cse.fraunhofer.org/</span></a></span><span
style='font-size:8.5pt;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:black'><br>
The contents of this email and any files or attachments transmitted with it,
unless otherwise indicated, are confidential and/or privileged.  The
recipient may not use this message and any attachment for other than its
intended purpose.<o:p></o:p></span></p>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>