Skip to content

Commit

Permalink
use IEFs from 2012 schema in testing 2R model
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-young committed Sep 11, 2024
1 parent 6ddc6b4 commit 462eb53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/modelspecs/GAEEIOv1.0-GHG-19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ DemandVectors:
DefaultDemand: "DefaultDemandVectors" # Name of default demand vectors yml file

# ImportFactors:
# StaticFile: "useeior/US_summary_import_factors_exio_2019_17sch.csv"
# StaticFile: "useeior/US_summary_import_factors_exio_2019_12sch.csv"
# FileLocation: "DataCommons"
4 changes: 2 additions & 2 deletions tests/test_model_build.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,13 +143,13 @@ writeModeltoXLSX(model, ".")

## StateEEIOv1.1 Two-region Summary model with Import Factors
cfg <- c(paste0("modelspecs/", m, ".yml"),
"US_summary_import_factors_exio_2019_17sch.csv"
"US_summary_import_factors_exio_2019_12sch.csv"
)
model <- useeior:::initializeModel(m, configpaths = file.path(cfg))
model$specs$Model <- "GAEEIOv1.1-GHG-19-IF"
model$specs$ExternalImportFactors <- TRUE
model$specs$ImportFactors <- list()
model$specs$ImportFactors$StaticFile <- "useeior/US_summary_import_factors_exio_2019_17sch.csv"
model$specs$ImportFactors$StaticFile <- "useeior/US_summary_import_factors_exio_2019_12sch.csv"
model$specs$ImportFactors$FileLocation <- "DataCommons"
model <- useeior:::loadIOData(model, file.path(cfg))
model <- useeior:::loadandbuildSatelliteTables(model)
Expand Down

0 comments on commit 462eb53

Please sign in to comment.