Steffen Bangsow / Штеффен Бангсоу - Manufacturing Simulation with Plant Simulation and SimTalk

Скачать

Steffen Bangsow / Штеффен Бангсоу - Manufacturing Simulation with Plant Simulation and SimTalk

Manufacturing Simulation with Plant Simulation and SimTalk

Год: 2010

Автор: Steffen Bangsow / Штеффен Бангсоу

Издательство: Springer-Verlag Berlin Heidelberg

ISBN: 978-3-642-05073-2

Язык: Английский

Формат: PDF

Качество: Отсканированные страницы

Интерактивное оглавление: Нет

Количество страниц: 308

Описание: This book is a systematical introduction to the development of simulation models and the implementation and evaluation of simulation experiments with Plant Simulation. 'Manufacturing Simulation with Plant Simulation and SimTalk' is aimed at all users of Plant Simulation looking for an easy entry into the program. A particular focus is on the introduction into the simulation flow language SimTalk and its use in various areas of the simulation. In over 100 examples the author shows, how the modules for simulation models combined, and how to deal with SimTalk complex control and analysis tasks. The contents of the book ranges from the description of the basic functions of the material flow components to demanding topics such as the realization of a database connection using the ODBC interface or the exchange of data with Microsoft Excel on DDE.

Перевод Google + правки

Эта книга представляет собой систематическое введение в изучение имитационных моделей и осуществления и оценки имитационных экспериментов с Plant Simulation. "Manufacturing Simulation with Plant Simulation and SimTalk" направлена на всех пользователей Plant Simulation ищущих легкого входа в программу.Особое внимание уделяется введению в язык потокового моделирования SimTalk и его использования в различных областях моделирования. В более чем 100 примерах автор показывает, как сочетаются модули для имитационных моделей, и как работать с комплексным контролем и анализом задач SimTalk. книги колеблется от описания основных функций компонентов материальных потоков в сложных темам: таких как реализации подключения к базе данных с помощью интерфейса ODBC или обмен данными с Microsoft Excel на DDE.

1 Introducing Factory Simulation ................................................................... 1

1.1 Uses......................................................................................................... 1

1.2 Definitions............................................................................................... 2

1.3 Procedure of Simulation.......................................................................... 2

1.3.1 Formulation of Problems ............................................................ 2

1.3.2 Test of the Simulation-Worthiness ............................................. 3

1.3.3 Formulation of Targets ............................................................... 3

1.3.4 Data Collection ........................................................................... 3

1.3.5 Modeling..................................................................................... 4

1.3.5.1 First Modeling Stage.................................................... 4

1.3.5.2 Second Modeling Stage ............................................... 5

1.3.6 Executing Simulation Runs ........................................................ 5

1.3.7 Result Analysis and Result Interpretation................................... 5

1.3.8 Documentation............................................................................ 5

2 Plant Simulation............................................................................................. 7

2.1 First Steps................................................................................................ 7

2.1.1 Online Tutorial ........................................................................... 7

2.1.2 Examples .................................................................................... 7

2.1.3 Help ............................................................................................ 7

2.1.4 Website ....................................................................................... 8

2.2 Introductory Example ............................................................................. 8

2.2.1 The Program ............................................................................... 8

2.2.1.1 The Program Window.................................................. 8

2.2.1.2 The Class Library......................................................... 8

2.2.1.3 The Console ................................................................. 9

2.2.1.4 The Toolbox................................................................. 9

2.2.2 First Simulation Example ........................................................... 9

2.2.2.1 Design of the Model..................................................... 9

2.2.2.2 Insert Objects into the Frame ..................................... 10

2.2.2.3 Connect the Objects ................................................... 10

2.2.2.4 Define the Settings of the Objects.............................. 10

2.2.2.5 Run the Simulation..................................................... 11

2.3 Modeling............................................................................................... 12

2.3.1 Object-Related Modeling.......................................................... 12

2.3.2 Object-Oriented Modeling........................................................ 12

2.3.2.1 Objects and Properties ............................................... 12

2.3.2.2 Classes and Instances ................................................. 13

2.3.2.3 Inheritance.................................................................. 13

2.3.2.4 Duplication and Derivation ........................................ 13

3 Standard Classes in PLANT SIMULATION ............................................ 17

3.1 Overview............................................................................................... 17

3.2 Material Flow Objects........................................................................... 17

