Skip to content

piensa/infrastructure-planning

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tools for planning infrastructure

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 95.9%
  • Jupyter Notebook 3.8%
  • Shell 0.3%