evaluate_treaty_unconfined: Evaluate the treaty in unconfined aquifer with linear cost

Description Usage Arguments Details Value Examples

View source: R/game_functions_unconfined.R

Description

Evaluate whether or not the treaty will be made where pumping cost is linear with depth.

Usage

1

Arguments

params

Parameter list (or data.frame with 1 row) containing necessary parameters to evaluate the agreement in an unconfined case.

Details

Evaluate the treaty given social, economic, and geophysical parameters.

Note that root finding proceeds in two steps for each of the First Besh, Nash Equilibrium, and Cheat scenarios:

  1. Pumping rates (for both players) are determined simultaneously to maximize utility based on the scenario (ie, by finding the roots). Root finding stops immediately if the aquifer is fully depleted.

  2. Pumping has to fall within the range [0, Qi] for both players. If it is outside this range, it is constrained to be within the range. Then, pumping for each player is optimized individually given a fixed pumping rate for the other player. The new values are then constrained, and the process repeats recursively until convergin on a solution (or 500 tries). Within each iteration, root finding stops if the aquifer is fully depleted.

Note: if the aquifer is fully depleted in any of the solutions, this function will return 3 additional columns: AD_fb,AD_nash,AD_cheat, representing logical values that indicate in which scenario the aquifer was depleted.

Value

Returns a 1-row tibble containing pumping, utility ranges needed for the treaty, and whether or not there is a treaty (i.e., if zRange > 0)

Examples

1
2
3
4
## Not run: 
evaluate_treaty_unconfined_linear(example_params_unconfined)

## End(Not run)

gopalpenny/genevoisgame documentation built on Sept. 9, 2020, 1:46 a.m.