[TRNSYS-users] Creating a New Component

David BRADLEY d.bradley at tess-inc.com
Mon Apr 13 11:58:27 PDT 2015


Ali,
   There is no need to create an .exe. Your compiler project should be 
set up to create a .dll containing only your Type. TRNExe.exe calls the 
TRNDll.dll and the TRNDll.dll will call your *.dll. If you are using a 
different Fortran compiler than the Intel compiler then instead of 
getting access to the TRNSYS kernel functions through a USE statement 
(as is done in the Fortran template) you have to import them from the 
TRNDLL using a DLLIMPORT command. The method for using DLLIMPORT will 
depend upon your compiler.
kind regards,
  David


On 4/9/2015 12:01 PM, Ali El-Nashar wrote:
> Dear All
> I am trying to create a new component using the Silverfrost Plato 
> Fortran compiler following the procedure in vol. 01 and 07 of the 
> Trnsys documentation. I was not able to create either the .EXE or .DLL 
> files for my component. Instead, I get the following error message:
> Error 404 – Cannot find definition for MODULE TRNSYSCONTANTS
> I’ll be grateful for any body who can provide me with some guidance.
> Ali El-Nashar
>
>
> _______________________________________________
> 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
22 North Carroll Street - suite 370
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/20150413/00b20de7/attachment.htm>


More information about the TRNSYS-users mailing list