SlideShare a Scribd company logo
1 of 26
Cloud-based Dynamic Distributed
Optimisation of Integrated Process
Planning and Scheduling
in Smart Factories
Shuai Zhao1, Piotr Dziurzanski1,
Michal Przewozniczek1, Marcin Komarnicki,
Leandro Soares Indrusiak1
1University of York, UK
2Wroclaw University of Technology, Poland
GECCO 2019 Prague, July 13th-17th 2019 1
 SAFIRE project
 System architecture
 Problem description
 Cloud deployment – Kubernetes cluster
 Dynamic number of islands
 Experimental results
 Conclusion
GECCO 2019 Prague, July 13th-17th 2019 2
Agenda
 Funded under: H2020 -
EU.2.1.1. - Industrial
Leadership
 Reconfiguration-as-a-
Service for dynamic smart
factories and manufactured
smart products.
 Exploits cloud-based
services to continuously
optimise the performance of
production systems and
products.
GECCO 2019 Prague, July 13th-17th 2019 3
SAFIRE project
GECCO 2019 Prague, July 13th-17th 2019 4
SAFIRE architecture
SAFIRE
Manufacturer / Factory
Optimisation &
Reconfiguration
Engine
Situation
Determination
Services
Predictive
Analytics
Engine
Reconfiguration
Quality
Evaluation
Services
Reconfiguration
Interfaces
Secure SAFIRE infrastructure
Connected Product Network
&Event-driven Data Ingestion Situation Monitoring Services
GECCO 2019 Prague, July 13th-17th 2019 5
SAFIRE components
Situation Determination (SD)
Reconfiguration & Optimisation Engine (OE)
Predictive Analytics (PA) Reconfiguration Quality Evaluation Services
based on Digital Twin
time
A
0 100
B
Interval algebra
Smart Factory
GECCO 2019 Prague, July 13th-17th 2019 6
Application model - example allocation
decision
A
B
 Two dependent manufacturing processes, two
machines
 Process A can be assigned to machine M1
 Process B can be assigned to machine M1 or M2
 M2 is 2* faster than M1
Process A Process B
M1
time0 20 40 60 80
M2
Process A
M1
time0 20 40 60 80
Process B
M2
Or:
GECCO 2019 Prague, July 13th-17th 2019 7
Application model
53 2
9 41 9
5 3 6
4 7
8
5
9 9
5 6
7
8
initialisation termination
evaluate fitness
select the fittest
breed pairs / crossover
mutations
replace old population
Input:
manufacturing
processes, plant
situation
(e.g. past
allocations,
machine
availability etc.)
Output:
resource allocations,
resource modes,
time slots
GECCO 2019 Prague, July 13th-17th 2019 8
Chromosome encoding
Target
machine
Mode Priority
Target
machine
Mode Priority
Process A Process B
...
GECCO 2019 Prague, July 13th-17th 2019 9
Kubernetes (K8s) cluster
Kubernetes cluster
Load balancer
Pod
Services Horizontal Pod Autoscaler
PodAddon
CoreDNS
GECCO 2019 Prague, July 13th-17th 2019 10
Execution stages
Pod - Master
...
1st stage 2nd stage
...
Kubernetes cluster
Pod - OE
Pod - OE
Pod - OE
...
Pod - OE
Pod - OE
Pod - OE
Pod - Master Pod - Master
 Executing islands for i iterations
(=stage)
 Adding non-dominated solutions
returned from all islands to (common)
PF
 Performing migrations
 Deciding on the number of nodes
GECCO 2019 Prague, July 13th-17th 2019 11
Master node functionality
 One K8s working node can host one or
more OE (islands)
 Number of islands – decided by the
Master node
 Number of working nodes – decided by
K8s Horizontal Pod Autoscaler based
on the K8s metrics (memory usage)
GECCO 2019 Prague, July 13th-17th 2019 12
Dynamic number of islands / K8s
working nodes
 Static – baseline
 Classic
 If CI of PF @ stage s <= CI of PF @ stage s-1
● Delete islands that meet island deletion criteria;
● Create one island with randomly generated
individuals
 Active
 If CI of PF @ stage s <= CI of PF @ stage s-1
● Delete all islands that do not provide new solutions
to PF
 If CI of PF @ stage s <= CI of PF @ stage s-1
