[TRNSYS-users] Type 155-yearly schedules

TASCA-GUERNOUTI Sihem - CEREMA/DTerOuest/DVT/BATEN Sihem.Tasca-guernouti at developpement-durable.gouv.fr
Thu Jan 16 10:08:34 PST 2014


Hi,
Thanks for answers. Just to understand the process, I tested with a 
simple example:

     * 1 zone in the Type 56, I changed   the input type for occupant 
internal gains  to "Input "
     * in type 155:
           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")
     * In simulation studio I connect the output from Type 155 to the 
input for Type 56.
* 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.
Could you help me to understand this result?
Thanks,
Sihem
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.




Le 10/01/2014 18:20, "> Adam Rysanek (par Internet, dépôt 
trnsys-users-bounces at cae.wisc.edu)" a écrit :
> Dear Sihem,
>
> I have had the exact same scenario in the past (stochastic occupancy 
> from Type 155 for simulation in Type 56).
>
> 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.
> Step 2: In Simulation Studio, connect the corresponding output from 
> Type 155 to the new input you created for Type 56.
> Step 3: Repeat for all other required zones.
>
> As I wrote this, I just saw David Bradley's response, which is helpful.
> Regards,
> Adam
>
> ------
>
> Adam Rysanek, BASc, MScE, PhD
> Research Associate
>
> Energy Efficient Cities initiative | EECi
> Department of Engineering
> Trumpington Street
> University of Cambridge
> Cambridge CB2 1PZ
> United Kingdom
>
> Mobile: +44 750 332 3100
> Office: +44 1223 766 968
> E-mail: amr63 at cam.ac.uk
>
>
> From: TASCA-GUERNOUTI Sihem - CEREMA/DTerOuest/DVT/BATEN 
> <Sihem.Tasca-guernouti at developpement-durable.gouv.fr 
> <mailto:Sihem.Tasca-guernouti at developpement-durable.gouv.fr>>
> Organization: CEREMA/DTerOuest/DVT/BATEN
> Reply-To: "TRNSYS users mailing list at the Solar Energy Lab, 
> UW-Madison" <trnsys-users at cae.wisc.edu <mailto:trnsys-users at cae.wisc.edu>>
> Date: Fri, 10 Jan 2014 18:00:16 +0100
> To: <trnsys-users at cae.wisc.edu <mailto:trnsys-users at cae.wisc.edu>>
> Subject: [TRNSYS-users] Type 155-yearly schedules
>
> Hi,
> 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.
> I get the number of occupants per zone from TRNSYS to calculate the 
> probabilities of presencein Type 155. The yearly  occupancy schedule 
> (8760 values) is an output of Type 155. Is there any way for including 
> this schedule in Trsnys as an input?
> Thanks for any advice you can give.
> Best regards
> Sihem
> -- 
>
> _______________________________________________ TRNSYS-users mailing 
> list TRNSYS-users at cae.wisc.edu <mailto:TRNSYS-users at cae.wisc.edu> 
> https://mailman.cae.wisc.edu/listinfo/trnsys-users
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://mailman.cae.wisc.edu/listinfo/trnsys-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20140116/9049563c/attachment-0004.htm>
-------------- next part --------------
30
40
50
0
0
0
0
1
1
1
1
1
0
0
1
1
1
1
1
0
0
0
0
100
-------------- next part --------------
 TIME                    	output                   	
 HOURS              	                    	
  +0.0000000000000000E+00	  +0.0000000000000000E+00	
  +1.0000000000000000E+00	  +1.0000000000000000E+00	
  +2.0000000000000000E+00	  +1.0000000000000000E+00	
  +3.0000000000000000E+00	  +1.0000000000000000E+00	
  +4.0000000000000000E+00	  +1.0000000000000000E+00	
  +5.0000000000000000E+00	  +1.0000000000000000E+00	
  +6.0000000000000000E+00	  +1.0000000000000000E+00	
  +7.0000000000000000E+00	  +1.0000000000000000E+00	
  +8.0000000000000000E+00	  +1.0000000000000000E+00	
  +9.0000000000000000E+00	  +1.0000000000000000E+00	
  +1.0000000000000000E+01	  +1.0000000000000000E+00	
  +1.1000000000000000E+01	  +1.0000000000000000E+00	
  +1.2000000000000000E+01	  +1.0000000000000000E+00	
  +1.3000000000000000E+01	  +1.0000000000000000E+00	
  +1.4000000000000000E+01	  +1.0000000000000000E+00	
  +1.5000000000000000E+01	  +1.0000000000000000E+00	
  +1.6000000000000000E+01	  +1.0000000000000000E+00	
  +1.7000000000000000E+01	  +1.0000000000000000E+00	
  +1.8000000000000000E+01	  +1.0000000000000000E+00	
  +1.9000000000000000E+01	  +1.0000000000000000E+00	
  +2.0000000000000000E+01	  +1.0000000000000000E+00	
  +2.1000000000000000E+01	  +1.0000000000000000E+00	
  +2.2000000000000000E+01	  +1.0000000000000000E+00	
  +2.3000000000000000E+01	  +1.0000000000000000E+00	
  +2.4000000000000000E+01	  +1.0000000000000000E+00	


More information about the TRNSYS-users mailing list