Skip to content

Releases: JuliaControl/ModelPredictiveControl.jl

v1.1.3

11 Dec 16:32
b5bc3f7

Choose a tag to compare

ModelPredictiveControl v1.1.3

Diff since v1.1.2

  • added: :gc field in getinfo for custom constraints of NonLinMPC
  • debug: allow setmodel! on SteadyKalmanFilter/Luenberger when there is no model modification (for changing the weights of a PredictiveController)
  • test: validating the :gc fields of getinfo! in the constraint violation tests
  • doc: remove Hp parameter in the gc example of the manual (useless)

Merged pull requests:

v1.1.2

06 Dec 00:19
27648cc

Choose a tag to compare

ModelPredictiveControl v1.1.2

Diff since v1.1.1

  • added: save some computations in NonLinMPC with T_lastu field instead of T_lastu0
  • changed: moved all controller weights in mpc.weights struct to improve code re-use
  • test: improve constraint violation tests (verify the whole horizons, use distinct lower and upper bounds)
  • test: new custom constraint violation tests that use Ue argument
  • doc: added a custom nonlinear constraint example on the motor power in the manual
  • doc: various improvements

Merged pull requests:

  • added: save some NonLinMPC computations with T_lastu instead of T_lastu0 for input conversion (#133) (@franckgaga)
  • doc: minor correction (#134) (@franckgaga)
  • Doc: nonlinear custom constraint example on the motor in the manual (#135) (@franckgaga)

v1.1.1

04 Dec 01:13
e4522fc

Choose a tag to compare

ModelPredictiveControl v1.1.1

Diff since v1.1.0

  • fixed: remove a type-instability in LinMPC and NonLinMPC introduced in v1.1.0
  • added: reduce allocations with PredictiveControllers using new fields in mpc.buffer object
  • added: improve performance with 4 iszero_X fields for each PredictiveController weight, to skip computations when possible
  • changed: moved all controller weights in mpc.weights struct to improve code re-use
  • test: new custom constraint violation tests that use Ue argument

Merged pull requests:

  • Fix type instability in LinMPC and NonLinMPC (introduced in 1.1.0) (#130) (@franckgaga)
  • Changed: moved all controller weights in mpc.weights struct (#131) (@franckgaga)
  • Added: iszero_W field in for the 4 weights in ControllerWeights struct (#132) (@franckgaga)

v1.1.0

27 Nov 14:49
bbb131b

Choose a tag to compare

ModelPredictiveControl v1.1.0

Diff since v1.0.2

  • added: support for custom nonlinear inequality constraints gc in NonLinMPC
  • added: call JE and gc once in NonLinMPC constructor and show stacktrace if it fails (to guide the user)
  • doc: additional details on vector dimensions
  • doc: documents the dummy function plot_recipe instead of plot to avoid confusion
  • tests: new test for custom nonlinear constraint violation

Merged pull requests:

Closed issues:

  • plot not working (#119)

v1.0.2

14 Nov 21:25
c81fb37

Choose a tag to compare

ModelPredictiveControl v1.0.2

Diff since v1.0.1

  • changed: removed code related to Julia 1.6 compatibility (1.10 is the new LTS)
  • doc: add compat info to ModelingToolkit.jl example
  • doc: various minor modifications

Merged pull requests:

Closed issues:

  • Support for dynamic differential programming in a model predictive context (#109)
  • MTK example no longer work (#116)
  • linearize is throwing an error when using an empty disturbance (#121)

v1.0.1

03 Oct 21:03
44dba57

Choose a tag to compare

ModelPredictiveControl v1.0.1

Diff since v1.0.0

  • changed: more precise error for LinModel with non-zero D matrix
  • doc: MTK example error message for non-strictly proper systems
  • doc: MTK example now uses the p argument of NonLinModel
  • doc: remove old stuff that no longer applies
  • doc: various improvements

Merged pull requests:

Closed issues:

  • Better integration with ModellingToolkit (#106)
  • Avoid Matrix Inversion in the MovingHorizonEstimator (#112)

v1.0.0

27 Sep 14:26
3d69e82

Choose a tag to compare

ModelPredictiveControl v1.0.0

Diff since v0.24.1

  • breaking change: NonLinModel new p argument in f/f! and h/h! function signature
  • breaking change: NonLinMPC new p argument in JE function signature
  • added: support for plant model parameters $\mathbf{p}$ in NonLinModel
  • added: support for economic function parameters $\mathbf{p}$ in NonLinMPC
  • doc: ModelingToolkit integration example on the pendulum model
  • test: improve coverage
  • debug: ExplicitMPC correct error message with the unsupported setconstraint! method
  • added: validate economic function $J_E$ argument signature

Merged pull requests:

Closed issues:

  • Code coverage token secret (#103)
  • Better integration with ModellingToolkit (#106)

v0.24.1

18 Sep 21:24
58e4f1e

Choose a tag to compare

ModelPredictiveControl v0.24.1

Diff since v0.24.0

  • added: print warning if preparestate! is called after moveinput! or evaloutput with current estimators
  • added: reduce allocations with linearize!
  • added: reduce allocations with moveinput! calls with new buffer objects
  • debug: evaloutput on InternalModel now include current stochastic estimate $\mathbf{\hat{y}_s}$
  • test: add test to verify evaloutput correctness on InternalModel
  • test and precompile: add preparestate! where needed to avoid the warnings
  • doc: various improvements

Merged pull requests:

v0.24.0

05 Sep 21:24
b320658

Choose a tag to compare

ModelPredictiveControl v0.24.0

Diff since v0.23.1

  • breaking change: MovingHorizonEstimator now default to direct=true
  • added: the current/filter formulation of the MovingHorizonEstimator
  • doc: explicitly list all the keyword arguments of all the state estimator
  • added: soft real time utilities
  • added: InternalModel now produces 0 allocation with preparestate! and updatestate! calls
  • tests: new integration tests that compare unconstrained MHE to UKF and KF results
  • tests: new integration that compare LinModel and NonLinModel

Merged pull requests:

  • Added: soft real time utilities (#94) (@franckgaga)
  • added: MovingHorizonEstimator support for direct=true, initialized with P̂(-1|-1) (#96) (@franckgaga)

Closed issues:

  • Real-time loop tools (#85)

v0.23.1

13 Aug 22:10
5bdfd14

Choose a tag to compare

ModelPredictiveControl v0.23.1

Diff since v0.23.0

  • Luenberger, SteadyKalmanFilter, KalmanFilter and UnscentedKalmanFilter now produce 0 allocation with preparestate! and updatestate! calls
  • doc: minor corrections

Merged pull requests:

  • added: doc correction and reduce allocations for all Kalman filters (#93) (@franckgaga)

Closed issues:

  • Support for current estimators and V1 soon? (#89)