Expand description
Calculation for investment tools such as Levelised Cost of X (LCOX) and Net Present Value (NPV).
Modulesยง
- coefficients
- Calculation of cost coefficients for investment tools.
- constraints ๐
- Constraints for the optimisation problem.
- costs ๐
- Costs for the optimisation problem.
- optimisation ๐
- Optimisation problem for investment tools.
Structsยง
- Appraisal
Output - The output of investment appraisal required to compare potential investment decisions
- LCOX
Metric - Levelised Cost of X (LCOX) metric.
- NPVMetric
- Net Present Value (NPV) metric
Traitsยง
- Comparable
Metric - Trait for appraisal metrics that can be compared.
- Metric
Trait - Supertrait for appraisal metrics that can be serialised and compared.
Functionsยง
- appraise_
investment - Appraise the given investment with the specified objective type
- calculate_
lcox ๐ - Calculate LCOX for a hypothetical investment in the given asset.
- calculate_
npv ๐ - Calculate NPV for a hypothetical investment in the given asset.
- compare_
approx ๐ - Compares two values with approximate equality checking.
- compare_
asset_ ๐fallback - Compare assets as a fallback if metrics are equal.
- count_
equal_ and_ best_ appraisal_ outputs - Counts the number of top appraisal outputs in a sorted slice that are indistinguishable by both metric and fallback ordering. Excludes the first element from the count.
- sort_
appraisal_ outputs_ by_ investment_ priority - Sort appraisal outputs by their investment priority.