IN
DEGREE PROJECT MATHEMATICS, SECOND CYCLE, 30 CREDITS
STOCKHOLM SWEDEN 2018 ,
Simulation of an Electric Quarry with Automated Transporter
Scheduling
BILIN CHEN IDA KARLSSON
KTH ROYAL INSTITUTE OF TECHNOLOGY
SCHOOL OF ENGINEERING SCIENCES
Simulation of an Electric Quarry with Automated Transporter
Scheduling
BILIN CHEN IDA KARLSSON
Degree Projects in Optimization and Systems Theory (30 ECTS credits) KTH Royal Institute of Technology year 2018
Supervisor at Syntell: , Lars-Olof Kihlström Supervisor at KTH: Per Enqvist
Examiner at KTH: Per Enqvist
TRITA-SCI-GRU 2018:372 MAT-E 2018:78
Royal Institute of Technology School of Engineering Sciences KTH SCI
SE-100 44 Stockholm, Sweden
URL: www.kth.se/sci
Abstract
An electric site project is being developed by Volvo Construction Equipment with the goal to transform the quarry and aggregate industry by reducing carbon emissions by up to 95 % and total ownership cost up to 25 %. The goal is achieved by using electrical autonomous vehicles as the work force.
In an effort to reduce lead times, from design to reality, the objective of this thesis was to develop a logical architecture of a quarry using the Systems Modelling Language. The logical model contains all the essential elements existent in a quarry and describes core behavior to reflect the requirements needed in an electric site.
The value of the logical model lies in its ability to aid the development process, complementing it with an executable simulation further show- cases that value. The simulation was used to analyze the performance of the electrical autonomous transporter HX02 that is instructed by an algorithm for optimal routing and scheduling.
The algorithm incorporates traffic to reduce congestion at vertices with high level of activity. Its robustness is evaluated by varying the number of transporters and the weight on the traffic cost in the cost function.
It was found that applying the traffic cost helped reduce the congestion
significantly and increased production, but at the cost of more battery
usage. The effect of incorporating traffic was most noticeable when there
were more than 10 transporters operational. But when the weight on the
traffic cost was too large, the production declined instead. The observed
time complexity of the algorithm was O(n 2 ), which was feasible due to a
small input size n.
Simulering av ett elektriskt stenbrott med automatiserad dumper-schemal¨ aggning
Sammanfattning
Ett elektriskt stenbrottsprojekt drivs av Volvo Construction Equip- ment med m˚ alet att omvandla hela gruvindustrin. M˚ alet ¨ ar att minska kol- dioxidutsl¨ appen med upp till 95% och det totala ¨ agarskapskostnaden upp till 25%. F¨ or att uppn˚ a m˚ alet ska elektriska autonoma maskiner anv¨ andas i stenbrotten.
I syfte att minska ledtiden fr˚ an design till verklighet, var m˚ alet med denna avhandling att utveckla en logisk arkitektur av stenbrottet med Systems Modelling Language. Den logiska modellen inneh¨ oll v¨ asentliga element som ˚ aterfinns i ett stenbrott och beskriver k¨ arnbeteenden f¨ or att
˚ aterspegla de krav som uppst˚ ar i ett elektrisk stenbrott.
F¨ or att ytterligare p˚ avisa v¨ ardet som den logiska modellen besitter och framf¨ ora dess betydelse i rollen att st¨ odja utvecklingsprocessen, skapades en exekverbar simulering som ett komplement. Simuleringen anv¨ andes f¨ or att analysera prestandan hos den elektriska autonoma dumpern HX02 som fick instruktioner av en algoritm f¨ or optimal ruttplanering.
Algoritmen tog h¨ ansyn till trafiken p˚ a omr˚ adet f¨ or att minska trafik- stockning vid noder med h¨ og aktivitetsniv˚ a. Dess robusthet utv¨ arderades genom att variera p˚ a antalet dumprar och vikten p˚ a trafikkostnaden i kostnadsfunktionen.
Det visade sig att introducera trafik bidrog till avsev¨ art minskad traf- fiktr¨ angsel och ¨ okade produktionen, men p˚ a bekostnaden av en h¨ ogre bat- teri˚ atg˚ ang. Trafikkostnadens p˚ averkan var som tydligast n¨ ar antalet verk- samma dumprar var h¨ ogre ¨ an 10. Men n¨ ar trafikkostnaden viktades f¨ or h¨ ogt, minskade produktionen ist¨ allet. Tidskomplexiteten hos algoritmen
¨ ar O(n 2 ) vilket ¨ ar acceptabelt d˚ a m¨ angden indata n ¨ ar liten.
Acknowledgements
We would like to express our deepest gratitude to Lars-Olof Kihlstr¨ om, our supervisor at Syntell AB, for providing us with this thesis and always being available and eager to help whenever we needed it.
Per Enqvist, our supervisor at KTH, who in spite of being extraordin- arily busy, taking the time to discuss strategies and calm us down when we wavered.
Lastly, a special thanks Fabrizio Pugnetti, Senior Expert at PTC, for
giving us great advice regarding the modelling program and providing us
with software updates.
CONTENTS
Contents
1 Introduction 1
1.1 Objective . . . . 1
1.2 The electric site project . . . . 2
1.3 Systems Modelling Language . . . . 3
2 Theory 5 2.1 Dijkstra’s graph search algorithm . . . . 5
2.2 Big-O notation . . . . 6
3 Method 8 3.1 Disclaimer: Model parameters . . . . 8
3.2 Modelling software . . . . 8
3.3 Creating the quarry geography . . . . 8
3.4 Routing algorithm design . . . . 11
3.4.1 Preparing the site configuration for computational use . . 11
3.4.2 Decision algorithm for Transporter requests . . . . 12
3.4.3 Incorporating traffic into Dijkstra’s routing . . . . 13
3.4.4 Expected traffic and the traffic penalty . . . . 15
4 The Simulation Model 17 4.1 Assumption and simplifications . . . . 17
4.2 The Site . . . . 19
4.3 Control Tower . . . . 20
4.4 Roads . . . . 22
4.5 Transporters . . . . 23
4.6 Source . . . . 30
4.7 Facility . . . . 30
4.8 Logistical Support . . . . 30
4.9 Crossings . . . . 31
4.10 Material Processor . . . . 32
4.11 Loader . . . . 32
4.12 Charging . . . . 33
4.13 Excavator . . . . 34
5 Results 35 6 Discussion 42 6.1 Time complexity of the routing algorithm . . . . 42
6.2 Limitations of the routing algorithm . . . . 43
6.3 Simulation results . . . . 43
6.4 Model reliability . . . . 45
7 Conclusion 46 7.1 Future work . . . . 46
8 References 48
Appendices 49
CONTENTS
A Routing Function 49
B Drive Function 54
C Traffic Intensity graphs 56
1 INTRODUCTION 1
1 Introduction
The operating vehicles used in modern quarries are manually controlled ma- chines powered by fossil fuels. Routine routes being driven daily, with standard tasks such as loading and unloading of material performed diligently without much variance in the work duties [1]. Thus, making it an opportune scenario for a shift to an automated control. At the same time, the carbon footprint of the quarry can be reduced by building the new operation upon a foundation which utilizes clean electricity as its main power source. Some essential machines that will be transformed are for example the excavator, material processor, wheel loader and transporter. However, this report will only focus extensively on the transporters.
To operate quarry transporters the driver must have gone through training and obtain a license. Great knowledge about the vehicle is needed to operate these machines to their utmost efficiency, altogether this becomes a large cost for a company. On top of this, the drivers will most likely not drive in ways that will prolong the lifespan of their vehicle, causing faster deterioration.
By using automated transporters, this can be completely avoided. With a high level of autonomy the transporters would therefore only behave as it has been told, in the utmost optimal way. There is extensive research being conduc- ted in the field of autonomous vehicles for almost all industries. The benefits are many, some already mentioned. However, by transforming into an autonom- ous site comes with many challenges. The obstacle this project will tackle, is the design of a routing scheduling system for the automated transporters in a quarry environment based on logical architecture.
1.1 Objective
The objective of this thesis is divided into two parts. The first part is to improve an extensive logical architecture of a special quarry site and prepare the model for simulation and analysis. The quarry being special in that the operated vehicles will be fully automated and electric.
The second part is to create the actual simulation. The simulation is in- tended to reflect the capabilities of the electric site. It will contain a routing algorithm to guide the autonomous vehicles based on a given input. The ob- jective function is to maximize the production per time unit while minimizing the traffic congestion.
It will also be possible to induce vehicle errors in the simulation to examine the robustness of the system. This will help the decision makers to catch the problem early and draft preventative protocol for critical scenarios. Which can in the future lead to a foundation for best practice in certain scenarios.
The simulation results will later be used to evaluate the efficiency and feas-
ibility of using the new prototypes in a quarry site. Since it is based of a logical
architecture, it can help spot deficiencies in the design at an early stage to
avoid costly mistakes down the line. This shortens the development phase of
prototyping a quarry and result in greatly reduced lead time.
1 INTRODUCTION 2
1.2 The electric site project
With the rise of fuel prices the incentive to electrify the quarries is more inter- esting than ever. The other incentive is to reduce the carbon footprint of such sites. As of today, construction vehicles are not regulated by the same emis- sion standards that commercial vehicles have to abide to. Electrifying a large quarry will be a paradigm shift where the current infrastructure will experience a major overhaul as many pivotal components are in the center of change. The transformation is estimated to reduce the carbon emission of parts of the quarry by up to 95% and the operating cost by 25% [1].
Converting the current machinery set to perform with an alternate power source will present its own challenges. Firstly, stationary units will require protracted cables connected to an electric grid. An example of how the cables are intended to be connected to the electrical grid can be seen in Figure 1.1.
The material processor is a machine where the cables need a transformer which converts the 10 kV available in the grid to the 400 V needed by the processor.
The stationary unit must however also be somewhat mobile and move along the crush site as the quarry is gradually reduced [1]. Another stationary unit is the hybrid excavator EX1. This is a modified unit based on the old EC750 also connected to the outer electric grid.
Figure 1.1: Electric site envisioned by Volvo CE, from [2].
The mobile units will consist of the hybrid wheel loader LX1 with a 3,6 litre diesel engine and the HX2 load carrier in Figure 1.2.
The HX2 is the transporter and will be traversing all over the work site,
moving from the material processor to the facility storage area. It is fully
autonomous with the driver’s compartment completely removed and is also fully
electrically driven with a 18 kWh lithium-ion battery [3]. The design of the
load carrying transporter, see Figure 1.2, allows them to form a continuous line
beneath the processor for loading. Thus eliminating the need for an additional
loader next to the processor.
1 INTRODUCTION 3
Figure 1.2: Fully autonomous load carrier designed by Volvo CE, from [2].
A never-before-seen construct on quarry sites is the need of a charging station for the HX2 transporters. Since the battery capacity equipped is relatively small, the transporters will continuously visit the charging station every time it leaves the crusher for a fast charge using a pantograph [1]. The intent is to keep the battery level high at all times even though the battery is far from being depleted after only one lap. However, in the simulation of the model in this project another approach was used. In this approach, the transporter routing follow a decision logic based on the transporters current location and battery level. By using this decision logic, it is believed that a more optimal route planning and production could be achieved.
Since the new transporters have lower load capacity than the fossil fueled haulers, there will have to be a fleet of these transporters in order to meet the same demand in production. This will strain the road capacity and run the risk of overcrowding bottle necks of the area, such as the charging-, loading- and unloading stations. The model must therefore be able to accommodate the new design parameters in order to achieve a sustainable and high performing site.
1.3 Systems Modelling Language
The logical model of the electric site, from which this project is derived from, was grounded in the Systems Modelling Language (SysML). It is an extension of Unified Modeling Language (UML) which was a standard mainly for the software engineering domain, whereas SysML was developed specifically for the systems engineering domain [4].
Furthermore, the model that has been simulated has made use of an archi- tecture framework derived from SysML. The framework is UAF: Unified Archi- tecture Framework that has been defined by the Object Management Group as a means of expressing concepts within an enterprise and therefore covers stra- tegic and operational considerations, services, resources, personnel, projects, requirements, security as well as standards use.
In the same fashion as SysML is based on UML concepts by means of ste-
reotypes, and a few additions, UAF is based completely on SysML by extending
1 INTRODUCTION 4
its elements. The framework is the result of several years of work by various agencies such as the US DoD and its framework DoDAF, the UK MOD and its framework MODAF as well as NATO and its framework NAF to name a few [5].
The model that has been simulated is based on concepts from UAF solely from the Operational area.
SysML is used for model based systems engineering in order to support large systems development whether it may be aerospace application or down-to-earth industries [4]. It is a richly expressive graphical modeling language with its own modelling standard to be followed, it is also able to clearly communicate a systems design structure, behaviour and all its requirements. Therefore, it is a great medium to describe large systems of systems to anyone who understands the modelling language, but also for collaboration purposes due to the model elements unambiguous interpretation [4].
SysML models has long been used for its great communication proficiency as a logical architecture blueprint. However, these models are often rigid and hard to extract any kinds of analytical data since the intent of the model design work was not to create an interactive user model. A large part of the focus for this project has henceforth surrounded the development of an executable SysML model a simulation environment and analyze the capabilities of such models for future potential. The software used to create the model will be mentioned in
§3.2.
2 THEORY 5
2 Theory
The geographical quarry location that has been modelled in this project is not based on an actual site. It is rather based on aerial images taken of many different quarry sites. Depicted in Figure 2.1 is the generalized visualization of a quarry site created in Matlab.
The simulation model has been designed with the intent to be flexible and able to be molded after any type of quarry location, as the data configuration are loaded from an external file.
Figure 2.1: Map of a generic Quarry site. Roads {A-L}, narrow roads {N1-N11}
and junctions {1-9}.
2.1 Dijkstra’s graph search algorithm
Dijkstra’s algorithm is a greedy algorithm which finds the shortest paths between
all pairs of vertices in a network. This means the algorithm lacks a direction in
its exploratory search for the final destination by comparing the distance to all
possible vertices until it reaches the source [6]. There are more direct algorithms
with a targeted approach, such as the A* algorithm which is an extension of
Dijkstra’s, which are able to find the same shortest path in a complex network
in less time. The difference between them being that the A* algorithm tracks
the length of the tree of paths the algorithm has visited, and uses a heuristic to
guide the search toward the target and terminates when an extension branches
to the destination vertex. Clearly an advantage in motion planning for autonom-
2 THEORY 6
ous vehicles. But due to Dijkstra’s simplistic nature and the small input size needed for the problem at hand, it becomes an ideal algorithm to implement in our modelling software, PTC Integrity Modeler.
Algorithm 2.1: Pseudocode for Dijkstra’s algorithm [7]
1 Function dijkstras()
2 dist[s] ← 0
3 forall v ∈ V − {s} do
4 dist[v] ← ∞
5 S ← ∅
6 Q ← V
7 while Q 6= ∅ do
8 u ← mindist(Q,dist)
9 S ← S ∪ {u}
10 forall v ∈ neighbor[u] do
11 if dist[v] > dist[u] + w(u, v) then
12 d[v] ← d[u] + w(u, v)
13 return dist
The algorithm 2.1 is initiated by defining undirected vertices and edges with nonnegative weights. The distance to the source vertex is set to zero and all others to infinity. The visited set of vertices S is initially empty and the set containing all the vertices of the network V is stored in Q, the set of vertices that are to be visited.
Then the algorithm will check for the vertex with the least distance u and add it to the visited set. If the total distance of the shortest path v found is greater than the newly found shortest path, then v will be set as the new path.
2.2 Big-O notation
The Big-O notation, or O-notation, is used to provide an asymptotic upper bound of a function f (n) and also reflect its growth rate. The O-notation of a function f (n), or by denoting O(f (n)) is then
O(f (n)) = {g(n) : there exist positive constants c and n 0 such that 0 ≤ f (n) ≤ cg(n), ∀n ≥ n 0 }
where the upper limit of the O-notation for a given function is up to a certain
constant c for large values of n. An example of this asymptotic upper bound
can be seen in Figure 2.2.
2 THEORY 7
Figure 2.2: For large values of n, the given function f will have a upper asymp- totic bound cg(n) for a positive constant c. [8]
The more formal definition can be formulated as: Let f and g be real valued functions defined on a unbounded subset in R + where g is strictly positive and n large, then
f (n) = O(g(n)), when n → ∞
Using the O-notation for algorithm analysis, by estimating the upper bound
for the worst-case situation one has also estimated a bound for the running time
of the algorithm. This gives intuitive information regarding the performance of
the algorithm when the input n starts to grow.
3 METHOD 8
3 Method
Various software and mathematical optimization methods was employed through- out the project. Here we will present our own implementation of these.
3.1 Disclaimer: Model parameters
Before introducing the modeling software and how the model was built, a dis- claimer regarding the model and electric site parameters has to be made. Most of the parameters were based on carefully crafted engineering guesses due to the confidentiality surrounding the Electric Site Project. However, the consequen- tial effect on the model reliability in this thesis is not of significance. This model was created with the intention to be flexible, therefore the parameters was meant to be exchangeable from the beginning.
3.2 Modelling software
The software used to model the electrical quarry site and the logical behaviour of all its elements was PTC Integrity Modeler. It is a graphical systems modelling software used in the design process of complex systems as a communication tool for representing the stakeholders requests and ideas and also as an effort to speed up the development process. The standard used in the model is UAF, an extension of the Systems Modelling Language. The software was provided for us by Syntell AB and PTC.
3.3 Creating the quarry geography
The first step in creating an extensive map of the site was to discretize the area topography using 3d points in Matlab. This became the plane of which the transporters would travel on and can be seen in Figure 3.1.
0 0.2 0.4 0.6 0.8
0 1 1.2 1.4 1.6
2 1.8
4
10 6
8
8 6
4
10 2
0
Figure 3.1: Fitted polynomial surface
3 METHOD 9
Then, by discretizing the x- and y-coordinates of the roads, and using the surface polynomial of the plane as the z-coordinate, a coherent discrete road system was complete, as seen in Figure 3.2.
1 2 3 4 5 6 7 8 9 10 11
1 2 3 4 5 6 7 8 9 10 11
S
F
CH P CT
Figure 3.2: The coherent site map of the discretized road data, seen from the simulation plane.
Combining Figure 3.1 and Figure 3.2 was then the final product seen in
Figure 3.3 where the roads have been made continuous by adapting polynomial
functions to fit the discrete roads. Figure 3.3 is the representation of what
the control tower would see on their control panel interface. A more in-depth
description of its functionality is detailed in §4.3.
3 METHOD 10
Source
Facility
Charging Parking Control Tower
1 2 3 4 5 6 7 8 9 10 11
1 2 3 4 5 6 7 8 9 10 11