● Create one island with randomly generated
individuals
GECCO 2019 Prague, July 13th-17th 2019 13
Number of islands - strategies
GECCO 2019 Prague, July 13th-17th 2019 14
Process Manufacturing Example
 Metrics
 Key objective metrics
● Makespan (minimise)
● Surplus (minimise)
 Controlled metrics
● Production line
● Recipes applied
 Observable metrics
● Actual process time
per batch
● Energy consumption
15
Optimisation
Prague, July 13th-17th 2019GECCO 2019
GECCO 2019 Prague, July 13th-17th 2019 16
Recipes
Paint name Recipe Compatible resources Amount produced Execution time
Std Weiss A Mixer 1 - Mixer 5 5 t 90 min.
B Mixer 6, Mixer 7 10 t 60 min.
C Mixer 8, Mixer 9 10 t 45 min.
D Mixer 8, Mixer 9 10 t 40 min.
Weiss Matt A Mixer 1 - Mixer 5 5 t 90 min.
B Mixer 6, Mixer 7 10 t 60 min.
C Mixer 8, Mixer 9 10 t 45 min.
D Mixer 8, Mixer 9 10 t 40 min.
W Super Glanz A Mixer 1 - Mixer 5 4 t 120 min.
B Mixer 6, Mixer 7 8 t 90 min.
C Mixer 8, Mixer 9 8 t 60 min.
D Mixer 8, Mixer 9 8 t 55 min.
Weiss Basis A Mixer 1 - Mixer 5 6 t 60 min.
B Mixer 6, Mixer 7 12 t 45 min.
C Mixer 8, Mixer 9 12 t 30 min.
D Mixer 8, Mixer 9 12 t 25 min.
Strategy Island
Executed
Island
Created
Island
Deleted
Static 200 5 0
Active 192 29 19
Classic 137 25 23
GECCO 2019 Prague, July 13th-17th 2019 17
Experimental results
 DCI: (0,0,1)
 Amazon Elastic Container Service for Kubernetes
(Amazon EKS) run on 4-cores instances m5 in the
AWS London zone: Static- 15 USD, Classic – 11
USD, Active - 12.1 USD
GECCO 2019 Prague, July 13th-17th 2019 18
Process manufacturing optimisation
results by all managers
19
Discrete Manufacturing Example
Prague, July 13th-17th 2019GECCO 2019
 Metrics
 Key objective metrics
● Makespan (minimize)
● Cost/part (minimize)
 Controlled metrics:
● Wire
 Type
 Diameter
● Machine Eco-mode
● Machine model
 Observable metrics
● Actual process time per
job/part
● Actual wire consumption
● Energy consumption
● Actual Wire cost.
20
Optimisation
Prague, July 13th-17th 2019GECCO 2019
GECCO 2019 Prague, July 13th-17th 2019 21
Order – 16 metal parts
Part
name
Size/
machin
e
MW PL (mm) Speed
(mm/mi
n)
Cutting
time
(min)
Wire
Consum
ption
speed
(kg/h)
Wire
Consum
ption
per part
(kg)
Wire
cost per
kg (€)
Wire
Cost per
part (€)
Machin
e cost
per
hour (€)
Machin
e cost
per part
(€)
Total
cost per
part (€)
P1 Small 1 2400 2.85 842.1 0.250 3.5 8.0 28.1 10 140.4 168.4
Medium 1 2400 2.85 842.1 0.250 3.5 8.0 28.1 15 210.5 238.6
Large 1 2400 2.85 842.1 0.250 3.5 8.0 28.1 35 491.2 519.3
Small 2 2400 2.47 971.4 0.233 3.8 8.0 30.2 10 161.9 192.1
Medium 2 2400 2.47 971.4 0.233 3.8 8.0 30.2 15 242.9 273.1
Large 2 2400 2.47 971.4 0.233 3.8 8.0 30.2 35 566.7 596.9
Small 3 2400 3.17 756.2 0.250 3.2 13.0 41.0 10 126.0 167.0
Medium 3 2400 3.17 756.2 0.250 3.2 13.0 41.0 15 189.0 230.0
Large 3 2400 3.17 756.2 0.250 3.2 13.0 41.0 35 441.1 482.1
Small 4 2400 3.27 733.5 0.258 3.2 17.0 53.7 10 122.3 175.9
Medium 4 2400 3.27 733.5 0.258 3.2 17.0 53.7 15 183.4 237.1
Large 4 2400 3.27 733.5 0.258 3.2 17.0 53.7 35 427.9 481.6
. . .
 DCI test:
 ManagerStatic: 0.852
 ManagerActive: 1.0
 ManagerClassic: 0.926
 The total optimisation cost < 0.5USD for any strategy.
GECCO 2019 Prague, July 13th-17th 2019 22
Cost per part vs Makespan
 The three managers have been used to optimise 30 randomly
generated manufacturing orders.
 28 out of 30: ManagerActive was the best.
 ManagerClassicacted better than ManagerStatic in 27 cases.
GECCO 2019 Prague, July 13th-17th 2019 23
Scaling the problem size
 Two genetic algorithms for multi-objective
optimisation using a dynamic number of
islands have been proposed.
 The software implementation of these
algorithms has been deployed to a cloud and
applied to an integrated process planning
and scheduling for two real-world smart
factories representing the process and
discrete manufacturing branches.
 The presented experimental results have
confirmed the superiority of the proposed
method over the typical approach using a
static number of islands in terms of solution
quality and computation time.
GECCO 2019 Prague, July 13th-17th 2019 24
Conclusion
GECCO 2019 Prague, July 13th-17th 2019 25
Asynchronous architecture
SD
Kubernetes cluster
Load balancer
Pod
OE
Services
Horizontal Pod Autoscaler
Pod
Redis
Addon
CoreDNS
Thank you!
Questions ?
GECCO 2019 Prague, July 13th-17th 2019 26

More Related Content

What's hot

Modeling presentation
Modeling presentationModeling presentation
Modeling presentation
Aditya Dahal
 
DSD-NL 2014 - NGHS Symposium - Welkomstwoord en opening, Hans van Putten, Del...
DSD-NL 2014 - NGHS Symposium - Welkomstwoord en opening, Hans van Putten, Del...DSD-NL 2014 - NGHS Symposium - Welkomstwoord en opening, Hans van Putten, Del...
DSD-NL 2014 - NGHS Symposium - Welkomstwoord en opening, Hans van Putten, Del...
Deltares
 
RefCard_Altamira CitecDot_11-2016_EN
RefCard_Altamira CitecDot_11-2016_ENRefCard_Altamira CitecDot_11-2016_EN
RefCard_Altamira CitecDot_11-2016_EN
Rémy Jeandemange
 

What's hot (18)

Modeling presentation
Modeling presentationModeling presentation
Modeling presentation
 
Design optimization of BOP for fatigue and strength in HPHT environment using...
Design optimization of BOP for fatigue and strength in HPHT environment using...Design optimization of BOP for fatigue and strength in HPHT environment using...
Design optimization of BOP for fatigue and strength in HPHT environment using...
 
PR141951
PR141951PR141951
PR141951
 
Electromagnetic Simulations for Aerospace Applications
Electromagnetic Simulations for Aerospace ApplicationsElectromagnetic Simulations for Aerospace Applications
Electromagnetic Simulations for Aerospace Applications
 
Hvacs
HvacsHvacs
Hvacs
 
Cadmium x
Cadmium xCadmium x
Cadmium x
 
DSD-NL 2014 - NGHS Symposium - Welkomstwoord en opening, Hans van Putten, Del...
DSD-NL 2014 - NGHS Symposium - Welkomstwoord en opening, Hans van Putten, Del...DSD-NL 2014 - NGHS Symposium - Welkomstwoord en opening, Hans van Putten, Del...
DSD-NL 2014 - NGHS Symposium - Welkomstwoord en opening, Hans van Putten, Del...
 
Xikai dai portfolio
Xikai dai portfolioXikai dai portfolio
Xikai dai portfolio
 
Z mega product
Z mega productZ mega product
Z mega product
 
Z mega product
Z mega productZ mega product
Z mega product
 
Big Data Solutions for the Climate Community
Big Data Solutions for the Climate CommunityBig Data Solutions for the Climate Community
Big Data Solutions for the Climate Community
 
