[TRNSYS-users] Make new component in TRNSYS 18

David BRADLEY d.bradley at tess-inc.com
Tue Apr 28 15:17:14 PDT 2020


Lee,

  I am not sure what you mean in your step 7 "No PARAMETER, INPUT, 
OUTPUT value in component??!!?"

  Do you mean that you drag out your component from the Direct Access 
library onto the Assembly Panel, double click it, and all of the values 
are blank (as opposed to having default values shown)?

kind regards,

  David


On 04/26/2020 00:15, 이형석 via TRNSYS-users wrote:
>
> Dear all,
>
>
> I'm trying to make new component in TRNSYS 18, and I refer to 
> programming guide documentation to make the thing.
>
> But there is some problem while doing this..
>
>
> This is my steps to make new component.
>
>
> 1. Make new component in Simulation Studio. And assign the type 
> number(ex : 201).
>
> 2. Click the button 'Export as Fortran', and make fortan file.
>
> 3. Open the Type Studio and click the 'Add the source files' button. 
> and choose the fortran file that I make at step 2.
>
> 4. Copy the whole example 
> script(TRNSYS18\Examples\CompilingTypes\Type201) which models an 
> heater. (It can be alter to other code maybe)
>
> 5. Click the 'Compile Workspace' button in Build menu. Then it shows 
> my compiling is well done.
>
> 6. Come back to Simulation Studio and add my component no. 201.
>
> 7. No PARAMETER, INPUT, OUTPUT value in component??!!?
>
>
> So I set variables manually in 'Variables list', then it works. But I 
> think it's little weird.
>
> I think when I write the codes grammatically correct, my components 
> variable sets change automatically. But it's not.
>
> Is there any wrong in my steps?
>
>
> Best Regards,
>
> Hyeong Seok Lee
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20200428/06030ccd/attachment.htm>


More information about the TRNSYS-users mailing list