<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
Thanks for answers. Just to understand the process, I tested with a
simple example:<br>
<br>
* 1 zone in the Type 56, I changed the input type for occupant
internal gains to "Input "<br>
* in type 155:<br>
o I read a fictive daily schedule which represents the
number of present per hour (attached file: profil.txt), then I did a
loop: for i=1:24 { trnoutputs(i)=y(i) } (I put "calling mode = 10")<br>
* In simulation studio I connect the output from Type 155 to the
input for Type 56.<br>
* I print the type 155 outputs (attached file: Type25a.txt).The file
contains 24 values equal to 1 (the first is 0). These values does
not match to the given schedule.<br>
Could you help me to understand this result?<br>
Thanks,<br>
Sihem<br>
PS: As a reminder, I use stochastic models, in matlab to calculate
the annual states of occupants/hour. I need to use this output as an
input in trnsys for occupancy gains calculation. <br>
<br>
<br>
<br>
<div class="moz-signature">
<style type="text/css">
<!--
a.type1 { color: #EE7F00; }
a.type1:hover { color: #EE7F00;}
-->
</style><!--<TABLE WIDTH=715 BORDER=0 CELLPADDING=0 CELLSPACING=0>--><font
font="" size="1" color="#666666" face="DaxOT">
<!--</table>--> </font></div>
<br>
Le 10/01/2014 18:20, "> Adam Rysanek (par Internet, dépôt
<a class="moz-txt-link-abbreviated" href="mailto:trnsys-users-bounces@cae.wisc.edu">trnsys-users-bounces@cae.wisc.edu</a>)" a écrit :
<blockquote cite="mid:CEF56983.2CCDC%25amr63@cam.ac.uk" type="cite">
<div>Dear Sihem,</div>
<div><br>
</div>
<div>I have had the exact same scenario in the past (stochastic
occupancy from Type 155 for simulation in Type 56).</div>
<div><br>
</div>
<div>Step 1: In TRNBUILD, for each building zone (or for all
zones), you change the input type for occupant internal gains
from "Constant" or "Schedule" to "Input". This assigns a new
input variable to the Type 56 component in TRNSYS.</div>
<div>Step 2: In Simulation Studio, connect the corresponding
output from Type 155 to the new input you created for Type 56.</div>
<div>Step 3: Repeat for all other required zones.</div>
<div><br>
</div>
<div>As I wrote this, I just saw David Bradley's response, which
is helpful.</div>
<div>Regards,</div>
<div>Adam</div>
<div><br>
</div>
<div>
<div>
<div><font class="Apple-style-span" color="#000000"><font
class="Apple-style-span" face="Calibri">------</font></font></div>
<div><font class="Apple-style-span" color="#000000"><font
class="Apple-style-span" face="Calibri"><span
class="Apple-style-span" style="font-size: 14px;"><br>
</span></font></font></div>
<div><font class="Apple-style-span" color="#000000"><font
class="Apple-style-span" face="Calibri"><span
class="Apple-style-span" style="font-size: 14px;">Adam
Rysanek, BASc, MScE, PhD</span></font></font></div>
<div><font class="Apple-style-span" color="#000000"><font
class="Apple-style-span" face="Calibri"><span
class="Apple-style-span" style="font-size: 14px;">Research
Associate</span></font></font></div>
<div><font class="Apple-style-span" color="#000000"><font
class="Apple-style-span" face="Calibri"><span
class="Apple-style-span" style="font-size: 14px;"><br>
</span></font></font></div>
<div><font class="Apple-style-span" color="#000000"><font
class="Apple-style-span" face="Calibri"><span
class="Apple-style-span" style="font-size: 14px;">Energy
Efficient Cities initiative | EECi</span></font></font></div>
<div>Department of Engineering</div>
<div>Trumpington Street</div>
<div>University of Cambridge</div>
<div>Cambridge CB2 1PZ</div>
<div>United Kingdom</div>
<div><br>
</div>
<div>Mobile: +44 750 332 3100</div>
<div>Office: +44 1223 766 968</div>
<div>E-mail: <a class="moz-txt-link-abbreviated" href="mailto:amr63@cam.ac.uk">amr63@cam.ac.uk</a></div>
</div>
</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family: Calibri; font-size: 11pt; text-align:
left; color: black; border-width: 1pt medium medium;
border-style: solid none none; border-color: rgb(181, 196,
223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in
0in;"><span style="font-weight: bold;">From: </span>
TASCA-GUERNOUTI Sihem - CEREMA/DTerOuest/DVT/BATEN <<a
moz-do-not-send="true"
href="mailto:Sihem.Tasca-guernouti@developpement-durable.gouv.fr">Sihem.Tasca-guernouti@developpement-durable.gouv.fr</a>><br>
<span style="font-weight: bold;">Organization: </span>
CEREMA/DTerOuest/DVT/BATEN<br>
<span style="font-weight: bold;">Reply-To: </span> "TRNSYS
users mailing list at the Solar Energy Lab, UW-Madison" <<a
moz-do-not-send="true"
href="mailto:trnsys-users@cae.wisc.edu">trnsys-users@cae.wisc.edu</a>><br>
<span style="font-weight: bold;">Date: </span> Fri, 10 Jan
2014 18:00:16 +0100<br>
<span style="font-weight: bold;">To: </span> <<a
moz-do-not-send="true"
href="mailto:trnsys-users@cae.wisc.edu">trnsys-users@cae.wisc.edu</a>><br>
<span style="font-weight: bold;">Subject: </span>
[TRNSYS-users] Type 155-yearly schedules<br>
</div>
<div><br>
</div>
<div>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<div bgcolor="#ffffff" text="#000000"> Hi, <br>
I'm modelling a building using type 56 and the occupancy
schedule with matlab (stochastic model for occupancy). The
occupancy vary through the year for each zone and each
occupant. <br>
<span id="result_box" class="" lang="en"><span class="hps">I
get</span> <span class="hps">the number of</span> <span
class="hps">occupants</span> <span class="hps">per zone</span>
<span class="hps">from TRNSYS</span> <span class="hps">to
calculate the probabilities</span> <span class="hps">of</span>
<span class="hps">presence</span><span> in Type 155.</span>
The yearly occupancy schedule (8760 values) <span
class="hps">is an output</span> <span class="hps">of</span>
<span class="hps"></span><span class="hps">Type</span> <span
class="hps">155</span>. <span class="hps"></span><span
class="hps"></span> <span class="hps"></span></span>Is
there any way for including this schedule in Trsnys as an
input?<br>
<tt>Thanks for any advice you can give. <br>
Best regards<br>
Sihem <br>
</tt>
<div class="moz-signature">-- <br>
<style type="text/css">
<!--
a.type1 { color: #EE7F00; }
a.type1:hover { color: #EE7F00;}
-->
</style><!--<TABLE WIDTH=715 BORDER=0 CELLPADDING=0 CELLSPACING=0>--><font
font="" size="1" color="#666666" face="DaxOT"><font
font="" size="1" color="#666666" face="DaxOT"> <br>
</font>
<!--</table>--> </font></div>
</div>
</div>
_______________________________________________
TRNSYS-users mailing list
<a moz-do-not-send="true"
href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a moz-do-not-send="true"
href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</span>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
</blockquote>
</body>
</html>