calculateStandardResults: Calculate total emissions/resources (LCI) and total impacts...

View source: R/CalculationFunctions.R

calculateStandardResultsR Documentation

Calculate total emissions/resources (LCI) and total impacts (LCIA) for an EEIO model that does not have external import factors for a given perspective and demand vector.

Description

Calculate total emissions/resources (LCI) and total impacts (LCIA) for an EEIO model that does not have external import factors for a given perspective and demand vector.

Usage

calculateStandardResults(
  model,
  perspective,
  demand,
  use_domestic_requirements = FALSE,
  location = NULL,
  household_emissions = FALSE
)

Arguments

model

A complete EEIO model: a list with USEEIO model components and attributes.

perspective

Perspective of the model, can be "DIRECT" or "FINAL". "DIRECT" perspective aligns results with the sectors in which they are produced, while "FINAL" perspective aligns results with the sectors consumed by the final user.

demand

A demand vector, can be name of a built-in model demand vector, e.g. "Production" or "Consumption", or an actual demand vector with names as one or more model sectors and numeric values in USD with the same dollar year as model.

use_domestic_requirements

A logical value: if TRUE, use domestic demand and L_d matrix; if FALSE, use complete demand and L matrix.

location

str optional location code for demand vector, required for two-region models

household_emissions

bool, if TRUE, include calculation of emissions from households

Value

A list with LCI and LCIA results (in data.frame format) of the EEIO model.


USEPA/useeior documentation built on Nov. 5, 2024, 6:12 p.m.