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.
In thermodynamics, state variables are defined as large-scale characteristics or aggregate properties of a system which provide a macroscopic description of it. In general, state variables have the following properties in common:
- They don't involve any special assumptions concerning the structure of matter, fields or radiation.
- They are few in number needed to describe the system.
- They are fundamental, as suggested by our sensory perceptions.
- They can be, in general, directly measured.
Examples
- In mechanical systems, the position coordinates and velocities of mechanical parts are typical state variables; knowing these, it is possible to determine the future state of the objects in the system.
- In thermodynamics, a state variable is an independent variable of a state function. Examples include internal energy, enthalpy, temperature, pressure, volume and entropy. Heat and work are not state functions, but process functions.
- In electronic/electrical circuits, the voltages of the nodes and the currents through components in the circuit are usually the state variables. 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 of plants, animals and resources are typical state variables.
Control systems engineering
where N, L and M are the dimensions of the vectors describing the state, input and output, respectively.
Discrete-time systems
The state vector representing the current state of a discrete-time system is, where n is the discrete point in time at which the system is being evaluated. The discrete-time state equations arewhich describes the next state of the system with respect to current state and inputs u of the system. The output equations are
which describes the output y with respect to current states and inputs u to the system.
Continuous time systems
The state vector representing the current state of a continuous-time system is, and the continuous-time state equations giving the evolution of the state vector arewhich describes the continuous rate of change of the state of the system with respect to current state x and inputs u of the system. The output equations are
which describes the output y with respect to current states x and inputs u to the system.