Title: | The Environmental Costs of Flow Regulation |
---|---|
Description: | An application to calculate the daily environmental costs of river flow regulation by dams based on García de Jalon et al. 2017 <doi:10.1007/s11269-017-1663-0>. |
Authors: | Silvestre Garcia de Jalon; Javier Martinez-Lopez; Marta Gonzalez del Tanago; Carlos Alonso; Diego Garcia de Jalon |
Maintainer: | Javier Martinez-Lopez <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.1 |
Built: | 2025-02-28 05:32:08 UTC |
Source: | https://github.com/garciadejalon/flowregenvcost |
Calculates the admissible range of flow variability
adm_range(First_year, Last_year, Year_impact)
adm_range(First_year, Last_year, Year_impact)
First_year |
First year to consider in the analysis starting on October 1st (e.g.: First_year = 1964) |
Last_year |
First year to consider in the analysis finishing on September 30th (e.g.: Last_year = 2011) |
Year_impact |
Year when the human impact started (the construction of a dam) (e.g.: Year_impact = 1988) |
Calculates the admissible range of flow variability based on the flow data during the pre-impact period.
data(flowdata) adm_range(First_year=1964, Last_year=2011, Year_impact=1988)
data(flowdata) adm_range(First_year=1964, Last_year=2011, Year_impact=1988)
Plots the admissible range of flow variability
adm_range_plot(River_name, First_year, Last_year, Year_impact)
adm_range_plot(River_name, First_year, Last_year, Year_impact)
River_name |
Name of the river as character (e.g.: River_name = "Esla") |
First_year |
First year to consider in the analysis starting on October 1st (e.g.: First_year = 1964) |
Last_year |
First year to consider in the analysis finishing on September 30th (e.g.: Last_year = 2011) |
Year_impact |
Year when the human impact started (the construction of a dam) (e.g.: Year_impact = 1988) |
Plots the admissible range of flow variability based on the flow data during the pre-impact period.
data(flowdata) adm_range_plot(River_name = "Esla", First_year=1964, Last_year=2011, Year_impact=1988)
data(flowdata) adm_range_plot(River_name = "Esla", First_year=1964, Last_year=2011, Year_impact=1988)
Calculates the daily environmental costs of flow regulation
daily_cost(First_year, Last_year, Year_evaluated, Year_impact, a_low, a_high, b_low, b_high)
daily_cost(First_year, Last_year, Year_evaluated, Year_impact, a_low, a_high, b_low, b_high)
First_year |
First year to consider in the analysis starting on October 1st (e.g.: First_year = 1964) |
Last_year |
First year to consider in the analysis finishing on September 30th (e.g.: Last_year = 2011) |
Year_evaluated |
Year when the environmental impact is evaluated (e.g.: Year_evaluated = 2010) |
Year_impact |
Year when the human impact started (the construction of a dam) (e.g.: Year_impact = 1988) |
a_low |
Coefficient a of Low-flow impact of function ku (e.g.: a_low = 0.05) |
a_high |
Coefficient a of High-flow impact of function ku (e.g.: a_high = 0.01) |
b_low |
Coefficient b of Low-flow impact of function ku (e.g.: b_low = 2) |
b_high |
Coefficient b of High-flow impact of function ku (e.g.: b_high = 2) |
Calculates the daily environmental costs of flow regulation for a specific year evaluated.
data(flowdata) daily_cost(First_year=1964, Last_year=2011,Year_evaluated=2010, Year_impact=1988, a_low = 0.05, a_high = 0.01, b_low = 2, b_high = 2)
data(flowdata) daily_cost(First_year=1964, Last_year=2011,Year_evaluated=2010, Year_impact=1988, a_low = 0.05, a_high = 0.01, b_low = 2, b_high = 2)
Plots the daily environmental costs of flow regulation
daily_cost_plot(River_name, First_year, Last_year, Year_evaluated, Year_impact, a_low, a_high, b_low, b_high)
daily_cost_plot(River_name, First_year, Last_year, Year_evaluated, Year_impact, a_low, a_high, b_low, b_high)
River_name |
Name of the river written as character (e.g.: River_name = "Esla") |
First_year |
First year to consider in the analysis starting on October 1st (e.g.: First_year = 1964) |
Last_year |
First year to consider in the analysis finishing on September 30th (e.g.: Last_year = 2011) |
Year_evaluated |
Year when the environmental impact is evaluated (e.g.: Year_evaluated = 2010) |
Year_impact |
Year when the human impact started (the construction of a dam) (e.g.: Year_impact = 1988) |
a_low |
Coefficient a of Low-flow impact of function ku (e.g.: a_low = 0.05) |
a_high |
Coefficient a of High-flow impact of function ku (e.g.: a_high = 0.01) |
b_low |
Coefficient b of Low-flow impact of function ku (e.g.: b_low = 2) |
b_high |
Coefficient b of High-flow impact of function ku (e.g.: b_high = 2) |
Plots the daily environmental costs of flow regulation for a specific year evaluated.
data(flowdata) daily_cost_plot(River_name = "Esla", First_year=1964, Last_year=2011, Year_evaluated=2010, Year_impact=1988, a_low = 0.05, a_high = 0.01, b_low = 2, b_high = 2)
data(flowdata) daily_cost_plot(River_name = "Esla", First_year=1964, Last_year=2011, Year_evaluated=2010, Year_impact=1988, a_low = 0.05, a_high = 0.01, b_low = 2, b_high = 2)
A dataset containing daily river water flow data for the Esla river at the Riaño dam (Northern Spain) from 01/10/1964 to 30/09/2011. The library adds missing days within the whole period automatically with NA flow values when you enter your own time series data.
flowdata
flowdata
An example data frame with 17166 rows and 2 variables:
Date (dd/mm/yyyy)
Water flow, in m^3/s
Source: https://doi.org/10.1007/s11269-017-1663-0
Calculates the daily environmental impact of flow regulation (high- and low-flow impact)
impact_reg(First_year, Last_year, Year_evaluated, Year_impact)
impact_reg(First_year, Last_year, Year_evaluated, Year_impact)
First_year |
First year to consider in the analysis starting on October 1st (e.g.: First_year = 1964) |
Last_year |
First year to consider in the analysis finishing on September 30th (e.g.: Last_year = 2011) |
Year_evaluated |
Year when the environmental impact is evaluated (e.g.: Year_evaluated = 2010) |
Year_impact |
Year when the human impact started (the construction of a dam) (e.g.: Year_impact = 1988) |
Calculates the daily environmental impact of flow regulation (high- and low-flow impact).
data(flowdata) impact_reg(First_year=1964, Last_year=2011,Year_evaluated=2010,Year_impact=1988)
data(flowdata) impact_reg(First_year=1964, Last_year=2011,Year_evaluated=2010,Year_impact=1988)
Plots the daily environmental impact of flow regulation for multiple years
impact_reg_multi_plot(Row, Column, sp_years, River_name, First_year, Last_year, Year_impact)
impact_reg_multi_plot(Row, Column, sp_years, River_name, First_year, Last_year, Year_impact)
Row |
Number of rows in the figure to compare multiple years in separated graphs (e.g.: Row = 2) |
Column |
Number of columns in the figure to compare multiple years in separated graphs (e.g.: Column = 5) |
sp_years |
A vector specifying the years to be plotted (e.g.: sp_years = c(1965,1966,1967,1968,1969,2006,2007,2008,2009,2010)) |
River_name |
Name of the river written as character (e.g.: River_name = "Esla") |
First_year |
First year to consider in the analysis starting on October 1st (e.g.: First_year = 1964) |
Last_year |
First year to consider in the analysis finishing on September 30th (e.g.: Last_year = 2011) |
Year_impact |
Year when the human impact started (the construction of a dam) (e.g.: Year_impact = 1988) |
Plots the daily environmental impact of flow regulation for multiple years.
data(flowdata) impact_reg_multi_plot(Row = 1,Column = 2, sp_years = c(1965,2010), River_name = "Esla", First_year=1964, Last_year=2011, Year_impact=1988)
data(flowdata) impact_reg_multi_plot(Row = 1,Column = 2, sp_years = c(1965,2010), River_name = "Esla", First_year=1964, Last_year=2011, Year_impact=1988)
Plots the daily environmental impact of flow regulation (high- and low-flow impact)
impact_reg_plot(River_name, First_year, Last_year, Year_evaluated, Year_impact)
impact_reg_plot(River_name, First_year, Last_year, Year_evaluated, Year_impact)
River_name |
Name of the river written as character (e.g.: River_name = "Esla") |
First_year |
First year to consider in the analysis starting on October 1st (e.g.: First_year = 1964) |
Last_year |
First year to consider in the analysis finishing on September 30th (e.g.: Last_year = 2011) |
Year_evaluated |
Year when the environmental impact is evaluated (e.g.: Year_evaluated = 2010) |
Year_impact |
Year when the human impact started (the construction of a dam) (e.g.: Year_impact = 1988) |
Plots the daily environmental impact of flow regulation (high- and low-flow impact).
data(flowdata) impact_reg_plot(River_name = "Esla", First_year=1964, Last_year=2011, Year_evaluated=2010, Year_impact=1988)
data(flowdata) impact_reg_plot(River_name = "Esla", First_year=1964, Last_year=2011, Year_evaluated=2010, Year_impact=1988)
Provides a summary of flow data during the pre-impact period
summary_flow(First_year, Last_year, Year_impact)
summary_flow(First_year, Last_year, Year_impact)
First_year |
First year to consider in the analysis starting on October 1st (e.g.: First_year = 1964) |
Last_year |
First year to consider in the analysis finishing on September 30th (e.g.: Last_year = 2011) |
Year_impact |
Year when the human impact started (the construction of a dam) (e.g.: Year_impact = 1988) |
Provides a dataframe on a daily basis of mean, min, p10, p25, median, p75, p90 and max values during the pre-impact period.
data(flowdata) summary_flow(First_year=1964, Last_year=2011, Year_impact=1988)
data(flowdata) summary_flow(First_year=1964, Last_year=2011, Year_impact=1988)