CoreModel.p_ex(*, scenario: str = 'baseline')#

Return exploded price-index contributions for IOT.

\[p_{\mathrm{ex}} = \operatorname{diag}(v^{\mathsf{T}}\mathbf{1})\,w\]

Here each value-added coefficient vector is summed over factor rows before diagonalization. Column sums recover p.

This is the aggregated analogue of m_ex(): it sums value-added rows first and then returns diag(v.sum(0)) @ w.

Parameters:

scenario – Scenario used to read source matrices.

Returns:

DataFrame whose rows identify the contributing region-sector and whose column sums equal p.

Return type:

pandas.DataFrame

Notes

For SUT models use pa_ex() (activity side) or pc_ex() (commodity side).

The full baseline result is also available as the property db.p_ex_all.