3.2.1 General Behavior of the Material Flow Objects ....................... 17

3.2.1.1 Time Consumption..................................................... 18

3.2.1.2 Capacity ..................................................................... 20

3.2.1.3 Blocking..................................................................... 20

3.2.1.4 Failures....................................................................... 21

3.2.2 The Source................................................................................ 25

3.2.2.1 Basic Behavior ........................................................... 25

3.2.2.2 Settings....................................................................... 25

3.2.3 The Drain.................................................................................. 29

3.2.4 The SingleProc ......................................................................... 29

3.2.5 The ParallelProc ....................................................................... 29

3.2.5.1 Basic Behavior and Use ............................................. 29

3.2.5.2 Settings....................................................................... 30

3.2.6 The AssemblyStation................................................................ 32

3.2.7 The Buffer................................................................................. 34

3.2.8 The DismantleStation ............................................................... 35

3.2.8.1 Basic Behavior ........................................................... 35

3.2.8.2 Cycle .......................................................................... 38

3.2.9 The Store .................................................................................. 39

3.2.10 The Line.................................................................................... 40

3.2.10.1 Behavior of the Line .................................................. 40

3.2.10.2 Attributes of the Line ................................................. 40

3.2.10.3 Curves and Corners.................................................... 43

3.2.11 AngularConverter and Turntable .............................................. 44

3.2.11.1 Settings of the AngularConverter............................... 45

3.2.11.2 Settings of the Turntable ............................................ 46

3.2.12 The PickAndPlace Robot.......................................................... 46

3.2.12.1 Basic Behavior ........................................................... 46

3.2.12.2 Attributes.................................................................... 47

3.2.13 The Track.................................................................................. 50

3.2.14 The Sorter ................................................................................. 51

3.2.14.1 Basic Behavior ........................................................... 51

3.2.14.2 Attributes of the Sorter............................................... 52

3.2.15 The FlowControl....................................................................... 55

3.2.15.1 Basic Behavior ........................................................... 55

3.2.15.2 Attributes.................................................................... 55

3.3 Resource Objects................................................................................... 60

3.3.1 Usage and Example .................................................................. 60

3.3.2 The Worker-WorkerPool-Workplace-FootPath Concept ......... 61

3.3.3 The Broker................................................................................ 61

3.3.4 The WorkerPool ....................................................................... 62

3.3.5 The Worker............................................................................... 63

3.3.6 The Footpath............................................................................. 63

3.3.7 The Workplace ......................................................................... 64

3.3.8 Worker Transporting Parts........................................................ 65

3.4 General Objects..................................................................................... 66

3.4.1 The Frame................................................................................. 66

3.4.1.1 General....................................................................... 66

3.4.1.2 The Frame Window ................................................... 67

3.4.2 The Connector .......................................................................... 68

3.4.2.1 Basic Behavior ........................................................... 68

3.4.2.2 Attributes.................................................................... 69

3.4.3 The EventController ................................................................. 69

3.4.3.1 Basic Behavior ........................................................... 69

3.4.4 The Interface............................................................................. 71

3.4.4.1 Basic Behavior ........................................................... 71

3.4.4.2 Attributes of the Interface .......................................... 74

4 Icons .............................................................................................................. 75

4.1 Basics .................................................................................................... 75

4.2 The Icon Editor ..................................................................................... 75

4.3 Drawing Icons....................................................................................... 76

4.4 Inserting Images.................................................................................... 76

4.4.1 Insert Images from the Clipboard ............................................. 76

4.4.2 Inserting Images from a File..................................................... 77

4.5 Changing the Background Color of the Frame ..................................... 78

4.6 Animation Structures and Reference Points.......................................... 78

4.6.1 Basics........................................................................................ 78

4.6.2 Set Reference Points................................................................. 79

4.6.3 Animation Structures ................................................................ 80

4.7 Animating Frames................................................................................. 81

5 Programming with SimTalk........................................................................ 85

5.1 The Object Method ............................................................................... 85

5.1.1 Introductory Example ............................................................... 85

5.2 The Method Editor ................................................................................ 87

5.2.1 Line Numbers, Entering Text ................................................... 87

5.2.2 Bookmarks................................................................................ 87

5.2.3 Code Completion...................................................................... 88

5.2.4 Information About Attributes and Methods.............................. 88

5.2.5 Templates.................................................................................. 89

5.2.6 The Debugger ........................................................................... 90

5.3 SimTalk................................................................................................. 90

5.3.1 Names ....................................................................................... 91

5.3.2 Anonymous Identifiers ............................................................. 91

5.3.3 Paths ......................................................................................... 92

5.3.3.1 Absolute Path ............................................................. 93

5.3.3.2 Relative Path .............................................................. 93

5.3.3.3 Name Scope ............................................................... 93

5.3.4 Comments................................................................................. 94

5.4 Variables and Data Types ..................................................................... 95

5.4.1 Variables................................................................................... 95

5.4.1.1 Local Variables .......................................................... 95

5.5 Operators............................................................................................... 99

5.5.1 Mathematical Operators............................................................ 99

5.5.2 Logical (Relational) Operators ................................................. 99

5.5.3 Assignments............................................................................ 100

5.6 Branching............................................................................................ 102

5.7 Case Differentiation ............................................................................ 104

5.8 Loops .................................................................................................. 105

5.8.1 Conditional Loops .................................................................. 105

5.8.1.1 Header-Controlled Loops......................................... 105

5.8.1.2 Footer-Controlled Loops.......................................... 106

5.8.2 For-Loop................................................................................. 107

5.9 Methods and Functions ....................................................................... 108

5.9.1 Passing Arguments ................................................................. 108

5.9.2 Passing Several Arguments at the Same Time........................ 109

5.9.3 Result of a Function................................................................ 110

5.9.4 Predefined SimTalk Functions................................................ 111

5.9.4.1 Functions for Manipulating Strings.......................... 111

5.9.4.2 Mathematical Functions........................................... 112

5.9.5 Method Call ............................................................................ 113

5.9.5.1 Sensors ..................................................................... 113

5.9.5.2 Other Events for Calling Methods ........................... 114

5.9.5.3 Method Call After a Certain Timeout ...................... 115

6 Simtalk and Material Flow Objects.......................................................... 117

6.1 Attributes of the Material Flow Objects.............................................. 117

6.2 State of Material Flow Objects ........................................................... 119

6.2.1 Operational, Failed, Pause ...................................................... 119

6.2.2 Ready...................................................................................... 121

6.2.3 Empty ..................................................................................... 122

6.2.4 Occupied................................................................................. 123

6.2.5 Full.......................................................................................... 123

6.2.6 Capacity.................................................................................. 124

6.3 Suspending Methods ........................................................................... 126

6.4 Observer.............................................................................................. 127

6.5 Content of the Objects......................................................................... 129

6.6 Sensors ................................................................................................ 132

6.7 User-Defined Attributes...................................................................... 134

7 Mobile Units................................................................................................ 139

7.1 Standard Methods of Mobile Units ..................................................... 139

7.1.1 Create...................................................................................... 139

7.1.2 MU-Related Attributes and Methods...................................... 140

7.2 Length, Width, and Booking Point...................................................... 141

7.3 The Entity............................................................................................ 142

7.4 The Container...................................................................................... 143

7.4.1 Attributes of the Container ..................................................... 143

7.4.2 Loading Containers................................................................. 143

7.4.3 Unloading Containers ............................................................. 145

7.5 The Transporter................................................................................... 158

7.5.1 Basic Behavior........................................................................ 158

7.5.2 Attributes of the Transporter................................................... 158

7.5.3 Routing ................................................................................... 160

7.5.3.1 Automatic Routing................................................... 160

7.5.3.2 Driving Control ........................................................ 164

7.5.4 Methods and Attributes of the Transporter............................. 167

7.5.4.1 Creating a Transporter.............................................. 167

7.5.4.2 Unloading a Transporter .......................................... 167

7.5.4.3 Driving Forward and Backward............................... 167

7.5.4.4 Stopping and Continuing.......................................... 168

7.5.4.5 Drive after a Certain Time ....................................... 169

7.5.4.6 Start Delay Duration ................................................ 171

7.5.4.7 Important Methods and Attributes of the

Transporter............................................................... 176

8 Information Flow Objects ......................................................................... 183

8.1 The List Editor .................................................................................... 183

8.2 The CardFile ....................................................................................... 184

8.3 StackFile and QueueFile ..................................................................... 195

8.4 The TableFile ...................................................................................... 200

8.4.1 Basic Behavior........................................................................ 200

8.4.2 Methods and Attributes of the TableFile ................................ 202

8.4.3 Calculating within Tables ....................................................... 204

