
2 Building Simple Models with SimEvents Software
2-38
Add the Network Delay Subsystem Contents
In this procedure, you add event-based blocks that model a communications delay to the
Network Delay subsystem block. When you complete the procedure, the contents of the
Network Delay block should look as shown in the graphic.
1
In the SimEvents library, double-click the Generators library. Double-click the
Entity Generators sublibrary and drag a Time-Based Entity Generator block into
the subsystem window.
2
To review the entity generation behavior of the Time-Based Entity Generator block,
double-click it. The default value of Generate entities upon is Intergeneration
time from dialog, with a default intergeneration period of 1 s. Accept these
default values without making any change by clicking Cancel.
3
In the Generators library, double-click the he Signal Generators sublibrary.
Drag the Event-Based Random Number block into the subsystem window.
4
Double-click the Event-Based Random Number block. Set Distribution to Uniform,
Minimum to 0.01, and Maximum to 0.06. Click OK. These settings ensure that
the service time of the N-Server block varies with a uniform distribution of values
between a minimum of 0.01s and a maximum of 0.06s.
5
From the Attributes library, drag the Set Attribute and Get Attribute blocks into
the subsystem window.
6
Double-click the Set Attribute block. The Set Attribute tab of the dialog box
contains a table. On the first row of the table, set Name to Value and set Value
From to Signal port. Click OK. The block acquires an extra signal input port,
Value.
Kommentare zu diesen Handbüchern