Font size

Phase 1. Create Scenario and Find DC Location

We shall start our tutorial with creating anyLogistix 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 anyLogistix generate the required scenario data.

Off we go!

The numbered lists in tutorials are actually checklists. Click the numbers to save your progress!

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):

  2. Type Chocolate Distribution in the Scenario name field.

  3. 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.

  4. Leave the default option in the section Please select data generation type. It will allow anyLogistix to distribute demand based on the population density of the customers’ locations (cities).
  5. 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.

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

  7. Set the required Number of locations to 10.

    Our supply chain will originally comprise 10 customers.

  8. 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.
  9. 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.

  10. 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:

  • Map showing locations of customers

  • The Basic set of tables containing data generated according to the preciously defined settings. Click the In use tab to see all the currently used tables.

    As you can see, anyLogistix generated:

    • Customers in the 10 most populated cities of Switzerland.
    • Demand for each customer (city), distributed among the citizens based on population density.
    • Default product.

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:

    • The demand is periodic, i.e., certain amount of product is ordered every 5 days.
    • The ordered amount differs for each city based on its population.

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.

    The specified here product measurement unit will affect calculations, since the default measurement unit is m3. Further on we will 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.

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

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

  4. 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. Show connections button in the map view toolbar to see the paths from the distribution center to each customer.

    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.

How can we improve this article?