Salt Lake City Computable General Equilibrium (CGE)#
Description
A computable general equilibrium (CGE) model is based on fundamental economic principles. A CGE model uses multiple data sources to reflect the interactions of households, firms, and relevant government entities as they contribute to economic activity. The model is based on (1) utility-maximizing households that supply labor and capital, using the proceeds to pay for goods and services (both locally produced and imported) and taxes; (2) the production sector, with perfectly competitive, profit-maximizing firms using intermediate inputs, capital, land, and labor to produce goods and services for both domestic consumption and export; (3) the government sector that collects taxes and uses tax revenues in order to finance the provision of public services; and (4) the rest of the world.
The output of this analysis are CSV files with domestic supply, gross income, ore- and post-disaster factor demand and household count.
Input parameters
key name |
type |
name |
description |
---|---|---|---|
|
|
Iterations |
Number of dynamic model iterations. |
|
|
Solver path |
Path to ipopt package. |
Input datasets
key name |
type |
name |
description |
---|---|---|---|
|
Social matrix |
A social accounting matrix. |
|
|
Capital composition |
A matrix of functioning capital. |
|
|
Government parameters |
A matrix tax revenue transfer. |
|
|
Parameters |
Data of employment, capital and households |
|
|
Supply elasticity |
Elasticities for the supply of labor. |
|
|
Employment |
Commercial sector employment data |
|
|
Labor |
A matrix of workers groups in the economy. |
|
|
Commuter laborers |
A matrix of Salt Lake City commuting workers. |
|
|
Capital shocks |
Building states to capital |
Output datasets
key name |
type |
name |
description |
---|---|---|---|
|
Supply results |
A dataset containing domestic supply results (format: CSV). |
|
|
Gross income |
A dataset of resulting gross income (format: CSV). |
|
|
Factor demand |
A dataset of factor demand before disaster (format: CSV). |
|
|
Factor demand |
A dataset of factor demand after disaster (format: CSV). |
|
|
Household count |
A dataset of household count (format: CSV). |
(* required)
Execution
code snippet:
# Create Salt Lake City CGE Model
saltlake_cge = SaltLakeCGEModel(client)
# Set analysis input datasets
saltlake_cge.set_parameter("model_iterations", 1)
saltlake_cge.load_remote_input_dataset("SAM", SAM)
saltlake_cge.load_remote_input_dataset("BB", BB)
saltlake_cge.load_remote_input_dataset("MISCH", MISCH)
saltlake_cge.load_remote_input_dataset("EMPLOY", EMPLOY)
saltlake_cge.load_remote_input_dataset("JOBCR", JOBCR)
saltlake_cge.load_remote_input_dataset("OUTCR", OUTCR)
saltlake_cge.load_remote_input_dataset("sector_shocks", sector_shocks)
# Set analysis parameters
saltlake_cge.set_parameter("solver_path", "ipopt")
saltlake_cge.set_parameter("model_iterations", 1)
# Run Salt Lake City CGE model analysis
saltlake_cge.run_analysis()
full analysis: slc_cge.ipynb