EstimatorSettings#

class EstimatorSettings(n_horizon=None, t_step=None)[source]#

Bases: object

Settings for do_mpc.estimator.

This class contains the mandatory settings for the all the estimators available int do_mpc.estimator. This class creates an instance of type EstimatorSettings and adds it to its class attributes.

Parameters:
  • n_horizon (int)

  • t_step (float)

Methods#

check_for_mandatory_settings#

check_for_mandatory_settings(self)#

Method to assert the necessary settings required to design do_mpc.estimator

Attributes#

n_horizon#

EstimatorSettings.n_horizon: int = None#

Prediction horizon of the optimal control problem.

Parameter must be set by user.

t_step#

EstimatorSettings.t_step: float = None#

Timestep of the estimator.