Tools for planning infrastructure
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
datasets
defaults/estimate-electricity-cost-by-technology-from-population
infrastructure_planning
missions
scripts
templates/estimate-electricity-cost-by-technology-from-population
tests
tutorials
.gitignore
CHANGES.rst
MANIFEST.in
README.rst
cc.ini
compute_discounted_cash_flow.py
compute_levelized_cost_per_kwh_consumed.ipynb
estimate_distance_between_locations.py
estimate_electricity_consumption_using_recent_records.py
estimate_electricity_consumption_using_similar_demographics.py
estimate_electricity_cost_by_technology_from_population.py
estimate_grid_mv_line_budget_in_meters.py
forecast_demographic_using_recent_records.py
forecast_electricity_consumption.py
setup.cfg
setup.py

README.rst

Infrastructure Planning

Here is an updated infrastructure planning system based on our earlier work.

Install

The system depends on several numerical and spatial packages. You can use the following scripts to install these packages.

git clone https://github.com/crosscompute/crosscompute-environments-ansible
cd crosscompute-environments-ansible
bash setup.sh

Additional required modules must be installed manually. Note that you may need to edit requirements.txt to exclude certain packages.:

source ~/.virtualenvs/crosscompute/bin/activate

git clone https://github.com/sel-columbia/networker
pushd networker
vim requirements.txt
    numpy
    scipy
    networkx
    decorator
    cython
    nose
    funcsigs
    pandas
    enum34
    pytz
    rtree
    jsonschema
    pyproj
    six
    # gdal
pip install -e .
popd

git clone https://github.com/sel-columbia/sequencer
pushd sequencer
vim requirements.txt
    scipy
    # dateutil
    decorator
    fiona
    # freetype
    # gdal
    matplotlib
    networkx
    numexpr
    pandas
    pyparsing
    pytz
    numpy
pip install -e .
popd

git clone https://github.com/sel-columbia/infrastructure-planning
pushd infrastructure-planning
pip install -e .
popd

Use

Run example scenario.

bash scripts/estimate_electricity_cost_by_technology_from_population.sh

Serve notebook.

source ~/.virtualenvs/crosscompute/bin/activate
crosscompute serve compute_levelized_cost_per_kwh_consumed.ipynb

Start server.

bash scripts/serve.sh