-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved spec variables into module, sorted imports
- Loading branch information
Showing
4 changed files
with
62 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
"""Columns in the specs file must match these exactly | ||
""" | ||
SPE_COUNTRY = 'Country' | ||
SPE_POP = 'PopStartYear' # The actual population in the base year | ||
SPE_URBAN = 'UrbanRatioStartYear' # The ratio of urban population (range 0 - 1) in base year | ||
SPE_POP_FUTURE = 'PopEndYear' | ||
SPE_URBAN_FUTURE = 'UrbanRatioEndYear' | ||
SPE_URBAN_MODELLED = 'UrbanRatioModelled' # The urban ratio in the model after calibration (for comparison) | ||
SPE_URBAN_CUTOFF = 'UrbanCutOff' # The urban cutoff population calirated by the model, in people per km2 | ||
SPE_URBAN_GROWTH = 'UrbanGrowth' # The urban growth rate as a simple multplier (urban pop future / urban pop present) | ||
SPE_RURAL_GROWTH = 'RuralGrowth' # Same as for urban | ||
SPE_NUM_PEOPLE_PER_HH_RURAL = 'NumPeoplePerHHRural' | ||
SPE_NUM_PEOPLE_PER_HH_URBAN = 'NumPeoplePerHHUrban' | ||
SPE_DIESEL_PRICE_LOW = 'DieselPriceLow' # Diesel price in USD/litre | ||
SPE_DIESEL_PRICE_HIGH = 'DieselPriceHigh' # Same, with a high forecast var | ||
SPE_GRID_PRICE = 'GridPrice' # Grid price of electricity in USD/kWh | ||
SPE_GRID_CAPACITY_INVESTMENT = 'GridCapacityInvestmentCost' # grid capacity investments costs from TEMBA USD/kW | ||
SPE_GRID_LOSSES = 'GridLosses' # As a ratio (0 - 1) | ||
SPE_BASE_TO_PEAK = 'BaseToPeak' # As a ratio (0 - 1) | ||
SPE_EXISTING_GRID_COST_RATIO = 'ExistingGridCostRatio' | ||
SPE_MAX_GRID_DIST = 'MaxGridDist' | ||
SPE_ELEC = 'ElecActual' # Actual current percentage electrified population (0 - 1) | ||
SPE_ELEC_MODELLED = 'ElecModelled' # The modelled version after calibration (for comparison) | ||
SPE_ELEC_URBAN = 'Urban_elec_ratio' # Actual electrification for urban areas | ||
SPE_ELEC_RURAL = 'Rural_elec_ratio' # Actual electrification for rural areas | ||
SPE_MIN_NIGHT_LIGHTS = 'MinNightLights' | ||
SPE_MAX_GRID_EXTENSION_DIST = 'MaxGridExtensionDist' | ||
SPE_MAX_ROAD_DIST = 'MaxRoadDist' | ||
SPE_POP_CUTOFF1 = 'PopCutOffRoundOne' | ||
SPE_POP_CUTOFF2 = 'PopCutOffRoundTwo' | ||
SPE_ELEC_LIMIT = "ElecLimit" | ||
SPE_INVEST_LIMIT = "InvestmentLimit" | ||
SPE_DIST_TO_TRANS = "DistToTrans" | ||
|
||
SPE_START_YEAR = "StartYear" | ||
SPE_END_YEAR = "EndYEar" | ||
SPE_TIMESTEP = "TimeStep" |