模擬學
Simulation
Lecture 01 Course Intro
Prof. Sheng-I Chen
[Link]
February 20, 2025
Class Materials and References
• No textbook is required
• Class handouts will be available in the E3 system
• References:
• Averill M. Law, Simulation Modeling and Analysis, Fifth Edition, McGraw-Hill, 2015
• Jerry Banks, John S. Carson II, Barry L Nelson, and David M. Nicol, Discrete Event
System Simulation, 5th edition, Prentice Hall International Edition, 2009
• 林則孟,「系統模擬理論與應用」,2001,滄海書局
• Winter Simulation Conference
Course Units & Schedule
• See e3
Grading
• In-class performance, homework, and quizzes: 50%
• Midterm: 20%
• Final: 30%
Course Objectives
Discrete-Event Simulation (DES)
• The DES is for modeling a dynamic system, where
• the system state is changed over time
• and a event can change the state of the system
Purposes of Simulation
• To evaluate alternative strategies without having to conduct
a real-world experiment
• The simulation experiments can save time and money
• Support what-if analysis for complex systems
• Simulation is an analytical tool for answering questions
9
Applications
• Scheduling
• Inventory control
• Facility layout
• Capacity planning
• Transportation network
• Etc. Reference: Jahangirian et al., Simulation in manufacturing and business: A Review, 2008, EJOR
10
Student Projects
• 劉育昀, 應用模擬分析改善急單達交率, 110
• 蕭智宏, 運用模擬以改善SMT生產排程, 110
• 林宗穎, 晶圓再生研磨機台保養排程與人力配置之模擬分析, 110
• 張均裕,模擬晶圓測試廠派工法則以提升訂單達交率之研究, 110
• 蘇忠仁,運用模擬分析提高IC封裝生產機台稼動率以鐳射蓋印製程為例, 111
• 温偉竣,模擬自動倉儲與無人搬運車導入對物流自動化效益分析, 111
• 尤治貴, 應用啟發式演算法搭配模擬建立訂單分配貨車規劃排程–以公司 W 為例, 112
• 劉宗玟, 模擬最佳化派工於非等效電鍍平行機台效益評估, 112
• Simulation Forum Channel : [Link]
p173Mjg8nzlb403g
Example of Modeling Reception Desk Service
• M/M/1 queueing system:
Customer arrivals
Queue
• Questions to be answered via the simulation model:
Cost of different dispatching rules?
A feasible production target?
Lead-times to serve against different service levels?
Bottlenecks in a factory?
Resources or capacity for solving the current problem or congestion?
12
Demo FlexSim MM1 Model
Class Materials and Tools
• Class presentations are available in the E3 system
• Will use simulation software: FlexSim
Simulation Software
• This class uses FlexSim and Simpy (Open-source Python simulation framework).
Install both software on your laptops
• Other simulation software
• Arena
• ProModel
• Simio
• Etc.
16
FlexSim Installation
18
FlexSim License Activation
19
Exercise
• Download and install FlexSim on your computer
• Build a simple model of the MM1 system
20
Model Development Environment
21
Model Development Environment
• Library
• Fixed Resources: Source, Queue, Processor,
Sink, etc…
• Flow Resources: Operator, Transporter,
Elevator, etc…
• Flow Item
• 3D View
• Build models by dragging and dropping
objects from library to 3D view
• Tool bar
• Status bar 22
Start a New Model
• Step 1. Click New model at the welcome
page or go to File -> New Model
• Step 2. Specify units and date-time
• Step 3. Drag and drop objects from library
to the 3D view
• Step 4. Connect objects
• Step 5. Run
23
Hotkeys for Connecting Objects
“A”: Connect fixed resource to fixed resource
ex: Source 1 to Queue 2
“Q”: Disconnect fixed resource to fixed
resource
“S”: Connect fixed resource to flow resource
ex: Processer 3 to Operator 5
“W”: Disconnect fixed resource to flow
resource
24