RefCard_Altamira CitecDot_11-2016_EN
RefCard_Altamira CitecDot_11-2016_ENRefCard_Altamira CitecDot_11-2016_EN
RefCard_Altamira CitecDot_11-2016_EN
 
Zeus numerix CFD simulations
Zeus numerix CFD simulationsZeus numerix CFD simulations
Zeus numerix CFD simulations
 
IPMA. Istanbul World Congress
IPMA. Istanbul World CongressIPMA. Istanbul World Congress
IPMA. Istanbul World Congress
 
2015-00 Porsche Germany Capacity
2015-00 Porsche Germany Capacity2015-00 Porsche Germany Capacity
2015-00 Porsche Germany Capacity
 
Sewer Outfall Project
Sewer Outfall ProjectSewer Outfall Project
Sewer Outfall Project
 
GGSD 2019 Forum - Parallel Session A - Scene Setting presentation by Hans-Jö...
GGSD 2019 Forum -  Parallel Session A - Scene Setting presentation by Hans-Jö...GGSD 2019 Forum -  Parallel Session A - Scene Setting presentation by Hans-Jö...
GGSD 2019 Forum - Parallel Session A - Scene Setting presentation by Hans-Jö...
 
Optimization in ChaStrobe Software with Genetic Algorithm
Optimization in ChaStrobe Software with Genetic AlgorithmOptimization in ChaStrobe Software with Genetic Algorithm
Optimization in ChaStrobe Software with Genetic Algorithm
 

Similar to Cloud-based dynamic distributed optimisation of integrated process planning and scheduling in smart factories

Operational Excellence Consultant
Operational Excellence ConsultantOperational Excellence Consultant
Operational Excellence Consultant
bharat kumar
 
GE Digital - Customer Reference Stories - 9Nov2017.pptx
GE Digital - Customer Reference Stories - 9Nov2017.pptxGE Digital - Customer Reference Stories - 9Nov2017.pptx
GE Digital - Customer Reference Stories - 9Nov2017.pptx
CharbelRahme2
 
Cadison world-issue-01-2013
Cadison world-issue-01-2013Cadison world-issue-01-2013
Cadison world-issue-01-2013
CADISON
 
Using Information Technology to Meet the Carbon Challenge
Using Information Technology to Meet the Carbon Challenge Using Information Technology to Meet the Carbon Challenge
Using Information Technology to Meet the Carbon Challenge
Videoguy
 

Similar to Cloud-based dynamic distributed optimisation of integrated process planning and scheduling in smart factories (20)

Cloud-based Integrated Process Planning and Scheduling Optimisation via Asyn...
 Cloud-based Integrated Process Planning and Scheduling Optimisation via Asyn... Cloud-based Integrated Process Planning and Scheduling Optimisation via Asyn...
Cloud-based Integrated Process Planning and Scheduling Optimisation via Asyn...
 
Operational Excellence Consultant
Operational Excellence ConsultantOperational Excellence Consultant
Operational Excellence Consultant
 
Airbus: Innovating the Future of Flight
Airbus: Innovating the Future of FlightAirbus: Innovating the Future of Flight
Airbus: Innovating the Future of Flight
 
Solving the Multi-Objective Flexible Job-Shop Scheduling Problem with Alterna...
Solving the Multi-Objective Flexible Job-Shop Scheduling Problem with Alterna...Solving the Multi-Objective Flexible Job-Shop Scheduling Problem with Alterna...
Solving the Multi-Objective Flexible Job-Shop Scheduling Problem with Alterna...
 
Digital cement presentation november 2019
Digital cement presentation november 2019Digital cement presentation november 2019
Digital cement presentation november 2019
 
Implementing Digital Twins of Smart Factories with Interval Algebra
Implementing Digital Twins of Smart Factories with Interval AlgebraImplementing Digital Twins of Smart Factories with Interval Algebra
Implementing Digital Twins of Smart Factories with Interval Algebra
 
Business Ecosystems Internet of Things at ABB
Business Ecosystems Internet of Things at ABBBusiness Ecosystems Internet of Things at ABB
Business Ecosystems Internet of Things at ABB
 
CADISON world Issue-1-2013
CADISON world Issue-1-2013CADISON world Issue-1-2013
CADISON world Issue-1-2013
 
