Choose the format of your database. Each guide explains its blocks, names, axes and calculation assumptions together.

One sector set on both sides of the transaction matrix. Sectors represent industries or products, depending on the source.

Explore IOT structure and nomenclature

Activities and commodities have separate axes. Supply records what activities produce; use records their inputs.

Explore SUT structure and nomenclature

Objects in MARIO#

Database

The mario.Database object holding your table, metadata and scenarios.

Table

The accounting structure: IOT or SUT. Inspect it with db.table_type.

Scenario

A state of that table, such as the baseline or a modified scenario.

Matrix

A named block or result, such as db.Z or db.U.

Each scenario stores its own matrices. MARIO can calculate missing quantities when requested; Scenarios explains how the states are managed.

Model configurations#

Each table has an accounting configuration. Inspect the baseline with db.configuration or select a scenario with db.get_configuration().

Choice

Meaning

Table format

IOT has one productive set. SUT separates activities and commodities.

Regional scope

Single-region or multi-region, determined by endogenous Region members.

Trade representation

Isard carries trade in SUT use and final demand. Chenery–Moses carries commodity trade in supply. IOT transactions are bilateral.

Import representation (import_representation)

Single-region models can include external imports in factor accounts with "factor-accounts" or use native blocks with "separate".

External trade resolution (trade_resolution)

"aggregate" combines foreign origins and export partners. "by_region" retains their regional labels.

Import detail (imports_by)

Total imports, or imports by Sector, Commodity or producing Activity. The classification and the foreign-partner resolution are independent.

Technology assumption

Industry-based or product-based SUT supply coefficients. For an IOT, sector_type records the productive classification when available.

Trade representation belongs to each scenario. The import representation and descriptors are shared by the database’s scenarios. Existing national tables without declared import accounts report unspecified import detail. Mixed regional SUT patterns report mixed. A table with zero international flows reports domestic-only. A coefficient-only or incomplete source can report unspecified until its regional pattern is available.

The IOT and SUT diagrams provide single-region selectors named import_representation, trade_resolution and imports_by, matching db.to_single_region() and the fields exposed by db.configuration. The diagrams show the resulting import rows, their foreign origins and the export-partner detail. F1/F2 illustrate foreign partners, with regions inside the imported classification. Each matrix has one symbol across its rows.

The SUT multiregional selector Trade representation chooses Isard or Chenery–Moses. Foreign origin descriptors identify external suppliers. The endogenous Region set determines regional scope. Both diagrams also provide flow and coefficient views. See separate import accounts for extraction and reversible conversion.

Flows, coefficients and units#

For paired names such as Z / z or E / e, capitals indicate absolute flows and lowercase indicates coefficients per unit of output. A table can contain both. Final-demand blocks remain flows.

The format describes the arrangement of the table. Monetary or physical units come from the database: a hybrid table can use different units for different products. Check units before summing quantities or comparing coefficients.

These guides use MARIO’s default names. See custom labels to change them, or the matrix reference for the full catalogue.