33 #ifndef ACADO_TOOLKIT_MODELCONTAINER_HPP 34 #define ACADO_TOOLKIT_MODELCONTAINER_HPP 218 const std::string& _rhs_ODE,
219 const std::string& _diffs_rhs_ODE );
263 uint addOutput(
const std::string& output,
const std::string& diffs_output,
const uint dim,
const uint numberMeasurements );
277 uint addOutput(
const std::string& output,
const std::string& diffs_output,
const uint dim,
278 const DVector& measurements,
const std::string& colInd,
const std::string& rowPtr );
292 uint addOutput(
const std::string& output,
const std::string& diffs_output,
const uint dim,
293 const uint numberMeasurements,
const std::string& colInd,
const std::string& rowPtr );
313 const uint _numSteps );
450 #endif // ACADO_TOOLKIT_MODELCONTAINER_HPP returnValue setLinearInput(const DMatrix &A1_, const DMatrix &B1_)
BooleanType exportRhs() const
uint addOutput(const OutputFcn &outputEquation_, const DVector &measurements)
Allows to setup and evaluate output functions based on SymbolicExpressions.
returnValue setLinearOutput(const DMatrix &A3_, const OutputFcn &rhs_)
Allows to pass back messages to the calling function.
BooleanType modelDimensionsSet() const
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
Allows to conveniently handle (one-dimensional) grids consisting of time points.
DVector getDimOutputs() const
returnValue setModelData(const ModelData &data)
#define CLOSE_NAMESPACE_ACADO
Data class for defining models and everything that is related, to be passed to the integrator...
returnValue setModel(const DifferentialEquation &_f)
returnValue getModel(DifferentialEquation &_f) const
returnValue setN(const uint N_)
returnValue setNARXmodel(const uint _delay, const DMatrix &_parms)
Container class to store and pass data to the ModelData class.
BooleanType hasEquidistantControlGrid() const
BooleanType hasOutputs() const
returnValue setIntegrationGrid(const Grid &_ocpGrid, const uint _numSteps)
returnValue setDimensions(uint _NX1, uint _NX2, uint _NX3, uint _NDX, uint _NDX3, uint _NXA, uint _NXA3, uint _NU, uint _NOD, uint _NP)
returnValue getIntegrationGrid(Grid &_grid) const
returnValue setupOutput(const DVector &numberMeasurements)
DVector getNumMeas() const
#define BEGIN_NAMESPACE_ACADO
USING_NAMESPACE_ACADO void output(const char *name, const Expression &e)
returnValue setNOD(const uint NOD_)
ModelData & getModelData()
const std::string getFileNameModel() const
returnValue setNonlinearFeedback(const DMatrix &C_, const OutputFcn &feedb_)
BooleanType hasDifferentialEquation() const
returnValue setNP(const uint NP_)
returnValue setNU(const uint NU_)
Allows to setup and evaluate differential equations (ODEs and DAEs) based on SymbolicExpressions.