OpenSWMM Engine  6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
Loading...
Searching...
No Matches
Climate File Constants, Enumerations, Shared Variables, and Functions

Climate file constants, enumeration types, shared variables, and functions. More...

Collaboration diagram for Climate File Constants, Enumerations, Shared Variables, and Functions:

Modules

 Climate Files Shared Variables
 Climate files shared variables.
 
 Climate Related Local Functions
 Climate related local functions.
 
 Climate File Constants and Enumerations
 Climate files local constants and enumeration types.
 

Classes

struct  TMovAve
 Structure for moving average of daily temperatures. More...
 

Functions

int climate_readParams (char *tok[], int ntoks)
 
int climate_readEvapParams (char *tok[], int ntoks)
 
int climate_readAdjustments (char *tok[], int ntoks)
 
void climate_validate ()
 
void climate_openFile ()
 
void climate_initState ()
 
void climate_setState (DateTime theDate)
 
DateTime climate_getNextEvapDate ()
 

Variables

double TMovAve::tAve
 Moving average for daily temperature (deg F)
 
double TMovAve::tRng
 Moving average for daily temperature range (deg F)
 
double TMovAve::ta [7]
 Data window for tAve.
 
double TMovAve::tr [7]
 Data window for tRng.
 
int TMovAve::count
 Length of moving average window.
 
int TMovAve::maxCount
 Maximum length of moving average window.
 
int TMovAve::front
 Index of front of moving average window.
 

Detailed Description

Climate file constants, enumeration types, shared variables, and functions.

Function Documentation

◆ climate_getNextEvapDate()

DateTime climate_getNextEvapDate ( void  )

Gets the next date when evaporation rate changes.

Gets the next date when evaporation rate changes.

◆ climate_initState()

void climate_initState ( void  )

Initializes climate state variables.

Initializes climate state variables.

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

◆ climate_openFile()

void climate_openFile ( void  )

Opens a climate file and reads in first set of values.

Opens a climate file and reads in first set of values.

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

◆ climate_readAdjustments()

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

Reads adjustments to monthly evaporation or rainfall from input line of data.

Reads adjustments to monthly evaporation or rainfall from input line of data.

Here is the call graph for this function:

◆ climate_readEvapParams()

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

Reads evaporation parameters from input line of data.

Reads evaporation parameters from input line of data.

Here is the call graph for this function:

◆ climate_readParams()

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

Reads climate/temperature parameters from input line of data.

Reads climate/temperature parameters from input line of data.

Here is the call graph for this function:

◆ climate_setState()

void climate_setState ( DateTime  theDate)

Sets climate variables for current date.

Sets climate variables for current date.

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

◆ climate_validate()

void climate_validate ( void  )

Validates climatological variables.

Validates climatological variables.

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

Variable Documentation

◆ count

int TMovAve::count

Length of moving average window.

◆ front

int TMovAve::front

Index of front of moving average window.

◆ maxCount

int TMovAve::maxCount

Maximum length of moving average window.

◆ ta

double TMovAve::ta[7]

Data window for tAve.

◆ tAve

double TMovAve::tAve

Moving average for daily temperature (deg F)

◆ tr

double TMovAve::tr[7]

Data window for tRng.

◆ tRng

double TMovAve::tRng

Moving average for daily temperature range (deg F)