2nd Edition

Interactive Dynamic-System Simulation

By Granino A. Korn Copyright 2010
    220 Pages 96 B/W Illustrations
    by CRC Press

    220 Pages 96 B/W Illustrations
    by CRC Press

    Showing you how to use personal computers for modeling and simulation, Interactive Dynamic-System Simulation, Second Edition provides a practical tutorial on interactive dynamic-system modeling and simulation. It discusses how to effectively simulate dynamical systems, such as aerospace vehicles, power plants, chemical processes, control systems, and physiological systems.

    Written by a pioneer in simulation, the book introduces dynamic-system models and explains how software for solving differential equations works. After demonstrating real simulation programs with simple examples, the author integrates a new treatment of the difference equation programs needed to model sampled-data control systems with digital controllers. Subsequent chapters provide detailed programming know-how. These chapters cover library, table-lookup, user-definable, limiter, switching, and noise functions; an experiment-protocol scripting language; powerful vector and matrix operations; and classical simulation programs that illustrate a number of useful programming tricks. The final chapter shows how experiment-protocol scripts and compiled DYNAMIC program segments can quickly solve mathematical problems, including fast graph plotting, Fourier transforms, and complex-number plots.

    Downloadable Resources
    The accompanying downloadable resources contain a complete, industrial-strength simulation program package. To install the ready-to-run simulation system, simply copy a single Windows or Linux folder from the downloadable resources. You can then run and modify every program example in the text or try your own projects. For truly interactive modeling, screen-edited programs are run-time compiled and immediately produce solution displays on a typed run command.

    Interactive Dynamic-System Simulation
    Dynamic-System Models and Simulation Programs
    Simulation Programs Exercise Models
    Hands-On Simulation on the PC Desktop

    A Gallery of Simple Simulation Programs
    Introduction
    Examples from Physics
    Aerospace and Related Applications
    Modeling Population Dynamics

    Introduction to Control System Simulation
    Simulation and Control System Design
    Dealing with Sampled Data
    Difference Equation Programming
    A Sampled-Data Control System

    Function Generators and Submodels
    Overview
    General-Purpose Function Generation
    Limiters and Noncontinuous Functions
    Very Useful Models Employ Simple Recurrence Relations
    Submodels Clarify System Design
    A Bang-Bang Control System Simulation Using Submodels

    Programming the Experiment Protocol
    Introduction
    Program Control
    Arrays and Subscripted Variables
    Experiment-Protocol Output and Input
    Experiment-Protocol Debugging, Notebook File, and Help Files

    Models Using Vectors and Matrices
    Overview
    Vectors and Matrices in Experiment-Protocol Scripts
    Vectors and Matrices in Dynamic-System Models
    Vector Index-Shift Operations
    Dot Products, Sums, and Vector Norms
    More Vector/Matrix Operations
    Model Replication: A Glimpse of Advanced Applications
    Time History Function Storage in Arrays

    Modeling Tricks and Treats
    Overview and a First Example
    Multiple Runs Can Splice Complicated Time Histories
    Two Physiological Models
    A Program with Multiple Dynamic Segments
    Forrester-Type System Dynamics

    General-Purpose Mathematics
    Introduction
    Compiled Programs Need Not Be Simulation Programs
    Integers, Complex Numbers, and Interpreter Graphics
    Fast Fourier Transforms and Convolutions

    Appendix: Simulation Accuracy and Integration Techniques

    Index

    References appear at the end of each chapter.

    Biography

    Since 1983, Granino A. Korn has been a full-time software developer and consultant at his company G.A. and T.M. Korn Industrial Consultants. From 1957–1983, he was a professor of electrical engineering at the University of Arizona, where he directed the Computer Engineering Research Laboratory. Dr. Korn has authored numerous books and papers over the years. He is a member of Sigma Xi and EUROSIM, a life member of the Society for Computer Simulation, and a fellow of the IEEE. He earned his M.A. from Columbia University and his Ph.D. in physics from Brown University.