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
| Type | Name | Default | Description |
|---|---|---|---|
| String | name | "create" | name of the module |
| SIMANLib.Elements.EntityType | EntityType | Type of the generated entities | |
| Integer | Time_Between_arrivals | 9 | Interarrival interval |
| Integer | Entities_per_arrival | 1 | Amount of entities generated in each arrival |
| Integer | Max_arrivals | -1 | Maximum number of arrivals for this module (-1 = infinite) |
| Real | First_creation | 0 | Time for the first arrival |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| DEVSLib.SRC.Interfaces.outPort | Out |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | T | time | |
| Real | p1 | 1 | first parameter for the interval distribution |
| Real | p2 | 1 | second parameter for the interval distribution |
| Real | p3 | 1 | third parameter for the interval distribution |
| Real | p4 | 1 | fourth parameter for the interval distribution |
| Integer | e | last entity that left the module | |
| Real | NOut | create.S.Nout | |
| SIMANLib.Blocks.Create | create | ||
| SIMANLib.Blocks.Count | count | ||
| SIMANLib.Elements.Counter | counter |