Skip to content
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

Adds disaggregation of two-region model objects #46

Draft
wants to merge 131 commits into
base: dev
Choose a base branch
from
Draft

Adds disaggregation of two-region model objects #46

wants to merge 131 commits into from

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 and others added 27 commits February 29, 2024 12:55
Minor updates to support disaggregation
@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.

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