Skip to content

Commit

Permalink
Merge pull request #67 from willu47/wrap/dc_fixed
Browse files Browse the repository at this point in the history
Update digital comms wrapper

To do:

- smif decision module access to scenario data - see nismod/smif#328
- nismod digital_comms adoption scenario data provision from FTP -
  • Loading branch information
willu47 authored Mar 22, 2019
2 parents 271f2a4 + 6906c20 commit 333e8da
Show file tree
Hide file tree
Showing 13 changed files with 179 additions and 372 deletions.
6 changes: 5 additions & 1 deletion config/model_runs/digital_comms_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ scenarios:
adoption: fttp_baseline_adoption
sos_model: digital_comms_fixed_only
stamp: '2018-05-01T12:36:34.374Z'
strategies: []
strategies:
- type: rule-based
description: reduce emissions
path: planning/digital_decisions.py
classname: DigitalDecisions
timesteps:
- 2019
- 2020
Expand Down
12 changes: 6 additions & 6 deletions config/scenarios/adoption.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@ provides:
variants:
- description: Baseline FTTP adoption for the UK
data:
adoption: fttp_baseline_adoption.csv
adoption: ../digital_comms/scenarios/fttp_baseline_adoption.csv
name: fttp_baseline_adoption
- description: High FTTP adoption for the UK
data:
adoption: fttp_high_adoption.csv
adoption: ../digital_comms/scenarios/fttp_high_adoption.csv
name: fttp_high_adoption
- description: Low FTTP adoption for the UK
data:
adoption: fttp_low_adoption.csv
adoption: ../digital_comms/scenarios/fttp_low_adoption.csv
name: fttp_low_adoption
- description: Baseline FTTDP adoption for the UK
data:
adoption: fttdp_baseline_adoption.csv
adoption: ../digital_comms/scenarios/fttdp_baseline_adoption.csv
name: fttdp_baseline_adoption
- description: High FTTDP adoption for the UK
data:
adoption: fttdp_high_adoption.csv
adoption: ../digital_comms/scenarios/fttdp_high_adoption.csv
name: fttdp_high_adoption
- description: Low FTTDP adoption for the UK
data:
adoption: fttdp_low_adoption.csv
adoption: ../digital_comms/scenarios/fttdp_low_adoption.csv
name: fttdp_low_adoption
name: adoption
56 changes: 28 additions & 28 deletions config/sector_models/digital_comms_fixed_network.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ parameters:
- 1000
default: ../digital_comms/parameters/defaults.csv
dims: []
name: costs_links_fiber_meter
name: costs_links_fibre_meter
unit: GBP
- description: The cost of installing a copper link
dtype: int
Expand Down Expand Up @@ -420,133 +420,133 @@ outputs:
dtype: int
unit: Number of premises
- name: interventions
dims:
dims:
- national
- annual
dtype: int
unit: assets
- name: distribution_upgrades
dims:
dims:
- broadband_distributions
- annual
dtype: int
unit: GBP
- name: distribution_upgrade_costs_fttp
dims:
dims:
- broadband_distributions
- annual
dtype: int
unit: GBP
- name: distribution_upgrade_costs_fttdp
dims:
dims:
- broadband_distributions
- annual
dtype: int
unit: GBP
- name: premises_upgrade_costs_fttp
dims:
dims:
- broadband_distributions
- annual
dtype: int
unit: GBP
- name: premises_upgrade_costs_fttdp
dims:
dims:
- broadband_distributions
- annual
dtype: int
unit: GBP
- name: premises_by_distribution
dims:
dims:
- broadband_distributions
- annual
dtype: int
unit: premises
unit: premises
- name: premises_adoption_desirability
dims:
dims:
- national
- annual
dtype: int
unit: premises
- name: premises_connection_statistics
dims:
dims:
- national
- annual
dtype: int
unit: premises
- name: premises_passed_with_fttp
dims:
dims:
- national
- annual
dtype: int
unit: premises
- name: percentage_of_premises_passed_with_fttp
dims:
dims:
- national
- annual
dtype: int
unit: premises
unit: premises
- name: premises_connected_with_fttp
dims:
dims:
- national
- annual
dtype: int
unit: premises
- name: percentage_of_premises_connected_with_fttp
dims:
dims:
- national
- annual
dtype: int
unit: premises
unit: premises
- name: premises_passed_with_fttdp
dims:
dims:
- national
- annual
dtype: int
unit: premises
- name: percentage_of_premises_passed_with_fttdp
dims:
dims:
- national
- annual
dtype: int
unit: premises
unit: premises
- name: premises_connected_with_fttdp
dims:
dims:
- national
- annual
dtype: int
unit: premises
- name: percentage_of_premises_connected_with_fttdp
dims:
dims:
- national
- annual
dtype: int
unit: premises
unit: premises
- name: percentage_of_premises_with_fttc
dims:
dims:
- national
- annual
dtype: int
unit: premises
- name: lad_premises_with_fttp
dims:
dims:
- lad_uk_2016
- annual
dtype: int
unit: premises
- name: lad_premises_with_fttdp
dims:
dims:
- lad_uk_2016
- annual
dtype: int
unit: premises
- name: lad_premises_with_fttc
dims:
dims:
- lad_uk_2016
- annual
dtype: int
unit: premises
- name: lad_premises_with_adsl
dims:
dims:
- lad_uk_2016
- annual
dtype: int
Expand Down
13 changes: 0 additions & 13 deletions data/scenarios/fttdp_baseline_adoption.csv

This file was deleted.

13 changes: 0 additions & 13 deletions data/scenarios/fttdp_high_adoption.csv

This file was deleted.

13 changes: 0 additions & 13 deletions data/scenarios/fttdp_low_adoption.csv

This file was deleted.

13 changes: 0 additions & 13 deletions data/scenarios/fttp_baseline_adoption.csv

This file was deleted.

14 changes: 0 additions & 14 deletions data/scenarios/fttp_baseline_adoption_test.csv

This file was deleted.

13 changes: 0 additions & 13 deletions data/scenarios/fttp_high_adoption.csv

This file was deleted.

13 changes: 0 additions & 13 deletions data/scenarios/fttp_low_adoption.csv

This file was deleted.

Loading

0 comments on commit 333e8da

Please sign in to comment.