Skip to content

Adds disaggregation of two-region model objects #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 138 commits into from
Mar 3, 2025
Merged

Adds disaggregation of two-region model objects #46

merged 138 commits into from
Mar 3, 2025

Conversation

bl-young
Copy link
Collaborator

@bl-young bl-young commented Dec 17, 2024

Disaggregation is applied during the final model object build, assembleTwoRegionIO()

Some disaggregation model data stored in useeior only to reduce duplication. See USEPA/useeior#328

Introduces model specs, specifically StateIOv1.2-shoofly (base model) and StateIOv1.2-milkbar (disaggregation of 22: Utilities). See the revised USEEIO model schema.

As of v0.3.0, Two Region model objects will include the model alias to differentiate model builds.

MoLi7 and others added 30 commits May 3, 2022 14:21
… to match the actual names of the files included in the disaggspecs folder
…needs to be fixed for using useeior Disaggregation functions in stateior
Moved get disagg specs for state models from BuildModel.R to StateDisaggFunctions.R
…e, Commodity and IndustryOUtput model objects
… object into the distinct objects required for disaggregation in USEEIOr
-calculate disaggregated state industry and commodity output totals

-assemble full use table after disaggregating the individual components (UseTransactions, FinalDemand, UseValueAdded)
…to enable the disaggregation of the Use table elements when domestic flag is true
… of non-state Make and Use tables (i.e., US_Make and US_DomesticUse objects)
disaggregateStateSectorLists function for disaggregating the commodity and industry lists

disaggregateNationalObjectsInStateModel function to organize the disaggregation flow for objects that only have to be disaggregated once
@bl-young
Copy link
Collaborator Author

@jvendries before setting this as ready to review, we need to identify the spots, mostly in the ICF functions, where we make adjustments which assume the disagg is for utilities. This needs to be more dynamic.

@bl-young bl-young marked this pull request as ready for review March 2, 2025 20:18
@bl-young bl-young merged commit a4c2bdb into dev Mar 3, 2025
24 checks passed
@bl-young bl-young mentioned this pull request Mar 3, 2025
@bl-young bl-young deleted the disagg branch March 6, 2025 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants