mooflow.classes.Extr_pattern

class mooflow.classes.Extr_pattern(ext_times, ext_rates=None, multiplier=None)

The class Pattern describes the inter annual pattern of extraction rate demands for a well.

Parameters
ext_timeslist

list with the date of year in which a saison for the extraction pattern ends e.g. [45, 123, 223, 300, 365] for five saisons

ext_rateslist

list with the same length as ext_times gives the extraction rates

multiplierlist

list with the same length as ext_times, sets multiplier for the exttraction rates

__init__(ext_times, ext_rates=None, multiplier=None)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(ext_times[, ext_rates, multiplier])

Initialize self.

get_pattern_dem()

get_pattern_ext()

get_rate_dem(time_curr[, year])

Return the demand for the current day of year.

get_rate_ext(time_curr[, year])

Return the required extraction rate for the current day of year.

get_sum_year([year, demand])

Calculate annual sum of extractions/demands for a year

set_pattern(times, rates[, demand])

Set the pattern of required extraction rates and actual demands.

Attributes

multiplier

property for the multiplier.