cdcam

cdcam: Cambridge Digital Communications Assessment Model - Published in JOSS (2020)

https://github.com/nismod/cdcam

Science Score: 93.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 13 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Scientific Fields

Engineering Computer Science - 60% confidence
Computer Science Computer Science - 40% confidence
Last synced: 4 months ago · JSON representation

Repository

Cambridge Digital Communications Assessment Model

Basic Info
  • Host: GitHub
  • Owner: nismod
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 55 MB
Statistics
  • Stars: 0
  • Watchers: 3
  • Forks: 5
  • Open Issues: 2
  • Releases: 1
Created about 6 years ago · Last pushed over 2 years ago
Metadata Files
Readme Contributing License

README.md

Cambridge Digital Communications Assessment Model (cdcam)

PyPI Documentation Status Build Status Coverage Status Zenodo DOI JOSS DOI

Description

The Cambridge Digital Communications Assessment Model (cdcam) is a decision support tool to quantify the performance of national digital infrastructure strategies for mobile broadband, focussing on 4G and 5G technologies.

Citations

  • Oughton, E.J. and Frias, Z. (2017) The Cost, Coverage and Rollout Implications of 5G Infrastructure in Britain. Telecommunications Policy. https://doi.org/10.1016/j.telpol.2017.07.009.
  • Oughton, E.J., Z. Frias, T. Russell, D. Sicker, and D.D. Cleevely. 2018. Towards 5G: Scenario-Based Assessment of the Future Supply and Demand for Mobile Telecommunications Infrastructure. Technological Forecasting and Social Change, 133 (August): 141–55. https://doi.org/10.1016/j.techfore.2018.03.016.
  • Oughton, E.J., Frias, Z., van der Gaast, S. and van der Berg, R. (2019) Assessing the Capacity, Coverage and Cost of 5G Infrastructure Strategies: Analysis of The Netherlands. Telematics and Informatics (January). https://doi.org/10.1016/j.tele.2019.01.003.

Setup and configuration

All code for The Cambridge Digital Communications Assessment Model is written in Python (Python>=3.5). The core model has no other dependencies.

See requirements-dev.txt for a full list of optional dependencies used in supporting scripts.

Using conda

The recommended installation method is to use conda, which handles packages and virtual environments, along with the conda-forge channel which has a host of pre-built libraries and packages.

Create a conda environment called cdcam:

conda create --name cdcam python=3.7

Activate it (run this each time you switch projects):

conda activate cdcam

First, install optional packages:

conda install fiona shapely rtree pyproj tqdm

Then install cdcam:

pip install cdcam

Alternatively, for development purposes, clone this repository and run:

python setup.py develop

Install test/dev requirements:

conda install pytest pytest-cov

Run the tests:

pytest --cov-report=term --cov=cdcam tests/

Quick start

If you want to quickly generate results, first download the sample dataset available at DOI 10.5281/zenodo.3525285, then run:

python scripts/run.py

You should see the model printing output such as Running: baseline baseline macrocell which means the data have been loaded and you are running the baseline population scenario, baseline data throughput scenario and macrocell upgrade strategy.

You should then see an output for each year (- 2020) indicating how much money was spent on either servicing a specified coverage obligation (Service) or in meeting demand (Demand):

- 2020
Service 0
Demand 14614
- 2021
Service 0
Demand 3293

More details are provided in the Getting Started documentation.

Contributions

Contributions to this package are welcomed via the usual pull request mechanism.

Support

If you encounter a bug, feel the documentation is incorrect or incomplete, or want to suggest new features, please post an issue in the issues tab.

DAFNI

DAFNI provides another environment to run the model.

To prepare the model for DAFNI, there are two elements: - build a docker container image, and upload as a DAFNI model - prepare the project data files, and upload as DAFNI datasets

DAFNI model

To build a docker image, install docker and check out this repository.

The Dockerfile defines how the model image is built. The image includes a python environment with cdcam installed, and the run.py and dafni-run.sh scripts.

To build and export, run:

bash docker build . -t nismod/cdcam docker save nismod/cdcam | gzip > cdcam.tar.gz

Then upload the cdcam.tar.gz file along with the dafni-model-definition.yml as a model to DAFNI.

DAFNI data

The DAFNI model uses "dataslots" to input the project data files. Initially, the project sample data package (also available on Zenodo) has been uploaded.

Background and funding

The Cambridge Digital Communications Assessment Model has been collaboratively developed between the Environmental Change Institute at the University of Oxford, the Networks and Operating Systems Group (NetOS) at the Cambridge Computer Laboratory, and the UK's Digital Catapult. Research activity between 2017-2018 also took place at the Cambridge Judge Business School at the University of Cambridge.

Development has been funded by the EPSRC via (i) the Infrastructure Transitions Research Consortium (EP/N017064/1) and (ii) the UK's Digital Catapult Researcher in Residence programme.

Contributors

  • Edward J. Oughton (University of Oxford)
  • Tom Russell (University of Oxford)

Owner

  • Name: National Infrastructure Systems Model
  • Login: nismod
  • Kind: organization
  • Location: United Kingdom

JOSS Publication

cdcam: Cambridge Digital Communications Assessment Model
Published
January 29, 2020
Volume 5, Issue 45, Page 1911
Authors
Edward J. Oughton ORCID
Environmental Change Institute, University of Oxford, Computer Laboratory, University of Cambridge
Tom Russell ORCID
Environmental Change Institute, University of Oxford
Editor
Melissa Weber Mendonça ORCID
Tags
python mobile telecommunications technoeconomic simulation 5G

GitHub Events

Total
Last Year

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 164
  • Total Committers: 2
  • Avg Commits per committer: 82.0
  • Development Distribution Score (DDS): 0.457
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
ej550 e****n@g****m 89
Tom Russell t****l@g****m 75

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 4
  • Total pull requests: 17
  • Average time to close issues: 30 days
  • Average time to close pull requests: 3 months
  • Total issue authors: 4
  • Total pull request authors: 2
  • Average comments per issue: 2.75
  • Average comments per pull request: 0.0
  • Merged pull requests: 16
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • nmstreethran (1)
  • tomalrussell (1)
  • ethanyxchen (1)
  • potterzot (1)
Pull Request Authors
  • edwardoughton (13)
  • tomalrussell (4)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 30 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 3
  • Total maintainers: 2
pypi.org: cdcam

Cambridge Digital Communications Assessment Model

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 30 Last month
Rankings
Dependent packages count: 10.1%
Forks count: 14.2%
Dependent repos count: 21.6%
Average: 23.8%
Downloads: 34.3%
Stargazers count: 38.8%
Maintainers (2)
Last synced: 4 months ago

Dependencies

requirements-dev.txt pypi
  • pylint * development
  • pytest >=3.6 development
  • pytest-cov * development
requirements-docs.txt pypi
  • sphinx *
requirements.txt pypi
  • fiona >=1.8.13
  • pyproj >=2.4
  • rtree >=0.8
  • shapely >=1.6
  • tqdm *
setup.py pypi
  • eg *
  • six >=1.7
Dockerfile docker
  • python 3.6 build