Skip to content

Connection costs not properly factored in or discounted #225

@BenWinchester

Description

@BenWinchester

Discussed in #195

Originally posted by hamishbeath February 9, 2023

Describe the bug

When specifying connection costs, the model should calculate the connection costs for initial households as well as new ones. Currently the model misses initial connection costs due to the way the connections_expenditure function is written in the finance.py file. Further, it is more accurate to discount new connections to the year they are connected rather than the start of the increment year.

To Reproduce

Steps to reproduce the behavior:

  1. Run a simulation with a positive connection cost and number of households
  2. See the incorrect amounts in the appraisal outputs (when compared to calculating on excel)

Expected behaviour

The model should factor in initial connection costs e.g. 100 initial households * connection cost

Metadata

Metadata

Assignees

Labels

IAAIssues that will be considered as part of the IAA projectbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions