A Python package for cost-benefit analysis of infrastructure projects
Project description
transport-cba
A Python module for cost-benefit analysis of infrastructure projects.
Provides a consistent way to evaluate economic efficiency of road projects with well-defined inputs and parameters.
Main benefits compared to traiditional Excel-based approach:
- several orders of magnitude faster and cheaper
- wider options for analysis of alternative scenarios
- significantly lower margin for error
Installation
pip install git+https://github.com/transport-cba/transport-cba.git
Inputs
Load project inputs as an Excel file with following sheet names:
road_params, capex, intensities_0, intensities_1, velocities_0, velocities_1
Meaning of required inputs:
- capital expenditures (CAPEX) with pre-defined items
- parameters of road sections (length, width, number of lanes etc)
- vehicle intensities in variant 0 and 1 (without and with the project) by road segment
- vehicle velocities in variant 0 and 1 by segment
For illustration, please download the sample input (see below).
Outputs
- Dataframe of costs and benefits
- Economic indicators:
- economic net present value (ENPV)
- economic internal rate of return (ERR)
- benefit to cost ratio (BCR)
- dataframes with breakdown of relevant benefits by years
Example
NB: Values might differ slightly.
>>> from transport_cba import RoadCBA
>>> from transport_cba.sample_projects import load_sample_bypass
>>> bypass = load_sample_bypass()
>>> cba = RoadCBA(2020, "svk")
>>> cba.read_project_inputs(
... bypass["road_params"],
... bypass["capex"],
... bypass["intensities_0"],
... bypass["intensities_1"],
... bypass["velocities_0"],
... bypass["velocities_1"]
... )
>>> cba.economic_analysis()
>>> cba.economic_indicators
Value | Unit | |
---|---|---|
0 | 3.33583 | M EUR |
1 | 0.0562048 | % |
2 | 1.07576 |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
transport-cba-0.1.1.tar.gz
(43.1 kB
view hashes)
Built Distribution
Close
Hashes for transport_cba-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46e85363ccb960f76b50570213e8c53dae3cd5e14b4ffd66e9b919009cdf481d |
|
MD5 | 1e59f0216707acd61db5702a3cf41d45 |
|
BLAKE2b-256 | d5d305abd1f3acee2fb1251bb8d4b23b6df2a9937174ab54a41c4bd8b34f1c4a |