FlexSim Supplemental Training: Session 2 1 20121029.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

Chapter 3 Process Description and Control
FIU Chapter 7: Input/Output Jerome Crooks Panyawat Chiamprasert
MODELING AND ANALYSIS OF MANUFACTURING SYSTEMS Session 6 SCHEDULING E
Introduction to Operating Systems – Windows process and thread management In this lecture we will cover Threads and processes in Windows Thread priority.
Simscript II.5 Building simulation model with SIMSCRIPT II.5.
Real-Time Kernels and Operating Systems. Operating System: Software that coordinates multiple tasks in processor, including peripheral interfacing Types.
Textbook: Applied Simulation, modeling and Analysis using FlexSim
Modeling Basic Operations & Inputs
FlexSim Supplemental Training: Session
FlexSim Supplemental Training: Session 4
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
The Supply Chain Management Guide
Introduction to Discrete Event Simulation Customer population Service system Served customers Waiting line Priority rule Service facilities Figure C.1.
OPERATING SYSTEMS CPU SCHEDULING.  Introduction to CPU scheduling Introduction to CPU scheduling  Dispatcher Dispatcher  Terms used in CPU scheduling.
Chapter 7 Entity Transfer
MICROPROCESSOR INPUT/OUTPUT
1-1 Embedded Network Interface (ENI) API Concepts Shared RAM vs. FIFO modes ENI API’s.
Lecture 2 Process Concepts, Performance Measures and Evaluation Techniques.
Chapter 6 Scheduling. Basic concepts Goal is maximum utilization –what does this mean? –cpu pegged at 100% ?? Most programs are I/O bound Thus some other.
Central Processing Unit
Fall 2012 Chapter 2: x86 Processor Architecture. Irvine, Kip R. Assembly Language for x86 Processors 6/e, Chapter Overview General Concepts IA-32.
1 Multiprocessor and Real-Time Scheduling Chapter 10 Real-Time scheduling will be covered in SYSC3303.
CE Operating Systems Lecture 11 Windows – Object manager and process management.
1 Our focus  scheduling a single CPU among all the processes in the system  Key Criteria: Maximize CPU utilization Maximize throughput Minimize waiting.
Chapter 7 Operating Systems. Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the.
Arena Simulation Language. Simulation with ArenaChapter 3 – A Guided Tour Through ArenaSlide 2 of 58 The Create Flowchart Module “Birth” node for entities.
Oracle Data Integrator Agents. 8-2 Understanding Agents.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Process-Concept.
Processor Architecture
1 Computer Systems II Introduction to Processes. 2 First Two Major Computer System Evolution Steps Led to the idea of multiprogramming (multiple concurrent.
Process Program (Passive Entity) is a sequence of instructions, written to perform a specified task on a computer. A computer requires programs to function,
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 3: Process-Concept.
Stored Program A stored-program digital computer is one that keeps its programmed instructions, as well as its data, in read-write,
First Model. Description In this model we will look at the process of manufacturing three types of products in a factory. In our simulation model, we.
Object Oriented Simulation with OOSimL Conditional Waiting.
(C) J. M. Garrido1 Objects in a Simulation Model There are several objects in a simulation model The activate objects are instances of the classes that.
Operating Systems CPU Scheduling Algorithms
1 Process Description and Control Chapter 3. 2 Process A program in execution An instance of a program running on a computer The entity that can be assigned.
Multithreading The objectives of this chapter are: To understand the purpose of multithreading To describe Java's multithreading mechanism.
Unit 4: Processes, Threads & Deadlocks June 2012 Kaplan University 1.
The Functions of Operating Systems Spooling. Learning Objectives Describe spooling, explaining why it is used.
Waiting Line Theroy BY, PRAYASH NEUPANE, KARAN CHAND & SANTOSH SHERESTHA.
Second Model: “Model2”. What You Will Learn  How to build a simple layout  How to connect ports for routing flowitems  How to detail and enter data.
Copyright © Curt Hill More on Operating Systems Continuation of Introduction.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
Basic Concepts Maximum CPU utilization obtained with multiprogramming
 In a single-processor system, only one process can run at a time; any others must wait until the CPU is free and can be rescheduled.  The objective.
Chapter 1 What is Simulation?. Fall 2001 IMSE643 Industrial Simulation What’s Simulation? Simulation – A broad collection of methods and applications.
WAITING LINES AND SIMULATION
Dan C. Marinescu Office: HEC 439 B. Office hours: M, Wd 3 – 4:30 PM.
Process Management Process Concept Why only the global variables?
Chapter 5a: CPU Scheduling
Intro to Processes CSSE 332 Operating Systems
CS 143A - Principles of Operating Systems
CPU Scheduling Basic Concepts Scheduling Criteria
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
NextGen Utility Billing
3: CPU Scheduling Basic Concepts Scheduling Criteria
Chapter5: CPU Scheduling
Simulation Continuous Variables Simulation Continuous Vars
CPU SCHEDULING.
Using SHOPFLOOR to PLAN and EXECUTE PAPERLESS
Chapter 5: CPU Scheduling
Chapter 10 Multiprocessor and Real-Time Scheduling
Operating System , Fall 2000 EA101 W 9:00-10:00 F 9:00-11:00
Module 5: CPU Scheduling
Module 5: CPU Scheduling
Presentation transcript:

FlexSim Supplemental Training: Session

Modeling - Concepts Tasksequences and Taskexecutors TaskSequence Priority Communicating with TaskExecutors –Global Variable vs Centerport Connections “Break To” Requirement 22

3 Tasks and Tasksequences task – a single instruction or action to be performed by a TaskExecuter object. ex. LOAD flowitem tasksequence – a series of tasks to be performed in sequence. ex.TRAVEL to queue LOAD flowitem TRAVEL to processor UNLOAD flowitem 3

4 TaskExecuter Superclass TaskExecuters execute tasksequences. A tasksequence is a list of tasks which are to be completed in the order listed. A task is an activity such as loading, unloading, traveling, delaying, or simply being utilized. When a TaskExecuter receives a tasksequence, it will start executing the tasks one after another until the tasksequence is either finished or preempted by a preempting tasksequence of higher priority. Tasksequences are created and dispatched automatically when the “Use Transport” or “Use Operator” boxes are checked on a FixedResource. Custom tasksequences can also be created and dispatched using commands (taught later). 4

Operator An Operator will model human tasks such as machine setup or manual assembly. The Operator can also be used to transport FlowItems from one FixedResource to another. It really has no additional functionality beyond the TaskExecuter itself. The Operator can move in x, y, and z directions. Like all TaskExecutors, the Operator can load many FlowItems from multiple locations and then unload the FlowItems separately to multiple locations. 55

Model Description part 1 Purpose –Learn how to use an Operator to both carry and process flowitems Description –Parts arrive at a queue every 20 seconds exponentially distributed and need to be carried by the operator to one of 3 machines, whichever is first available. –The operator needs to setup the part which takes 10 seconds. –The part will then process for 20 seconds on its own. –When the part finishes, it will leave the system. –One operator will run all three machines. Questions & Bonus –See if you can get the operator to stay for setup once he has carried the product to the machine. –Can you create the same model without center port connections? 66

Model Layout 77

Preempt and Priority A tasksequence may preempt the current tasksequence part way through the current list of tasks. The preemption can either temporarily interrupt the current tasksequence or permanently destroy the current tasksequence as well as any other tasksequences waiting in the preempted TaskExecuter’s tasksequence queue. Tasksequences can be sorted by their priority. 8

9 Dispatcher Superclass The Dispatcher receives tasksequences and either queues them up, or dispatches the tasksequences immediately to other Dispatchers and/or TaskExecuters connected to its output ports. Because a TaskExecuter is a subclass of the Dispatcher, it too can act as a Dispatcher and be connected through its output ports to other TaskExecuters. 9

Forming a TaskExecuter team 10 Output Center Dispatcher TaskExecuters Input

Transporter A Transporter is used in a model where a fork truck, AGV or some other transport vehicle might be used. It is used to transport FlowItems from one FixedResource to another. The Transporter can travel in x, y and z directions. During offset travel the forks lift or lower in the z direction as needed to pick or place flowitems. 11

“Break to” picklist options Allows a TaskExecutor to work with multiple tasksequences at the same time Different “Break to” options will cause very different behavior Requires that the tasksequences implement a “Break” task type –Note: the TaskExecutor also needs to be told who is queuing its tasksequences; itself or a dispatcher 12

Model Description part 2 Purpose –Learn how to use the “Break To” Requirement field on TaskExecuters. Description –A Source continuously sends Flowitems randomly to 3 Queues. –Flowitems are assigned an itemtype 1,2,3 uniformly distributed. –All three Queues can hold all three itemtypes. –A team of two Transporters carries Flowitems to three Queues that each hold 1 itemtype. –These Queues then go to Processors and a Sink. –The Transporter can carry up to 5 items at a time. –The Transporter should only carry items that have the same itemtype at any time. Questions & Bonus –Experiment with the other available “Break To” Requirement pick- options. How does the Transporter behave? 13

Model Layout 14