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

Re: [TRNSYS-users] Compiling TRNDll.dll



Thanks Nordine,

It is a slow and painful process. We would be happy to help you through a webcam and screen cast to see if we can solve some of the errors.

 

Cheers,

Jeremy

 

 

Jeremy Osborne

Director

 

Energy Analysis & Engineering – Enabling innovation for a sustainable future

T: +61 2 8003 4323 | M: +61 4 000 63327 | E: jeremy.osborne@energyae.com

608 Harris St Sydney NSW 2007 Australia | http://www.energyae.com

 

Join our Online TRNSYS course at https://learn.trnsys.guru  


 

From: TRNSYS-users [mailto:trnsys-users-bounces@lists.onebuilding.org] On Behalf Of Nordine Belaissaoui via TRNSYS-users
Sent: Tuesday, 31 May 2016 8:15 AM
To: TRNSYS users mailing list at OneBuilding.org <trnsys-users@lists.onebuilding.org>
Subject: [TRNSYS-users] Compiling TRNDll.dll

 

Dear TRNSys community,

 

I am running a parametric study using a logical unit for the weather file assigned to my .dck.

It works fine.

However, I am limited to a maximum of 300 file links.

This is due to the initial value of 300 for the nMaxFiles in the TrnsysConstants.f90 file in the source code.

I did change this value to increase the maximum external file link allowed to be run in a .dck.

I now have to rebuild the dynamic link of the library by recompiling the TRNDLL used in TRNSys Exe folder.

I followed the instructions in TRNSys volume 08 e.g: "the programmer's guide" for rebuilding a TRNDll with vs2003 but I can't go through it without errors.

 

Would anyone have an other method to propose me or could rebuild a TRNDll file for me (integrating a nMaxFiles = 10000)?

 

Thanks for your help


Cordialement, Best regards,

 

Nordine Belaissaoui 
--
DualSun - Product Manager, M.Sc Energy Engineering
Phone : +33 4 13 41 53 71

Mobile : +33 7 68 89 26 16
Email : nordine.belaissaoui@dualsun.fr

Address : Pôle de l'Etoile - 38 rue Frédéric Joliot Curie - F 13451 Marseille Cedex 13
www.dualsun.fr | Page Facebook | Fil Twitter  | Profil LinkedIn  | Page Google+

 

2016-05-30 21:44 GMT+02:00 Christian Herløv Krintel <trnsys-users@lists.onebuilding.org>:

Dear all,
I have a parametric table with a list of logical units, which I use to choose different weather files for my simulation.
Some of the runs are omitted due to errors. It seems that these errors are caused by the number formatting.

For instance when opening the first .dck file, e.g. TEST1.dck, it says something like

ASSIGN "Weather\file.tm2" 2.0100E+02

Even though I just put "210" in the parametric table. The error disappears when I change the number into "210" and run the .dck file again.
How can I circumvent this propblem?

Thank you
Best regards
Christian Krintel
Technical University of Denmark
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org