33 #ifndef ACADO_TOOLKIT_MODELDATA_HPP 34 #define ACADO_TOOLKIT_MODELDATA_HPP 118 uint addOutput(
const std::string& output,
const std::string& diffs_output,
const uint dim,
119 const Grid& measurements,
const std::string& colInd,
const std::string& rowPtr );
227 const std::string& _rhs3,
228 const std::string& _diffs3 );
240 const std::string& _rhs_ODE,
241 const std::string& _diffs_rhs_ODE );
259 const uint _numSteps );
496 #endif // ACADO_TOOLKIT_MODELDATA_HPP
std::vector< DVector > colInd_outputs
returnValue setIntegrationGrid(const Grid &_ocpGrid, const uint _numSteps)
DifferentialEquation differentialEquation
Allows to setup and evaluate output functions based on SymbolicExpressions.
returnValue setNP(const uint NP_)
returnValue getNonlinearFeedback(DMatrix &C_, OutputFcn &feedb_) const
std::vector< DMatrix > getOutputDependencies() const
DVector getNumMeas() const
BooleanType modelDimensionsSet() const
DVector getDimOutputs() const
returnValue getOutputExpressions(std::vector< Expression > &outputExpressions_) const
std::vector< uint > dim_outputs
BooleanType hasEquidistantControlGrid() const
returnValue setNonlinearFeedback(const DMatrix &C_, const OutputFcn &feedb_)
Allows to pass back messages to the calling function.
std::vector< uint > num_meas
returnValue setNU(const uint NU_)
returnValue getModel(DifferentialEquation &_f) const
BEGIN_NAMESPACE_ACADO typedef unsigned int uint
Allows to conveniently handle (one-dimensional) grids consisting of time points.
returnValue setLinearInput(const DMatrix &M1_, const DMatrix &A1_, const DMatrix &B1_)
#define CLOSE_NAMESPACE_ACADO
Data class for defining models and everything that is related, to be passed to the integrator...
returnValue getLinearOutput(DMatrix &M3_, DMatrix &A3_, OutputFcn &rhs_) const
const std::string getFileNameModel() const
std::vector< DVector > rowPtr_outputs
returnValue setNumSteps(const DVector &_numSteps)
uint getDimOutput(uint index) const
returnValue getNameDiffsOutputs(std::vector< std::string > &names) const
const std::string getNameRhs() const
uint addOutput(const OutputFcn &outputEquation_, const Grid &measurements)
const std::string getNameDiffsOutput() const
const std::string getNameDiffsRhs() const
std::vector< Expression > outputExpressions
returnValue setLinearOutput(const DMatrix &M3_, const DMatrix &A3_, const OutputFcn &rhs_)
returnValue setModel(const DifferentialEquation &_f)
returnValue getIntegrationGrid(Grid &integrationGrid_) const
returnValue setNOD(const uint NOD_)
returnValue getOutputGrids(std::vector< Grid > &outputGrids_) const
BooleanType model_dimensions_set
std::vector< Grid > outputGrids
BooleanType hasOutputs() const
returnValue setNARXmodel(const uint _delay, const DMatrix &_parms)
returnValue clearIntegrationGrid()
BooleanType hasCompressedStorage() const
uint getNumOutputs() const
returnValue getNumSteps(DVector &_numSteps) const
BooleanType hasDifferentialEquation() const
returnValue getNARXmodel(uint &_delay, DMatrix &_parms) const
returnValue getLinearInput(DMatrix &M1_, DMatrix &A1_, DMatrix &B1_) const
std::vector< std::string > outputNames
#define BEGIN_NAMESPACE_ACADO
returnValue setDimensions(uint _NX1, uint _NX2, uint _NX3, uint _NDX, uint _NDX3, uint _NXA, uint _NXA3, uint _NU, uint _NOD, uint _NP)
BooleanType hasOutputFunctions() const
USING_NAMESPACE_ACADO void output(const char *name, const Expression &e)
std::vector< std::string > diffs_outputNames
const std::string getNameOutput() const
returnValue getNameOutputs(std::vector< std::string > &names) const
BooleanType exportRhs() const
returnValue setN(const uint N_)
Allows to setup and evaluate differential equations (ODEs and DAEs) based on SymbolicExpressions.