<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Dear Hamed,</p>
<p> </p>
<p>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.</p>
<p> </p>
<p>Best regards,</p>
<p> </p>
<p>Matt Duffy</p>
<p> </p>
<p> </p>
<p> </p>
<p>On 2013-02-05 19:03, Hamed Riazi wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>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
<a href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
</blockquote>
</body></html>