background image

Create a sustainable supply chain optimisation web app

author image

By Samir Saci

· 28 min read


Summary
I. Introduction
II. Sustainable Supply Chain Optimization
1. The Challenges of Sustainability
2. The Support of Data Analytics
III. Introduction to VIKTOR
1. Key Features of VIKTOR
2. Benefits to Supply Chain Data Scientists
IV. Overview of the Sustainable Supply Chain Optimization App
1. Purpose and Functionality
2. Initial Step: Data Input
3. Second Step: Data Visualization
4. Third Step: Selecting the Objective Function
5. Final Step: Visualize the Results
V. Conclusion

Screenshot 2024 04 16 at 15.08.01

Create a Sustainable Supply Chain Optimization Web App — (Image by Author)

Sustainable Supply Chain Optimization is an approach to network design combining cost-effectiveness with environmental responsibility.

It highlights the complexities that arise when businesses attempt to reconcile environmental considerations with profit objectives.

F2

Supply Chain Network Design Problem: Costs vs. CO2 — (Image by Author)

This topic is increasingly relevant as organizations are under escalating pressure to reduce their carbon footprint by reshaping their supply chain networks.

As a Data Scientist, how can you help your organization reach its sustainability targets and improve its ESG score?

Unlike traditional models that often prioritize outsourcing to low-cost regions, there’s a noticeable shift towards localizing production in environmentally efficient facilities.

F3

Supply Chain Network Designs for low-cost solution versus low carbon solution — (Image by Author)

However, balancing cost efficiency with CO2 emission reduction is a complex task that requires careful planning and strategic decision-making.

In this article, we introduce an application I developed using the VIKTOR platform, designed to facilitate data-driven decision-making for optimizing supply chain networks sustainably.

I. Introduction

The idea is to leverage linear programming capabilities to address the challenge of meeting global demands while minimizing costs, CO2 emissions and resource consumption.

F4

Supply Chain Network Design Problem — (Image by Author)

In the following sections, we will delve into sustainable supply chain optimization concepts and the need for integrating sustainability into strategic decisions.

F5

Introduction of the problem [App User Guide] — (Image by Author)

Additionally, you will get a comprehensive overview of the application using an actual example with the sample dataset included in the app.

1. The challenges of sustainability

The transition towards sustainable supply chain optimization poses a unique set of challenges.

The core complexity lies in aligning efficiency and cost-effectiveness with environmental preservation.

F7

Select the metric you want to minimize [App User Guide] — (Image by Author)

If you produce overseas in countries with low labour and production costs

  • You minimize the total cost of production
  • You increase the environmental impact with emissions due to transportation and low-efficiency plants.

If you produce in local green facilities

  • You maximize the costs because of high labour costs and CAPEX for green equipment that minimizes CO2 emissions and resource usage.
  • You reduce the environmental footprint by cutting transportation and using high-end manufacturing installations.

F8

Several scenarios based on environmental constraints — (Image by Author)

This application will provide you with different scenarios to help you to balance these different constraints.

2. The support of data analytics

In the previous articles, we discovered that linear programming can play a key role in optimizing the flows between factories and distribution centres.

These models can help you to fully automate in-depth analysis of cost parameters (fixed, variable and transportation) and footprint metrics (CO2, resources) to find the right balance that will satisfy business objectives.

F9

Parameters used in the sample dataset [App User Guide]— (Image by Author)

From an algorithmic point of view, you have a set of external parameters

  • Demand: demand per market (Units/Month)
  • Production capacity per location: high capacity plant (XX Units/Month), low capacity plant (YY Units/Month)
  • Environmental footprint: CO2 emissions (kgCO2eq/Unit), resources consumption (L/Unit) or (MJ/Unit) and waste generation (kg/Unit)
  • Costs: fixed cost per facility ($/Month) and variable cost per unit ($/Unit)

You can also add a set of constraints,

  • Constraint 1: Number of units produced ≥ Total Demand
  • Constraint 2: CO2 emissions ≤ XX (kgCO2eq/Month)

The algorithm will then select a set of manufacturing locations to open

  • A variable is defined for each potential site: (India, Low Cap) = [0 or 1]
  • If the value is 1 the location is open and can produce up to its capacity

V10

Based on the objective metric defined by the user, the model can propose the optimal set of boolean values that will minimize this metric.

III. Introduction to VIKTOR

VIKTOR is an intuitive platform designed to streamline the creation of engineering projects by offering powerful tools for quick deployments of Python-based algorithms.

1. Key Features of VIKTOR

VIKTOR stands out with its ability to facilitate rapid development, testing, and deployment of web applications.

My first application was a simple tool to automate ABC Analysis.

F11

Screenshot of the ABC Analysis App — (Image by Author)

After several easy-to-follow steps, I deployed my Python model with an intuitive user web interface to show Pareto and ABC charts.

2. Benefits to Supply Chain Data Scientists

VIKTOR offers data scientists and analysts a user-friendly platform that integrates well with existing workflows and enhances productivity and efficiency.

