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

Re: [TRNSYS-users] Modifying component



Mohamed,

 The source code not only needs to be edited but then needs to be recompiled into a dll. If you are using Trnsys18 then you could take Type1231, modify its source code (including giving it a new Type number) and recompile it using the TypeStudio. You'd then need to copy the Type1231 proformas and edit them as well so that they refer to the new Type number. The reason you have to give it a new Type number is that when you'll have to compile the Type into its own dll; you can't patch it into the existing TESS HVAC library dll. If you leave the number unchanged then TRNSYS is going to find two instances of Type1231 in dlls and will load the first one that it finds, not necessarily your version.

kind regards,

 David


On 03/02/2020 05:13, mohamed sarmouk via TRNSYS-users wrote:
Hello,
As i encountred problems with type 1231, i tried to modify the program on Fortran and in proforma (files Tab --> code source) i indicated the new code but nothing changes, even when i delete the code the component still works as default (i updated the project, refreshed the tree and closed the program and reopened it).
What should i do to modify a component ?
Is there more steps that i'm missing ?

Thank you.
M.SARMOUK

_______________________________________________
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
F:+1.608.278.1475
d.bradley@tess-inc.com

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