The Glass Wave: V1 Digital Plait
The Glass Wave: V1 Digital Plait The Glass Wave: V1 Digital Plait
The Glass Wave: V1 Digital Plait
 
Efficiency analyzer for wallblower iiot_quest
Efficiency analyzer for wallblower iiot_questEfficiency analyzer for wallblower iiot_quest
Efficiency analyzer for wallblower iiot_quest
 
CWIN17 Toulouse / Industrial big data and mes, the winning combination to imp...
CWIN17 Toulouse / Industrial big data and mes, the winning combination to imp...CWIN17 Toulouse / Industrial big data and mes, the winning combination to imp...
CWIN17 Toulouse / Industrial big data and mes, the winning combination to imp...
 
PSI - 9th HSBC SRI/CleanTech Conference
PSI - 9th HSBC SRI/CleanTech ConferencePSI - 9th HSBC SRI/CleanTech Conference
PSI - 9th HSBC SRI/CleanTech Conference
 
GE Digital - Customer Reference Stories - 9Nov2017.pptx
GE Digital - Customer Reference Stories - 9Nov2017.pptxGE Digital - Customer Reference Stories - 9Nov2017.pptx
GE Digital - Customer Reference Stories - 9Nov2017.pptx
 
Internet of Things (IoT) as a Driver for the Circular Economy – Innovation, Q...
Internet of Things (IoT) as a Driver for the Circular Economy – Innovation, Q...Internet of Things (IoT) as a Driver for the Circular Economy – Innovation, Q...
Internet of Things (IoT) as a Driver for the Circular Economy – Innovation, Q...
 
VE-Match: Video Encoding Matching-based Model for Cloud and Edge Computing In...
VE-Match: Video Encoding Matching-based Model for Cloud and Edge Computing In...VE-Match: Video Encoding Matching-based Model for Cloud and Edge Computing In...
VE-Match: Video Encoding Matching-based Model for Cloud and Edge Computing In...
 
FIWARE Global Summit - Industry 4.0 Lombardy Champion Showcase: Whirlpool
FIWARE Global Summit - Industry 4.0 Lombardy Champion Showcase: WhirlpoolFIWARE Global Summit - Industry 4.0 Lombardy Champion Showcase: Whirlpool
FIWARE Global Summit - Industry 4.0 Lombardy Champion Showcase: Whirlpool
 
Cadison world-issue-01-2013
Cadison world-issue-01-2013Cadison world-issue-01-2013
Cadison world-issue-01-2013
 
How to Value Digitalization
How to Value DigitalizationHow to Value Digitalization
How to Value Digitalization
 
Industrial Internet
Industrial InternetIndustrial Internet
Industrial Internet
 
