From 3781a5813cbd7a296af2ec0d35ec2179710acf3e Mon Sep 17 00:00:00 2001 From: jvendries Date: Tue, 19 Sep 2023 15:39:09 -0400 Subject: [PATCH] Add USEEIOv2.0-s-GHG_Std.yml model file to match the changes made to USEEIOv2.0-s-GHG_IF.yml file Point standardModel variable in ImportFactorsTests.rmd to new Std model file --- ImportFactorsTests.rmd | 2 +- .../modelspecs/USEEIOv2.0-s-GHG_Std.yml | 62 +++++++++++++++++++ 2 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 inst/extdata/modelspecs/USEEIOv2.0-s-GHG_Std.yml diff --git a/ImportFactorsTests.rmd b/ImportFactorsTests.rmd index ce84a77f..15401b4e 100644 --- a/ImportFactorsTests.rmd +++ b/ImportFactorsTests.rmd @@ -9,7 +9,7 @@ model <- buildModel(modelname) modelResults <- calculateEEIOModel(model, perspective = "FINAL") -standardModelName <- 'USEEIOv2.0-s-GHG' +standardModelName <- 'USEEIOv2.0-s-GHG_Std' standardModel <- buildModel(standardModelName) standardResults <- calculateEEIOModel(standardModel, perspective = "FINAL") diff --git a/inst/extdata/modelspecs/USEEIOv2.0-s-GHG_Std.yml b/inst/extdata/modelspecs/USEEIOv2.0-s-GHG_Std.yml new file mode 100644 index 00000000..ce397225 --- /dev/null +++ b/inst/extdata/modelspecs/USEEIOv2.0-s-GHG_Std.yml @@ -0,0 +1,62 @@ +Model: "USEEIOv2.0-s-GHG_Std" +BaseIOSchema: 2012 +BaseIOLevel: "Summary" +IOYear: 2019 # Year for IO data +ModelRegionAcronyms: ["US"] +ModelType: "EEIO" +IODataSource: "BEA" +BasePriceType: "PRO" #producer +BasewithRedefinitions: FALSE +CommodityorIndustryType: "Commodity" +ScrapIncluded: FALSE +DisaggregationSpecs: null + +SatelliteTable: + GHG: + FullName: "Greenhouse Gases" + Abbreviation: "GHG" + StaticSource: TRUE + StaticFile: "flowsa/FlowBySector/GHG_national_2019_m1_v2.0.0_4a983ce.parquet" + FileLocation: "DataCommons" + DataYears: [2019] + Locations: ["US"] + SectorListSource: "NAICS" + SectorListYear: 2012 + SectorListLevel: "6" + OriginalFlowSource: "FEDEFLv1.0.6" + ScriptFunctionCall: "getFlowbySectorCollapsed" #function to call for script + ScriptFunctionParameters: null + DataSources: + USEPA_GHG_2021: + Title: "GHG Inventory" + Author: "USEPA" + DataYear: 2020 + URL: "https://www.epa.gov/ghgemissions/inventory-us-greenhouse-gas-emissions-and-sinks-1990-2020" + Primary: TRUE + +Indicators: + GreenhouseGases: + Name: "Greenhouse Gases" + Code: "GHG" + Group: "Impact Potential" + Unit: "kg CO2 eq" + SimpleUnit: "Kilograms Carbon Dioxide (CO2)" + SimpleName: "Greenhouse Gases" + StaticSource: TRUE + StaticFile: "lciafmt/traci/TRACI_2.1_v1.0.0_5555779.parquet" + FileLocation: "DataCommons" + ScriptFunctionCall: "getImpactMethod" #function to call for script + ScriptFunctionParameters: + indicators: ["Global warming"] + DataSources: + USEPA_TRACI_2.1: + Title: "TRACI 2.1" + Author: "USEPA" + DataYear: NA + URL: "https://www.epa.gov/chemical-research/tool-reduction-and-assessment-chemicals-and-other-environmental-impacts-traci" + Primary: TRUE + +DemandVectors: + DefaultDemand: "DefaultDemandVectors" # Name of default demand vectors yml file +# Additional demand vectors beyond useeior defaults +