Truck In and Out Gate

When there is both and Inbound and outbound inspection of tractor trailers, and to tie into other port simulation model objects.

Truck In and Out Gate model image

Where to Find the Model Object

The following model object can be found in the model objects directory:

  • Flow Control \ Truck In and Out Gate

Difficulty Level

  • Ease of Use: Moderate
  • Ease of Modification: Moderate

How to Use the Model Object

  1. Open Your Model: Open your model or create a new blank model.
  2. Insert the Model Object into Your Model
    1. Locate the model object Truck In and Out Gate and select the insert button.
    2. Move the cursor to the point of insertion and left mouse-click. The upper left corner of the model object will be inserted at the location of the mouse-click.
  3. Connect to Your Model
    1. Connect an arrival route or a percentage route from the part of your model where you would like the entities to enter the Stagging.connect to Truck In and Out Gate
    2. Connect exit routes from Inspection Station #, or Enter Facility to the rest of your model.from Truck In and Out Gate to the rest of your model
    3. Connect a percentage route from your model to Outbound Staging.from yourmodel to Truck In and Out GateChange the time defined on exit route(s) from staging to Inspection Queue(s).
  4. Define Values: Define the values for scenario parameters s_Security_Level, s_Mixs_Station_Queue_Size, s_Level#_Type#, s_TEU, s_Destination based on the information provided under the heading Scenario Parameters below. The values for these Scenario Parameters must be provided before the simulation start.define scenarios in Truck In and Out Gate
  5. Completion: The model object is now integrated into your model, you should now be able to save and then simulate the model.

Controls Usage


  1. a_Inspection_Time: Do not change. The inspection time each entity (Truck) will take.
  2. a_Type: Do not change. Used to carry the descriptive values for Type1, Type2, & Type3.
  3. a_Dir_Number: Do not change. Used to tell entities to which inspection lane they will go.


  1. v_Sta_Open#: User input required. The number of inbound inspection stations that are at each hour of the day.
  2. v_CntSt#: Do not change. WIP in Line #.
  3. v_IQS: Do not change. Size of the queue in front of each inspection station. This is set by the scenario parameter s_Station_Queue_Size.

Scenario Parameters:

  1. s_Security_Level: User input required. The level of security the Type1, Type2, or Type3 is working in.
  2. s_Mix: User input required. Is used create a mix (distribution) of what type of entities (Type3, Type2s, Type1s, etc) arrive at the inspection queue. Type can be used for a variety of reasons. For example: Type1 could be a semi without intermodal container; Type 2 could be a semi with an intermodal and Type 3 could be a bulk load inspection time. The three different levels shown below would be a change in inspection time based on the level of security for all three type of loads.
  3. s_Station_Queue_Size: User input required. How large the queue may allowed to be in front of the inspection station.
  4. s_Level#_Type#: User input required. Time required by level # Type# to pass the inspection.
  5. s_TEU: User input required. Twenty foot equivalent unit. Used to tell how many TEU are in each load.
  6. s_Destination: User input required. A numeric destination code. Set up a conversion table in spreadsheet which provides the meaning for each numeric entry.
Was this article helpful?

Related Articles