Reservoir operators

class ReservoirOperators(model, agents)[source]

This class is used to simulate the government.

Parameters:
  • model – The GEB model.

  • agents – The class that includes all agent types (allowing easier communication between agents).

get_flood_control_reservoir_release(cpa, cond_ppose, qin, S_begin_yr, mtifl, alpha)[source]

Computes release from flood control reservoirs cpa = reservoir capacity (m^3) cond_ppose = array containing irrigation reservoir cells based on selection mask qin = inflow (m^3/s) Sini = initial storage (m^3) mtifl = annual mean total annual inflow (m^3/s) alpha = reservoir capacity reduction factor (dimensionless)

get_irrigation_reservoir_release(capacity, storage_year_start, long_term_monthly_inflow_m3, long_term_monthly_inflow_this_month_m3, current_irrigation_demand_m3, long_term_monthly_irrigation_demand_m3, alpha, n_monthly_substeps)[source]

https://github.com/gutabeshu/xanthos-wm/blob/updatev1/xanthos-wm/xanthos/reservoirs/WaterManagement.py