PDController
Loading...
Searching...
No Matches
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.
int getDimension ()
 returns the ODE system dimension
void computeDerivatives (double t, double[] y_t, double[] dy_t)
 function representation of an ODE system

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
K_dDerivative Gain
r_tSet-Point

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: