Computer Simulation And Modeling

Similar documents
Design optimisation of industrial robots using the Modelica multi-physics modeling language

Using RecurDyn. Contents

DYNAMICS OF SPACE ROBOTIC ARM DURING INTERACTIONS WITH NON COOPERATIVE OBJECTS

1. INTRODUCTION. Constrained Control Allocation for Systems with Redundant Control Effectors

Design and Development of Unmanned Tilt T-Tri Rotor Aerial Vehicle

Modeling Structural - Dynamics Systems in MODELICA/Dymola, MODELICA/Mosilab and AnyLogic

PRODAS Newsletter. Announcing the Release of PRODAS Version 3.6. MATLAB/Simulink Trajectory Module

Introduction to Control Systems Design

AN INTEGRATED MODELICA ENVIRONMENT FOR MODELING, DOCUMENTATION AND SIMULATION

Modelica. Language, Libraries, Tools, Workshop and EU-Project RealSim

Multicomputer Research Desks for Simulation and Development of Control Systems

Simulation-Based Design of Robotic Systems

THE STUDY OF SLIDER CRANK MECHANISM USING MATLAB AND SCILAB

Lecture 1 GENERAL INTRODUCTION: HISTORICAL BACKGROUND AND SPECTRUM OF APPLICATIONS

Modeling of the wet end part of a paper mill with Dymola

Dynamic Analysis of Manipulator Arm for 6-legged Robot

MapleSim User's Guide

PHY 351/651 LABORATORY 1 Introduction to LabVIEW

Technical Electives in the Mechanical Engineering Curriculum

Modeling and control of a demonstrative prototype for platform multi-launcher rocket system using Lagrange s equation and CATIA simulation

Graphing on Excel. Open Excel (2013). The first screen you will see looks like this (it varies slightly, depending on the version):

Eng Ship Structures 1 L E C T U R E 1 0 : F I N I T E E L E M E N T T E C H N I Q U E S I N S H I P S T R U C T U R A L D E S I G N

Unit #19 : Functions of Many Variables, and Vectors in R 2 and R 3

Unit 1 Lesson 4 Representing Data. Copyright Houghton Mifflin Harcourt Publishing Company

Announcements: Quiz. Animation, Motion Capture, & Inverse Kinematics. Last Time? Today: How do we Animate? Keyframing. Procedural Animation

Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation. Range Imaging Through Triangulation

Preview. Two-Dimensional Motion and Vectors Section 1. Section 1 Introduction to Vectors. Section 2 Vector Operations. Section 3 Projectile Motion

Using Mathcad to Perform Mathematics Charles Nippert

computational Fluid Dynamics - Prof. V. Esfahanian

Define the problem and gather relevant data Formulate a mathematical model to represent the problem Develop a procedure for driving solutions to the

Last Time? Animation, Motion Capture, & Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

The Efficient Modelling of Steam Utility Systems

Local Linearity (Tangent Plane) Unit #19 : Functions of Many Variables, and Vectors in R 2 and R 3

Lectures & Excercises

The first thing we ll need is some numbers. I m going to use the set of times and drug concentration levels in a patient s bloodstream given below.

Scientific Computing for Physical Systems. Spring semester, 2018

Software Review: Ruby Tabulation Software

HYBRID EXPERIMENTING SYSTEM AS AN EXTENSION OF SIMULATION LANGUAGE SIMCOS

Quick Start Training Guide

LEARNING TO PROGRAM WITH MATLAB. Building GUI Tools. Wiley. University of Notre Dame. Craig S. Lent Department of Electrical Engineering

Great Inventions written by Bob Barton

1.2 Numerical Solutions of Flow Problems

Keyboard Velocity Curve Measurements and Implementation. Duane Strong, John Fertig, Si Moorehead.

Sensor Accuracy in Vehicle Safety

Automatically improving floating point code

Design of Liquid Level Control System Based on Simulink and PLC

Introduction to Flash - Creating a Motion Tween

Animation, Motion Capture, & Inverse Kinematics. Announcements: Quiz

Last Time? Animation, Motion Capture, & Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

Karen Liu associate professor at School of Interactive Computing. Murali Varma graduate student at School of Interactive Computing

