OpenSWMM Engine  6.0.0-alpha.3
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.3)
Loading...
Searching...
No Matches

Controls file variables and definitions. More...

Collaboration diagram for Controls File Variables:

Macros

#define MAXVARNAME   32
 Maximum length of a variable name.
 

Variables

struct TRuleRules
 Array of control rules.
 
struct TActionListActionList
 Linked list of control actions.
 
int InputState
 State of rule interpreter.
 
int RuleCount
 Total number of rules.
 
double ControlValue
 Value of controller variable.
 
double SetPoint
 Value of controller setpoint.
 
DateTime CurrentDate
 Current date in whole days.
 
DateTime CurrentTime
 Current time of day (decimal).
 
int VariableCount
 Number of named variables.
 
int ExpressionCount
 Number of math expressions.
 
int CurrentVariable
 Index of current named variable.
 
int CurrentExpression
 Index of current math expression.
 
struct TNamedVariableNamedVariable
 Array of named variables.
 
struct TExpressionExpression
 Array of math expressions.
 

Detailed Description

Controls file variables and definitions.

Macro Definition Documentation

◆ MAXVARNAME

#define MAXVARNAME   32

Maximum length of a variable name.

Variable Documentation

◆ ActionList

struct TActionList* ActionList

Linked list of control actions.

◆ ControlValue

double ControlValue

Value of controller variable.

◆ CurrentDate

DateTime CurrentDate

Current date in whole days.

◆ CurrentExpression

int CurrentExpression

Index of current math expression.

◆ CurrentTime

DateTime CurrentTime

Current time of day (decimal).

◆ CurrentVariable

int CurrentVariable

Index of current named variable.

◆ Expression

struct TExpression* Expression

Array of math expressions.

◆ ExpressionCount

int ExpressionCount

Number of math expressions.

◆ InputState

int InputState

State of rule interpreter.

◆ NamedVariable

struct TNamedVariable* NamedVariable

Array of named variables.

◆ RuleCount

int RuleCount

Total number of rules.

◆ Rules

struct TRule* Rules

Array of control rules.

◆ SetPoint

double SetPoint

Value of controller setpoint.

◆ VariableCount

int VariableCount

Number of named variables.