PDController
All Classes Files Functions
Functions
Calculations.hpp File Reference

Provides functions for calculating the outputs. More...

#include <vector>
#include "Constants.hpp"
#include "ODE.hpp"
#include "Populate.hpp"

Go to the source code of this file.

Functions

vector< double > func_y_t (double K_d, double K_p, double r_t, double t_sim, double t_step)
 Calculates Process Variable: The output value from the power plant. More...
 

Detailed Description

Provides functions for calculating the outputs.

Author
Naveen Ganesh Muralidharan
Note
Generated by Drasil v0.1-alpha

Function Documentation

◆ func_y_t()

vector<double> func_y_t ( double  K_d,
double  K_p,
double  r_t,
double  t_sim,
double  t_step 
)

Calculates Process Variable: The output value from the power plant.

Parameters
K_dDerivative Gain: Gain constant of the derivative controller
K_pProportional Gain: Gain constant of the proportional controller
r_tSet-Point: The desired value that the control system must reach. This also knows as the reference variable
t_simSimulation Time: Total execution time of the PD simulation (s)
t_stepStep Time: Simulation step time (s)
Returns
Process Variable: The output value from the power plant