<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>José Javier Rubio Rubio -</p>
<p>Your code sets the outputs to 0!</p>
<p>Call SetOutputValue(1, 0.d0) ! Air infiltrations mass rate<br />Call SetOutputValue(2, 0.d0) ! Amount of goods stored</p>
<p>Regards,</p>
<p>Tim</p>
<div id="signature">---<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">---------------------------<br />Timothy P McDowell<br />Executive Vice President<br />Thermal Energy System Specialists, LLC<br />3 N Pinckney St, Suite 202<br />Madison, WI 53703<br />Phone: 608-274-2577<br />Cell: 608-225-5250</div>
</div>
<p><br /></p>
<p id="reply-intro">On 2021-12-14 03:37, RUBIO RUBIO wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<style type="text/css">@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}

#replybody1 p.v1MsoNormal, #replybody1 li.v1MsoNormal, #replybody1 div.v1MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
#replybody1 .v1MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
#replybody1 div.v1WordSection1
        {page: unset;}</style>
<div lang="ES" style="word-wrap: break-word;">
<div class="v1WordSection1">
<p class="v1MsoNormal">Dear all,</p>
<p class="v1MsoNormal"> </p>
<p class="v1MsoNormal"><span>I have created and coded a new Type through the integrated tool of FORTRAN in TRNSYS 18 whose purpose is very simple because it is only to do a simple mathematical operation. Even though it compiles properly, when I start a simulation in TRNSYS, the output from the new Type is zero. I have already checked inputs, code and everything but I can figure it out. Anyone might help? I coded a new type in the same way some time ago and it worked perfectly but this time it is impossible. Attached you will find the .f90 for those who want to take a look at the code.</span></p>
<p class="v1MsoNormal"><span> </span></p>
<p class="v1MsoNormal"><span>Thank you very much in advance,</span></p>
<p class="v1MsoNormal"><span> </span></p>
<p class="v1MsoNormal"><span style="mso-fareast-language: ES;">Best regards,</span></p>
<p class="v1MsoNormal"><span style="mso-fareast-language: ES;"> </span></p>
<p class="v1MsoNormal"><span style="mso-fareast-language: ES;">José Javier Rubio Rubio</span></p>
<p class="v1MsoNormal"> </p>
</div>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />TRNSYS-users mailing list<br /><a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a><br /><a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target="_blank" rel="noopener noreferrer">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a></div>
</blockquote>
</body></html>