RecordEdits Define ExponentialDistribution { ExponentialDistribution1 ExponentialDistribution2 } Define EntityConveyor { EntityConveyor1 EntityConveyor2 } Define EntityGenerator { EntityGenerator1 } Define EntitySink { EntitySink1 } Define Queue { Queue1 } Define Server { Server1 } Define SimEntity { SimEntity1 } Define ColladaModel { Axis Grid100x100 } Define TextModel { ClockTextModel TitleTextModel } Define DisplayEntity { XY-Grid XYZ-Axis } Define EntityLabel { EntityConveyor1_Label EntityConveyor2_Label } Define Graph { Graph1 } Define OverlayClock { Clock } Define OverlayText { Title } Define View { View1 } ExponentialDistribution1 UnitType { TimeUnit } ExponentialDistribution2 UnitType { TimeUnit } Simulation Description { 'Simulation run control inputs' } Simulation RunDuration { 400 s } Simulation PrintReport { TRUE } # *** ExponentialDistribution *** ExponentialDistribution1 RandomSeed { 1 } ExponentialDistribution1 MinValue { 0.0 s } ExponentialDistribution1 MaxValue { Infinity s } ExponentialDistribution1 Mean { 1 s } ExponentialDistribution2 RandomSeed { 2 } ExponentialDistribution2 MinValue { 0.0 s } ExponentialDistribution2 MaxValue { Infinity s } ExponentialDistribution2 Mean { 0.5 s } # *** EntityConveyor *** EntityConveyor1 NextComponent { Queue1 } EntityConveyor1 TravelTime { 0.0 s } EntityConveyor2 NextComponent { EntitySink1 } EntityConveyor2 TravelTime { 0.0 s } # *** EntityGenerator *** EntityGenerator1 NextComponent { EntityConveyor1 } EntityGenerator1 InterArrivalTime { ExponentialDistribution1 } EntityGenerator1 PrototypeEntity { SimEntity1 } # *** EntitySink *** # *** Queue *** # *** Server *** Server1 NextComponent { EntityConveyor2 } Server1 WaitQueue { Queue1 } Server1 ServiceTime { ExponentialDistribution2 } # *** SimEntity *** # *** GRAPHICS INPUTS *** Simulation DisplayedUnits { s } Simulation RealTime { TRUE } Simulation SnapToGrid { TRUE } Simulation RealTimeFactor { 0.0625 } Simulation ShowLabels { TRUE } Simulation ShowEntityFlow { TRUE } Simulation ShowModelBuilder { TRUE } Simulation ShowObjectSelector { TRUE } Simulation ShowInputEditor { TRUE } Simulation ShowOutputViewer { TRUE } Simulation ShowPropertyViewer { FALSE } Simulation ShowLogViewer { FALSE } ExponentialDistribution1 Position { -3.9 -1.3 0.0 m } ExponentialDistribution2 Position { 2.7 -1.5 0.0 m } EntityConveyor1 Points { { -3.2 0.5 0.0 m } { -0.6 0.5 0.0 m } } EntityConveyor2 Points { { 1.2 0.5 0.0 m } { 3.8 0.5 0.0 m } } EntityGenerator1 Position { -4.0 0.5 0.0 m } EntitySink1 Position { 6.5 0.5 0.0 m } Queue1 Position { 0.4 0.5 0.0 m } Server1 Position { 2.6 0.5 0.0 m } SimEntity1 Position { -6.0 0.5 0.0 m } SimEntity1 Alignment { 0.0 0.0 -0.5 } # *** ColladaModel *** Axis ColladaFile { /shapes/axis_text.dae } Grid100x100 ColladaFile { /shapes/grid100x100.dae } # *** TextModel *** ClockTextModel Description { 'Text style for the Clock' } ClockTextModel FontColour { 51 51 51 } ClockTextModel FontStyle { ITALIC } TitleTextModel Description { 'Text style for the Title' } TitleTextModel FontColour { 150 23 46 } TitleTextModel FontStyle { BOLD } # *** DisplayEntity *** XY-Grid Description { 'Grid for the X-Y plane (100 m x 100 m)' } XY-Grid Size { 100 100 m } XY-Grid DisplayModel { Grid100x100 } XY-Grid Show { FALSE } XY-Grid Movable { FALSE } XYZ-Axis Description { 'Unit vectors' } XYZ-Axis Alignment { -0.4393409 -0.4410096 -0.4394292 } XYZ-Axis Size { 1.125000 1.1568242 1.1266404 m } XYZ-Axis DisplayModel { Axis } XYZ-Axis Show { FALSE } XYZ-Axis Movable { FALSE } # *** EntityLabel *** EntityConveyor1_Label Position { 0.2 -0.2 0.0 m } EntityConveyor1_Label Size { 1.8 0.3 1.0 m } EntityConveyor1_Label RelativeEntity { EntityConveyor1 } EntityConveyor1_Label Show { FALSE } EntityConveyor1_Label TargetEntity { EntityConveyor1 } EntityConveyor2_Label Position { 1.5 -0.1 0.0 m } EntityConveyor2_Label Size { 1.8 0.3 1.0 m } EntityConveyor2_Label RelativeEntity { EntityConveyor2 } EntityConveyor2_Label Show { FALSE } EntityConveyor2_Label TargetEntity { EntityConveyor2 } # *** Graph *** Graph1 Position { 8.4 -2.8 0.0 m } Graph1 Title { 'Number In Queue' } Graph1 XAxisTitle { Time } Graph1 XAxisStart { 0.0 s } Graph1 XAxisEnd { 402.0 s } Graph1 XAxisInterval { 40 s } Graph1 XAxisLabelFormat { %.0f } Graph1 YAxisTitle { Number } Graph1 YAxisStart { 0.0 } Graph1 YAxisEnd { 7.0 } Graph1 NumberOfPoints { 400 } Graph1 DataSource { { [Queue1].QueueLength } } # *** OverlayClock *** Clock Description { 'Simulation date and time (no leap years or leap seconds)' } Clock DisplayModel { ClockTextModel } Clock ScreenPosition { 15 15 } Clock AlignBottom { TRUE } Clock TextHeight { 10 } Clock DateFormat { 'yyyy-MMM-dd HH:mm:ss.SSS' } # *** OverlayText *** Title Description { 'Title for the simulation model' } Title DisplayModel { TitleTextModel } Title ScreenPosition { 504 48 } Title Format { 'Queue Example' } Title TextHeight { 18 } # *** View *** View1 Description { 'Default view window' } View1 ViewCenter { 2.132266 -1.219508 0.0 m } View1 ViewPosition { 2.132266 -1.219508 15.766081 m } View1 WindowPosition { 222 102 } View1 ShowWindow { TRUE } View1 Lock2D { TRUE } View1 SkyboxImage { /images/sky_map_2048x1024.jpg }