mario.calc_Fc
- mario.calc_Fc(fc, Yc)#
Calculate the
Fccommodity-side total environmental flows matrix.\[F_c = f_c\,\operatorname{diag}\!\left(Y_c\mathbf{1}\right)\]Final demand is summed across its columns before scaling the multiplier columns. The output columns represent production nodes, rather than final-demand categories.
- Parameters:
fc (pandas.DataFrame) – Total environmental coefficients: accounts by commodity nodes.
Yc (pandas.DataFrame) – Commodity final demand: commodity nodes by final-demand categories and regions.
- Returns:
Footprint flows with the same index and columns as
fc.- Return type:
pandas.DataFrame