[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Fwd: Issue in creating new component



Hi David,
I have done modifications in the Trnsysfunctions.f90, Trnsysdata.f90 and Trnsysfunctions.f90 files and generated *.mod files using g95 compiler. The new *.mod files are able to generate *.dll file for new component type. Now I am going to try the new component type in the Trnsys studio and will send you the modified *.mod files, if it works perfectly, to replace the old ones on the Trnsys website. 

Thanks and regards,
Dr. Ramkishore Singh
Department of Physics
Durban University of Technology
Durban, South Africa  

On 9 July 2015 at 18:15, David BRADLEY <d.bradley@tess-inc.com> wrote:
Dr Singh,
  That tutorial was written quite some time ago for Trnsys16 and I think it may require some significant expertise with the g95 compiler in order to compile Types for Trnsys17 successfully with it. The error you are getting suggests that your g95 compile project cannot understand the definition of the "getSimulationTime" function that Types typically use to obtain the simulation time. The definition of the function is contained in one of the *.mod files that is created when the TRNDll.dll is compiled. However *.mod files are compiler specific; a *.mod file compiled by one compiler cannot be accessed by a different compiler.
regards,
 David



On 07/09/2015 02:48, R.K. Singh wrote:
Hi everyone,
I am a TRNSYS17 user and trying to build a new component. I am using fortran g95 compiler as per the instructions available on the TRNSYS website. When I compiled fortran file I encountered an error: function, 'getsimulationtime' at (1) has no implicit type. I will appreciate if any one can help me to resolve the issue.

Thanks,
Dr Ramkishore Singh
Durban University of Technology,
Durban, South Africa



_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@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@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com