[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TRNSYS-users] Random Number generator



> I am trying to generate random numbers using the Random number
> generator in the tess library. What I need to do is generate only one
> random number per day, but my simulation time step is 5 min. I tried
> to use the "Input delay device",  but i can not figure out a way to do
> so.

The random number generators take an input to "trigger" the random
generation process.  All you need to do is generate a signal once a day
and you'll be fine.

For example

Unit 14 Type 14 Forcing Function
Parameters 10
0,1  STEP,1  STEP,0  24,0  24,1

Unit 1 Type X Random Number Generator
Parameters
. . . . . . .
Inputs 1
14,1



Jeff

Jeff Thornton
President - TESS, LLC

2916 Marketplace Drive - Suite 104
Madison WI 53719 USA

Phone: 608-274-2577
Fax: 608-278-1475
E-mail: thornton@tess-inc.com
Web: www.tess-inc.com