PSUT Names
psut_names.RmdIntroduction
The prep_psut() function creates
matsindf-style data frames of matrices. Each matrix has
character strings for row and column names. The row and column names
follow strict conventions. This vignette documents those
conventions.
Rules
The rules for the row and column names are given below:
- All row and column names consists of a base part (the noun) and metadata (usually in the form of prepositional phrases)
- The base (noun) always matches the type of thing on that margin. E.g., if “Stock changes [of Crude oil]” is a row name in the make (V) matrix, the base part (“Stock changes”) is an industry, as all row names in V denote.
- The metadata are separated from the base by the strings “[” and ”]”.
- The metadata can include any number of prepositional phrases. In the example above, “of Crude oil” is metadata that modifies the base name (“Stock changes”)
- Each prepositional phrase consists of a single-word preposition and its (possibly multi-word) object.
- Prepositions can be one of “of”, “in”, “into”, “from”, “to”, and “->”. (Note that “->” indicates the outflowing product, a concept for which there is no good preposition in the English language.)
Matrices
R matrix
Rows
The R matrix has industries (resources) in rows. All row names in the R matrix have the same form:
- Resources: “Resources [of
primary_product]”, whereprimary_productis a primary energy carrier. Example: “Resources [of Crude oil]”. With country: “Resources [of Crude oil in SAU]”.
Columns
The R matrix has products (energy carriers) in columns. All column names in the R matrix have the same form:
- Primary products: “
primary_product[from Resources]”, whereprimary_productis a primary energy carrier. Example: “Crude oil [from Resources]”. With country: “Crude oil [from Resources in SAU]”.
V matrix
Rows
Like the R matrix, the V matrix has industries (processing stages) in rows. There are several options for names of rows in the V matrix.
- Imports: “Imports [of
product]”, whereproductis a primary or final energy product. Example: “Imports [of Crude oil]”. With country: “Imports [of Crude oil into USA]”. - Stock changes: “Stock changes [of
product]”, whereproductis a primary or final energy carrier. Example: “Stock changes [of Crude oil]”. With country: “Stock changes [of Crude oil in SAU]”. - Transformation processes: “
pf_machine”, wherepf_machineis a machine that converts primary energy to final energy. These data come from the IEA’s extended energy balances. Example: “Oil refineries”. With country: “Oil refineries [in SAU]”. - Statistical differences: “Statistical differences” which originate from the IEA’s extended energy balances. Example: “Statistical differences”. With country: “Statistical differences [in SAU]”.
- Manufacture processes: “Manufacture [of
product]”, whereproductis any energy carrier. These processes are inserted to convert Resources into primary products. Example: “Manufacture [of Hydro]”. With country: “Manufacture [of Hydro in ISL]”. - Final-to-useful machines: “
fu_machine->useful_product”, wherefu_machineis the name of a machine that converts final energy into useful energy anduseful_productis the name of a useful energy product. Example: “LPG stoves -> MTH.200.C”. fu_machine [-> useful_product] With country: “LPG stoves [-> MTH.200.C in GHA]”.
Columns
Like the R matrix, the V matrix has products (energy carriers) in columns. There are two options for names of columns in the V matrix.
- Primary and final energy carriers: “
product” whereproductis the unmodified name of the energy carrier in the IEA extended energy balances. Example: “Anthracite”. With country: “Anthracite [in AUS]”. - Useful products: “
useful_product[fromfu_machine]”, whereuseful_productis a useful energy carrier andfu_machineis a final-to-useful machine. Example: “HPA [from Air compressors]” With country: “HPA [from Air compressors in USA]”.
U matrix
Rows
The U matrix has products (energy carriers) in rows.
- Resource flows: “
primary_product[from Resources]”, whereprimary_productis a primary energy carrier. Example: “Biogasoline [from Resources]”. With country: “Biogasoline [from Resources in USA]”. - Primary and final energy flows: “
product”, where product is a primary or final energy carrier. Example: “Electricity”. With country: “Electricity [in GBR]”. - Useful products: “
useful_product[fromfu_machine]”], whereuseful_productis a useful energy carrier andfu_machineis a final-to-useful machine. Example: “HPL [from Electric pumps]”. With country: “HPL [from Electric pumps in ESP]”.
Columns
The U matrix has industries (processing stages) in columns.
- Primary-to-final machines: “
pf_machine” wherepf_machineis the name of a primary-to-final machine. Example: “Blast furnaces” With country: “Blast furnaces [in USA]”. - Final-to-useful machines: “
fu_machine->useful_product”, wherefu_machineis a final-to-useful machine anduseful_productis a useful energy carrier. fu_machine [-> useful_product] With country: “Ammonia synthesizers [-> HTH.400.C in POL]”.
Y matrix
Rows
Like the U matrix, the Y matrix has products (energy carriers) in rows.
- Primary and final products: “
product”, whereproductis the unmodified name of the energy carrier in the IEA extended energy balances. Example: “Naptha”. With country: “Naptha [in ESP]”. - Useful products: “
product[fromfu_machine]”, whereproductis a useful energy carrier andfu_machineis a final-to-useful machine. Example: “RoP [from Electric cars]”. With country: “RoP [from Electric cars in USA]”.
Columns
Like the U matrix, the Y matrix has industries (final demand sectors) in columns.
- Sectors: “
sector”, wheresectoris the name of a final demand sector, unmodified from the IEA extended energy balances. Example: “Construction”. With country: “Construction [in USA]”. - Exports: “Exports [of
product]”, whereproductis a primary or final energy product. Example: “Exports [of Coking coal]”. With country: “Exports [of Coking coal from USA]”. - Exports to World marine/aviation bunkers: “Exports to World
bunker_typebunkers [ofproduct]”, wherebunker_typeis either “marine” or “aviation” andproductis a (typically) final energy product. Example: “Exports to World marine bunkers [of Biodiesels]”. With country: “Exports to World marine bunkers [of Biodiesels from USA]”.