HankelMatrices#

class do_dpc.control_utils.control_structs.HankelMatrices(Z, Z_p, U_f, Y_f, n_col, n_samples)[source]#

Bases: object

Stores Hankel matrices used in Data-Driven Predictive Control (DPC).

Z#

Full Hankel matrix containing past and future input-output data.

Type:

np.ndarray

Z_p#

Hankel matrix containing past input-output data.

Type:

np.ndarray

U_f#

Hankel matrix containing future control input data.

Type:

np.ndarray

Y_f#

Hankel matrix containing future system output data.

Type:

np.ndarray

n_col#

Number of columns in the Hankel matrices.

Type:

int

n_samples#

Total number of collected samples.

Type:

int

Methods#

Attributes#

Z#

HankelMatrices.Z: ndarray#

Z_p#

HankelMatrices.Z_p: ndarray#

U_f#

HankelMatrices.U_f: ndarray#

Y_f#

HankelMatrices.Y_f: ndarray#

n_col#

HankelMatrices.n_col: int#

n_samples#

HankelMatrices.n_samples: int#