Using Information Technology to Meet the Carbon Challenge
Using Information Technology to Meet the Carbon Challenge Using Information Technology to Meet the Carbon Challenge
Using Information Technology to Meet the Carbon Challenge
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Cloud-based dynamic distributed optimisation of integrated process planning and scheduling in smart factories

  • 1. Cloud-based Dynamic Distributed Optimisation of Integrated Process Planning and Scheduling in Smart Factories Shuai Zhao1, Piotr Dziurzanski1, Michal Przewozniczek1, Marcin Komarnicki, Leandro Soares Indrusiak1 1University of York, UK 2Wroclaw University of Technology, Poland GECCO 2019 Prague, July 13th-17th 2019 1
  • 2.  SAFIRE project  System architecture  Problem description  Cloud deployment – Kubernetes cluster  Dynamic number of islands  Experimental results  Conclusion GECCO 2019 Prague, July 13th-17th 2019 2 Agenda
  • 3.  Funded under: H2020 - EU.2.1.1. - Industrial Leadership  Reconfiguration-as-a- Service for dynamic smart factories and manufactured smart products.  Exploits cloud-based services to continuously optimise the performance of production systems and products. GECCO 2019 Prague, July 13th-17th 2019 3 SAFIRE project
  • 4. GECCO 2019 Prague, July 13th-17th 2019 4 SAFIRE architecture SAFIRE Manufacturer / Factory Optimisation & Reconfiguration Engine Situation Determination Services Predictive Analytics Engine Reconfiguration Quality Evaluation Services Reconfiguration Interfaces Secure SAFIRE infrastructure Connected Product Network &Event-driven Data Ingestion Situation Monitoring Services
  • 5. GECCO 2019 Prague, July 13th-17th 2019 5 SAFIRE components Situation Determination (SD) Reconfiguration & Optimisation Engine (OE) Predictive Analytics (PA) Reconfiguration Quality Evaluation Services based on Digital Twin time A 0 100 B Interval algebra Smart Factory
  • 6. GECCO 2019 Prague, July 13th-17th 2019 6 Application model - example allocation decision A B  Two dependent manufacturing processes, two machines  Process A can be assigned to machine M1  Process B can be assigned to machine M1 or M2  M2 is 2* faster than M1 Process A Process B M1 time0 20 40 60 80 M2 Process A M1 time0 20 40 60 80 Process B M2 Or:
  • 7. GECCO 2019 Prague, July 13th-17th 2019 7 Application model 53 2 9 41 9 5 3 6 4 7 8 5 9 9 5 6 7 8 initialisation termination evaluate fitness select the fittest breed pairs / crossover mutations replace old population Input: manufacturing processes, plant situation (e.g. past allocations, machine availability etc.) Output: resource allocations, resource modes, time slots
  • 8. GECCO 2019 Prague, July 13th-17th 2019 8 Chromosome encoding Target machine Mode Priority Target machine Mode Priority Process A Process B ...
  • 9. GECCO 2019 Prague, July 13th-17th 2019 9 Kubernetes (K8s) cluster Kubernetes cluster Load balancer Pod Services Horizontal Pod Autoscaler PodAddon CoreDNS
  • 10. GECCO 2019 Prague, July 13th-17th 2019 10 Execution stages Pod - Master ... 1st stage 2nd stage ... Kubernetes cluster Pod - OE Pod - OE Pod - OE ... Pod - OE Pod - OE Pod - OE Pod - Master Pod - Master
  • 11.  Executing islands for i iterations (=stage)  Adding non-dominated solutions returned from all islands to (common) PF  Performing migrations  Deciding on the number of nodes GECCO 2019 Prague, July 13th-17th 2019 11 Master node functionality
  • 12.  One K8s working node can host one or more OE (islands)  Number of islands – decided by the Master node  Number of working nodes – decided by K8s Horizontal Pod Autoscaler based on the K8s metrics (memory usage) GECCO 2019 Prague, July 13th-17th 2019 12 Dynamic number of islands / K8s working nodes
  • 13.  Static – baseline  Classic  If CI of PF @ stage s <= CI of PF @ stage s-1 ● Delete islands that meet island deletion criteria; ● Create one island with randomly generated individuals  Active  If CI of PF @ stage s <= CI of PF @ stage s-1 ● Delete all islands that do not provide new solutions to PF  If CI of PF @ stage s <= CI of PF @ stage s-1 ● Create one island with randomly generated individuals GECCO 2019 Prague, July 13th-17th 2019 13 Number of islands - strategies
  • 14. GECCO 2019 Prague, July 13th-17th 2019 14 Process Manufacturing Example
  • 15.  Metrics  Key objective metrics ● Makespan (minimise) ● Surplus (minimise)  Controlled metrics ● Production line ● Recipes applied  Observable metrics ● Actual process time per batch ● Energy consumption 15 Optimisation Prague, July 13th-17th 2019GECCO 2019
  • 16. GECCO 2019 Prague, July 13th-17th 2019 16 Recipes Paint name Recipe Compatible resources Amount produced Execution time Std Weiss A Mixer 1 - Mixer 5 5 t 90 min. B Mixer 6, Mixer 7 10 t 60 min. C Mixer 8, Mixer 9 10 t 45 min. D Mixer 8, Mixer 9 10 t 40 min. Weiss Matt A Mixer 1 - Mixer 5 5 t 90 min. B Mixer 6, Mixer 7 10 t 60 min. C Mixer 8, Mixer 9 10 t 45 min. D Mixer 8, Mixer 9 10 t 40 min. W Super Glanz A Mixer 1 - Mixer 5 4 t 120 min. B Mixer 6, Mixer 7 8 t 90 min. C Mixer 8, Mixer 9 8 t 60 min. D Mixer 8, Mixer 9 8 t 55 min. Weiss Basis A Mixer 1 - Mixer 5 6 t 60 min. B Mixer 6, Mixer 7 12 t 45 min. C Mixer 8, Mixer 9 12 t 30 min. D Mixer 8, Mixer 9 12 t 25 min.
  • 17. Strategy Island Executed Island Created Island Deleted Static 200 5 0 Active 192 29 19 Classic 137 25 23 GECCO 2019 Prague, July 13th-17th 2019 17 Experimental results
  • 18.  DCI: (0,0,1)  Amazon Elastic Container Service for Kubernetes (Amazon EKS) run on 4-cores instances m5 in the AWS London zone: Static- 15 USD, Classic – 11 USD, Active - 12.1 USD GECCO 2019 Prague, July 13th-17th 2019 18 Process manufacturing optimisation results by all managers
  • 19. 19 Discrete Manufacturing Example Prague, July 13th-17th 2019GECCO 2019
  • 20.  Metrics  Key objective metrics ● Makespan (minimize) ● Cost/part (minimize)  Controlled metrics: ● Wire  Type  Diameter ● Machine Eco-mode ● Machine model  Observable metrics ● Actual process time per job/part ● Actual wire consumption ● Energy consumption ● Actual Wire cost. 20 Optimisation Prague, July 13th-17th 2019GECCO 2019
  • 21. GECCO 2019 Prague, July 13th-17th 2019 21 Order – 16 metal parts Part name Size/ machin e MW PL (mm) Speed (mm/mi n) Cutting time (min) Wire Consum ption speed (kg/h) Wire Consum ption per part (kg) Wire cost per kg (€) Wire Cost per part (€) Machin e cost per hour (€) Machin e cost per part (€) Total cost per part (€) P1 Small 1 2400 2.85 842.1 0.250 3.5 8.0 28.1 10 140.4 168.4 Medium 1 2400 2.85 842.1 0.250 3.5 8.0 28.1 15 210.5 238.6 Large 1 2400 2.85 842.1 0.250 3.5 8.0 28.1 35 491.2 519.3 Small 2 2400 2.47 971.4 0.233 3.8 8.0 30.2 10 161.9 192.1 Medium 2 2400 2.47 971.4 0.233 3.8 8.0 30.2 15 242.9 273.1 Large 2 2400 2.47 971.4 0.233 3.8 8.0 30.2 35 566.7 596.9 Small 3 2400 3.17 756.2 0.250 3.2 13.0 41.0 10 126.0 167.0 Medium 3 2400 3.17 756.2 0.250 3.2 13.0 41.0 15 189.0 230.0 Large 3 2400 3.17 756.2 0.250 3.2 13.0 41.0 35 441.1 482.1 Small 4 2400 3.27 733.5 0.258 3.2 17.0 53.7 10 122.3 175.9 Medium 4 2400 3.27 733.5 0.258 3.2 17.0 53.7 15 183.4 237.1 Large 4 2400 3.27 733.5 0.258 3.2 17.0 53.7 35 427.9 481.6 . . .
  • 22.  DCI test:  ManagerStatic: 0.852  ManagerActive: 1.0  ManagerClassic: 0.926  The total optimisation cost < 0.5USD for any strategy. GECCO 2019 Prague, July 13th-17th 2019 22 Cost per part vs Makespan
  • 23.  The three managers have been used to optimise 30 randomly generated manufacturing orders.  28 out of 30: ManagerActive was the best.  ManagerClassicacted better than ManagerStatic in 27 cases. GECCO 2019 Prague, July 13th-17th 2019 23 Scaling the problem size
  • 24.  Two genetic algorithms for multi-objective optimisation using a dynamic number of islands have been proposed.  The software implementation of these algorithms has been deployed to a cloud and applied to an integrated process planning and scheduling for two real-world smart factories representing the process and discrete manufacturing branches.  The presented experimental results have confirmed the superiority of the proposed method over the typical approach using a static number of islands in terms of solution quality and computation time. GECCO 2019 Prague, July 13th-17th 2019 24 Conclusion
  • 25. GECCO 2019 Prague, July 13th-17th 2019 25 Asynchronous architecture SD Kubernetes cluster Load balancer Pod OE Services Horizontal Pod Autoscaler Pod Redis Addon CoreDNS
  • 26. Thank you! Questions ? GECCO 2019 Prague, July 13th-17th 2019 26