OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
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

ActionList

Linked list of control actions.

◆ ControlValue

ControlValue

Value of controller variable.

◆ CurrentDate

CurrentDate

Current date in whole days.

◆ CurrentExpression

CurrentExpression

Index of current math expression.

◆ CurrentTime

CurrentTime

Current time of day (decimal).

◆ CurrentVariable

CurrentVariable

Index of current named variable.

◆ Expression

Expression

Array of math expressions.

◆ ExpressionCount

ExpressionCount

Number of math expressions.

◆ InputState

InputState

State of rule interpreter.

◆ NamedVariable

NamedVariable

Array of named variables.

◆ RuleCount

RuleCount

Total number of rules.

◆ Rules

Rules

Array of control rules.

◆ SetPoint

SetPoint

Value of controller setpoint.

◆ VariableCount

VariableCount

Number of named variables.