PDController
All Classes Files Functions
Public Member Functions | List of all members
PDController.ODE Class Reference

Class representing an ODE system. More...

Inheritance diagram for PDController.ODE:

Public Member Functions

 ODE (double K_p, double K_d, double r_t)
 Constructor for ODE objects. More...
 
int getDimension ()
 returns the ODE system dimension More...
 
void computeDerivatives (double t, double[] y_t, double[] dy_t)
 function representation of an ODE system More...
 

Detailed Description

Class representing an ODE system.

Constructor & Destructor Documentation

◆ ODE()

PDController.ODE.ODE ( double  K_p,
double  K_d,
double  r_t 
)

Constructor for ODE objects.

Parameters
K_pProportional Gain: Gain constant of the proportional controller
K_dDerivative Gain: Gain constant of the derivative controller
r_tSet-Point: The desired value that the control system must reach. This also knows as the reference variable

Member Function Documentation

◆ computeDerivatives()

void PDController.ODE.computeDerivatives ( double  t,
double[]  y_t,
double[]  dy_t 
)

function representation of an ODE system

Parameters
tcurrent independent variable value in ODE solution
y_tProcess Variable
dy_tchange in Process Variable

◆ getDimension()

int PDController.ODE.getDimension ( )

returns the ODE system dimension

Returns
dimension of the ODE system

The documentation for this class was generated from the following file: