GTAP Resources: Resource Display
| GTAP Resource #7842 |
|---|
|
"Introducing {teems} and the teemsphere: an open-source platform for reproducible Computable General Equilibrium modelling" Authors: Cantele, Matthew, Pham Van Ha and Thomas Kompas Abstract Reproducibility in computable general equilibrium (CGE) modeling has long been constrained by proprietary software, opaque workflows, and the sheer complexity of assembling a model run. The Trade and Environment Equilibrium Modeling System (TEEMS) is an open-source software suite designed to address this gap by providing a scripted and shareable workflow for CGE model preparation, solution, and result composition within the R programming environment. The ems_data() function loads input files and aggregates regions, sectors, and endowments according to user-specified mappings. A library of internal mappings is provided across multiple resolutions. Intertemporal models are handled natively, with time steps expressed either as integer increments or chronological years. Model loading via ems_model() parses model files, validates closure specifications, applies variable omissions, and accepts direct coefficient value injections. Shock specification supports three modes: uniform shocks, heterogeneous custom shocks , and scenario shocks that accept absolute pre-aggregation values and handle aggregation and percentage-change conversion internally. Closure options include both full-variable and partial swaps, with partial swaps constructed using the ems_swap() function and identified by model-specific set-index notation. The solver is built with Docker and leverages low level programming and high-performance sparse linear algebra libraries including parallel matrix methods. Solutions are handled by ems_solve(), which offers a range of matrix methods, solution methods, among other options. All model coefficients and variables are outputted into a structured named list. In sum, TEEMS reduces the technical barrier to CGE modeling, promotes reproducibility through fully scriptable workflows, and provides a foundation for coupling equilibrium models as well as running CGE models within integrated assessment frameworks. |
| Resource Details () | GTAP Keywords | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
- Software and modeling tools |
| Attachments |
|---|
|
If you have trouble accessing any of the attachments below due to disability, please contact the authors listed above.
Public Access GTAP Resource 7842 (203.3 KB) Replicated: 0 time(s)Restricted Access No documents have been attached. Special Instructions No instructions have been specified. |
| Comments (0 posted) |
|---|
|
You must log in before entering comments.
No comments have been posted. |
Last Modified: 4/30/2026 12:56:16 PM
GTAP Resource 7842


