[TRNSYS-users] Ynt: trnsys adding component

Jeff Thornton thornton at tess-inc.com
Wed May 20 12:48:47 PDT 2020


 

Duygu, 

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: 

Call SetNumberofInputs; 

but could be different depending on which source code format you are
using. 

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. 

See attached. 

Jeff 

---
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 at tess-inc.com

On 05/20/2020 12:49 pm, Duygu Kemeriz via TRNSYS-users wrote: 

> Hi Jeff; 
> 
> 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? 
> 
> Best Kindly 
> 
> -------------------------
> 
> GÖNDEREN: Jeff Thornton via TRNSYS-users <trnsys-users at lists.onebuilding.org> adına TRNSYS-users <trnsys-users-bounces at lists.onebuilding.org>
> GÖNDERILDI: 20 Mayıs 2020 Çarşamba 20:12
> KIME: TRNSYS users mailing list at OneBuilding.org <trnsys-users at lists.onebuilding.org>
> BILGI: Jeff Thornton <thornton at tess-inc.com>
> KONU: Re: [TRNSYS-users] trnsys adding component 
> 
> Duygu, 
> 
> 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. 
> 
> Jeff 
> 
> ---
> 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 at tess-inc.com
> 
> On 05/20/2020 11:52 am, Duygu Kemeriz via TRNSYS-users wrote: 
> 
>> Hi; 
>> 
>> 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. 
>> 
>> Best Kindly 
>> 
>> Duygu 
>> 
>> _______________________________________________
>> TRNSYS-users mailing list
>> TRNSYS-users at lists.onebuilding.org
>> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org [1]
> 
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org [1]
 

Links:
------
[1]
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20200520/1dbffade/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InputIssue.bmp
Type: image/x-ms-bmp
Size: 1476102 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20200520/1dbffade/attachment-0002.bmp>


More information about the TRNSYS-users mailing list