Skip to content

Instantly share code, notes, and snippets.

@danielfdsilva
Last active January 28, 2020 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danielfdsilva/4f262eddb64c862a87385c037ee2e5ce to your computer and use it in GitHub Desktop.
Save danielfdsilva/4f262eddb64c862a87385c037ee2e5ce to your computer and use it in GitHub Desktop.
Haiti model data structure
# Summary:
# The several cost tables and matrices depend on a series of road properties.
# The breakdown below represents the Mozambique data model and will have to be
# adapted for the Haiti case. Some properties are likely to be replaced and
# others removed
#
# Needed values:
# targetSurfType - Matrix for the resulting surface type after a given improvement is applied.
#
# targetSurfaceCategory - Matrix for the resulting surface status after a given improvement is applied.
#
# defaultAADT - Sensible defaults for road segments with AADT of 0.
#
# bridgeConditionRates - Condition rate of the bridge or culvert.
#
# roadUserCost - Road User Cost (RUC) in dollar/km per type of road.
#
# interventionCost - Cost of each one of the interventions.
#
# maintenanceCost - Maintenance values for the road agency.
#
# repairCostRoad - Repair cost of a road per kilometer after a flood.
#
# floodRepairTime - Flood repair time in hours / km.
#
# designStandard - For which return period were the bridges and culverts designed for.
######################################
# Breakdown of all current values
# Matrix for the resulting surface type after a given improvement is applied.
targetSurfType:
upgrade-gravel: gravel
upgrade-asphalt: asphalt
rehab-earth: earth
rehab-gravel: gravel
rehab-asphalt: asphalt
# Matrix for the resulting surface status after a given improvement is applied.
targetSurfaceCategory:
upgrade-gravel: unpaved
upgrade-asphalt: paved
rehab-earth: unpaved
rehab-gravel: unpaved
rehab-asphalt: paved
# Sensible defaults for road segments with AADT of 0
defaultAADT:
primary: 1000
secondary: 500
tertiary: 100
vicinal: 0
# Condition rate of the bridge or culvert. To be applied to the damage to
# account for the fact that the condition of the structure will influence how
# much damage it takes.
bridgeConditionRates:
poor: 0.3
fair: 0.5
good: 0.7
# Road User Cost (RUC) in dollar/km per type of road
roadUserCost:
asphalt: 0.23
gravel: 0.27
earth: 0.3
# Cost of each of the interventions. Units are:
# - usd/meters for bridges
# - usd/km for general interventions
# - usd/unit for culverts
interventionCost:
# In the case of general interventions it is the cost of applying the
# intervention on a given road type.
general:
upgrade-gravel:
primary: 60000
secondary: 60000
tertiary: 60000
vicinal: 60000
upgrade-asphalt:
primary: 1000000
secondary: 1000000
tertiary: 550000
vicinal: 550000
rehab-earth:
primary: 5000
secondary: 5000
tertiary: 5000
vicinal: 5000
rehab-gravel:
primary: 28000
secondary: 28000
tertiary: 28000
vicinal: 28000
rehab-asphalt:
primary: 320000
secondary: 215000
tertiary: 215000
vicinal: 215000
# In the case of interventions on culverts it is the cost of applying
# an intervention on a type of road with a given surface
culverts:
culverts-replace:
paved:
primary: 11000
secondary: 11000
tertiary: 11000
vicinal: 11000
unpaved:
primary: 11000
secondary: 11000
tertiary: 11000
vicinal: 11000
culverts-repair:
paved:
primary: 10000
secondary: 10000
tertiary: 10000
vicinal: 10000
unpaved:
primary: 11000
secondary: 11000
tertiary: 11000
vicinal: 11000
# Bridges improvements are applied the same way as culverts.
bridges:
bridges-repair:
paved:
primary: 44000
secondary: 44000
tertiary: 44000
vicinal: 44000
unpaved:
primary: 44000
secondary: 44000
tertiary: 44000
vicinal: 44000
# Maintenance values for the road agency:
# - recurrent are annual costs per kilometer
# - periodic are costs per kilometer which occur at the interval
# - interval in years
#
# Costs are calculated taking into account the surface type and road condition.
maintenanceCost:
asphalt:
good:
recurrent: 1250
periodic: 8571
interval: 9
fair:
recurrent: 1500
periodic: 8751
interval: 9
poor:
recurrent: 750
periodic: 19286
interval: 9
gravel:
good:
recurrent: 626
periodic: 2143
interval: 1
fair:
recurrent: 750
periodic: 2143
interval: 1
poor:
recurrent: 375
periodic: 12143
interval: 1
earth:
good:
recurrent: 225
periodic: 571
interval: 4
fair:
recurrent: 300
periodic: 571
interval: 4
poor:
recurrent: 150
periodic: 5714
interval: 4
baseline:
good:
recurrent: 113
periodic: 286
interval: 8
fair:
recurrent: 150
periodic: 286
interval: 8
poor:
recurrent: 75
periodic: 2857
interval: 8
# Repair cost of a road per kilometer after a flood
# low, medium, high refers to severity of flood
# Cost is per severity - road surface - road type
repairCostRoad:
low:
paved:
primary: 2000
secondary: 2000
tertiary: 2000
vicinal: 2000
unpaved:
primary: 15000
secondary: 15000
tertiary: 15000
vicinal: 15000
medium:
paved:
primary: 4000
secondary: 4000
tertiary: 4000
vicinal: 4000
unpaved:
primary: 27000
secondary: 27000
tertiary: 27000
vicinal: 27000
high:
paved:
primary: 20000
secondary: 20000
tertiary: 20000
vicinal: 20000
unpaved:
primary: 55000
secondary: 55000
tertiary: 55000
vicinal: 55000
# Flood repair time in hours / km. Depends on three factors:
# - type of road (primary, secondary, tertiary, vicinal)
# - surface type (paved, unpaved)
# - severity of the flood (low, medium, high)
floodRepairTime:
low:
paved:
primary: 168
secondary: 168
tertiary: 168
vicinal: 168
unpaved:
primary: 1440
secondary: 1440
tertiary: 1440
vicinal: 1440
medium:
paved:
primary: 336
secondary: 336
tertiary: 336
vicinal: 336
unpaved:
primary: 2160
secondary: 2160
tertiary: 2160
vicinal: 2160
high:
paved:
primary: 1056
secondary: 1056
tertiary: 1056
vicinal: 1056
unpaved:
primary: 4320
secondary: 4320
tertiary: 4320
vicinal: 4320
# For which return period were the bridges and culverts designed for.
designStandard:
bridge: 100
culvert: 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment