State variable

A state variable is one of the set of variables that are used to describe the mathematical "state" of a dynamical system. Intuitively, the state of a system describes enough about the system to determine its future behaviour in the absence of any external forces affecting the system. Models that consist of coupled first-order differential equations are said to be in state-variable form.[1]

Examples

In any electrical circuit, the number of state variables are equal to the number of storage elements, which are inductors and capacitors. The state variable for an inductor is the current through the inductor, while that for a capacitor is the voltage across the capacitor.

  • In ecosystem models, population sizes (or concentrations) of plants, animals and resources (nutrients, organic material) are typical state variables.

Control systems engineering

In control engineering and other areas of science and engineering, state variables are used to represent the states of a general system. The set of possible combinations of state variable values is called the state space of the system. The equations relating the current state of a system to its most recent input and past states are called the state equations, and the equations expressing the values of the output variables in terms of the state variables and inputs are called the output equations. As shown below, the state equations and output equations for a linear time invariant system can be expressed using coefficient matrices: A, B, C and D

RN*N, RN*L, RM*N, RM*L,

where N, L and M are the dimensions of the vectors describing the state, input and output, respectively.

Discrete-time systems

The state vector (vector of state variables) representing the current state of a discrete-time system (i.e. digital system) is , where n is the discrete point in time at which the system is being evaluated. The discrete-time state equations are

which describes the next state of the system (x[n+1]) with respect to current state and inputs u[n] of the system. The output equations are

which describes the output y[n] with respect to current states and inputs u[n] to the system.

Continuous time systems

The state vector representing the current state of a continuous-time system (i.e. analog system) is and the continuous-time state equations giving the evolution of the state vector are

which describes the continuous rate of change of the state of the system with respect to current state x(t) and inputs u(t) of the system. The output equations are

which describes the output y(t) with respect to current states x(t) and inputs u(t) to the system.

gollark: <@151391317740486657> The specs are basically RPi3-level, which I'm okay with. I personally am fine with Linux on phones/desktops, don't try and enforce your preferences on me. And I don't like/trust Google, you can if you want but I don't.
gollark: See, this is a very evil device.
gollark: Happily, the PinePhone seems pretty great for repairability and runs Linux, so I hope it will be possible for me to get one.
gollark: My *old* phone had a removable plastic back panel so you could swap the battery. My new one is metal backed and I don't know if you can access the battery or replace the screen at all.
gollark: It annoys me that phones are significantly harder to repair than they have to be.

See also

References

  1. William J. Palm III (2010). System Dynamics (2nd ed.). Boston: McGraw-Hill. p. 225. ISBN 978-0-07-126779-3.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.