Modeling and Simulation in Scilab Scicos

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

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. This new edition includes expanded chapters, new exercises and major rewrites for examples to work with the new Maple.

Author(s): Stephen Campbell, Jean-Philippe Chancelier, Ramine Nikoukhah,
Edition: 1
Publisher: Springer
Year: 2005

Language: English
Pages: 309
Tags: Библиотека;Компьютерная литература;Scilab;

Contents......Page 6
Part I: Scilab......Page 11
1.1 What Is Scilab?......Page 12
1.2 How to Start?......Page 13
1.3 Typical Usage......Page 15
1.4 Scilab on the Web......Page 16
2 Introduction to Scilab......Page 17
2.1 Scilab Objects......Page 19
2.2 Scilab Programming......Page 35
2.3 Input and Output Functions......Page 45
2.4 Scilab Graphics......Page 56
2.5 Interfacing......Page 70
3.1 Types of Models......Page 80
3.2 Simulation Tools......Page 85
4.1 Comments on Optimization and Solving Nonlinear Equations......Page 113
4.2 General Optimization......Page 114
4.3 Solving Nonlinear Equations......Page 118
4.4 Nonlinear Least Squares......Page 119
4.5 Parameter Fitting......Page 123
4.6 Linear and Quadratic Programming......Page 125
4.7 Differentiation Utilities......Page 126
5.1 Modeling and Simulation of an N-Link Pendulum......Page 130
5.2 Modeling and Simulation of a Car......Page 140
5.3 Open-Loop Control to Swing Up a Pendulum......Page 147
5.4 Parameter Fitting and Implicit Models......Page 152
Part II: Scicos......Page 161
6 Introduction......Page 162
7.1 Construction of a Simple Diagram......Page 165
7.2 Symbolic Parameters and Context......Page 171
7.3 Hierarchy......Page 175
7.4 Save and Load......Page 177
7.5 Synchronism and Special Blocks......Page 178
8.1 Activation Signal......Page 180
8.2 Inheritance......Page 183
8.3 Always Active Blocks......Page 184
8.5 Conditional Blocks......Page 185
9.1 Block Behavior......Page 189
9.2 Blocks Inside Palettes......Page 192
9.4 Super Block and Scifunc......Page 193
9.5 Constructing New Basic Blocks......Page 194
9.6 Constructing and Loading a New Palette......Page 207
10.1 Predator Prey Model......Page 209
10.2 Control Application......Page 210
10.3 Signal Processing Application......Page 213
10.4 Queuing Systems......Page 216
10.5 Neuroscience Application......Page 218
10.6 A Fluid Model of TCP-Like Behavior......Page 220
10.7 Interactive GUI......Page 221
11.1 Piloting Scicos via Scilab Commands......Page 227
11.2 Data Sharing......Page 233
11.3 Examples......Page 237
11.4 Steady-State Solution and Linearization......Page 243
12.1 Code Generation Procedure......Page 252
12.2 Limitations......Page 256
12.3 A Look Inside......Page 257
12.4 Some Pitfalls......Page 259
12.5 Applications......Page 262
13.1 Error Messages......Page 265
13.2 Debugging Tools......Page 267
13.3 Examples......Page 268
14.1 Introduction......Page 271
14.3 Implicit Blocks......Page 273
14.4 Example......Page 275
A.1 Scicos Editor......Page 279
A.2 Scicos Complier......Page 284
A.3 Scicos Simulator......Page 289
B.1 Type 5 Block for the Bouncing Ball Example......Page 290
B.2 Animation Block for the Cart Pendulum Example......Page 291
C: Animation Program for the Car Example......Page 295
D: Extraction Program for the LATEX Graphic Example......Page 297
E: Maple Code Used for Modeling the N-Link Pendulum......Page 299
References......Page 303
B......Page 305
G......Page 306
N......Page 307
S......Page 308
Z......Page 309