Skip to content

Commit 5590337

Browse files
Merge pull request #9 from UCL/2-set-initial-parameters
Set initial parameters
2 parents b441047 + 3fe610e commit 5590337

File tree

3 files changed

+173
-0
lines changed

3 files changed

+173
-0
lines changed

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,15 @@ deps/src/
1717
docs/build/
1818
docs/site/
1919

20+
# VSCode workspace settings
21+
.vscode/
22+
2023
# File generated by Pkg, the package manager, based on a corresponding Project.toml
2124
# It records a fixed state of all packages used by the project. As such, it should not be
2225
# committed for packages, but should be committed for applications that require a static
2326
# environment.
2427
Manifest.toml
2528

29+
# Data files
30+
31+
uk_data/

config/industry_names.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
categories:
2+
- Agriculture
3+
- Forestry
4+
- Fishing
5+
- Mining
6+
- "Manufacturing: food"
7+
- "Manufacturing: textiles"
8+
- "Manufacturing: wood"
9+
- "Manufacturing: paper"
10+
- Printing
11+
- "Manufacturing: coke"
12+
- "Manufacturing: chemicals"
13+
- "Manufacturing: pharmaceuticals"
14+
- "Manufacturing: rubber"
15+
- "Manufacturing: minerals"
16+
- "Manufacturing: metals"
17+
- "Manufacturing: fabricated metals"
18+
- "Manufacturing: computers"
19+
- "Manufacturing: electrical"
20+
- "Manufacturing: machinery"
21+
- "Manufacturing: motor vehicles"
22+
- "Manufacturing: other transport"
23+
- "Manufacturing: other"
24+
- "Machinery repair"
25+
- Electricity
26+
- Water
27+
- Sewerage
28+
- Construction
29+
- "Wholesale/retail: motor vehicles"
30+
- "Wholesale: other"
31+
- "Retail: other"
32+
- "Land transport"
33+
- "Water transport"
34+
- "Air transport"
35+
- Warehousing
36+
- Postal
37+
- "Accommodation/food services"
38+
- Publishing
39+
- Film
40+
- Telecoms
41+
- Programming
42+
- Financial
43+
- Insurance
44+
- "Other financial/insurance services"
45+
- "Real estate"
46+
- "Imputed rents"
47+
- "Legal/accounting"
48+
- Architecture
49+
- "R&D"
50+
- Advertising
51+
- "Other professional"
52+
- "Rental services"
53+
- "Employment services"
54+
- Travel
55+
- "Other office services"
56+
- "Public administration"
57+
- Education
58+
- Health
59+
- "Social work"
60+
- Arts
61+
- Sports
62+
- "Membership organizations"
63+
- "Household goods repair"
64+
- "Other personal services"
65+
- "Household employers"

config/settings.yml

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
version: "2024-12-31"
2+
experiment_run: 1
3+
4+
constants:
5+
# Industry names file
6+
industry_names: "industry_names.yml"
7+
# IO table data year
8+
data_year: 2019
9+
# First date to simulate
10+
first_date: "2020-01-01"
11+
# Last date to simulate
12+
last_date: "2025-10-01"
13+
14+
flags:
15+
stochasticity:
16+
# Use data from mat files
17+
data_from_mat: false # Replace mat by better format
18+
19+
# Random initial values for parameters
20+
random_initial_values: false
21+
22+
elasticities:
23+
consumption:
24+
- [3, 2.0]
25+
eu_export_demand:
26+
- [3, 2.0, 2.0]
27+
rest_of_world_export_demand:
28+
- [3, 2.0, 2.0]
29+
production:
30+
- [0.4, 0.75, 2.0]
31+
investment:
32+
- [0.4, 2.0]
33+
34+
files:
35+
input_dir: input
36+
output_dir: output
37+
scenario: 0 # 0: noCovid, 1: covid
38+
39+
input_derived_dir: derived
40+
41+
inputs:
42+
base:
43+
input_output: "uk_input_output2019.xlsx"
44+
imports: "uk_input_output2019.xlsx"
45+
merge_codes_64: "mergeCodes64.xlsx"
46+
merge_codes_105: "mergeCodes105.csv"
47+
48+
derived:
49+
scenario_dependent:
50+
# Time series: income of two types (lo, hi) in two scenarios (0,1) = (noCovid, covid)
51+
lo_income: "noCollegeIncome.csv"
52+
hi_income: "collegeIncome.csv"
53+
54+
# Time series: hours worked of two types (lo, hi) in two scenarios (0,1)
55+
lo_hours: "noCollegeHours.csv"
56+
hi_hours: "collegeHours.csv"
57+
58+
# Time series: capital in two scenarios (0,1)
59+
capital: "capital.csv"
60+
61+
# Forecast scenarios
62+
turnover: "turnover.csv"
63+
64+
scenario_independent:
65+
# Time series: inventories (one scenario only)
66+
inventory: "inventories.csv"
67+
68+
# Base year: depreciation rates
69+
depreciation: "depreciation.csv"
70+
71+
# Financial data
72+
risk_free_rate: "interestRate.csv"
73+
assets: "firmData.csv"
74+
model_results: "modelResults.csv"
75+
76+
# Forecast scenarios
77+
gdp: "gdp_forecast.csv"
78+
79+
outputs:
80+
scenario_dependent:
81+
forecast: "forecast.csv"
82+
83+
scenario_independent:
84+
base_data: "ukdata.csv"
85+
parms: "parms.csv"
86+
log_p: "logp.csv"
87+
log_Y: "logy.csv"
88+
covid: "cge_results.csv"
89+
trade: "net_exports.csv"
90+
simulate_economy_3: "simEcon3.csv"
91+
comp_stats: "compStats.csv"
92+
93+
initial_params:
94+
price_index:
95+
eu: 1
96+
eu_export: 1
97+
rest_of_world: 1
98+
rest_of_world_export: 1
99+
100+
beginning_price_of_capital: 1.0
101+
leverage_grid_resolution: 10
102+
assets_destroyed_in_bankrupcy: 0.12 # see Bernanke et al. page 1368

0 commit comments

Comments
 (0)