N. Gachadoit 1, A. El Hadri 2, A. Benallegue 2, A. Seba 3, B.Vidalie 1

EEN118 LAB FOUR. h = v t ½ g t 2

This is the published version of a paper presented at IEEE PES General Meeting 2013.

Modeling and Simulation for Heterogeneous systems

Effect of Uncertainties on UCAV Trajectory Optimisation Using Evolutionary Programming

MITOCW ocw f99-lec12_300k

Web- and System-code Based, Interactive, Nuclear Power Plant Simulators. S. Goodwin Ave, Urbana, IL 61801, USA,

3.1 Quadratic Functions in Vertex Form

Mathematics Second Practice Test 2 Levels 6-8 Calculator allowed

: What is Finite Element Analysis (FEA)?

Lab 3: Acceleration of Gravity

Partial Differential Equations

Last Time? Inverse Kinematics. Today. Keyframing. Physically-Based Animation. Procedural Animation

MECHATRONICS SYSTEM ENGINEERING FOR CAE/CAD, MOTION CONTROL AND DESIGN OF VANE ACTUATORS FOR WATER ROBOT APPLICATIONS

Sample: Do Not Reproduce QUAD4 STUDENT PAGES. QUADRATIC FUNCTIONS AND EQUATIONS Student Pages for Packet 4: Quadratic Functions and Applications

SIMULINK Tutorial. Select File-New-Model from the menu bar of this window. The following window should now appear.

Solution for Euler Equations Lagrangian and Eulerian Descriptions

Advanced Applications of STAR- CCM+ in Chemical Process Industry Ravindra Aglave Director, Chemical Process Industry

Introduction to Spreadsheets

car=1700 FS gear=13.5 Wind: cw=0.33 AutoGear ThrottlePos JMotorPump=0.28 TS Jturbine=0.034 TS 1 Engine converter ECU ControlBox

JARA 2i A MODELICA LIBRARY FOR INTERACTIVE SIMULATION OF PHYSICAL-CHEMICAL PROCESSES

STANDARDS OF LEARNING CONTENT REVIEW NOTES ALGEBRA I. 2 nd Nine Weeks,

Swarm of Bees. See a preview animation of the effect to get an idea about what we are creating here:

Modeling and Simulation in Scilab/Scicos with ScicosLab 4.4

Stomp Rocket Lab Physics

Dipartimento di Ingegneria Aerospaziale Politecnico di Milano

Getting Started With Linux and Fortran Part 2

Introduction to Simulink

Period #10: Multi dimensional Fluid Flow in Soils (II)

Cycling Loading Effect on a Solid Propellant Engine Performances Part 2 3D CFD Study and Validation of CFD Results

EEN118 LAB FOUR. h = v t ½ g t 2

COMP1730/COMP6730 Programming for Scientists. Control, part 2: Iteration

Advanced Modelica Tutorial Exercises

PHYSICALLY BASED ANIMATION

Common Technical Issue On I&C

6.871 Expert System: WDS Web Design Assistant System

Topic C. Communicating the Precision of Measured Numbers

Teaching Math thru Big Ideas Focusing on Differentiation. Marian Small April 2017 San Diego, CA

Simulation of Articulated Robotic Manipulator & It s Application in Modern Industries

b) develop mathematical thinking and problem solving ability.

Scientific Method and Graphing

Lesson 76. Linear Regression, Scatterplots. Review: Shormann Algebra 2, Lessons 12, 24; Shormann Algebra 1, Lesson 94

Workpackage 5 - Ordinary Differential Equations

Using the Scaling Equations to Define Experimental Matrices for Software Validation

Experimental Design and Graphical Analysis of Data

Modeling Technical Systems [ ] Mag MA MA Schweiger Gerald TU Graz Spring 2017

NUMERICAL INTEGRATION - TRAPEZIUM RULE

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras

Rotational3D Efficient modelling of 3D effects in rotational mechanics

Algebra 1 STAAR EOC Review #9 Reporting Category 5: Quadratic and Other Nonlinear Functions

Transcription:

