[TRNSYS-users] new component

Matt Duffy duffy at tess-inc.com
Wed Feb 6 15:38:57 PST 2013


 

Dear Hamed, 

The TRNSYS Engine needs to know a few things from the
component (non-specialty components) in the simulation: the unit number,
the type number, the number of parameters, the numerical values of the
parameters, the number of inputs, the initial input values, and the
input connections (if applicable). Before the TRNSYS graphical
interface, the TRNSYS Simulation Studio, the users had to manually type
these things in the text-based input file (deck file). Now with the
Studio, all of this default information is contained in the component's
*.tmf proforma, so the Studio can write the input file with all of this
necessary information and the connections between the components. Thus,
a proforma for the component is an excellent and recommended way to
implement the component in a simulation in TRNSYS version 16 or 17. You
can view section 2.3 of the "02-SimulationStudio.pdf" documentation for
more information about creating the *.tmf proforma. The difficult part
for most users is editing the fortran code and creating the external
DLL, but since you have completed that already, this process should be
straight-forward. 

Best regards, 

Matt Duffy 

On 2013-02-05 19:03,
Hamed Riazi wrote: 

> Hi all,
> 
> I'm a bit confused with creating a
new component. I have the fortran code for the new component and have
made the required dll. and have copied the files in the folders
allocated. Do I still need to create a performa using the new component
window in Simulation studio and MANUALLY enter all the variables?
> 
>
Regards;
> Hamed
> 
> P.S. I am using TRNSYS 17
>
_______________________________________________
> TRNSYS-users mailing
list
> TRNSYS-users at cae.wisc.edu
>
https://mailman.cae.wisc.edu/listinfo/trnsys-users
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20130206/d8288876/attachment-0001.htm>


More information about the TRNSYS-users mailing list