<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font size="3">Hi TRNSYS-users,</font><div><font size="3"><br></font></div><div><font size="3">I built a model in TRNSYS but when I run the simulation it doesn't work and I keep on getting the following error message:</font></div><div><font size="3"><br></font></div><div><b><font size="3">TRNSYS Message    105 : A TYPE was called in the TRNSYS input file but was either not linked into trndll.dll or was not found in an external dll. A dummy subroutine was called in its place. Please link the TYPE or remove it from the input file  Reported information  :  Type399 could not be located in either the trndll.dll or in an external dll. Please relink theTRNDll.dll including this Type or make sure that an external DLL in the \UserLib\DebugDLLs and \UserLib\ReleaseDLLs folders contain the Type.</font></b></div><div><b><font size="3"><br></font></b></div><div><font size="3">The component 399 models phase change materials (PCM) and it's not included in the standard TRNSYS libraries.</font></div><div><font size="3">I consulted some previous discussion related to this topic and I did this:</font></div><div><font size="3">- I put the .dll file in the <span style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);">\UserLib\DebugDLLs and \UserLib\ReleaseDLLs folders</span></font></div><div><font size="3"><span style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);">- I put the </span><span style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);">sourcecode file .f90 in the TRNSYS folder Sourcecode/types</span></font></div><div><font size="3"><span style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);">But it doesn't work either.</span></font></div><div><font size="3"><span style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);"><br></span></font></div><div><font color="#222222" size="3"><span style="background-color: rgb(255, 255, 255);">I checked the .log file as well and there is written:</span></font></div><div><font color="#222222" size="3"><span style="background-color: rgb(255, 255, 255);"><b><br></b></span></font></div><div><font color="#222222" size="3"><span style="background-color: rgb(255, 255, 255);"><div style="font-weight: bold;">Notice at time        :         0.000000</div><div style="font-weight: bold;">    Generated by Unit     : Not applicable or not available</div><div style="font-weight: bold;">    Generated by Type     : Not applicable or not available</div><div style="font-weight: bold;">    Message               : "Type399.dll" was found but did not contain any components from the input file.</div><div><br></div><div>So I think that there might be a problem in the deck file.</div></span></font></div><div><font color="#222222" size="3"><span style="background-color: rgb(255, 255, 255);"><br></span></font></div><div><font size="3"><span style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);">Please, do you have any suggestions about how to fix the error?</span></font></div><div><font size="3"><span style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);"><br></span></font></div><div><font size="3"><span style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);">Best regards,</span></font></div><div><font size="3"><span style="color: rgb(34, 34, 34); background-color: rgb(255, 255, 255);">Fabio</span></font></div>                                        </div></body>
</html>