Phase 1. Create Scenario and Find DC Location

We shall start our tutorial with creating ALX scenario from scratch. We will create a small chocolate supply chain in Switzerland, allowing us to distribute the new brand of chocolate bars. Then we will extend it to the boarding countries: Austria and Italy.

When creating a new scenario we will use the additional settings to allow ALX generate the required scenario data. 

Off we go!

Create a scenario

  1. Click the New Scenario button in the project tree. 

    The New Scenario dialog box will open.
    As you can see, the Scenario type option is already set to GFA since we are creating this scenario in the GFA experiment tab (it is highlighted in the toolbar):

  1. Type Chocolate Distribution in the Scenario name field. 

  2. Click the Add scenario data toggle-button to open the additional settings.

    We will use these settings to define the data that must be generated for the new scenario.

  3. Leave the default option in the section Please select data generation type. It will allow ALX to distribute demand based on the population density of the customers’ locations (cities).
  4. Click the Select country/countries drop-down list to see the list of available countries.

    The mouse cursor will be automatically placed into the search field that contains the Type to filter hint

  5. Start typing Switzerland to filter the list of countries, then select the checkbox next to Switzerland.

  6. Set the required Number of locations to 10.

    Our supply chain will originally comprise 10 customers.

  7. We will keep the default value of the Order placement frequency (period), days parameter, since we will assume that our customers order chocolate every 5 days.
  8. Now set the Demand per citizen per period parameter to 0.014.

    We know that annual chocolate consumption in Switzerland constitutes 10.3 kg per capita, which means that every 5 days 0.141 kg of chocolate is ordered per capita (10.3 / 365 * 5 = 0.141 kg). We expect to capture at least 10% of the market with the new chocolate, which would be 0.014.

  9. Click OK. The new scenario will appear in the GFA tab.

Once the new scenario is created, you will see the default anyLogistix interface, allowing you to observe:

Let us have a look at the generated demand

Observe demand
  1. Click the Demand table to open it.
  2. Observe the generated data in the Parameters column.

    As you can see:

Now we will define the product prior to running the experiment.

Define the product

  1. Navigate to the Products table. You will see the default product.
  2. Click the Name column cell and rename the product to Chocolate bars.
  3. Double-click the Unit column cell and select kg.

    Note: The product measurement unit specified herein will affect calculations, since the default measurement unit is m3. Further on we will have to specify the required unit in the experiment settings.

Now we will set up the experiment and run it.

Set up and run the GFA experiment
  1. Navigate to the experiments section and click GFA experiment. 
    You will be taken to the GFA experiment's view with its settings.

  1. Leave the Number of sites parameter set to 1. We will assume that 1 distribution center will cope with 10 customers.

  2. Set Product measurement unit to kg, since we have previously set our product to be measured in kilograms.

  3. Click the toolbar   Run button in the experiment's view to run the experiment.

    Once the experiment is completed, a new Result item will be created in the GFA experiment branch. You will be automatically taken to the new item's page containing the experiment results.

    The map now shows the distribution center (DC), which is created during the GFA execution. It is placed in the most advantageous location considering the scenario data.

The customers and the DCs are currently not visually connected on the GIS map.

Observe connections
  1. Click the  Show filters button to open the filter options.

  2. Click the Show connections button in the map view toolbar to see the paths from the distribution center to each customer.

    Note: The connections are drawn straight because the GFA experiment does not consider actual roads. Use the GFA with roads experiment if actual roads and population of the cities must be considered.

That's it, we have completed the first phase of this tutorial. We have created a new scenario, generated the required data, and found the optimal location for our distribution center.

In the second phase we will generate customers for Austria and Italy, as well as demand for each customer.


  BFA tutorial | Phase 2. Generate new customers and demand