<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Jan,<div><br></div><div>I’d use two instances of Type 42.  The first is a single independent variable that takes temperature and returns category.  The second Type 42 would then be a two independent variable that takes category and climate region and returns your table value.</div><div><br></div><div>Jeff <br><br><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On Apr 6, 2022, at 7:43 AM, Böttner, Jan via TRNSYS-users <trnsys-users@lists.onebuilding.org> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr">

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.E-MailFormatvorlage19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></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]-->


<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal">I am trying to implement the VDI 4655 into TRNSYS. Maybe someone knows it and allready used it – then I’d appreciate if you could tell me, how you did it.<o:p></o:p></p>
<p class="MsoNormal">Otherwise it doesn’t really matter what the VDI is about.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My problem is the following:<br>
<br>
I know how to implement a data file, that has time-dependent values and that is read for each timestep (Type 9e).<br>
But what I need is a Type, that just reads values in that can then be accessed.<o:p></o:p></p>
<p class="MsoNormal">I try to explain what I mean exactly.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Depending on the outside temperature, a day is classified into a category (e.g. 3 categories.) Depending on this category, a factor is applied to a formular. Furthermore, the factor is also dependend on a climate region (e.g 15 regions).
<o:p></o:p></p>
<p class="MsoNormal">So that means, i want to insert the Matrix (15*3) into TRNSYS and then, a secific value is chosen, depending on the input variable. E.g. the temperatur is 10°C which means category 2 and the climate region is No. 4 (Input 1 (category):
 2, Input 2 (region) 4). I therfore want the entry X2Y4 of my Matrix as the output.<br>
<br>
Is this even possible? Or do i have to insert that Matrix into the F90 code of a new type?<br>
<br>
Any help is highly appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<br>
Jan Boettner<o:p></o:p></p>
</div>


<span>_______________________________________________</span><br><span>TRNSYS-users mailing list</span><br><span>TRNSYS-users@lists.onebuilding.org</span><br><span>http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</span><br></div></blockquote></div></body></html>