Table 1
Glossary.
| ITEM | DEFINITION |
|---|---|
| Table | Any input-output or supply-use table that can be parsed in MARIO. |
| Matrix | Components of a table. In MARIO, each table is structured in a set of matrices, represented as Pandas MultiIndexed DataFrames [15] |
| Sets | Basic information characterizing each matrix. The combination of the appropriate sets defines the MultiIndex of the DataFrame representing the matrix. For instance, the final demand matrix of an IOT is characterized by regions and sectors on the rows, and by regions and consumption categories on the columns. |
| Scenario | Any shocked version of the same table. In MARIO, by default, the first scenario is always called baseline. |
| Instance | A MARIO Database object, characterized by all the matrices of all the scenarios. |

Figure 1
MARIO core classes and data properties.
Table 2
Matrices indexing logic. Such logic is applied to any parsed table independently of the original formatting.
| MATRICES | ROW INDEX LEVELS | COLUMN INDEX LEVELS | DESCRIPTION |
|---|---|---|---|
| Z (z) | Region, Item(s),Label | Region, Item(s), Label | The intermediate transactions matrices always represent supplying and consuming regions and items. Items can be alternatively “Sectors” in case of symmetric input-output tables (IOTs) or “Commodities” and “Activities” in case of supply-use tables (SUTs). |
| U (u) | Region, Commodity,Label | Region, Activity, Label | The use transactions matrices always represent the supplied commodities and consuming activities by region of production and consumption. Use matrices are calculated just in the case of SUTs. |
| S (S) | Region, Activity,Label | Region, Commodity, Label | The supply transactions matrices always represent supplied commodities by supplying activities by region of production and consumption. Supply matrices are calculated just in the case of SUTs. |
| Y | Region, Item(s),Label | Region, Consumption category, Label | The final transactions matrix always represents the consumption of items in different regions and by different consumption categories. Items can be alternatively “Sectors” in case of symmetric input-output tables (IOTs) or “Commodities” and “Activities” in case of supply-use tables (SUTs). |
| V (v) | Factors of production labels | Region, Item(s), Label | The value added matrices always represent the consumption of factors of production in different regions and by different items. Items can be alternatively “Sectors” in case of symmetric input-output tables (IOTs) or “Commodities” and “Activities” in case of supply-use tables (SUTs). |
| E (e) | Satellite accounts labels | Region, Item(s), Label | The intermediate environmental transaction matrices always represent the consumption of satellite accounts in different regions and by different items. Items can be alternatively “Sectors” in case of symmetric input-output tables (IOTs) or “Commodities” and “Activities” in case of supply-use tables (SUTs). |
| EY | Satellite accounts labels | Region, Consumption category, Label | The final environmental transaction matrix always represents the consumption of satellite accounts in different regions and by different consumption categories. |

Figure 2
Aggregation Excel file. Example of commodities aggregation.

Figure 3
Characterization of the input structure of the new activity.

Figure 4
Characterization of the supply of the European “Batteries” commodity by the new European “Manufacture of batteries” activity.

Figure 5
Shock implementation on the Y matrix.

Figure 6
Built-in visualization of selected results. It is worth noting that the values of each commodity are represented following its unit of measure.
