Skip to content

Portfolio-level calculations stage 2#587

Draft
joemoorhouse wants to merge 12 commits into
os-climate:mainfrom
joemoorhouse:portfolio-level-2
Draft

Portfolio-level calculations stage 2#587
joemoorhouse wants to merge 12 commits into
os-climate:mainfrom
joemoorhouse:portfolio-level-2

Conversation

@joemoorhouse
Copy link
Copy Markdown
Collaborator

The second stage of the implementation of portfolio-level calculations, including risk analysis for companies.

  • Handling of financial information needed for portfolio-level calculations
  • Internal interface changes to pass around portfolio-level quantities
  • Method for deriving scores from portfolio-level quantities
  • API changes for outputting portfolio-level results
  • Dealing with acute and chronic hazards; treatment of damage, revenue loss and operating cost increases

@joemoorhouse joemoorhouse marked this pull request as draft May 13, 2026 11:09
@joemoorhouse
Copy link
Copy Markdown
Collaborator Author

A comment on the change to the API. One design aim is to provide portfolio-level results. Portfolio here is a collection of assets treated together; in financial terms this could model a company/special purpose vehicle, pool of collateral, or a portfolio in the insurance sense. In general it is relevant to provide damage to assets, and disruption to business operations. The latter can include loss of revenue or increase in (operating) costs.

The proposal is therefore to add portfolio_impacts into the result, such that we have:

|-- asset_impacts
|-- portfolio_impacts
|-- risk_measures
      |-- measures_for_assets
      |-- measures_for_portfolio

Just like asset_impacts, portfolio_impacts will be (exceedance) probability distributions of damage/revenue loss/cost increase. This is verbose, but fine: there is only one portfolio; for large numbers of assets, asset_impacts would be switched off.

measures_for_assets is designed to be able to handle large numbers of assets on the other hand (results are provides as lists as opposed to a nested structure).

One question remains about drill-down by asset for portfolio results. In general this may be to follow the same pattern as measures_for_assets so as not to be too verbose.

Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: joemoorhouse <joe.moorhouse@gmail.com>
Signed-off-by: pre-commit-ci[bot] <pre-commit-ci[bot]@pre-commit.ci>

Changes in this pull request are as follows:
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

Successfully merging this pull request may close these issues.

1 participant