Quantized state systems method

The quantized state systems (QSS) methods are a family of numerical integration solvers based on the idea of state quantization, dual to the traditional idea of time discretization. Unlike traditional numerical solution methods, which approach the problem by discretizing time and solving for the next (real-valued) state at each successive time step, QSS methods keep time as a continuous entity and instead quantize the system's state, instead solving for the time at which the state deviates from its quantized value by a quantum.

They can also have many advantages compared to classical algorithms.[1] They inherently allow for modeling discontinuities in the system due to their discrete-event nature and asynchronous nature. They also allow for explicit root-finding and detection of zero-crossing using explicit algorithms, avoiding the need for iteration
a fact which is especially important in the case of stiff systems, where traditional time-stepping methods require a heavy computational penalty due to the requirement to implicitly solve for the next system state. Finally, QSS methods satisfy remarkable global stability and error bounds, described below, which are not satisfied by classical solution techniques.

By their nature, QSS methods are therefore neatly modeled by the DEVS formalism, a discrete-event model of computation, in contrast with traditional methods, which form discrete-time models of the continuous-time system. They have therefore been implemented in [PowerDEVS], a simulation engine for such discrete-event systems.

## Contents

* 1 Theoretical properties
* 2 First-order QSS method – QSS1
* 3 High-order QSS methods – QSS2 and QSS3
* 4 Software implementation
* 5 References
* 6 External links

## Theoretical properties

In 2001, Ernesto Kofman proved[2] a remarkable property of the quantized-state system simulation method: namely, that when the technique is used to solve a stable linear time-invariant (LTI) system, the global error is bounded by a constant that is proportional to the quantum, but (crucially) independent of the duration of the simulation. More specifically, for a stable multidimensional LTI system with the state-transition matrix [math]\displaystyle{ A }[/math] and input matrix [math]\displaystyle{ B }[/math], it was shown in [CK06] that the absolute error vector [math]\displaystyle{ \vec{e}(t) }[/math] is bounded above by

[math]\displaystyle{ \left| \vec{e}(t) \right| \leq \left| V \right|\ \left| \Re\left(\Lambda\right)^{-1} \Lambda \right|\ \left| V^{-1} \right|\ \Delta\vec{Q} + \left| V \right|\ \left| \Re\left(\Lambda\right)^{-1} V^{-1} B \right|\ \Delta\vec{u} }[/math]

where [math]\displaystyle{ \Delta\vec{Q} }[/math] is the vector of state quanta, [math]\displaystyle{ \Delta\vec{u} }[/math] is the vector with quanta adopted in the input signals, [math]\displaystyle{ V \Lambda V^{-1} = A }[/math] is the eigendecomposition or Jordan canonical form of [math]\displaystyle{ A }[/math], and [math]\displaystyle{ \left|\,\cdot\,\right| }[/math] denotes the element-wise absolute value operator (not to be confused with the determinant or norm).

It is worth noticing that this remarkable error bound comes at a price: the global error for a stable LTI system is also, in a sense, bounded below by the quantum itself, at least for the first-order QSS1 method. This is because, unless the approximation happens to coincide exactly with the correct value (an event which will almost surely not happen), it will simply continue oscillating around the equilibrium, as the state is always (by definition) guaranteed to change by exactly one quantum outside of the equilibrium. Avoiding this condition would require finding a reliable technique for dynamically lowering the quantum in a manner analogous to adaptive stepsize methods in traditional discrete time simulation algorithms.

## First-order QSS method – QSS1

Let an initial value problem be specified as follows.

[math]\displaystyle{ \dot{x}(t) = f(x(t), t), \quad x(t_0) = x_0. }[/math]

The first-order QSS method, known as QSS1, approximates the above system by

[math]\displaystyle{ \dot{x}(t) = f(q(t), t), \quad q(t_0) = x_0. }[/math]

where [math]\displaystyle{ x }[/math] and [math]\displaystyle{ q }[/math] are related by a hysteretic quantization function

[math]\displaystyle{ q(t) = \begin{cases}x(t) & \text{if } \left|x(t) - q(t^{-})\right| \geq \Delta Q \\\ q(t^{-}) & \text{otherwise}\end{cases} }[/math]

where [math]\displaystyle{ \Delta Q }[/math] is called a quantum. Notice that this quantization function is hysteretic because it has memory: not only is its output a function of the current state [math]\displaystyle{ x(t) }[/math], but it also depends on its old value, [math]\displaystyle{ q(t^{-}) }[/math].

This formulation therefore approximates the state by a piecewise constant function, [math]\displaystyle{ q(t) }[/math], that updates its value as soon as the state deviates from this approximation by one quantum.

The multidimensional formulation of this system is almost the same as the single-dimensional formulation above: the [math]\displaystyle{ k^\text{th} }[/math] quantized state [math]\displaystyle{ q_k(t) }[/math] is a function of its corresponding state, [math]\displaystyle{ x_k(t) }[/math], and the state vector [math]\displaystyle{ \vec{x}(t) }[/math] is a function of the entire quantized state vector, [math]\displaystyle{ \vec{q}(t) }[/math]:

[math]\displaystyle{ \vec{x}(t) = f(\vec{q}(t), t) }[/math]

## High-order QSS methods – QSS2 and QSS3

The second-order QSS method, QSS2, follows the same principle as QSS1, except that it defines [math]\displaystyle{ q(t) }[/math] as a piecewise linear approximation of the trajectory [math]\displaystyle{ x(t) }[/math] that updates its trajectory as soon as the two differ from each other by one quantum. The pattern continues for higher-order approximations, which define the quantized state [math]\displaystyle{ q(t) }[/math] as successively higher-order polynomial approximations of the system's state.

It is important to note that, while in principle a QSS method of arbitrary order can be used to model a continuous-time system, it is seldom desirable to use methods of order higher than four, as the Abel–Ruffini theorem implies that the time of the next quantization, [math]\displaystyle{ t }[/math], cannot (in general) be explicitly solved for algebraically when the polynomial approximation is of degree greater than four, and hence must be approximated iteratively using a root-finding algorithm. In practice, QSS2 or QSS3 proves sufficient for many problems and the use of higher-order methods results in little, if any, additional benefit.

## Software implementation

The QSS Methods can be implemented as a discrete event system and simulated in any DEVS simulator.

QSS methods constitute the main numerical solver for PowerDEVS[BK011] software. They have also been implemented in as a stand-alone version.

## References

1. ↑ Migoni, Gustavo; Ernesto Kofman; François Cellier (2011). "Quantization-based new integration methods for stiff ordinary differential equations". Simulation: 387-407. http://sim.sagepub.com/content/88/4/387.
2. ↑ Kofman, Ernesto (2002). "A second-order approximation for DEVS simulation of continuous systems". Simulation 78 (2): 76-89. doi:10.1177/0037549702078002206.

* [CK06] Francois E. Cellier; Ernesto Kofman (2006). Continuous System Simulation (first ed.). Springer. ISBN 978-0-387-26102-7.
* [BK11] Bergero, Federico; Kofman, Ernesto (2011). "PowerDEVS: a tool for hybrid system modeling and real-time simulation" (first ed.). Society for Computer Simulation International, San Diego.

## External links

* Stand-alone implementation of QSS Methods
* PowerDEVS at SourceForge

* v
* t
* e

Numerical methods for integration

First-order methods|

* Euler method
* Backward Euler
* Semi-implicit Euler
* Exponential Euler

Second-order methods|

* Verlet integration
* Velocity Verlet
* Trapezoidal rule
* Beeman's algorithm
* Midpoint method
* Heun's method
* Newmark-beta method
* Leapfrog integration

Higher-order methods|

* Exponential integrator
* Runge–Kutta methods
* List of Runge–Kutta methods
* Linear multistep method
* General linear methods
* Backward differentiation formula
* Yoshida

Theory|

* Symplectic integrator

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Quantized state systems method. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Quantized_state_systems_method&oldid=3377457"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template