<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Duygu,</p>
<p>The FORTRAN source code for the model you wrote tells the TRNSYS engine how many parameters, inputs, outputs etc it needs based on a call back to the TRNSYS engine. It is usually of the form:</p>
<p>Call SetNumberofInputs;</p>
<p>but could be different depending on which source code format you are using. </p>
<p>The number of inputs set in the source code must match the number of inputs that are specified in the proforma of that model in the Studio or you generate the error that you are seeing. </p>
<p>See attached.</p>
<p> </p>
<p>Jeff</p>
<p> </p>
<div>
<pre>---<br />Jeff Thornton
President - TESS LLC
3 N. Pinckney Street, Suite 202, Madison WI USA 53703
Office: (608) 274-2577 Fax: (608) 278-1475
www.tess-inc.com
E-Mail: thornton@tess-inc.com
</pre>
</div>
<p>On 05/20/2020 12:49 pm, Duygu Kemeriz via TRNSYS-users wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;">Hi Jeff;</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;">Thank you for your reply but i do not understand exactly. I added just one value as an input calling electrolyzer current and while connecting other component,i connetted just once. Will i change it from the code i created?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;"> </div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: #000000;">Best Kindly</div>
<div>
<div id="appendonsend"> </div>
<div style="font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;"> </div>
<hr style="display: inline-block; width: 98%;" />
<div id="divRplyFwdMsg" dir="ltr"><span style="color: #000000; font-family: Calibri,sans-serif; font-size: 11pt;"><strong>Gönderen:</strong> Jeff Thornton via TRNSYS-users <trnsys-users@lists.onebuilding.org> adına TRNSYS-users <trnsys-users-bounces@lists.onebuilding.org><br /><strong>Gönderildi:</strong> 20 Mayıs 2020 Çarşamba 20:12<br /><strong>Kime:</strong> TRNSYS users mailing list at OneBuilding.org <trnsys-users@lists.onebuilding.org><br /><strong>Bilgi:</strong> Jeff Thornton <thornton@tess-inc.com><br /><strong>Konu:</strong> Re: [TRNSYS-users] trnsys adding component</span>
<div> </div>
</div>
<div>
<p>Duygu,</p>
<p>The message is telling you exactly what the problem is. The proforma that is being used to provide the information to TRNSYS has only one input. The source code for the component has told TRNSYS that it requires two inputs. One of these is wrong and should be fixed.</p>
<p> </p>
<p>Jeff</p>
<p> </p>
<div>
<pre>---<br />Jeff Thornton
President - TESS LLC
3 N. Pinckney Street, Suite 202, Madison WI USA 53703
Office: (608) 274-2577 Fax: (608) 278-1475
www.tess-inc.com
E-Mail: thornton@tess-inc.com
</pre>
</div>
<p>On 05/20/2020 11:52 am, Duygu Kemeriz via TRNSYS-users wrote:</p>
<blockquote style="padding-left: 5px; border-left: #1010ff 2px solid; margin-left: 5px;">
<div style="font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;">Hi;</div>
<div style="font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;"> </div>
<div style="font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;">I have added component and i try to run it. But this gives an error. Do you think i made a mistake in adding the component or am i having a connection problem? Fortran code is not seem to error. Could you help me,please? You can see an attachment the error.</div>
<div style="font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;"> </div>
<div style="font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;">Best Kindly</div>
<div style="font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;"> </div>
<div style="font-family: Calibri,Helvetica,sans-serif; font-size: 12pt; color: #000000;">Duygu</div>
<br />
<pre>_______________________________________________
TRNSYS-users mailing list
<a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
</div>
</div>
<!-- html ignored --><br />
<pre>_______________________________________________
TRNSYS-users mailing list
<a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
</body></html>