Modeling and Simulation in Scilab/Scicos基于Scilab/Scicos的建模与仿真

分类: 图书,进口原版书,科学与技术 Science & Techology ,
作者: Stephen Campbell著
出 版 社:
出版时间: 2005-10-1字数:版次: 1页数: 308印刷时间: 2005/10/01开本: 16开印次: 1纸张: 胶版纸I S B N : 9780387278025包装: 精装编辑推荐
作者介绍:Stephen L. Campbell
Stephen L. Campbell is a professor of mathematics and a director of graduate programs at North Carolina State University, having published extensively on numerical methods and control.
内容简介
Scilab is a free open-source software package for scientific computation. It includes hundreds of general purpose and specialized functions for numerical computation, organized in libraries called toolboxes, which cover such areas as simulation, optimization, systems and control, and signal processing. One important Scilab toolbox is Scicos. Scicos provides a block diagram graphical editor for the construction and simulation of dynamical systems. The objective of this book is to provide a tutorial for the use of Scilab/Scicos with a special emphasis on modeling and simulation tools. While it will provide useful information to experienced users it is designed to be accessible to beginning users from a variety of disciplines. Students and academic and industrial scientists and engineers should find it useful.
The book is divided into two parts. The first part concerns Scilab and includes a tutorial covering the language features, the data structures and specialized functions for doing graphics, importing, exporting data and interfacing external routines. It also covers in detail Scilab numerical solvers for ordinary differential equations and differential-algebraic equations. Even though the emphasis is placed on modeling and simulation applications, this part provides a global view of Scilab. The second part is dedicated to modeling and simulation of dynamical systems in Scicos. This type of modeling tool is widely used in industry because it provides a means for constructing modular and reusable models. This part contains a detailed description of the editor and its usage, which is illustrated through numerous examples. All codes used in the book is made available to the reader.
目录
Part Iscilab
1 General Information
1.1 What Is Scilab?
1.2 How to Start?
1.2.1 Installation
1.2.2 First Steps
1.2.3 Line Editor
1.2.4 Documentation
1.3 Typical Usage
1.4 Scilab on the Web
2 Introduction to Scilab
2.1 Scilab Objects
2.1.1 Matrix Construction and Manipulation
2.1.2 Strings
2.1.3 Boolean Matrices
2.1.4 Polynomial Matrices
2.1.5 Sparse Matrices
2.1.6 Lists
2.1.7 Functions
2.2 Scilab Programming
2.2.1 Branching
2.2.2 Iterations
2.2.3 Scilab Functions
2.2.4 Debugging Programs
2.3 Input and Output Functions
2.3.1 Display of Variables
2.3.2 Formatted Input and Output
2.3.3 Input Output in Binary Mode
2.3.4 Accessing the Host System
2.3.5 Graphical User Interface
2.4 Scilab Graphics
2.4.1 Basic Graphing
2.4.2 Graphic Tour
2.4.3 Graphics Objects
2.4.4 Scilab Graphics and \LaTeX
2.4.5 Old Graphics Style
2.5 Interfacing
2.5.1 Linking Code
2.5.2 Writing an Interface
2.5.3 Dynamic Loading
3 Modeling and Simulation in Scilab
3.1 Types of Models
3.1.1 Ordinary Differential Equations
3.1.2 Boundary Value Problems
3.1.3 Difference Equations
3.1.4 Differential Algebraic Equations
3.1.5 Hybrid Systems
3.2 Simulation Tools
3.2.1 Ordinary Differential Equations
3.2.2 Boundary Value Problems
3.2.3 Difference Equations
3.2.4 Differential Algebraic Equations
3.2.5 Hybrid Systems
4 Optimization 107
4.1 Comments on Optimization and Solving Nonlinear Equations
4.2 General Optimization
4.3 Solving Nonlinear Equations
4.4 Nonlinear Least Squares
4.5 Parameter Fitting
4.6 Linear and Quadratic Programming
4.6.1 Linear Programs
4.6.2 Quadratic Programs
4.6.3 Semidefinite Programs
4.7 Differentiation Utilities
4.7.1 Higher Derivatives
5 Examples
5.1 Modeling and Simulation of an N-Link Pendulum
5.1.1 Equations of Motion of the N-Link Pendulum
5.1.2 Generated Code and Simulation
5.1.3 Maple Code
5.2 Modeling and Simulation of a Car
5.2.1 Basic Model
5.2.2 Equations of Motion
5.2.3 Simulation Model
5.2.4 Scilab Implementation
5.2.5 Simulation Result
5.3 Open-Loop Control to Swing Up a Pendulum
5.3.1 Model
5.3.2 Control Problem Formulation
5.3.3 Optimization Problem
5.3.4 Implementation in Scilab
5.4 Parameter Fitting and Implicit Models
5.4.1 Mathematical Model
5.4.2 Scilab Implementation
Part II Scicos
6 Introduction
7 Getting Started
8 Scicos Formalism
9 Scicos Blocks
10 Examples
11 Batch Processing in Scilab
12 Code Generation
13 Debugging
14 Implicit Scicos and Modelica
A Inside Scicos 281
B Scicos Blocks of Type 5
C Animation Program for the Car Example
D Extraction Program for the LaTeX Graphic Example
E Maple Code Used for Modeling the N-Link Pendulum
References
Index