**Modeling and simulation of component systems**

Yu.B. Kolesov, Yu. B. Senichenkov

System decomposition on components and connections between them is classical approach to designing of large scale systems in engineering. This approach resulted in developing different types of visual languages for component modeling such as block diagrams in control theory, electrical and hydraulic circuits and their analogue for mechanical systems. Most of them were used well before computer age. Developers drew beforehand structural diagram of estimated system using icons of workable devices and immidiately turned it into experimental model. If it was defficult to predict behavior of new device, the mathematical model of the whole system had been created and analysed by hand.

The methods of system decomposition, successive utility agregation and classical graphical languages for designing component systems are the basis of modern tools for modeling and simulation of complex dynamical systems. Modern modeling languages used in these tools are high-level object-oriented graphical languages allowing to create hierarchical multi-component models with event-driven behavior and variable stucture.

Utility and effectiveness of Object Oriented Modeling are undisputed and confirmed by practice now. Well known Unified Modeling Language is used as standart for specification discrete models and now it is extended for continuous and mixed continuos and discrete (event-driven or hybrid dynamical) system.

Modern modeling languages for dynamical systems de facto standardize acceptable types of components and connectors, methods of analyzing and transformation user component systems of equations and connections between them into numericaly solvable final system. Usualy equation-based modeling languges support isolated components, «causal» and «physical» components with differents types of connectors, agents.

Modern modeling environments include extensive applied libraries, automation devices for carring out computer expiments and analysis of their result, visualization tools.

The book may be interesting to students, engineers, developer of tools for modeling and simulation complex dynamical systems.

It is usefull to read this book and solve the problems from the book of problems by Yu. Senichenkov under the name «Modeling and simulation of component systems. Book of problems».

Contents of the textbook:

Intoduction.

**Chapter 1. Object-Oriented Modeling of complex dynamical systems.**

Using UML as the standard for modeling languages.

Class and object diagrams.

Structure diagram.

Component diagram.

Activity diagram (State Machines).

Package diagram.

**Chapter 2. Dynamical systems and their behavior**

Continuous and discrete dynamical systems

Hybrid systems

Objects and their behavior

**Chapter 3. Component models.**

Isolated dynamical event-driven systems

Open components: «inputs-outputs», «contacts-flows»

Agent-based modeling

**Chapter 4. Component models: System structure and behavior.**

Composition of hybrid automata

System behavior (component equations + connections)

**Chapter 5. Tools for modeling and simulation**

Model designing

Cheking and debugging

Testing

Computational experiments

Visualizing of model behavior

** Chapter 6. Numerical libraries**

Non-linear algebraic equations (NAE)

Ordinary differential equations (ODE)

Differential-algebraic equations (DAE)

**Chapter 7. Applied libraries**

Syslib

Electricity

Hydraulics

Queuing

**Conclusion**