The program has been built to read the IOT from an excel 2003 spreadsheet, which requires a special formating.
Note
Other formats such as newer Excel formats (.xlsx) and from other programs such as Libre Office (.ods) are not accepted; not even text-based formats such as cvs or others.
The spreadsheet can have any file name but must entail the following 4 spreadsheets with identical names, in any order:
title and comments, in which only three values from the first column are read:
- the first cell entails the title of the IOT
- the second cell entails the units
- the thirs cell entail any comments you wish to add.
Z, in which the intersectoral matrix and sectoral labels of the IOT is contained:
- the first row contains all sectoral labels
- the first column also contains the sectoral labels
- the intersectoral matrix is aligned with its corresponding row and column labels
r, in which the primary resources are contained
- the first cell of the first row contains the title of the primary inputs
- the rest of the first row contains the primary inputs for all sectors
Note
Only one row for primary resources is allowed.
f, in which the final outputs are contained (i.e. final goods and emissions):
the first row contains the labels for the final goods and emissions.
- the final goods must be in the first column
- the emissions must all start with the w character (e.g. w0, w_MSW, ...).
- No limited number of emissions.
The column below each label contains the data, in the same order as in the intersectoral matrix.
Note
Only one column for final goods is allowed.
When MetabX is run, it prompts for the input file to read from (formated as above). It then reads it an stored the information as follows:
All labels are stored in the label_dictionary, as follows
The data is stored in the actual_structure_dictionary, as follows (for more details see next sections Internal structure of variables and Calculations and checks ):