Modeling Dynamic Systems with Xcos
Graphical programming for Modeling and Simulation
Xcos is a graphical editor to design hybrid dynamical systems models. We could use the model for simulation as well as the code generation to test the actual physcial systems.
“Xcos is a graphical editor to design hybrid dynamical systems models. Models can be designed, loaded, saved, compiled and simulated.”
Course Synopsis
Xcos is a graphical editor to design hybrid dynamical systems models. Models can be designed, loaded, saved, compiled and simulated. Stable and efficient solution for industrial and academics needs, Xcos provides functionalities for modeling of mechanical systems (automotive & aeronautics), hydraulic circuits (such as dam and pipe modeling), control systems, signal processing and so on. Xcos is freely available and distributed with Scilab. Xcos environment consists of:
a) Editor - which allows the design of flow charts representing a dynamic system made of blocks defined in palettes.
b) Palette Browser - which lists all Xcos standard blocks grouped by categories (signal processing, electrical, hydraulics, derivative, integral and so on).
c) Compiler / Simulator - Xcos environment allows (from the built model) simulation of complex systems - discrete, continuous, defined by symbolic equations (Modelica) and hybrid systems combining the capabilities above. The data resulting of the simulation can then be graphically viewed in real time, used in Scilab for post processing.
Course Objectives
The aims of the training is to become familiar with Xcos, its GUI, its editor, palette browser and its modeling & simulation capabilities.
Who Must Attend
This course is for technicians, engineers, researchers and lecturers wishing to discover Xcos environment and its main features.
Prerequisites
Candidates must have experience with basic computer operation. Preferably attended our Numerical Computation with SCILAB course.
Course Outline
Xcos Environment
- Introduction
- Getting started with Xcos
- Xcos Palette Browser and Editor
Creating Xcos Models
- Creating Model from the Palette
- Editing, Modifying, Saving and Running the Model
- Creating Split on a Link
- Case Study: Differential Equations
Xcos Tips and Tricks
- Common useful blocks
- Symbols and Parameters
- Super blocks (Subsystem)
- Case Study: Delay
Intermediate Xcos
- Building on Super blocks
- Reading and Writing to workspace
- Reading and Writing to files
- Simulating Systems
- Case Study – Predator Prey Model
Application Demos and Conclusion
- More blocks
- Control Systems & RLC Circuit
- Conclusions