A Computable General Equilibrium (CGE) model is a quantitative economic model that represents an economy as interconnected markets for goods and services, factors of production, institutions, and the rest of the world. It is calibrated with data (typically a Social Accounting Matrix) and solved numerically as a system of nonlinear equations until equilibrium conditions (zero-profit, market-clearing, and income-balance) hold within tolerance.
JCGE is a block-based CGE modeling and execution framework in Julia. It defines a shared RunSpec structure and reusable blocks so models can be assembled, validated, solved, and compared consistently across packages.
Calibration utilities for common CGE functional forms.
- Calibration helpers for CES/CET/Leontief/LES/Cobb–Douglas (as needed)
- Benchmark replication checks and share/scale parameter reconstruction
- No JuMP dependency
JCGECalibrate expects a single canonical CSV schema for model inputs. This
schema is model-agnostic and can be generated by JCGEImportData.
Required files:
sets.csv— columns:set,itemsam.csv— SAM matrix with alabelcolumn for row labels and the remaining columns as SAM accounts
Optional files:
subsets.csv— columns:subset,parent_set,itemlabels.csv— columns:set,item,label(optionaldescription)mappings.csv— columns:map,from_item,to_itemparams.csv— columns:name,set1,index1,set2,index2,set3,index3,value,section
Notes:
- Scalar parameters use empty index columns.
- Section names should align with RunSpec sections (production, households, markets, etc.).
sam.csvuses the explicitlabelcolumn (olderColumn1or empty headers are tolerated by the loader for now).
These parameter names appear in packages/JCGEExamples/models/*/data/ and should
map into params.csv as name entries:
- SAM-based models:
sam.csv(plus sets from SAM labels) - Cameroon models:
io,imat,wdist,xle,m0,e0,xd0,k0,id0,dst0,depr,rhoc,rhot,eta,pd0,tm0,itax,cles,gles,kio,dstr,wa0,te, and scalars (er,gr0,gdtot0,cdtot0,fsav0,mps0) - Korea models:
io,imat,wdist,alphl,labres1,labres2,sectres,hhres,htax,cles,zz, and scalars (er,pindex,gdtot,deprecia,savings,invest,fsav,fbor,remit,tothhtax,y)
- Model building or equation definitions
If you use the JCGE framework, please cite:
Boero, R. JCGE - Julia Computable General Equilibrium Framework [software], 2026. DOI: 10.5281/zenodo.18282436 URL: https://JCGE.org
@software{boero_jcge_2026,
title = {JCGE - Julia Computable General Equilibrium Framework},
author = {Boero, Riccardo},
year = {2026},
doi = {10.5281/zenodo.18282436},
url = {https://JCGE.org}
}If you use this package, please cite:
Boero, R. JCGECalibrate.jl - Calibration utilities for CGE models in JCGE. [software], 2026. DOI: 10.5281/zenodo.18225968 URL: https://Calibrate.JCGE.org SourceCode: https://github.com/equicirco/JCGECalibrate.jl
@software{boero_jcgecalibrate_2026,
title = {JCGECalibrate.jl - Calibration utilities for CGE models in JCGE.},
author = {Boero, Riccardo},
year = {2026},
doi = {10.5281/zenodo.18225968},
url = {https://Calibrate.JCGE.org}
}If you use a specific tagged release, please cite the version DOI assigned on Zenodo for that release (preferred for exact reproducibility).