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

Re: [TRNSYS-users] Coding infiltrations in FORTRAN



José Javier,

  I would suggest referring to the 07-Programmer's Guide manual. It covers how to write new Types. If you are using Trnsys18 you'll use a tool called the TypeStudio, which provides a built-in fortran compiler. If you are using an earlier Trnsys version then you'll need a 3rd party fortran compiler.

  As a side note, you might look through existing components before writing your own Type for infiltration as there are a few that already exist. Have a look at Types 75, and 149 in the standard library or at Types 571, 960, and 932 in the TESS Utility library. You can also use either TRNFlow or CONTAM (Type97).

kind regards,

 David


On 06/25/2021 02:41, RUBIO RUBIO, JOSÉ JAVIER via TRNSYS-users wrote:

Dear users,

 

I have real energetic demand data from a warehouse I’m creating in TRNSYS and I want to get approximately the same values in the simulation with TRNSYS. For this purpose I have created a new type which is going to calculate the infiltration rate which is needed in each timestep to get the same energetic demand as in reality (Energetic demand due to infiltrations = Real energetic demand – Simulated energetic demand). Anyone has some idea of how coding it in FORTRAN?

 

I hope I have explained myself well.

 

Thanks,

 

Regards.

 

Jose Javier Rubio Rubio.

 


_______________________________________________
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
3 North Pinckney Street - suite 202
Madison, WI  53703 USA

P:+1.608.274.2577
d.bradley@tess-inc.com

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