Revert "derive an M matrix for IEF models" #323
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I disagree with this approach now. For models with IFs we should rather derive them with a simplified version of equations 5 and 6 in the Estimating embodied environmental flows ..report
What should be done is removing the final demand term which is for scaling, or the equivalent of replacing y_d with an identity vector
The first term is the direct and indirect flows (domestic emissions only) per dollar associated with domestic total requirements.
The second term are the embodied flows from the use of imports by industries to make their commodities both directly (from
A_m
) and indirectly (by scaling it to total requirements usingL_d
)The third term which is in Eq 7 (not pictured above ) only applies to imports used directly by final consumers which is irrelevant to an M matrix which is rather direct and indirect flows per dollar produced.
Combining them should provide the correct M.
I am suggesting to revert this PR and to create a new branch to implement this new method for an M, but this is up to you to determine the best way to go about this.