agentlib_mpc package
Plugin for the AgentLib which contains modules for MPC, distributed MPC with ADMM and data-driven modeling.
Subpackages
- agentlib_mpc.data_structures package
- Submodules
- agentlib_mpc.data_structures.admm_datatypes module
ADMMParameters
ADMMParticipation
AgentDictEntry
AgentToCoordinator
ConsensusVariable
ConsensusVariable.delta_mean
ConsensusVariable.flat_multipliers()
ConsensusVariable.local_trajectories
ConsensusVariable.mean_trajectory
ConsensusVariable.multipliers
ConsensusVariable.primal_residual
ConsensusVariable.shift_values_by_one()
ConsensusVariable.update_mean_trajectory()
ConsensusVariable.update_multipliers()
CoordinatorToAgent
CouplingEntry
CouplingVariable
ExchangeEntry
ExchangeVariable
ExchangeVariable.delta_mean
ExchangeVariable.diff_trajectories
ExchangeVariable.local_trajectories
ExchangeVariable.mean_trajectory
ExchangeVariable.multiplier
ExchangeVariable.primal_residual
ExchangeVariable.shift_values_by_one()
ExchangeVariable.update_diff_trajectories()
ExchangeVariable.update_multiplier()
StructuredValue
VariableReference
coupling_alias()
exchange_alias()
- agentlib_mpc.data_structures.casadi_utils module
- agentlib_mpc.data_structures.coordinator_datatypes module
- agentlib_mpc.data_structures.interpolation module
- agentlib_mpc.data_structures.ml_model_datatypes module
- agentlib_mpc.data_structures.mpc_datamodels module
BaseVariableReference
DiscretizationOptions
FullVariableReference
InitStatus
MHEVariableReference
MHEVariableReference.all_variables()
MHEVariableReference.estimated_inputs
MHEVariableReference.estimated_parameters
MHEVariableReference.known_inputs
MHEVariableReference.known_parameters
MHEVariableReference.measured_states
MHEVariableReference.outputs
MHEVariableReference.states
MHEVariableReference.weights_states
MINLPVariableReference
MPCVariable
Results
VariableReference
cia_relaxed_results_path()
r_del_u_convention()
stats_path()
- agentlib_mpc.models package
- Submodules
- agentlib_mpc.models.casadi_ml_model module
CasadiMLModel
CasadiMLModel.auxiliaries
CasadiMLModel.bb_outputs
CasadiMLModel.bb_states
CasadiMLModel.config_type
CasadiMLModel.do_step()
CasadiMLModel.get_ml_model_values()
CasadiMLModel.initialize()
CasadiMLModel.make_predict_function_for_mpc()
CasadiMLModel.register_ml_models()
CasadiMLModel.set_with_timestamp()
CasadiMLModel.setup_system()
CasadiMLModel.update_ml_models()
CasadiMLModelConfig
assert_recursive_outputs_are_states()
compute_dupes()
- agentlib_mpc.models.casadi_model module
CasadiInput
CasadiModel
CasadiModel.auxiliaries
CasadiModel.differentials
CasadiModel.do_step()
CasadiModel.get()
CasadiModel.get_constraints()
CasadiModel.get_differential_values()
CasadiModel.get_input_values()
CasadiModel.initialize()
CasadiModel.inputs
CasadiModel.output_equations
CasadiModel.outputs
CasadiModel.parameters
CasadiModel.set_differential_values()
CasadiModel.set_output_values()
CasadiModel.setup_system()
CasadiModel.states
CasadiModelConfig
CasadiModelConfig.cost_function
CasadiModelConfig.description
CasadiModelConfig.dt
CasadiModelConfig.inputs
CasadiModelConfig.name
CasadiModelConfig.outputs
CasadiModelConfig.parameters
CasadiModelConfig.sim_time
CasadiModelConfig.states
CasadiModelConfig.system
CasadiModelConfig.user_config
CasadiModelConfig.validate_variables
CasadiModelConfig.model_post_init()
CasadiOutput
CasadiParameter
CasadiState
CasadiVariable
get_symbolic()
- agentlib_mpc.models.casadi_predictor module
- agentlib_mpc.models.serialized_ml_model module
CustomGPR
GPRDataHandlingParameters
GPRKernelParameters
GPRParameters
LinRegParameters
MLModels
SerializedANN
SerializedGPR
SerializedLinReg
SerializedMLModel
SerializedMLModel.agentlib_mpc_hash
SerializedMLModel.dt
SerializedMLModel.input
SerializedMLModel.model_type
SerializedMLModel.output
SerializedMLModel.training_info
SerializedMLModel.deserialize()
SerializedMLModel.load_serialized_model()
SerializedMLModel.load_serialized_model_from_dict()
SerializedMLModel.load_serialized_model_from_file()
SerializedMLModel.load_serialized_model_from_string()
SerializedMLModel.save_serialized_model()
SerializedMLModel.serialize()
get_git_revision_short_hash()
- agentlib_mpc.modules package
ModuleImport
- Subpackages
- Submodules
- agentlib_mpc.modules.data_source module
- agentlib_mpc.modules.minlp_mpc module
- agentlib_mpc.modules.ml_model_simulator module
- agentlib_mpc.modules.mpc module
BaseMPC
BaseMPC.assert_mpc_variables_are_in_model()
BaseMPC.assert_subset()
BaseMPC.cleanup_results()
BaseMPC.collect_variables_for_optimization()
BaseMPC.do_step()
BaseMPC.get_results()
BaseMPC.model
BaseMPC.pre_computation_hook()
BaseMPC.process()
BaseMPC.re_init_optimization()
BaseMPC.read_results_file()
BaseMPC.register_callbacks()
BaseMPC.set_actuation()
BaseMPC.set_output()
BaseMPC.warn_for_missed_solves()
BaseMPCConfig
BaseMPCConfig.controls
BaseMPCConfig.inputs
BaseMPCConfig.log_level
BaseMPCConfig.module_id
BaseMPCConfig.optimization_backend
BaseMPCConfig.outputs
BaseMPCConfig.parameters
BaseMPCConfig.prediction_horizon
BaseMPCConfig.sampling_time
BaseMPCConfig.set_outputs
BaseMPCConfig.shared_variable_fields
BaseMPCConfig.states
BaseMPCConfig.time_step
BaseMPCConfig.type
BaseMPCConfig.validate_incoming_values
BaseMPCConfig.default_sampling_time
BaseMPCConfig.model_post_init()
create_optimization_backend()
- agentlib_mpc.modules.mpc_full module
- agentlib_mpc.optimization_backends package
BackendImport
- Subpackages
- agentlib_mpc.optimization_backends.casadi_ package
- Subpackages
- Submodules
- agentlib_mpc.optimization_backends.casadi_.admm module
- agentlib_mpc.optimization_backends.casadi_.basic module
- agentlib_mpc.optimization_backends.casadi_.casadi_admm_ml module
- agentlib_mpc.optimization_backends.casadi_.casadi_ml module
- agentlib_mpc.optimization_backends.casadi_.full module
- agentlib_mpc.optimization_backends.casadi_.mhe module
- agentlib_mpc.optimization_backends.casadi_.minlp module
- agentlib_mpc.optimization_backends.casadi_.minlp_cia module
- agentlib_mpc.optimization_backends.casadi_ package
- Submodules
- agentlib_mpc.optimization_backends.backend module
ADMMBackend
BackendConfig
OptimizationBackend
OptimizationBackend.config_type
OptimizationBackend.cost_function
OptimizationBackend.get_lags_per_variable()
OptimizationBackend.model
OptimizationBackend.model_from_config()
OptimizationBackend.mpc_backend_parameters
OptimizationBackend.register_logger()
OptimizationBackend.results_file_exists()
OptimizationBackend.setup_optimization()
OptimizationBackend.solve()
OptimizationBackend.update_discretization_options()
OptimizationBackend.update_model_variables()
OptimizationBackend.var_ref
- agentlib_mpc.utils package
- Subpackages
- agentlib_mpc.utils.plotting package
- Submodules
- agentlib_mpc.utils.plotting.admm_animation module
- agentlib_mpc.utils.plotting.admm_consensus_shades module
- agentlib_mpc.utils.plotting.admm_dashboard module
- agentlib_mpc.utils.plotting.admm_residuals module
- agentlib_mpc.utils.plotting.basic module
- agentlib_mpc.utils.plotting.discretization_structure module
- agentlib_mpc.utils.plotting.interactive module
- agentlib_mpc.utils.plotting.ml_model_test module
- agentlib_mpc.utils.plotting.mpc module
- agentlib_mpc.utils.plotting package
- Submodules
- agentlib_mpc.utils.analysis module
- agentlib_mpc.utils.sampling module
- Subpackages