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

Global RDII methods. More...

Collaboration diagram for Global RDII Methods:

Functions

int rdii_readRdiiInflow (char *tok[], int ntoks)
 Reads properties of an RDII inflow from a line of input.
 
void rdii_deleteRdiiInflow (int nodeIndex)
 Deletes RDII inflow data for a node.
 
void rdii_initUnitHyd (int unitHydIndex)
 Initializes properties of a unit hydrograph group.
 
int rdii_readUnitHydParams (char *tok[], int ntoks)
 Reads parameters of an RDII unit hydrograph from a line of input.
 
void rdii_openRdii (void)
 Opens an exisiting RDII interface file or creates a new one.
 
void rdii_closeRdii (void)
 Closes the RDII interface file.
 
int rdii_getNumRdiiFlows (DateTime aDate)
 Finds number of RDII inflows at a specified date.
 
void rdii_getRdiiFlow (int index, int *nodeIndex, double *q)
 Finds index and current RDII inflow for an RDII node.
 

Detailed Description

Global RDII methods.

Function Documentation

◆ rdii_closeRdii()

void rdii_closeRdii ( void  )

Closes the RDII interface file.

Here is the caller graph for this function:

◆ rdii_deleteRdiiInflow()

void rdii_deleteRdiiInflow ( int  nodeIndex)

Deletes RDII inflow data for a node.

Parameters
[in]nodeIndexNode index

◆ rdii_getNumRdiiFlows()

int rdii_getNumRdiiFlows ( DateTime  aDate)

Finds number of RDII inflows at a specified date.

Parameters
[in]aDateCurrent date/time
Returns
Returns 0 if no RDII flow or number of nodes with RDII inflows

◆ rdii_getRdiiFlow()

void rdii_getRdiiFlow ( int  index,
int *  nodeIndex,
double *  q 
)

Finds index and current RDII inflow for an RDII node.

Parameters
[in]indexRDII node index
[out]nodeIndexNode index
[out]qRDII flow rate

◆ rdii_initUnitHyd()

void rdii_initUnitHyd ( int  unitHydIndex)

Initializes properties of a unit hydrograph group.

Parameters
[in]unitHydIndexUnit hydrograph group index

◆ rdii_openRdii()

void rdii_openRdii ( void  )

Opens an exisiting RDII interface file or creates a new one.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rdii_readRdiiInflow()

int rdii_readRdiiInflow ( char *  tok[],
int  ntoks 
)

Reads properties of an RDII inflow from a line of input.

Parameters
[in]tokArray of string tokens
[in]ntoksNumber of tokens
Returns
Error code
Here is the call graph for this function:

◆ rdii_readUnitHydParams()

int rdii_readUnitHydParams ( char *  tok[],
int  ntoks 
)

Reads parameters of an RDII unit hydrograph from a line of input.

Parameters
[in]tokArray of string tokens
[in]ntoksNumber of tokens
Returns
Error code
Here is the call graph for this function: