Max,<br> It is possible to add functions to the TRNSYS kernel but you then have to use a Fortran compiler to recompile the code and relink it to form a new, modified TRNDll.dll. The kernel is not compiled on the fly when a simulation is run so changing the fortran code and saving it in the kernel directory doesn't have any affect.<br>Kind regards,<br> David<br>
<br>
<br>
<br>
<br>
Technical Support Team<br>Thermal Energy System Specialists, LLC<br>2916 Marketplace Dr, Suite 104<br>Madison, WI 53719<br>techsupport@tess-inc.com
<br>
<br>----- Original Message -----
<br>
Subject: [TRNSYS-users] kernel functions
<br>
From: "Max Werlein" <maxwithhat@hotmail.com>
<br>
Date: Thu, May 8, 2008 6:18
<br>
<table><tbody><tr><td width="1" bgcolor="#f1c352">
<br></td><td valign="top">
<div class="PrivateMsgDiv"><!-- begin sanitized html -->
<style>.hmmessage P
.bodyclass {
margin:0px;
padding:0px
}
body.hmmessage
.bodyclass {
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}</style>
<div class="bodyclass">
<div style="text-align: left;">Dear List,<br>
<br>I was wondering if it is possible to add fuctions to the Transys kernel (for exsample a function like DIFFERENTIAL_EQN(TIME,AA,BB,TI,TF,TBAR) ) which could be called later in a Type for exsample. I guess it is possible, but I tried to Modifiy the differential equatuion solver, then saved the source code in the section Trnsys16_1\SourceCode\Kernel but somhow i cannot  use the function in my objects. I actually think I have to compile the code somhow but I have now idea how.<br>I'd be glad if somone could help me, It would simplify my task alot<br>
<br>Thanks<br>max<br></div>
<br>
<hr>Express yourself instantly with MSN Messenger! <a href="http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/" target="_new">MSN Messenger</a></div><!-- end sanitized html -->
<hr size="1" noshade="noshade">
<pre>_______________________________________________<br>TRNSYS-users mailing list<br><a href="javascript:bodyCreateMail('TRNSYS-users%40engr.wisc.edu')">TRNSYS-users@engr.wisc.edu</a>
<br><a href="https://www.cae.wisc.edu/mailman/listinfo/trnsys-users" target="_blank">https://www.cae.wisc.edu/mailman/listinfo/trnsys-users</a></pre></div></td></tr></tbody></table>