33 #ifndef ACADO_TOOLKIT_PROCESS_HPP 34 #define ACADO_TOOLKIT_PROCESS_HPP 516 const Grid &stageIntervals,
628 #include <acado/process/process.ipp> 631 #endif // ACADO_TOOLKIT_PROCESS_HPP
Curve * processDisturbance
returnValue setActuator(const Actuator &_actuator)
BooleanType isDAE(uint stageIdx=0) const
IntegratorType integratorType
Allows to setup and evaluate output functions based on SymbolicExpressions.
returnValue getY(VariablesGrid &_y) const
returnValue addStage(const DynamicSystem &dynamicSystem_, const Grid &stageIntervals, const IntegratorType &integratorType_=INT_UNKNOWN)
Stores a DifferentialEquation together with an OutputFcn.
BooleanType hasActuator() const
virtual returnValue setupOptions()
Discretizes a DifferentialEquation by means of single or multiple shooting.
returnValue projectToComponents(const VariablesGrid &_x, const DVector &_xComponents, VariablesGrid &_output) const
Provides a time grid consisting of vector-valued optimization variables at each grid point...
Allows to pass back messages to the calling function.
uint getNU(uint stageIdx=0) const
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
Allows to conveniently handle (one-dimensional) grids consisting of time points.
Allows to simulate the behaviour of sensors within the Process.
BooleanType hasProcessDisturbance() const
virtual returnValue step(const VariablesGrid &_u, const VariablesGrid &_p=emptyVariablesGrid)
virtual returnValue setupLogging()
virtual returnValue replot(PlotFrequency _frequency=PLOT_IN_ANY_CASE)
#define CLOSE_NAMESPACE_ACADO
returnValue initializeStartValues(const DVector &_xStart, const DVector &_xaStart=emptyConstVector)
uint getNW(uint stageIdx=0) const
returnValue calculateOutput(OutputFcn &_outputFcn, const VariablesGrid *_x, const DVector &_xComponents, const VariablesGrid *_xa, const VariablesGrid *_p, const VariablesGrid *_u, const VariablesGrid *_w, VariablesGrid *_output) const
uint getNX(uint stageIdx=0) const
DynamicSystem ** dynamicSystems
CLOSE_NAMESPACE_ACADO static BEGIN_NAMESPACE_ACADO VariablesGrid emptyVariablesGrid
returnValue initializeAlgebraicStates(const DVector &_xaStart)
static const DVector emptyConstVector
Process & operator=(const Process &rhs)
BooleanType hasSensor() const
uint getNXA(uint stageIdx=0) const
returnValue addDynamicSystemStage(const DynamicSystem &_dynamicSystem, IntegratorType _integratorType=INT_UNKNOWN)
uint getNP(uint stageIdx=0) const
Allows to work with piecewise-continous function defined over a scalar time interval.
void rhs(const real_t *x, real_t *f)
returnValue checkInputConsistency(const VariablesGrid &_u, const VariablesGrid &_p) const
virtual returnValue run(const VariablesGrid &_u, const VariablesGrid &_p=emptyVariablesGrid)
ShootingMethod * integrationMethod
returnValue setProcessDisturbance(const Curve &_processDisturbance)
Base class for building-blocks of the SimulationEnvironment.
uint getNumStages() const
BooleanType isODE(uint stageIdx=0) const
Simulates the process to be controlled based on a dynamic model.
#define BEGIN_NAMESPACE_ACADO
uint getNY(uint stageIdx=0) const
BooleanType isContinuous(uint stageIdx=0) const
Allows to simulate the behaviour of actuators within the Process.
BooleanType isDiscretized(uint stageIdx=0) const
returnValue simulate(const VariablesGrid &_u, const VariablesGrid &_p, const VariablesGrid &_w)
returnValue setDynamicSystem(const DynamicSystem &_dynamicSystem, IntegratorType _integratorType=INT_UNKNOWN)
returnValue setSensor(const Sensor &_sensor)
virtual returnValue init(double _startTime=0.0, const DVector &_xStart=emptyConstVector, const DVector &_uStart=emptyConstVector, const DVector &_pStart=emptyConstVector)