MpcAccumulatedPrediction

it.grypho.scala.leonardo.control.MpcAccumulatedPrediction

The prediction matrices of a model whose input is already an increment Δu of an accumulated input (F_0328, AIACE L_0012) — arx2nmssIncremental's, or any model with u(k−1) in its state: Y = Φ·x(k) + Γ·ΔU. The moves are increments, as in MpcIncrementalPrediction, so mpcQp reads MpcBounds.u as bounds on the position u(k−1) + Δu(k) + … + Δu(k+j) and MpcBounds.du as bounds on the moves; but the past input is in the state, so there is no Ψ·u(k−1) term.

Not an MpcPrediction of the same model: that one holds its last move over the rest of the horizon, which for an increment is a ramp of the input. Here the increments are zero past Nc, so the input is held — the two agree only when Nc = Np. Build it with mpcAccumulatedPrediction.

Value parameters

gamma

Γ, (Np·p)×(Nc·m), its block (i, l) the Markov parameter C·Aⁱ⁻ˡ·B on and below the diagonal and zero above

phi

Φ, as in MpcPrediction

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product