modelCreate

Creates new entities

Information

The create module has been implemented using a Create and a Counter blocks from the SIMANLib library. It also includes the Counter element associated with the blocks.

This module creates entities with an inter-arrival interval following the defined probability distribution. Each generated entity is counted and the results are written to the output file.

Each parameter of the module matches a parameter of the Create block.

Parameters

TypeNameDefaultDescription
Stringname"create"name of the module
SIMANLib.Elements.EntityTypeEntityTypeType of the generated entities
IntegerTime_Between_arrivals9Interarrival interval
IntegerEntities_per_arrival1Amount of entities generated in each arrival
IntegerMax_arrivals-1Maximum number of arrivals for this module (-1 = infinite)
RealFirst_creation0Time for the first arrival

Connectors

TypeNameDefaultDescription
DEVSLib.SRC.Interfaces.outPortOut

Components

TypeNameDefaultDescription
RealTtime
Realp11first parameter for the interval distribution
Realp21second parameter for the interval distribution
Realp31third parameter for the interval distribution
Realp41fourth parameter for the interval distribution
Integerelast entity that left the module
RealNOutcreate.S.Nout
SIMANLib.Blocks.Createcreate
SIMANLib.Blocks.Countcount
SIMANLib.Elements.Countercounter