PWA SYSTEM

Piecewise affine discrete-time dynamical system object.

Contents

Class of the MOBY-DIC toolbox.

Description

The pwaSystem object describes a piecewise affine discrete-time dynamical system in the form: $x_{k+1} = A_i x_k + B_i u_k + f_i$, being $x_k$ the state variable at time instant $k$ and $u_k$ the input variable of the system at the same time instant. The sampling time $T_s$ of the system can also be specified. The dynamics of the system are described by the matrices $A_i$, $B_i$ and $f_i$. The state and input variables can be given mnemonic names for a easier comprehension of their meaning. A PWA function (one of the objects available in the toolbox) can be passed as input variable and then the circuit can be simulated and time evolutions of the variables can be plotted.

Syntax

pwaSys = pwaSystem()

Builds an empty pwaSystem object.

pwaSys = pwaSystem(nx,nu,ndyn)

Builds a discrete-time piecewise affine system by specifying the number of states (nx) and inputs (nu). The matrices Ai, Bi and fi are filled with zeros.

Properties

Methods

See also

MOBY-DIC toolbox, pwag, pwas, pwar, pwarApproximation.

Acknowledgements

Contributors:

Copyright is with: