Events

This table is used within the simulation-based experiments only (i.e. Simulation, VariationComparison, Safety Stock Estimation, and Risk Analysis). It is used to define events (applicable to customers, DCs and factories) that will affect the data of the scenario during runtime.

You can create:

Column

Description

Name

Name of the event.

Event Type

The type of the event, which defines an object's parameter that will change when the event occurs. The options refer to:

  • Facility state - when the event occurs, the site (or group of sites) specified in the Parameters column switches to the selected state (active or inactive).
  • Additional expenses - sets the size of other expenses that must be considered for a site or a group of sites. The specified value is expressed in the monetary unit, that is set in the Units dialog box of the anylogistix settings.
  • Demand coefficient - when the event occurs, the customer's demand for all products is multiplied by the coefficient provided in the Parameters column.
  • Path state - when the event occurs, the path specified in the Parameters column switches to the selected state (active or inactive).

    Note: Prior to setting up an event affecting a path you must navigate to the Paths table and provide the path's name in the Name column.

  • Production line state - when the event occurs, the production line of the specified product changes its state.

Parameters

The value that is assigned to the parameter when the event occurs. Double-click the Parameters cell to open a dialog box with the event type's parameters, which (except for the Production line state change) are:

  1. Depending on the selected Event Type the first parameter may be:
    • Changes state to - [if Facility state is selected] defines the site's new state (active or inactive) when this event occurs. If the current site's state is open and you set this parameter to switch the state to open, nothing will happen. 

      Note: the table cells of this column will contain description of the selected facility state:

      • Open - the toggle button is enabled.
      • Temporary closed - the toggle button is disabled.

    • Amount - [if Additional expenses is selected] defines the additional cost that will be incurred within the specified period of time only.
    • Coefficient - [if Demand coefficient is selected] defines the multiplier that is applied to the customer's demand values for all products.
    • Path - [if Path state is selected] defines the path's new state (active or inactive). To set the state, click the toggle button.
  2. Object - a site, a customer or a path that the first parameter refers to.

    Note: You must name the required path in the Paths table to be able to select it here when setting up the Path state event.

The Production line state change event dialog box contains the following parameters: 
  • Factory - the factory that is producing the required product.
  • Product - the product produced at the factory. 
  • New state - the new state of the production line that is producing the required product:
    • Operating - the production line is active.
    • Off-line - the production line is not active, the incoming production orders are allowed.
    • Breakdown - the production line is not active, the incoming production orders are not allowed. 
    • Shutdown - the production line is not active, the incoming production orders are not allowed, the product is not demanded, as if there is no such product.
  • Suspend production - [available only if production line is inactive] - if enabled, pauses production of all the currently processed products. If disabled (default state) the currently processed products will be instantly completed.

An open site is a regular site.

When running a Simulation experiment, sites and customers that are currently inactive appear grayed out on the GIS map, while inactive paths are simply not displayed. 

Hover your mouse over the screenshot below to observe the result of the triggered event:

Occurrence Type

The event occurrence type, which defines when the event will occur. Note that events can occur only if they are triggered, as defined in the Trigger column.

  • Date - the event will occur on the specified date (specified in the Occurrence Time column).
  • Delay (days) - the event will occur after the certain number of days (specified in the Occurrence Time column) from the moment of being triggered.
  • Random - the event will occur at random time within the experiment time frame. Note that the event occurrence probability is distributed uniformly throughout the experiment time frame. 

    Events with Random occurrence type are generated differently for Simulation and Variation experiments:

    • Simulation experiments use fixed seed, which means that the model random number generator is initialized with the same value for each run and the events with Random occurrence type will occur at the exactly same moment in time during each simulation run. 
    • Variation experiments use random seed, which allows you to perform several replications during each experiment iteration and to get different results after each run. For this reason, events with Random occurrence type will occur at different moments in time during each replication run.

Occurrence Time

The event occurrence time, which you set according to the event's Occurrence Type:

  • Date - the exact date, which you specify using the Date chooser. The date should fit into the experiment time frame, otherwise it will not occur.
  • Delay (days) - the delay value, in days, from the moment of triggering the event:
    • If no Trigger is set, it is the delay from the experiment start date and time.
    • If Trigger is set, it is the delay from the triggering date and time.
  • Random - the period of time, within which the event will occur at random.

Trigger

A trigger is a condition that schedules an event. If an event is not triggered, it will not occur. 

You can leave the value empty or select any of the previously created events:

  • If an empty value is selected, the event will be triggered when an experiment is started. It will then occur in accordance with its Occurrence Type.
  • If an event is selected, it will serve as a trigger. When a trigger occurs, the event will be scheduled for execution in accordance with its Occurrence Type. If a trigger does not occur for some reason, all events that refer to it will not be scheduled (and will not occur).

Probability

The probability value (between 0 and 1) of the current event to occur. 

e.g. If the value is set to 0.5, the odds that the event will occur are 50/50