<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Dear all,<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span lang=EN-US>I have a question about the type 62 for coupling
TRNSYS with Excel. I use some user defined Visual Basic functions in my Excel
sheet, which have a high number of parameter input. The parameters are defined
in the worksheet. To speed up I would like to declare those parameters a static
variables in the vba – modul. <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>And now my question: Is there a procedure
call from TRNSYS, which is only called once in the beginning of the simulation?
Because I want to read the parameters from the worksheet into the static
variables only once and not for each time step and iteration call.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;color:navy'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US>Best regards<o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US>Carsten Heinrich <o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
lang=EN-US style='font-size:7.5pt;font-family:"Arial","sans-serif";color:black'>Department
Refrigeration and Cryogenics<br>
Phone   (0351) 40 81 637</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> <br>
</span><span lang=EN-US style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>Fax        (0351) 40 81 635</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> <br>
</span><span lang=EN-US style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>E-Mail    </span><span style='font-size:7.5pt;
font-family:"Arial","sans-serif";color:black'><a
href="mailto:carsten.heinrich@ilkdresden.de"><span lang=EN-US style='color:
blue'>carsten.heinrich@ilkdresden.de</span></a></span><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:black'> </span><span lang=EN-US
style='font-size:7.5pt;font-family:"Arial","sans-serif";color:black'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:7.5pt;color:black'>Institut für Luft-
und Kältetechnik Dresden gGmbH </span><span style='font-size:7.5pt;font-family:
"Arial","sans-serif";color:black'>●</span><span style='font-size:7.5pt;
color:black'> Bertolt-Brecht-Allee 20, 01309 Dresden </span><span
style='font-size:10.0pt;color:black'><br>
</span><span style='font-size:7.5pt;color:black'>Geschäftsführer Dr. rer. nat.
habil. Ralf Herzog</span><span style='font-size:10.0pt;color:black'> </span><span
style='font-size:7.5pt;font-family:"Arial","sans-serif";color:black'>●</span><span
style='font-size:7.5pt;color:black'> Prokurist Prof. Dr.-Ing. Uwe Franzke</span><span
style='font-size:10.0pt;color:black'> <br>
</span><span style='font-size:7.5pt;color:black'>Phone.: 0351/40 81-520</span><span
style='font-size:10.0pt;color:black'> </span><span style='font-size:7.5pt;
font-family:"Arial","sans-serif";color:black'>●</span><span style='font-size:
7.5pt;color:black'> Fax: 0351/40 81-525</span><span style='font-size:10.0pt;
color:black'> </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>●</span><span style='font-size:7.5pt;color:black'> E-Mail: <a
href="mailto:gf@ilkdresden.de"><span style='color:blue'>gf@ilkdresden.de</span></a></span><span
style='font-size:10.0pt;color:black'> </span><span style='font-size:7.5pt;
font-family:"Arial","sans-serif";color:black'>●</span><span style='font-size:
7.5pt;color:black'> Web: </span><span style='color:black'><a
href="http://www.ilkdresden.de/" title="http://www.ilkdresden.de/"><span
style='font-size:7.5pt;color:black'>http://www.ilkdresden.de</span></a></span><span
style='font-size:10.0pt;color:black'> <br>
</span><span style='font-size:7.5pt;color:black'>Commerzbank Dresden</span><span
style='font-size:10.0pt;color:black'> </span><span style='font-size:7.5pt;
font-family:"Arial","sans-serif";color:black'>●</span><span style='font-size:
7.5pt;color:black'> Kto. 8 000 135</span><span style='font-size:10.0pt;
color:black'> </span><span style='font-size:7.5pt;font-family:"Arial","sans-serif";
color:black'>●</span><span style='font-size:7.5pt;color:black'> BLZ 850 400 00</span><span
style='font-size:10.0pt;color:black'> </span><span style='font-size:7.5pt;
font-family:"Arial","sans-serif";color:black'>●</span><span style='font-size:
7.5pt;color:black'> Amtsgericht Dresden HRB 6118 </span><span style='font-size:
7.5pt;font-family:"Arial","sans-serif";color:black'>●</span><span
style='font-size:7.5pt;color:black'> UID-Nr. DE 140 12 88 98</span><o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

</div>

</body>

</html>