Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adaptation: add option to Adaptation config to calculate cost based on fraction segment exposed #618

Open
MatthiasHauthDeltares opened this issue Dec 3, 2024 · 0 comments

Comments

@MatthiasHauthDeltares
Copy link
Contributor

MatthiasHauthDeltares commented Dec 3, 2024

Kind of request

None

Enhancement Description

Add a (boolean) argument to the Adaptation config for the user to decide if the cost should be calculated on the full length of the link or from the exposed segments:

  • If the cost is calculated from the full length of the link; Just multiply the unit present unit cost of the adaptation option to the length of the link and add it to gdf.

  • If the cost is calculated from the exposed fraction: this is more complicated:

  1. Fetch the network with hazard overlay
  2. multiply the net present value unit cost of the adaptation option to the length of the link, multiply again by the fraction of the hazard.
  3. Aggregate the cost per link (sum the cost for all the segments of a link)
  4. add it to gdf

In either case, the final gdf should have a column "cost_AO{id}" for every adaptation option

Use case

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant