PDController
All Classes Files Functions
Functions
Calculations.py File Reference

Provides functions for calculating the outputs. More...

Functions

def python.Calculations.func_y_t (K_d, K_p, r_t, t_sim, 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()

def python.Calculations.func_y_t (   K_d,
  K_p,
  r_t,
  t_sim,
  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