modelP3_2

Two single servers with queue

Extends from DESLib.SIMANLib.SRC.Draft (Draft model for constructing new models).

Information

This model represents a system with two single-servers-with-queue.

Pieces (entities) arrive the the system and are classified by type. They are first processed by the machine, and afterwards by the inspector. At the end, the 80% of the pieces are accepted, 10% are rejected and the rest need some rework. The ones that need to be reworked are sent back to the machine.

Simulation

Several counters store the number of accepted (ordered by type), and rejected pieces.
Results are written to the SIMANLIB_RESULTS.txt file, at the end of the simulation.

Components

TypeNameDefaultDescription
IntegerPSNumberIn (from Draft)
IntegerPSNumberOut (from Draft)
Booleaninit (from Draft)
RandomLib.Variates.Generatorg
Realdisc1
Elements.AttributeJobType
Elements.AttributeStatus
Elements.AttributePriority
Elements.VariableMean
Elements.VariableStd
Elements.QueueMachineQ
Elements.QueueInspectQ
Elements.ResourceMachine
Elements.ResourceInspector
Elements.CounterType1_Jobs_Done
Elements.CounterType2_Jobs_Done
Elements.CounterRejects
Elements.EntityTypepiece
Blocks.Createcreate
Blocks.Assignassign
Blocks.Assignassign1
Blocks.Assignassign2
Blocks.Queuequeue
Blocks.Seizeseize
Blocks.Delaydelay
Blocks.Releaserelease
Blocks.Queuequeue1
Blocks.Seizeseize1
Blocks.Delaydelay1
Blocks.Releaserelease1
Blocks.Branchbranch
Blocks.BRulebRule
Blocks.BRulebRule1
Blocks.BRulebRule2
Blocks.Assignassign3
Blocks.Assignassign4
Blocks.Countcount
Blocks.Branchbranch1
Blocks.BRulebRule3
Blocks.BRulebRule4
Blocks.Countcount1
Blocks.Countcount2
Blocks.Disposedispose
DEVSLib.AuxModels.BreakLoopbreakLoop