0% found this document useful (0 votes)
18 views21 pages

008 Simulation System & Language

Uploaded by

Assad Leo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views21 pages

008 Simulation System & Language

Uploaded by

Assad Leo
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Simulation and Modeling / 1

SIMULATION SYSTEM
& LANGUAGE
.
Presented by

Najam
Definition
A simulation system is a software or hardware-based framework designed to
create a digital replica of a real-world system. It allows users to study the system's
behavior under different conditions by mimicking its operations.

Key Components
Model:
A mathematical or logical representation of the real-world system.
Simulator:
The software or hardware tool that runs the model to produce results.
Input Data:
Real-world data or assumptions fed into the system to drive the simulation.
Output Data:
Results generated by the simulator, which help in decision-making or analysis.
User Interface:
A platform for interacting with the system, providing inputs, and viewing results.
Types of Simulation Systems
Discrete Event Simulation (DES):
Models systems where events occur at distinct times (e.g.,
manufacturing systems).
Continuous Simulation:
Models systems with continuous changes over time (e.g., weather
predictions, fluid dynamics).
Agent-Based Simulation (ABS):
Simulates the interactions of autonomous agents to analyze
complex behaviors (e.g., crowd dynamics).
Monte Carlo Simulation:
Uses random sampling to model probability distributions and
predict outcomes (e.g., risk assessment in finance).
Hybrid Simulation:
Combines multiple simulation approaches to capture diverse
system behaviors.
Applications
Engineering and Manufacturing:
Design testing (e.g., aircraft models). Process optimization in
factories.
Healthcare:
Surgery training using virtual systems. Drug development
testing.
Education and Training:
Virtual labs for science experiments. Flight simulators for pilot
training.
Business and Finance:
Market analysis and forecasting. Risk and investment
assessment.
Environmental Studies:
Climate change models. Disaster response planning.
Examples of Simulation System Tools
MATLAB/Simulink: Engineering and
system dynamics simulations.
ANSYS: Finite element analysis for
engineering problems.
Arena: Discrete event simulation for
business processes.
Unity: Simulation and visualization in 3D
environments. (https://cloud.unity.com)
NetLogo: Agent-based modeling.
Simulation and Modeling 2

A simulation language is a specialized


programming language or software tool
designed to create simulation models of real-
world systems. These languages offer
predefined constructs, frameworks, and
libraries that make it easier to model,
simulate, and analyze the behavior of
complex systems. Simulation languages are
specifically tailored for simulation tasks,
reducing the effort compared to using
general-purpose programming languages.
4

Simulation Language..
Simulation software packages are designed to
meet the following objectives:
• To conveniently describe the elements, which commonly
appear in simulation, such as the generation of
random deviates.
• Flexibility of changing the design configuration
of the
system so as to consider alternate configuration.
• Internal timing and control mechanism, for book
keeping of
the vital information during the simulation run.
• Toobtain conveniently, the data and statisticson
the
behavior of the system.
5

Merits of Simulation Language


• Since most of the features to be programmed are
in-built, simulation languages take comparatively
less programming time and effort.
• Since simulation language consists of blocks,
specially constructed to simulate the common
features, they provide a natural framework for
simulation modelling.
• The simulation models coded in simulation
language can
easily be changed and modified.
• The error detection and analysis is done
automatically
in simulation languages.
• The simulation models developed in simulation
languages, especially the specific application
7

GPSS (General Purpose Simulation


System)
• GPSS, which stands for General Purpose Simulation
System. This language was developed primarily by
Geoffrey Gordon at IBM around 1960, and has
contributed important concepts to every commercial
discrete event Computer Simulation Language
developed ever since.
• GPSS is a discrete time simulation general-purpose
programming language, where a simulation clock
advances in discrete steps. A system is modeled as
transactions enter the system and are passed from one
service (represented by blocs) to another.
• This is particularly well-suited for problems such as a
factory. GPSS is less flexible than simulation languages
such as Simulate and SIMSCRIPT but it is easier to use
and more popular.
8

Key Features of Simulation Languages


Predefined Constructs:
Built-in functions for simulation-specific tasks like generating
random numbers, scheduling events, and handling queues.
Time Management:
Tools for simulating continuous or discrete time events.
Visualization Support:
Graphs, animations, and reports to help interpret simulation
outcomes.
User-Friendliness:
Easier to learn compared to general-purpose programming
languages.
. 11

Types of Simulation Languages


Discrete Event Simulation Languages:
Focus on systems where events occur at specific times.
Examples: SIMSCRIPT, GPSS (General Purpose Simulation
System)
Continuous Simulation Languages:
Focus on systems with continuous changes over time.
Examples: DYNAMO, CSMP (Continuous System Modeling
Program)
Hybrid Simulation Languages:
Combine discrete and continuous modeling capabilities.
Examples: AnyLogic, Simulink
6

Desirable Features of Simulation


Software
1. Modelling Flexibility
2. Ease of Modelling
3. Fast Execution Speed
4. Compatibility of various Computer Systems
5. Statistical Capabilities
6. Capability of Animation
7. Report Presentation Capabilities
9

Examples of Popular Simulation Languages


SIMSCRIPT:
A simulation language for large-scale discrete event simulations, commonly
used in logistics and military applications.
GPSS (General Purpose Simulation System):
Simplifies queue-based and process-oriented simulations, often used in
industrial and business applications.
DYNAMO:
Designed for continuous simulations, popular in system dynamics and
economics.
Modelica:
An object-oriented simulation language for multi-domain systems like
electrical circuits, mechanical systems, and thermodynamics.
Simulink:
A block-diagram-based simulation language integrated into MATLAB, often
used in engineering and control systems.
. 12

Advantages of Simulation Languages


• Tailored for simulation tasks, saving time and effort.
• High accuracy in modeling complex systems.
• Easy integration of statistical and mathematical
models.
• Provides visual and analytical output for better
understanding.

Limitations
• May require specific training to use effectively.
• Not suitable for non-simulation tasks.
• Some tools can be resource-intensive.
15

Comparison with General Programming


Languages

General Programming
Feature Simulation Languages
Languages

Ease of Use Easier for simulation tasks Steeper learning curve

Predefined Functions Extensive for simulation Limited

Time Management Built-in Requires manual coding

Visualization Support Strong Requires external libraries

You might also like