Tutorial
71 pages
English
Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres
71 pages
English
Le téléchargement nécessite un accès à la bibliothèque YouScribe
Tout savoir sur nos offres

Description

Discrete-event Simulation SystemDELSI 2.0Tutorial Copyright © 1998 - 2008 Holushko Software. All rights reserved. Delsi 2.0 – T utorial 2Table of ContentIntroduction ...............................................................................3Setup...................................................................................................................3Installing D elsi 2.0 i n Visual Studio 2005 .......................................................................................................9A ctivation............................................................................13Uninstalling...........................................................................14C H A PTE R 1. B asics......................................................................15Sample arbershop...................................................................15Sample 2. I nput pa rameters and pr ogress ba r.................................................18Sample 3. C learing s tatistics dur ing s imulation r un.......................................................................................20Sample 4. C hanging pa rameters be tween r uns....................................................................................21Sample 5. Tracing.................................................................................................................22Sample 6. C hanging pa rameters dur ing a run........................................ ...

Informations

Publié par
Nombre de lectures 35
Langue English

Extrait

 
Discrete-event Simulation System
DELSI 2.0
Tutorial
Copyright © 1998 - 2008 Holushko Software. All rights reserved.
Table of Content
 Delsi 2.0  Tutroail           
 2
Introduction ..........................................................................................................................................................3 Setup.................................................................................................................................................................3 Installing Delsi 2.0 in Visual Studio 2005 .......................................................................................................9 Activation.......................................................................................................................................................13 Uninstalling....................................................................................................................................................14 CHAPTER 1. Basics...........................................................................................................................................15 Sample 1. Barbershop....................................................................................................................................15 Sample 2. Input parameters and progress bar................................................................................................18 Sample 3. Clearing statistics during simulation run.......................................................................................20 Sample 4. Changing parameters between runs...............................................................................................21 Sample 5. Tracing...........................................................................................................................................22 Sample 6. Changing parameters during a run................................................................................................23 Sample 7. Wrapping into a custom component..............................................................................................24 CHAPTER 2. Simulation Essentials...................................................................................................................29 Sample 8. Limited queue capacity and routing..............................................................................................29 Sample 9. Bank tellers. Using TDelay...........................................................................................................30 Sample 10. Call center. Limited waiting time in the queue...........................................................................32 Sample 11. Custom transaction fields. Tabulation.........................................................................................35 Sample 12. Subway station. Using TEmitter.................................................................................................37 Sample 13. Photo Lab. Using TQueuePrty....................................................................................................40 Sample 14. Failures and recoveries. Method TServer.Pause........................................................................43 Sample 15. High-priority interruption in TServer..........................................................................................44 Sample 16. High-priority interruption in TQueuePrty...................................................................................48 Sample 17. High-priority interruption in TMultiServer.................................................................................50 Sample 18. Simulating workflow. TSplitter and TJoiner...............................................................................51 Sample 19. Selecting from multiple queues. TPicker....................................................................................53 Sample 20. Changing transactions in numbers. TTerminator........................................................................55 Sample 21. Building models dynamically......................................................................................................57 Sample 22. Using arrays of blocks in complex topologies............................................................................59 Sample 23. Batching and Unbatching............................................................................................................61 Sample 24. Assembling with TAssembler......................................................................................................62 Sample 25. Selecting from TStorage..............................................................................................................65 Sample 26. Selecting from TStorage using SQL queries...............................................................................68
Introduction 
 Delsi 2.0  Tutroail           
 3
The best way to study Delsi is to work with examples. This document contains the comments to numerous simulation applications developed in Visual Studio 2005 using Delsi components. Going from the first to the last sample you will get step-by-step explanation of the most common aspects of Delsi simulation.
This tutorial is intended for .NET developers of entry level. The experienced programmers may find some of the examples or comments too obvious. The simulation tasks may seem naive and not quite real. Our goal is to make this tutorial clear for a wide range of developers, engineers and analysts.
Setup
1. Run Delsi installerdelsi setup.exe _
2. You will see the following wizard.
 
3. Press button “Next >”.
4.
 Dlesi2 .0  Tutorail       
Read license agreement. If you accept it, choose option “I accept the agreement”and press button Next “ >”
    
 4
5.
Select the location for Delsi home directory and press button “Next >”
 Delsi2 0. T turoail           
 5
6.
O
n the next
screen butt
on “I
nstal
l”.
D lesi 2.0  Tutorial           
 6
7.
Read the information related to the installation and press button “Next >”.
D elsi 2.0  Tutorail           
 7
Delsi 2.0 – Tutorial8
8. Choose if you want to activate Delsi with registration code and press button “Finish”.
At this point installation is completed. As a result of installation, Delsi home directory will have the following content.
Delsi.dll - .NET 2.0 assembly with Delsi 2.0 components readme.txt - This file license.txt - License agreement BIN\Activation.exe - Activation application MANUALS\API Reference.pdf - API Reference _ MANUALS\Tutorial.pdf - Tutorial MANUALS\DelsiHelp.chm - Help file SAMPLES - 26 sample projects for step-by-step study Besides that, Delsi setup program creates a registry key:  HKEY LOCAL MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\Delsi _ _
Installing Delsi 2.0 in Visual Studio 2005/2008
D lesi2 0. T tuorial           
This section describes how to installDelsiinMicrosoft Visual Studio 2005. The installation in Visual Studio 2008 can be achieved the same way.
1. 2. 3. 4.
       
Start Microsoft Visual Studio 2005. In its top menu “View” choose option “Toolbox”. Right click on Toolbox and choose option “Add Tab”. Type “Delsi” in the name field.
 9
5.
D lesi
Right click on Toolbox on the tab “Delsi” and choose option “Choose Items...”.
2 0. T turoail           
 10
6.
 Dels i.2 0 uTtroila           
In the dialog window “Choose Toolbox Item” choose all components of namespace Delsi and press button “OK”.
 11
  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents