[TRNSYS-users] Add trnlib library component "type 608" to Trnsys15

David Bradley bradley at tess-inc.com
Mon Apr 13 08:09:12 PDT 2009


Dear Ankur,
 It sounds from the steps that you describe as though you are doing the 
correct thing. I suspect the problem may be that the *.obj filesprovided 
for Type56 are compiled with a later version of that compiler (Compaq 
Visual Fortran instead of Digital Visual Fortran). If this is the case, 
you may be able to recompile the trnlib.dll only if you remove the 
reference to the Type56.obj files from the link.dvf file.

If you are using the Digital Visual Fortran compiler, you may be able to 
do your recompiling and relinking from the compiler's graphical 
interface instead of from the command line. There should be a 
..\Workspace directory in your ..\Trnsys15 folder. That workspace is set 
up for CVF but DVF may be able to open it.

Kind regards,
 David


ankur khandelwal wrote:
>
> Dear trnsys users,
>  
> I am using trnsys 15. I want to add a component from user developed 
> component library trnlib. Type 608- evaporative cooler code (.for) is 
> available from tnsys website. I have followed the procedure written in 
> the manual under "*Using Common Fortran Compilers with TRNSYS- *From 
> the Command Line**". But it is giving linking error. Trnsys error 
> 105."TRNSYS Message    105 : A TYPE was called in the TRNSYS input 
> file but was either not linked into trndll.dll or was not found in 
> an external dll.  A dummy subroutine was called in its place. 
> Please link the TYPE or remove it from the input file  Reported 
> information  : Not available"
>  
> Procedure I followed:
> -First I generate .obj file from digital visual fortran compiler 6.0
> -I edit the link.dvf file and add the statement to include type608.obj
> -I rebuild trnsys to generate all .obj files.
> -I linked file from dos prompt by "link @link.dvf"
> -Then i create a component with input, output and parameter required 
> fro the type 608.
> -I saved the component in HVAC folder under IISibat/data/HVAC folders.
> -Now I was able to see my component in IISiBat, i add in my project 
> from direct access menu.
> -As i run the project it showed the error:105
>  
> Weather any body have Idea how to add a trnlib component in trnsys15? 
> weather i have followed the right procedure? Weather the procedure 
> define in "*Using Common Fortran Compilers with TRNSYS- *From the 
> Command Line**" can be followed to add trnlib component.
>  
> With regards,
> Ankur Khandelwal,
> M.Tech. (Thermal Engineering)
> IIT Delhi
> 9899210978
> mnitankur at gmail.com <mailto:mnitankur at gmail.com>
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
>   

-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      22 N. Carroll Street - Suite 370 
Partner                            Madison, WI 53703 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: bradley at tess-inc.com 
Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

***********************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20090413/025086ea/attachment-0001.htm>


More information about the TRNSYS-users mailing list