OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
openswmm::controls::PIDState Struct Reference

#include <Controls.hpp>

Collaboration diagram for openswmm::controls::PIDState:

Public Attributes

double kp = 0.0
 
double ki = 0.0
 Integral time (minutes, 0=disable)
 
double kd = 0.0
 
double setpoint = 0.0
 
double e1 = 0.0
 Previous error.
 
double e2 = 0.0
 Error two steps back.
 
int action_idx = -1
 Associated action index.
 

Member Data Documentation

◆ action_idx

int openswmm::controls::PIDState::action_idx = -1

Associated action index.

◆ e1

double openswmm::controls::PIDState::e1 = 0.0

Previous error.

◆ e2

double openswmm::controls::PIDState::e2 = 0.0

Error two steps back.

◆ kd

double openswmm::controls::PIDState::kd = 0.0

◆ ki

double openswmm::controls::PIDState::ki = 0.0

Integral time (minutes, 0=disable)

◆ kp

double openswmm::controls::PIDState::kp = 0.0

◆ setpoint

double openswmm::controls::PIDState::setpoint = 0.0

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