For this application, I started with a model I shared in my Github (Link) related to the article about Supply Chain Optimization.

F12

Supply Chain Optimization Simple Model — (Image by Author)

In the tutorial “Getting Started” (documentation), you can find all the different steps needed to deploy a simple app that can

  • Take user inputs like Excel files and parameters selection to run the optimization model
  • Show dynamic visuals using Plotly
  • Export Word and PDF reports (ABC Analysis App)

Now, I can share this model easily with users who do not have programming skills to run a Python script.

For more information, have a look at the official VIKTOR Documentation.

IV. Overview of the sustainable supply chain optimization app

1. Purpose and functionality

The primary objective is to provide an interactive platform for supply chain engineers to simulate and evaluate different supply chain network design strategies.

It takes a single Excel file with several sheets as input and provides access to the results of multiple simulation scenarios.

You can try it here

2. Initial step: data input

F12

Users can input their data or use a pre-loaded dataset that includes information related to their market demand and manufacturing facilities.

F13

Data Input [User Guide] — (Image by Author)

Users can input their data or use a pre-loaded dataset that includes information related to their market demand and manufacturing facilities.

F14

 

3. Second step: data visualization

Visualize the different parameters of your model based on the data included in the uploaded file.

Screenshot 2024 04 17 020411

🛍️ Market Demand
In the location included in your dataset, you have customers (or stores) with a monthly demand in Units/Month.

🏭 Market Supply
In the location included in your dataset, you have potential manufacturing sites (low and high-capacity plants) with a maximum monthly production in Units/Month.

⚡ Energy Usage
For each production location, the energy consumed to produce a single unit (MJ/Unit).

🗑️ Waste Generation
For each production location, the amount of waste generated to produce a single unit (Kg/Unit).

🚰 Water Usage
For each production location, the amount of water used to produce a single unit (L/Unit).

🌲 CO2 Emissions
For each production location, the quantity of CO2 emitted per unit produced (Kg CO2eq/Unit).

There are multiple sources to gather these input parameters:

The tool will help you to decide where to set up factories to meet demand from all your markets considering transportationproduction costs and environmental aspects.

4. Third step: selecting the objective function

This leads to informed strategic decisions that improve the efficiency and sustainability of your supply chain.

Users can select among four objective functions,

💰 Production Costs
Minimize the overall cost of producing and shipping products to different markets ($/Unit)

🚰 Water Usage
Minimize the amount of water used per unit produced (L/Unit)

⚡ Energy Usage
Minimize the amount of energy used per unit produced (MJ/Unit)

🌲 CO2 Emissions
Minimize the CO2 emissions per unit produced and delivered (kgCO2eq/Unit)

The results are automatically returned by the app,

Screenshot 2024 04 17 020802

5. Final step: visualize the results

For each scenario, the application provides a comprehensive overview of the results using a detailed breakdown of costs and environmental impacts.

Screenshot 2024 04 17 021016

A Sankey chart is helping you to trace the flow of goods from production locations to their respective markets.

Screenshot 2024 04 17 021225

In the example above,

  • Brazil is producing 15,000 units/month: 1,450 Units for its local market and the rest for the USA
  • The USA, GERMANY and JAPAN are entirely relying on imports

Decision-makers can take a hands-on approach to their network design.

Using data-fueled prescriptions, they will understand the impacts of each objective metric (CO2, Water, Energy, …).

Screenshot 2024 04 17 021454

For example, the visual above can raise the following questions

  • Q1: Can we afford a 100% cost increase to minimize CO2 emissions?
  • Q2: Why is it cheaper to minimize water usage than CO2 emissions?
  • Q3: Would it be impactful to find green manufacturing sites in India?

To answer question Q3, let's have a look at the visual below

Screenshot 2024 04 17 021716

As we can see on the right, the majority of emissions per market is coming from the transportation of goods from manufacturing plants.

Thus, even with the greenest equipment in India, we would still have high emissions because of transportation.

V. Conclusion

Businesses need to respond more effectively to the growing environmental, social, and governance (ESG) demands from stakeholders and regulatory bodies.

This simple prototype, deployed using VIKTOR, can help to boost their transition towards green supply chains.

It can be easily improved by adding more advanced functionalities such as,

  • Constraints on Maximum Resource Usage or CO2 Emissions
  • Introduce variability in the demand to build a robust network
  • Visualize the efficiency of the manufacturing footprint (Maximum Production Output/Capacity)

I invite you to explore this application, leveraging its capabilities to test different optimisation scenarios using your dataset.

This article is also published on the author's blog. illuminem Voices is a democratic space presenting the thoughts and opinions of leading Sustainability & Energy writers, their opinions do not necessarily represent those of illuminem.

Did you enjoy this illuminem voice? Support us by sharing this article!
author photo

About the author

Samir Saci is a French Engineer with international experience designing and optimizing sustainable supply chain operations.

Other illuminem Voices


Related Posts


You cannot miss it!

Weekly. Free. Your Top 10 Sustainability & Energy Posts.

You can unsubscribe at any time (read our privacy policy)