Computer Simulation And Modeling The key to increased productivity in Scientific and Engineering analysis Professor Ralph C. Huntsinger California State University, Chico USA Bialystok Technical University POLAND

Computer Modeling and Simulation The use of simulation is as old as the practice of engineering itself, what has been very useful is the use of the computer to assist one in the analysis of large complex engineering and scientific problems. Lately the advent of special high level computer software packages has made the use of the computer even easier and has increased the productivity of the scientists and engineers that use these tools. Many of these software tools were very specialized and applied to a narrow subject field. They are quite useful, however, it is very difficult to apply them to another similar area.

Computer Modeling and Simulation The latest development is the appearance of several general purpose high level software packages that are able to be applied to any problem of mathematical modeling that contains non-linear, non-homogeneous, simultaneous, high order, ordinary and parabolic partial, differential equations with associated algebraic equations and discontinuities. This is a real productivity booster as these packages come with graphical user interfaces (GUI s) and statistical and engineering analysis tools to form an intelligent simulation environment.

Computer Simulation and Modeling of Dynamic Systems Computer Simulation can be used to represent in great detail the performance of real world systems which are often very complex (e.g. space craft, control systems, mechanical and electrical systems, etc.) Simulation may be used as an aid to design, to diagnose the cause of system malfunction, to evaluate performance under fault conditions, for operator training, as embedded systems for predictive control, or to gain a deeper understanding of the dynamics of an existing or proposed dynamic system.

Computer Modeling and Simulation Intelligent Simulation Environment This special environment includes specialized computer languages that make modeling and simulation of complex dynamic systems a straight forward and easy task. The time to analyze a complex system is reduced many times by a factor of ten or more. This leaves the scientist and engineer more time to think about the real problem instead of spending most of the time on the details of the solution.

Computer Simulation and Modeling High-level continuous systems simulation languages are application-oriented software systems designed to assist Engineers and Scientist to mathematically model and analyze the behavior of piecewise-continuous systems described by differential equations. For the system analyst, these languages provide a straight forward, easy to use analytical tool for the simulation of dynamic systems. Powerful systems-oriented functions coupled with extensive man-machine inter-active capabilities allow the user to concentrate on his/her simulation studies with minimal burden from the computer system.

ESL The European Space Agency Simulation Language. One of the great features of ESL is its ability to handle discontinuities accurately. This was one of the European Space Agencies original specifications as when a thruster on a satellite is fired it must happen at the specified time and not at the nearest integration interval. Examples of the use of ESL are the simulation of a six legged robot combined with 3D animated graphics with a human controller in the loop and the entire system running on multiple platforms in real time, as a training simulator for a process control filtering system in a large water treatment plant, and of course for satellite orbit analysis.

ESL program sample study model rocket( real: max_ht := real: FUELo); -- Output max height, input initial fuel. real: height,drag,thrust,velocity,fuel,mass; constant real: G/9.81/,Mrk/300.0/,burn/20.0/; logical: power, done/false/; initial --Initial conditions. height:= 0.0; height':= 0.0; FUEL:= FUELo; max_ht:= 0.0;

ESL program sample dynamic --Rocket dynamics. velocity:= height'; -- Drag is proportional to velocity squared. drag:= 0.5 * velocity * abs(velocity); -- Mass of rocket and its current fuel. Mass:= Mrk + FUEL; power:= FUEL > 0.0; -- Thrust is constant until fuel exhausted. thrust:= if power then 35000.0 else 0.0;

ESL program sample -- Flight equation. height'':= (thrust - drag)/mass - G; -- Fuel Mass equation, fuel burn constant. FUEL':= if power then -burn else 0.0; -- Detect maximum height. when height' < 0.0 then done:= true; max_ht:= height; -- record the max. end_when;

ESL program sample -- Save results for later analysis by DISP. prepare "rocket",t,height,velocity,thrust, FUEL,drag,Mass; terminate done; --when rocket starts decent. communication Tabulate t,height,velocity; end rocket;

ESL program sample -- Experiment real: FUELo, max_ht; -- Set integration parameters algo:= rk5; cint:= 15.0; tfin:= 120.0; -- Do simulation for varying initial fuel. for FUELo:= 1400.00.. 2000.0 step 200.0 loop -- Call the model to do a simulation run. rocket(max_ht := FUELo); print "With fuel ",FUELo:6.1," kg", " height achieved was ",max_ht:-10.1," m."; end_loop; end_study

