The state x(t) is the smallest collection of quantities that, together with current inputs and data, determines future evolution under the model. For a positioner with motor electrical dynamics,
x=[q,ω,i]T,
where q is joint angle, ω angular speed, and i motor current. A representative model is
Plant variables change the state equations. The state trajectory is therefore an analysis result in a nested simulation, or a set of optimization variables tied together by defect constraints in a simultaneous transcription.
The vector z(t) contains quantities determined by algebraic equations rather than independent time integration. Examples include reaction forces, circuit currents under a quasi-static electrical approximation, power-flow variables, aerodynamic induction factors, and kinematic loop forces.
A differential-algebraic model can be written
x˙=f(t,x,z,u,p,d),0=q(t,x,z,u,p,d).
Promoting an algebraic output to a decision variable requires retaining its consistency equation. Otherwise, an optimizer may choose physically impossible values.
A sensor output ym=s(x,z)+n need not reveal every state. A performance output such as electrical power Pe=vi may not be measured. Keep differential states, algebraic variables, measured outputs, and performance outputs distinct even when their numerical values coincide in a simplified example.