Description Usage Arguments Details Value Examples
View source: R/game_functions_unconfined.R
Evaluate whether or not the treaty will be made where pumping cost is linear with depth.
1 | evaluate_treaty_unconfined(params)
|
params |
Parameter list (or data.frame with 1 row) containing necessary parameters to evaluate the agreement in an unconfined case. |
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:
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.
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.
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)
1 2 3 4 | ## Not run:
evaluate_treaty_unconfined_linear(example_params_unconfined)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.