MOOSE - Multiscale Object Oriented Simulation Environment
|
#include <PIDController.h>
Public Member Functions | |
double | getCommand () const |
double | getEDerivative () const |
double | getEIntegral () const |
double | getEPrevious () const |
double | getError () const |
double | getGain () const |
double | getOutput () const |
double | getSaturation () const |
double | getSensed () const |
double | getTauD () const |
double | getTauI () const |
PIDController () | |
void | process (const Eref &e, ProcPtr process) |
void | reinit (const Eref &e, ProcPtr process) |
void | setCommand (double command) |
void | setGain (double gain) |
void | setSaturation (double saturation) |
void | setSensed (double sensed) |
void | setTauD (double tau_d) |
void | setTauI (double tau_i) |
Static Public Member Functions | |
static const Cinfo * | initCinfo () |
Private Attributes | |
double | command_ |
double | e_derivative_ |
double | e_integral_ |
double | e_previous_ |
double | error_ |
double | gain_ |
double | output_ |
double | saturation_ |
double | sensed_ |
double | tau_d_ |
double | tau_i_ |
Definition at line 44 of file PIDController.h.
PIDController::PIDController | ( | ) |
Definition at line 186 of file PIDController.cpp.
double PIDController::getCommand | ( | ) | const |
Definition at line 207 of file PIDController.cpp.
References command_.
Referenced by initCinfo().
double PIDController::getEDerivative | ( | ) | const |
Definition at line 281 of file PIDController.cpp.
References e_derivative_.
Referenced by initCinfo().
double PIDController::getEIntegral | ( | ) | const |
Definition at line 276 of file PIDController.cpp.
References e_integral_.
Referenced by initCinfo().
double PIDController::getEPrevious | ( | ) | const |
Definition at line 286 of file PIDController.cpp.
References e_previous_.
Referenced by initCinfo().
double PIDController::getError | ( | ) | const |
Definition at line 271 of file PIDController.cpp.
References error_.
Referenced by initCinfo().
double PIDController::getGain | ( | ) | const |
Definition at line 232 of file PIDController.cpp.
References gain_.
Referenced by initCinfo().
double PIDController::getOutput | ( | ) | const |
Definition at line 222 of file PIDController.cpp.
References output_.
Referenced by initCinfo().
double PIDController::getSaturation | ( | ) | const |
Definition at line 266 of file PIDController.cpp.
References saturation_.
Referenced by initCinfo().
double PIDController::getSensed | ( | ) | const |
Definition at line 217 of file PIDController.cpp.
References sensed_.
Referenced by initCinfo().
double PIDController::getTauD | ( | ) | const |
Definition at line 252 of file PIDController.cpp.
References tau_d_.
Referenced by initCinfo().
double PIDController::getTauI | ( | ) | const |
Definition at line 242 of file PIDController.cpp.
References tau_i_.
Referenced by initCinfo().
|
static |
Definition at line 54 of file PIDController.cpp.
References moose::error, getCommand(), getEDerivative(), getEIntegral(), getEPrevious(), getError(), getGain(), getOutput(), getSaturation(), getSensed(), getTauD(), getTauI(), Neutral::initCinfo(), outputOut(), pidCinfo, process(), reinit(), setCommand(), setGain(), setSaturation(), setSensed(), setTauD(), and setTauI().
Definition at line 291 of file PIDController.cpp.
References command_, ProcInfo::dt, e_derivative_, e_integral_, e_previous_, error_, gain_, output_, outputOut(), saturation_, sensed_, tau_d_, and tau_i_.
Referenced by initCinfo().
Definition at line 310 of file PIDController.cpp.
References ProcInfo::dt, e_derivative_, e_integral_, e_previous_, error_, output_, outputOut(), sensed_, tau_d_, and tau_i_.
Referenced by initCinfo().
void PIDController::setCommand | ( | double | command | ) |
Definition at line 202 of file PIDController.cpp.
References command_.
Referenced by initCinfo().
void PIDController::setGain | ( | double | gain | ) |
Definition at line 227 of file PIDController.cpp.
References gain_.
Referenced by initCinfo().
void PIDController::setSaturation | ( | double | saturation | ) |
Definition at line 257 of file PIDController.cpp.
References saturation_.
Referenced by initCinfo().
void PIDController::setSensed | ( | double | sensed | ) |
Definition at line 212 of file PIDController.cpp.
References sensed_.
Referenced by initCinfo().
void PIDController::setTauD | ( | double | tau_d | ) |
Definition at line 247 of file PIDController.cpp.
References tau_d_.
Referenced by initCinfo().
void PIDController::setTauI | ( | double | tau_i | ) |
Definition at line 237 of file PIDController.cpp.
References tau_i_.
Referenced by initCinfo().
|
private |
Definition at line 70 of file PIDController.h.
Referenced by getCommand(), process(), and setCommand().
|
private |
Definition at line 79 of file PIDController.h.
Referenced by getEDerivative(), process(), and reinit().
|
private |
Definition at line 78 of file PIDController.h.
Referenced by getEIntegral(), process(), and reinit().
|
private |
Definition at line 80 of file PIDController.h.
Referenced by getEPrevious(), process(), and reinit().
|
private |
Definition at line 77 of file PIDController.h.
Referenced by getError(), process(), and reinit().
|
private |
Definition at line 72 of file PIDController.h.
|
private |
Definition at line 76 of file PIDController.h.
Referenced by getOutput(), process(), and reinit().
|
private |
Definition at line 71 of file PIDController.h.
Referenced by getSaturation(), process(), and setSaturation().
|
private |
Definition at line 75 of file PIDController.h.
Referenced by getSensed(), process(), reinit(), and setSensed().
|
private |
|
private |