@@ -48,31 +48,32 @@ model <- useeior:::loadDemandVectors(model)
48
48
model <- useeior ::: constructEEIOMatrices(model )
49
49
printValidationResults(model )
50
50
51
-
52
- # ## NEW - Need to an an alias as per https://github.com/USEPA/USEEIO/blob/master/versioning/aliases.csv
53
- # # USEEIOv2.4.1-408-GHG Detail, commodity model (2017 Schema) with disaggregation
54
- m <- " USEEIOv2.4.1-408-GHG"
51
+ # # USEEIOv2.2-GHG Detail, commodity model (2017 Schema) with disaggregation
52
+ m <- " USEEIOv2.2-GHG"
55
53
cfg <- c(paste0(" modelspecs/" , m , " .yml" ),
56
54
" disaggspecs/WasteDisaggregationDetail2017.yml" ,
57
55
" disaggspecs/WasteDisaggregationDetail2017_Make.csv" ,
58
- " disaggspecs/WasteDisaggregationDetail2017_Use.csv" ,
59
- " disaggspecs/WasteDisaggregationDetail2017_Env.csv" ,
60
- " disaggspecs/WasteDisaggregationDetail2017_Sectors.csv"
61
- )
62
- model <- buildModel(m , configpaths = file.path(cfg ))
56
+ " disaggspecs/WasteDisaggregationDetail2017_Use.csv"
57
+ )
58
+ model <- useeior ::: initializeModel(m , configpaths = file.path(cfg ))
59
+ model $ specs $ Model <- " USEEIOv2.2-GHG-408"
60
+ model $ specs $ DisaggregationSpecs <- " WasteDisaggregationDetail2017"
61
+ model <- useeior ::: loadIOData(model , configpaths = cfg )
62
+ model <- useeior ::: loadandbuildSatelliteTables(model )
63
+ model <- useeior ::: loadandbuildIndicators(model )
64
+ model <- useeior ::: loadDemandVectors(model )
65
+ model <- useeior ::: constructEEIOMatrices(model , configpaths = cfg )
63
66
printValidationResults(model )
64
67
65
- # # USEEIOv2.4 -s-GHG Summary, commodity model (2017 Schema)
66
- m <- " USEEIOv2.4.1-408 -GHG"
68
+ # # USEEIOv2.2 -s-GHG Summary, commodity model (2017 Schema) with disaggregation
69
+ m <- " USEEIOv2.2 -GHG"
67
70
cfg <- c(paste0(" modelspecs/" , m , " .yml" ),
68
71
" disaggspecs/WasteDisaggregationSummary2017.yml" ,
69
72
" disaggspecs/WasteDisaggregationSummary2017_Make.csv" ,
70
- " disaggspecs/WasteDisaggregationSummary2017_Use.csv" ,
71
- " disaggspecs/WasteDisaggregationSummary2017_Sectors.csv"
72
- )
73
-
73
+ " disaggspecs/WasteDisaggregationSummary2017_Use.csv"
74
+ )
74
75
model <- useeior ::: initializeModel(m , configpaths = file.path(cfg ))
75
- model $ specs $ Model <- " USEEIOv2.4.1 -s-GHG"
76
+ model $ specs $ Model <- " USEEIOv2.2 -s-GHG-79 "
76
77
model $ specs $ BaseIOLevel <- " Summary"
77
78
model $ crosswalk <- useeior ::: getModelCrosswalk(model ) # reassign for summary model
78
79
model $ specs $ DisaggregationSpecs <- " WasteDisaggregationSummary2017"
@@ -84,9 +85,6 @@ model <- useeior:::constructEEIOMatrices(model, configpaths = cfg)
84
85
printValidationResults(model )
85
86
86
87
87
-
88
- # ##
89
-
90
88
# # USEEIOv2 - integrated hybrid
91
89
m <- " USEEIOv2.0-GHG-NGCombustion"
92
90
cfg <- c(paste0(" modelspecs/" , m , " .yml" ),
0 commit comments