The European Space Agency Simulation language (ESL) The European Space Agency Simulation language (ESL) was originally written to meet the simulation requirements of the European Space Agency. It started out as a general purpose Continuous Systems Simulation Language (CSSL) and can still be used for that purpose. It has a comprehensive supporting software environment and it can be used in any field where dynamic systems are studied and their simulations need to be used.

Continuous Systems Simulation Language Version Four CSSL-IV is a user-oriented software system designed to support analytical simulation. Availability, ease of use, and powerful support tools allow CSSL-IV to be applied effectively to a broad range of technical problems. Application areas range from aircraft flight dynamics, nuclear reactors, chemical processes, and physiological dynamics to a wide variety of control systems. CSSL-IV provides access to many powerful programming tools which speed simulation development and verification. Powerful systems-oriented functions coupled with extensive man-machine inter-active capabilities allow the user to concentrate on his/her simulation studies with minimal burden from the computer system. I

ACSL ACSL (pronounced "axle") is an Advanced Continuous Simulation Language. It was introduced 25 years ago, as a commercially available, modeling and simulation language designed for simulating continuous systems. Based on the CSSL (Continuous System Simulation Language) standard, established by the Technical Committee of the Society for Modeling and Computer Simulation International, [SCS].

Advanced Continuous Simulation Language ACSL ACSL Sim was designed to help the engineer or scientist, mathematically model and analyze the behavior of a continuous system described by time-dependent, nonlinear differential equations and/or transfer functions. Although continuous systems by their nature are time-dependent, ACSL Sim lets you designate the independent variable as something other than time, such as distance or angle. This gives the user the flexibility to model a multitude of dynamic systems.

ACSL screen picture

Modelica Dymola Modelica is a bit of a paradigm shift from the previous generation of Modeling languages. The language standard returns to the original concept of the "equation" where arbitrary expressions can appear on both sides of the equals sign. (e.g. r*i = v) The Modelica syntax was designed to support symbolic manipulation of model equations in order to generate the set of assignment statements used during the simulation.

Modelica Dymola When speaking of Dymola model definitions, one uses the terms component (not block), connectors (not ports) and connections (not wires). This is to differentiate Dymola from the previous generation of graphical modeling systems which are block diagrams. Blocks are characterized by directed flow (wires with arrows) while components are characterized by connections (wires without arrows) defining the coupling of connectors of components Components contain either graphical models in a hierarchical model structure or Modelica code.

Modelica (Simulink) Diagram

Modelica Dymola Connectors declare the set of component variables which can be connected to other components. It is here that the concept of efforts and flows becomes important. The "flow" keyword prefix to a declaration means that all connected flows must sum to zero. (e.g. Kirchoff's current law). Examples of flow variables include forces, torques, electric current and hydraulic fluid. Without the "flow" prefix, a connector variable is presumed to be an effort. Connected efforts must be set equal to each other. Examples of efforts include angular rates, voltage and pressure.

Dymola 5

Modelica Dymola Symbolic manipulation can also solve or simplify differential algebraic equations (DAE) of any order at translation time, rather than solving such problems numerically when running the simulation. The performance savings can be significant for systems modeled in terms of DAE's (multibodymechanical systems, mechatronic systems, hydraulics, electronics)

Computer Simulation and Modeling CSSL s are a useful productivity increasing mechanism for the busy engineer and scientist. They allow one to work smarter not harder in the solution of complex dynamic systems. Instead of writing lots of computer code and debugging long involved programs, one can describe the system with one of these software packages in a short time and the detailed code is generated automatically. More time can be spent thinking about the real problem instead of working on the details of the numerical analysis and the computer coding.

Computer Simulation and Modeling of Dynamic Systems Solving scientific and engineering problems should be fun and not a tedious chore. Modern high level computer simulation environments make this a reality. However, always remember, Computer Simulation is a hopeful fake when the real thing is just too much Quote: John McLeod, P.E. Founder of the Society for Modeling and Simulation International