8.5 The TimeSequence.............................................................................. 208

8.5.1 Basic Behavior........................................................................ 208

8.5.2 Settings ................................................................................... 208

8.6 The Trigger ......................................................................................... 212

8.6.1 Basic Behavior........................................................................ 212

8.7 The ShiftCalendar ............................................................................... 215

8.8 The Generator ..................................................................................... 217

8.9 The AttributeExplorer ......................................................................... 218

8.10 The EventController............................................................................ 221

9 Statistics ...................................................................................................... 223

9.1 Basics .................................................................................................. 223

9.1.1 Statistics Collection Period..................................................... 223

9.1.2 Activating Statistics Collection .............................................. 224

9.2 Statistics – Methods and Attributes..................................................... 224

9.3 User Interface Objects......................................................................... 230

9.3.1 Chart ....................................................................................... 230

9.3.1.1 Plotter....................................................................... 230

9.3.1.2 Chart Types.............................................................. 233

9.3.1.3 Statistics Wizard ...................................................... 236

9.3.1.4 Histograms ............................................................... 237

9.3.2 The Sankey Diagram .............................................................. 238

9.3.3 The Bottleneck Analyzer ........................................................ 241

9.3.4 The Display............................................................................. 242

9.3.4.1 Behavior................................................................... 242

9.3.4.2 Attributes of the Display .......................................... 243

9.3.5 The Comment ......................................................................... 245

9.3.6 The Report .............................................................................. 246

9.3.6.1 Automatic Resource Report (Statistics Report) ....... 246

9.3.6.2 Report Header .......................................................... 246

9.3.6.3 Report Data .............................................................. 247

9.3.6.4 Texts in Reports ....................................................... 249

9.3.6.5 Show Objects in Reports.......................................... 250

9.3.6.6 Show Images in Reports........................................... 252

10 User Interface Objects ............................................................................... 253

10.1 General................................................................................................ 253

10.2 Elements of the Dialog........................................................................ 253

10.2.1 The Dialog Object .................................................................. 254

10.2.2 Insert Elements ....................................................................... 254

10.2.3 Callback Function................................................................... 256

10.2.4 The Static Text Box ................................................................ 257

10.2.5 The Edit Text Box .................................................................. 257

10.2.6 Images in Dialogs ................................................................... 258

10.2.7 Buttons.................................................................................... 260

10.2.8 Radio Buttons ......................................................................... 261

10.2.9 Checkbox................................................................................ 263

10.2.10Drop-Down List Box and List Box......................................... 263

10.2.11 List View ................................................................................ 265

10.2.12Tab Control............................................................................. 267

10.2.13Group Box .............................................................................. 267

10.2.14Menu and Menu Item.............................................................. 267

10.3 Accessing Dialogs............................................................................... 268

10.4 Protection of Methods and Objects ..................................................... 269

10.5 Validation User Input.......................................................................... 270

10.5.1 Type Validation and Plausibility Check ................................. 270

10.5.2 Message Box........................................................................... 271

10.6 HTML-Help ........................................................................................ 272

11 Data Exchange............................................................................................ 273

11.1 DDE with Plant Simulation................................................................. 273

11.1.1 Read Plant Simulation Data in Microsoft Excel ..................... 273

11.1.2 Excel Data Import in Plant Simulation ................................... 274

11.1.3 Plant Simulation Remote Control ........................................... 276

11.1.4 DDE Hotlinks ......................................................................... 277

11.2 The File Interface ................................................................................ 278

11.3 The ODBC Interface ........................................................................... 279

11.3.1 Setup an ODBC Data Source.................................................. 280

11.3.2 Read Data from a Database .................................................... 282

11.3.3 Write Data in a Database ........................................................ 283

11.3.4 Delete Data in a Database Table............................................. 284

11.3.5 SQL Commands ..................................................................... 285

11.3.5.1 SELECT................................................................... 285

11.3.5.2 INSERT (Insert New Records) ................................ 286

11.3.5.3 UPDATE (Change Data)......................................................................... 286

11.3.5.4 DELETE ................................................................................................. 287

12 Plant Simulation 3D........................................................................................ 289

12.1 Sample Project ............................................................................................289

12.2 Views and Move in Plant Simulation 3D........................................................290

12.3 Control the Simulation in Plant Simulation 3D.............................................. 290

Index .................................................................................................................. 293

Скачать