pymrio.Extension.calc_system¶
-
Extension.
calc_system
(x, Y_agg, L=None, population=None)¶ Calculates the missing part of the extension plus accounts
This method uses y aggregated across specified y categories
Calculates:
- for each sector and country:
- D, M, D_cba, D_pba_sector, D_imp_sector, D_exp_sector
- for each region:
- D_cba_reg, D_pba_reg, D_imp_reg, D_exp_reg,
- for each region (if population vector is given):
- D_cba_cap, D_pba_cap, D_imp_cap, D_exp_cap
Notes
Only attributes which are not None are recalculated (for D_* this is checked for each group (reg, cap, and w/o appendix)).
Parameters: - x (pandas.DataFrame or numpy.array) – Industry output column vector
- Y_agg (pandas.DataFrame or np.array) – The final demand aggregated (one category per country)
- L (pandas.DataFrame or numpy.array, optional) – Leontief input output table L. If this is not given, the method recalculates M based on D_cba (must be present in the extension).
- population (pandas.DataFrame or np.array, optional) – Row vector with population per region