Simulation and modeling notes powerpoint, Study notes of Mathematical Modeling and Simulation

collection of simulation and modeling notes theory only

Typology: Study notes

2017/2018

Uploaded on 04/05/2018

roshan-koju-1
roshan-koju-1 🇳🇵

4.6

(8)

9 documents

1 / 19

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
SIMULATION
LANGUAGES
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13

Partial preview of the text

Download Simulation and modeling notes powerpoint and more Study notes Mathematical Modeling and Simulation in PDF only on Docsity!

SIMULATION

LANGUAGES

Some Continuous Simulation Languages  CSMP III  Advanced Continuous Simulation Language (ACSL):  (^) Supports textual or graphical model specification.  (^) SimApp:  (^) Simple simulation of dynamic systems and control systems.  (^) Simgua:  (^) A simulation toolbox and environment that supports Visual Basic.  (^) VisSim:  (^) A visually programmed block diagram language.

Some Hybrid Simulation

Languages

 (^) AnyLogic:  (^) Multi-method simulation tool, which supports System dynamics, Discrete event simulation, Agent-based modeling.  (^) Simio:  (^) A software for discrete-event, continuous, and agent-based simulation.  (^) Modelica:  (^) An open-standard object-oriented language for modeling of complex physical systems.  (^) Saber Simulator:  (^) Simulates physical effects in different engineering domains (hydraulic, electronic, mechanical, thermal, etc.).

CSMP III

CSMP III, or Continuous System Modelling Program IlI is an early scientific computer software designed for modelling and solving differential equations numerically. This enables real- world systems to be simulated and tested with a computer

CSMP III: Structural

Statements

Structural statement can make use of the operation of addition, subtraction, multiplication, division and exponentiation, using the same notation and rule as are used in FORTRAN. If the model include the equation Then the following statement would be used X=6.0Y/W+(Z-2)*2. There are many functional block which in addition to provide operation specific to simulation. Some of them are the exponential function, trigonometric function and function for taking maximum values.

CSMP III: Functional Block  There are many functional block which in addition to provide operation specific to simulation. Some of them are the exponential function, trigonometric function and function for taking maximum values.

CSMP III: Functional

Block

Data Statement

 Data statements are used to set the initial values to the model parameter. For example one data statement called INCON can be used to set the initial value of integration function block.

CONTROL Statements

 If printed output is required, control statements with PRINT and PRDEL are used followed by the names of variables to form the outputs.  The set of structural, data and control statements for a problem can be assembled in any order but they must be end with control statement END.

Example Program 1 in

CSMP

The following code shows a CSMP III program for the automobile wheel suspension problem represented by It has been coded for the case where M=2.0, F= and K=400. And there will be different runs with different value of D as specified

Example Program 2 in

CSMP

Let we have a model represented by differential equation

Example Program 2 in

CSMP

TITLE SIMPLE CSTR REACTION SIMLUATION

PARAM ICC=0, THETA=2.0, K=1.0, C 0 =1.0,V=1.

DCDT=(C 0 -C)/THETA-K*C C=INTGRL(ICC,DCDT)

TIMER FINTIM=15.0, DELT=0.05, PRDEL=0. PRINT C, DCDT END STOP

Hybrid simulation

 High speed converters are needed to transform signal form one form of representation to another. As a practical matter, the availability of minicomputer has made hybrid simulation easier, by lowering cost and allowing computer to be dedicated to an application.  The term hybrid simulation is used generally of the case in which functionally distinct analog and digital computer are linked together for proposes of simulation.