Skip to main content

IAM-AX in Python

Project description

License Coverage Lint Score

IAM-AX is a metamodel for designing, generating, inspecting and running computable general-equilibrium models. It generates the code of integrated or non-integrated CGE models from i) structured socio-economic, technical or physical data and ii) standalone analytical equations written in Python, in a form close to what one would expect from a rigorous analytical model description.

Sewn on ImaCLIMIMpact Assessment of CLIMate policies — whether in static or recursive settings, IAM-AX is not merely another implementation environment for applied general-equilibrium modelling. Its ambition is to define a common architecture for building, executing, testing, reading, comparing and maintaining models.

IAM-AX is also a response to the social role of models, whose vocation is to inform public reasoning and remain appropriable by anyone concerned by their use. Models with such a vocation often require a significant degree of complexity, and the problem is that the algorithmic expression of this complexity tends to degrade over time. As models are enriched, extended and adapted to new questions, technical debt, implicit conventions, fragmented workflows and ad hoc corrections tend to make their code harder to understand and control. Errors then become harder to detect, and results may be severely distorted. Given the role such models are expected to play, this kind of opacity can become hard to accept depending on what is at stake.

This is why IAM-AX seeks to push modelling transparency as far as possible. Its purpose is to prevent the elements of a modelling exercise — data, unknowns, behavioural assumptions, functional interactions, generated equations, numerical resolution and results — from being scattered across opaque code, tacit practices or undocumented conventions. By bringing these elements back to a level of explicitness and simplicity that makes opacity difficult to sustain, IAM-AX addresses the black-box syndrome often associated with complex applied models.

This ambition matters all the more in a context of widespread distrust toward technical and scientific discourse. IAM-AX treats readability, traceability and communicability not as optional documentation tasks, but as core design constraints. In doing so, it attempts to make modelling work more open to review, transmission and contestation.

In that sense, IAM-AX is both a model reader and a model generator. Like a reader able to interpret many discs encoded in the same format, IAM-AX can interpret many models as long as they follow its common grammar. It then generates explicit, readable Python code corresponding to the model it has interpreted. A model is no longer only a bespoke codebase. It becomes an object that can be read, inspected, compared and maintained according to shared rules.

The documentation is available online.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iamax-0.0.0.post3.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iamax-0.0.0.post3-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file iamax-0.0.0.post3.tar.gz.

File metadata

  • Download URL: iamax-0.0.0.post3.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for iamax-0.0.0.post3.tar.gz
Algorithm Hash digest
SHA256 6571b2f5ffc551d5fa6a06ce59e8aeeed83b8807d2dceb72ee8e9c454b0dae6e
MD5 47765a49013772fac65537c3eae1157d
BLAKE2b-256 34702bccb2e3296612646b7f4fb50797b6558dc462cc2b58cafbceadafb22c99

See more details on using hashes here.

File details

Details for the file iamax-0.0.0.post3-py3-none-any.whl.

File metadata

  • Download URL: iamax-0.0.0.post3-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for iamax-0.0.0.post3-py3-none-any.whl
Algorithm Hash digest
SHA256 c65bf2bdf21c520bee879ccf785330b708250e74b38b1c6995ce76ab75c84184
MD5 e2021a16fba9276337f850473c687608
BLAKE2b-256 7fd07a5ad7e93ef54265c3b6c97ac85134b5295b7f77ba34393ffd0187fd0bf1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page