Professional Documents
Culture Documents
MGMT2017 08
MGMT2017 08
MGMT2017 08
1
Simulation
• Simulation is imitating the behaviour of one system with another. By making changes to the simulated supply
chain, one expects to gain understanding of the dynamics of the physical supply chain.
• Rather than deriving a mathematical analytical solution to the problem, experimentation with the model is done by
changing the parameters of the system in the computer, and study the differences in the outcome of the
experiments.
• Simulation is an ideal tool for further analysing the performance of a proposed design derived from an
optimization model.
Approaches:
discrete-event simulation
system dynamics
agent-based simulation
Monte Carlo( This is static approach)
× ×
2
Why Dynamic Simulation?
“Simulation is especially useful, when the underlying system is
assumed to be too complex to be examined by mathematical‐
analytical methods. Such complexity arises due to time‐
dependent, random, and interacting effects within the system”
Modeling
Day 6 Day 7 Day 8 time
Day 1 Day 2 Day 3 Day 4 Day 5
5
Problems to Address with Simulation
• What safety stock should you have at each echelon in a supply
chain?( is not enabled in PLE version)
• Which inventory policy will meet customer service level
expectations?
• Where are the bottlenecks?
Warehouses Suppliers
Factory
Customers
AnyLogic
Factory
Distribution Centers
Warehouses Suppliers
Factory
Customers
AnyLogic
Distribution Centers
• Customer-related statistics include a number of characteristics e.g. service level, waiting time,
number of received orders, number of delayed orders
© The AnyLogic Company |
www.anylogistix.com
9
anyLogistix Simulation Modeling Capabilities
Warehouses Suppliers
Factory
Customers
AnyLogic
Distribution Centers
• Receive customer orders, send shipments, generate upstream orders and receive
shipments shipments
shipments
Supply
Chain
orders orders
11
anyLogistix Simulation Modeling Capabilities
Warehouses Suppliers
Factory
Inventory Policies
Sourcing Policies
Customers
Inventory Policies
Sourcing Policies Inventory Policies
Sourcing Policies
AnyLogic
Distribution Centers
Distribution center/Warehouse/Factory
13
anyLogistix Simulation Modeling Capabilities
Warehouses Suppliers
Factory
Inventory Policies
Sourcing Policies
Customers
Inventory Policies
Sourcing Policies Inventory Policies
Sourcing Policies
AnyLogic
Distribution Centers
Bill of Materials
BOM
Finished goods
stock
Production policies Table:
Table: BOM Inventory
Table: Production
Raw material stock
Table: Inventory
Table: Sourcing
15
Factory (2)
• ALX assumes there is a production line for each product
• Each line may use the same pool of raw materials
• Production orders are created based on the Inventory policies for the
finished goods warehouse.
̶ They are not directly dependent on the orders the factory receives!
• Factories produce and ship finished goods, receive orders and raw materials
shipments, order raw materials
shipments shipments shipments Supply
orders Chain
orders orders
17
anyLogistix Simulation Modeling Capabilities
Warehouses Suppliers
Factory
Inventory Policies
Sourcing Policies
Customers
Inventory Policies
Sourcing Policies Inventory Policies
Sourcing Policies
AnyLogic
Distribution Centers
• We cannot orders
control suppliers sourcing, inventory and transportation
policies orders
• Suppliers’ parameters are defined in the Suppliers table
19
anyLogistix Simulation Modeling Capabilities
Warehouses Suppliers
Factory
Transportation
policies
Inventory Policies
Sourcing Policies
Transportation
Transportation policies
Customers policies
Inventory Policies
Sourcing Policies Inventory Policies
Sourcing Policies
Transp AnyLogic
policies
ortatio
Distribution Centers n
• Goal:
̶ Implement the supply chain in virtual
environment and analyze its characteristics
Hint: Please import the scenario file “SimpleSIM_DC_Factory.xlsx” and follow the steps in the
next slides in which some initial steps are done or simply import”
“SimpleSIM_DC_Factory_Completed.xslx” in which all the steps are done.
Cutting
Foam concrete
Mixing
…
raw
materials
Curing of foam
concrete Autoclave
4. Click Add
24
4.2 Exercise: Action - Step 2
• We have created a new monetary unit. Now Let us add a conversion rule for it
25
4.2 Exercise: Action - Step 3
• We have created a conversion rule for the new monetary unit. Now we will set the new
unit as the default monetary unit within the current project
̶ The default unit will be used by default in all the new scenarios of the current project
3. Click x to close
1. Switch to the Units tab of the dialog box
the Manage Units dialog box
26
4.2 Exercise: Action - Step 4
27
4.2 Exercise: Action ‐ Step 5
• Zoom into Sao Paolo in the south of Brazil
̶ In the following exercises of this training we will learn how to automatically place
an object into the required location, but for now we will do it manually
29
4.2 Exercise: Action - Step 7
• Add a warehouse to the north of Sao Paulo
30
4.2 Exercise: Action - Step 8
31
4.2 Exercise: Action - Step 9
2. Double-click the cell and rename 3. Double-click the cell and set 4. Set the Cost to 0, as it
the product to Foam concrete 600 the Selling Price to 164 will be calculated automatically
based on our production settings
32
4.2 Exercise: Action - Step 10
• Let us set daily demand for the foam concrete. Set Customer, Customer 2, and
Customer 3 to order 50, 40, and 70 m3 respectively
1. Navigate to the
Demand table
2. Double-click the Parameters
cell of the Customer record
4. Set Quantity to 50
6.In the same way set demand
parameters for the other two customers:
- Customer 2: Order interval, days: 1
5. Click OK to close the dialog box Quantity: 40
- Customer 3: Order interval, days: 1
Quantity: 70
33
4.2 Exercise: Action - Step 11
• Navigate to the Paths table and set the transportation cost per volume per distance to
0.16
1.Double-click the Cost Calculation Parameters
cell to open the dialog box
3. Click Save
34
4.2 Exercise: Action - Step 12
2. On the dashboard
canvas click Add Chart
3. Filter statistics
by typing Profit
35
4.2 Exercise: Action - Step 13
36
Controlling the Experiment Run
37
4.2 Exercise: Action - Step 14
• Simulation results
̶ When simulation completes (or when it is stopped) all statistics collected during the experiment run are
saved to the project database and become available to observe on the dashboard
38
Statistics: Configuration
• The Configure statistics dashboard allows you to define the statistics to collect during
the simulation run
39
Statistics: Naming
• Statistics are collected
by:
̶ Products
̶ Orders
̶ Sites
• Naming rules:
Product Flow
Information Flow
40
Statistics: Dashboard (1)
41
Statistics: Dashboard (2)
• Rearranging dashboard
elements
1. Drag chart title to move
it around the dashboard
42
Statistics: Dashboard (3)
• Adding and configuring dashboard elements
Click Add chart to open
the Add chart dialog box
Selected statistics
will be added to
the dashboard
© The AnyLogic Company |
www.anylogistix.com
43
Statistics: Dashboard (4)
• Configuring additional settings of dashboard
elements Defines if the data is shown as daily value
or as aggregated value that is gathered
from the beginning of simulation
List of keys that statistics can Add filters. For example, you
be detailed and filtered by may want to look at maximum
capacity of a Factory
44
Statistics: Dashboard (5)
• Detail by
̶ Defines the level at which statistics must be collected
̶ e.g. by supply chain object, product, replication
• Filter
̶ Allows you to display the statistics only for selected items
̶ E.g. If you add filter by Customer 1, ALX will show transportation costs for Customer 1 only
• Total/Per Item
̶ Defines if the statistics is displayed individually for every item or in total for all the
items
45
Statistics: Dashboard Export
46
Statistics: Visualization Methods
Table
Line
Bar chart
Histogram
Best-Mean-Worst
47
Statistics: Visualization Methods
• Table ‐ presents the statistics data in tabular form (in rows and
columns)
• Chart ‐ presents the statistics data in graphical form
49
4.2 Exercise: Action - Step 16
1. Open Locations table 2. Double-click the empty City cell 3. Double-click the empty Country cell 4. Enable
of this record and type Tatui of this record and type Brazil Autofill Coordinates
50
4.2 Exercise: Action - Step 17
• Navigate to the Sourcing table and define DC as the source of the product for the
customers
• Now define the factory as the source of the product for the DC
3. Click Add to create 4. Double-click the 5. Double-click the cell, 6. Click the arrow and select
a new table record cell and select DC check Factory and Foam concrete 600
uncheck All sites
51
4.2 Exercise: Action - Step 18
• The default setup allows shipping from any site to any customer. By adding the DC
object to the list of Destinations we allow it to also receive shipments from the Factory
object
© The AnyLogic Company |
www.anylogistix.com
52
4.2 Exercise: Action - Step 19
2. Сlick to observe
supply chain structure
53
4.2 Exercise: Action - Step 20
• Navigate to the Inventory table and define inventory policy for our DC
̶ The inventory policy will define that the DC has the initial stock of 300 m3 of foam
concrete, and that it places replenishment orders for 400 m3 each time its inventory drops below
200 m3
1. Double-click the 2. Double-click the cell and 3. Double-click the cell, 5. Сlick the cell
cell and select DC select Foam concrete 600 select Min-max policy and type 300
54
4.2 Exercise: Action - Step 21
• Now we will define inventory policy for our Factory
̶ The inventory policy will define that the Factory has unlimited inventory of foam
concrete
1. Click Add to create 2. Double-Click the cell 3. Double-click the cell and 4. Leave the defined by default
a new table record and select Factory select Foam concrete 600 Unlimited inventory policy
55
4.2 Exercise: Action - Step 22
56
4.2 Exercise: Action - Step 23
57
4.2 Exercise: Action - Step 24
2. Observe statistics
58
Activity
For example, run the “SIM Global Network Examination ” from SIM in the help menu
Check some of the input tables including “DC and Factories”, “Inventory”, “Paths”,
“Products”, “Shipping”, and “Sourcing”. Analyze the results using statistics “Profit
and Loss Statement” ”, “Service Level”, and “Lead time”, and answer the following
questions:
59
www.anylogistix.com
60