Aaron -<br /><br />Actually that is not true.  The proforma does not access the dll to cycle the number of inputs/outputs based on the value of a parameter.  <br /><br />From the error message that you sent in your original message I call tell you that TRNSYS is not finding Type203 exported from the dll.  You will need to ask the person that supplied you with the dll to check the code for correct usage of the DLLexport command.<br /><br />Regards,<br /><br />Tim<br /><br /> <br /> <br /> <br />---------------------------------- <br />Timothy McDowell <br />Executive Vice President <br />Thermal Energy System Specialists, LLC <br />22 N. Carroll St, Suite 370 <br />Madison, WI 53703 <br />Phone: 608-274-2577 <br />Fax: 608-278-1475<br /> <br /> <br /> <br /> <!--replyfwdwrap--><div style="background-image: url(http://webmail.fusemail.com/de/r_bg_img.gif);background-position:top;background-repeat:repeat-x;"><strong>----- Original Message -----</strong><br /><str!
 ong>From:</strong> "Aaron J. Danenberg" <danenberg@hartford.edu> <br /><strong>Sent:</strong> Tue, July 12, 2011 15:58<br /><strong>Subject:</strong> RE: [TRNSYS-users] TRNSYS ERROR (dll loaded but not found)<br /><br /><table width="100%" cellspacing="5"><tbody><tr><td><div class="PrivateMsgDiv"><!-- begin sanitized html --> <style type="text/css">
</style><div class="bodyclass"><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Tim,</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you for responding to my question.  I am working on a project with someone working outside of our school.  He told me he has used this type in his simulations.  I have not compiled this type on my machine.  Our group needs to purchase "Visual Numerics IMSL* Fortran Library" to be able to compile his codes.  The component is functional in the TRNSYS Studio.  For example, one of the parameters is "number of nodes", when you change this value, the number of inputs/outputs change.!
   For this to happen the dll must be actively used by TRNSYS, because as I understand it, the proforma does not execute any kind of code.</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">-Aaron</span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span></p><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Timothy McDowell [mailto:mcdowell@tess-inc.com] <br /><b>Sent:</b> Tuesday, July 12, 2011 4:37 PM<br /><b>To:</b> Aaron J. Danen!
 berg<br /><b>Subject:</b> Re: [TRNSYS-users] TRNSYS ERROR (dll loaded 
but not found)</span></p></div><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom:12.0pt">Aaron -<br /><br />The Type203.dll is loaded, but TRNSYS is not finding Type203 exported from that dll.  Make sure that you have the DLLexport command correct in your Type203 code.<br /><br />Tim<br /><br /><br /><br /><br />---------------------------------- <br />Timothy McDowell <br />Executive Vice President <br />Thermal Energy System Specialists, LLC <br />22 N. Carroll St, Suite 370 <br />Madison, WI 53703 <br />Phone: 608-274-2577 <br />Fax: 608-278-1475<br /><br /> </p><div><p class="MsoNormal" style="margin-bottom:12.0pt"><strong>----- Original Message -----</strong><br /><strong>From:</strong> "Aaron J. Danenberg" <danenberg@hartford.edu> <br /><strong>Sent:</strong> Tue, July 12, 2011 15:09<br /><strong>Subject:</strong> [TRNSYS-users] TRNSYS ERROR (dll loaded but not found)</p><table width="100%" cellspacing="5" cellpadding="0!
 " border="0" class="MsoNormalTable" style="width:100.0%"><tbody><tr><td style="padding:.75pt .75pt .75pt .75pt"><div><div><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">I have encountered an error when trying to run a simulation with a user written component.  The list file indicates the Type has been loaded, then later states that the type cannot be found.  See error received below.</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">*** Notice at time        :         0.000000</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">    Generated by Unit     : Not applicable or not available</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"!
 >    Generated by Type     : Not ap
plicable or not available</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">    Message               : "Type203.dll" was found but did not contain any components from the input file.</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">There is a Type 203 in the simulation, and then when it is called, it cannot be found.</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">*** Fatal Error at time   :         0.000000</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">    Generated by Unit     :&nbs!
 p;    2</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">    Generated by Type     :   203</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">    TRNSYS Message    105 : A TYPE was called in the TRNSYS input file but was either not linked into trndll.dll or was not found in an external dll. A dummy subroutine was called in its place. Please link the TYPE or remove it from the input file</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">    Reported information  : Not available</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">The performa uses Type number 203, the dll was written with Type203 on the first li ne of the code.</p><p class="MsoNormal" !
 style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><
p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Courier New";color:blue">SUBROUTINE</span></b><span style="font-size:10.0pt;font-family:"Courier New""> TYPE203 (TIME,XIN,OUT,T,DTDT,PAR,INFO,ICNTRL,*)</span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Courier New""> </span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:10.0pt;font-family:"Courier New"">The dll i stored in the "Release Folder" in the User Lib.  Any ideas on how this is happening?</span></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Aaron J. Danenberg</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-mar!
 gin-bottom-alt:auto">Graduate Research Assistant</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">C andidate for Master of Mechanical Engineering, September 2011</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">University of Hartford</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Dana Hall 103, Research Laboratory 1</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">200 Bloomfield Ave.</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">West Hartford, CT 06117</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">M: 203 - 610 - 2509</p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> </p></div></div><div align="center" class="MsoNormal" style="text-align:center"><hr width="100%" size="1" noshade="yes" align="center" style="color:#A0A0A0" /></div!
 ><pre>
 </pre><pre>
_______________________________________________</pre><pre>
TRNSYS-users mailing list</pre><pre><a href="#" target="_new">TRNSYS-users@cae.wisc.edu</a></pre><pre><a href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target="_new">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a></pre></div></td></tr></tbody></table><p class="MsoNormal"> </p></div></div></div><!-- end sanitized html --></div></td></tr> </tbody></table></div>