View on GitHub


A high-level language for representing computational general equilibrium models.

Sym is a set-driven matrix language for expressing large-scale general equilibrium models in algebraic form. It is designed to be nearly as concise as standard matrix notation. However, it also imposes rigorous conformability rules on all expressions, allowing it to catch a broad range of potential errors that could otherwise arise in matrix-driven languages. As a result, subscripts are unnecessary in many expressions, improving the clarity of a model’s code and facilitating documentation and maintenance.

Sym is used to implement G-Cubed, a multi-region general equilibrium model of the world economy, and OpenIGEM, an open-source econometric general equilibrium model of the US economy.

Source Code and Executables