Create a model predictive I/O control system.
This function creates an input/output system that implements a model predictive control for a system given the time points, cost function and constraints that define the finite-horizon optimization that should be carried out at each state.
InputOutputSystem
I/O system for which the optimal input will be computed.
List of times at which the optimal input should be computed.
Function that returns the integral cost given the current state and input. Called as integral_cost(x, u)
.
List of constraints that should hold at each point in the time vector. See solve_optimal_trajectory
for more details.
Function that returns the terminal cost given the final state and input. Called as terminal_cost(x, u).
List of constraints that should hold at the end of the trajectory. Same format as constraints
.
Additional parameters, passed to scipy.optimize.minimize
and NonlinearIOSystem
.
InputOutputSystem
An I/O system taking the current state of the model system and returning the current input to be applied that minimizes the cost function while satisfying the constraints.
Set the names of the inputs, outputs, and states, as described in InputOutputSystem
.
If True, turn on logging messages (using Python logging module). Use logging.basicConfig
to enable logging output (e.g., to a file).
System name (used for specifying signals). If unspecified, a generic name ‘sys[id]’ is generated with a unique integer id.
Notes
Additional keyword parameters can be used to fine-tune the behavior of the underlying optimization and integration functions. See OptimalControlProblem
for more information.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4