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

Class representing an ODE system. More...

#include <ODE.hpp>

Public Member Functions

 ODE (double K_p, double K_d, double r_t)
 Constructor for ODE objects. More...
 
void operator() (vector< double > y_t, vector< double > &dy_t, double t)
 function representation of ODE system More...
 

Detailed Description

Class representing an ODE system.

Constructor & Destructor Documentation

◆ ODE()

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

◆ operator()()

void ODE::operator() ( vector< double >  y_t,
vector< double > &  dy_t,
double  t 
)

function representation of ODE system

Parameters
y_tProcess Variable: The output value from the power plant
dy_tchange in Process Variable
tcurrent independent variable value in ODE solution

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