Skip to content

Commit

Permalink
incorporate utility disaggregation into two region model testing
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Apr 8, 2024
1 parent 48da7f2 commit e23856e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 62 deletions.
62 changes: 0 additions & 62 deletions inst/extdata/modelspecs/GAEEIOv1.0-75-GHG-19.yml

This file was deleted.

12 changes: 12 additions & 0 deletions tests/test_model_build.R
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,15 @@ model <- useeior:::loadandbuildIndicators(model)
model <- useeior:::loadDemandVectors(model)
model <- useeior:::constructEEIOMatrices(model, file.path(cfg))
printValidationResults(model)

## StateEEIOv1.0 Two-region Summary model with Utility disaggregation
model <- useeior:::initializeModel(m, configpaths = file.path(cfg))
model$specs$Model <- "GAEEIOv1.0-75-GHG-19"
model$specs$IODataVersion <- "0.3.0" # required for disaggregation
model$specs$DisaggregationSpecs <- "UtilityDisaggregation"
model <- useeior:::loadIOData(model, file.path(cfg))
model <- useeior:::loadandbuildSatelliteTables(model)
model <- useeior:::loadandbuildIndicators(model)
model <- useeior:::loadDemandVectors(model)
model <- useeior:::constructEEIOMatrices(model)
printValidationResults(model)

0 comments on commit e23856e

Please sign in to comment.