<div>Dear Benoit,<br><br>I think you can accomplish this by having several proformas that refer to the same DLL (component number). You need one common <br>parameter for all the proformas, namely a number to tell the source code which version of the type you want to run in TRNSYS,<br>
otherwise you are free to choose the parameters/inputs/outputs you want for the different versions of the type. For example, if you<br>have a Type 220, you can have Type220a.tmf, Type220b.tmf and so on. In the source code, you will have to reset the numbers of<br>
parameters/inputs/outputs after reading the type version parameter, as these numbers depend on version. Then you can use the type<br>version parameter to do version dependent calculations.<br><br>I think this works best if you can use object-oriented programming techniques, as in C++, otherwise the code can get quite messy.<br>
<br>Kind regards,<br>Knut Erik Enerstvedt<br> <br><font size="2" face="Arial"><span><br>>Dear Trnsys 
users,</span></font></div>
<div><font size="2" face="Arial"><span></span></font> </div>
<div><font size="2" face="Arial"><span>>Creating new 
components, I would like to define successive versions of the same 
type.</span></font></div>
<div><font size="2" face="Arial"><span>>Keeping old versions 
of a type can be useful for compatibility with old 
projects.</span></font></div>
<div><font size="2" face="Arial"><span>>Improving a type 
(for a same physical equipment) can lead to additions of inputs, outputs and 
parameters or modifications in the results.</span></font></div>
<div><font size="2" face="Arial"><span></span></font> </div>
<div><font size="2" face="Arial"><span>>The only solution I 
can see is to create different components, with different type numbers 
but I will be very quickly limited.</span></font></div>
<div><font size="2" face="Arial"><span>>As far as I know, 
only 50 numbers are reserved for the user written components (Type151 to 
200).</span></font></div>
<div><font size="2" face="Arial"><span></span></font> </div>
<div><font size="2" face="Arial"><span>>Is there any other 
solution ? </span></font><font size="2" face="Arial"><span>  </span></font></div>
<div><font size="2" face="Arial"><span></span></font> </div>
<div><font size="2" face="Arial"><span>>Best 
regards</span></font></div>
<div><font size="2" face="Arial"><span></span></font> </div>
<font size="2" face="Arial"><span></span></font><b><span style="font-family: Arial; color: gray; font-size: 10pt;">>Benoît 
COGNE</span></b><span style="font-family: Arial; color: gray; font-size: 10pt;"> <br>>Développement 
Efficacité 
Energétique <br></span>