Skip to content

liuhuanku/disrupt-supply-chain-model

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DisruptSupplyChain Model

Inputs

Create an input directory in the root of the project

Create a subdirectory in the input directory, whose name should correspond to the input_folder variable given in the paramters.py file

Transport

Transport Parameters

A yaml file.

Road Network

Two shapefiles, one for the road nodes, another for the road edges.

  • road_nodes
  • road_edges

If you set new_roads = True, the shapefile containing the extra road edges should be road_edges_extra.

Origin--Destination Points (OD points)

A csv file with the following strucutre.

odpoint district long lat
7121 16-08 30.09349 -4.56182
... ... ... ...

Production

Technical coefficients

A csv file with the following strucutre.

AGI FOR ...
AGI 0.11 0 ...
FOR 0.01 0.2 ...
... ... ... ...

District Sector Importance

A csv file with the following strucutre.

district sector importance
01-01 AGR 0.0033
... ... ...

Inventory Duration Target (optional)

A csv file with the following strucutre.

input_sector buying_sector inventory_duration_target
TRD AGR 3.5
... ... ...

Sector Table

A csv file providing, for each sector:

  • the type of sector ('agriculture', 'manufacturing', 'utility', 'transport', 'services')
  • the average monetary value, in USD, of a ton of good,
  • the percentage of the firms that export per sector.
  • the total yearly output, is USD (not kUSD, not mUSD, USD)
sector type usd_per_ton share_exporting_firms output
AGR agriculture 950 0.16 415641365
... ... ... ... ...

Demand

Final Demand

A csv file with the yearly final demand per sector.

sector final_demand
AGR 1230489103
... ...

Population

A csv file with the population per district.

district population
01-01 123456
... ...

Trade

Country Transit Matrix

A csv file representing a double-entry table. Country codes are row and column headers.

BDI COD ...
BDI 4563 4516 ...
... ... ... ...

Import Table

A csv file representing a double-entry table. Country codes are row headers. Sector codes are column headers.

AGR FOR ...
BDI 132 0 ...
... ... ... ...

Export Table

A csv file representing a double-entry table. Country codes are row headers. Sector codes are column headers.

AGR FOR ...
BDI 2 456 ...
... ... ... ...

Country Transit Points

A csv file with the following strucutre.

country entry_point weight
BDI 7112 1
... ... ...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%