/CGE

An Open Source Computational General Equilibrium Model

Primary LanguagePythonCreative Commons Zero v1.0 UniversalCC0-1.0

Org PSL incubating OS License: CCO-1.0 Jupyter Book Badge
Package Python 3.10 Python 3.11Python 3.11 Code style: black
Testing example event parameter example event parameter example event parameter Codecov

CGE

This repository contains a computational general equilibrium (CGE) model for policy analysis. The model based off of the simplest CGE model presented Hosoe, Gawana, and Hashimoto (2010) and the source code is written in Python.

This work is very preliminary. More details will be posted as development continues.

Disclaimer

The model is currently under development. Please do not cite.

Installing and Running CGE from this GitHub repository

  • Install the Anaconda distribution of Python
  • Clone this repository to a directory on your computer
  • From the terminal (or Conda command prompt), navigate to the directory to which you cloned this repository and run conda env create -f environment.yml
  • Then, conda activate cge_env
  • Then install by pip install -e .
  • Navigate to ./open_cge
  • Run the model with an example calibration by typing python execute.py