Class: AttributeToExporterResult

AttributeToExporterResult(inner)

Decorator which attributes initial charge to the exporter. Decorator which attributes initial charge to the exporter which is in contrast to the default where initial chanrge is included for the importer totals. Leaves other attributes including population and all domestic calculations unchanged. This represents a single substance and application in a single year with attribution added.

Constructor

new AttributeToExporterResult(inner)

Create a new decorator around a raw result with importer attribution.
Parameters:
Name Type Description
inner EngineResult The value to be decorated that will apply trade attribution to exporter at time of request.
Source:

Methods

getApplication() → {string}

Get the application for which results are reported.
Source:
Returns:
The unchanged application from the decorated result.
Type
string

getBankChangeKg() → {EngineNumber}

Get the change in substance bank in kg.
Source:
Returns:
The bank change value in kg.
Type
EngineNumber

getBankChangeTco2e() → {EngineNumber}

Get the change in substance bank in tCO2e.
Source:
Returns:
The bank change value in tCO2e.
Type
EngineNumber

getBankKg() → {EngineNumber}

Get the substance bank in kg.
Source:
Returns:
The bank value in kg.
Type
EngineNumber

getBankTco2e() → {EngineNumber}

Get the substance bank in tCO2e.
Source:
Returns:
The bank value in tCO2e.
Type
EngineNumber

getConsumptionNoRecycle() → {EngineNumber}

Get the total consumption without recycling.
Source:
Returns:
The unchanged consumption value in tCO2e or similar from the decorated result, combining domestic and import consumption.
Type
EngineNumber

getDomestic() → {EngineNumber}

Get the domestic volume.
Source:
Returns:
The unchanged domestic volume in kg or similar from the decorated result.
Type
EngineNumber

getDomesticConsumption() → {EngineNumber}

Get the domestic consumption value.
Source:
Returns:
The domestic consumption value in tCO2e or similar.
Type
EngineNumber

getEnergyConsumption() → {EngineNumber}

Get the energy consumption value.
Source:
Returns:
The energy consumption value with units.
Type
EngineNumber

getEolEmissions() → {EngineNumber}

Get the greenhouse gas emissions from end-of-life equipment.
Source:
Returns:
The end-of-life emissions value in tCO2e or similar.
Type
EngineNumber

getExport() → {EngineValue}

Get the export volume associated with this result.
Source:
Returns:
The export volume in kg or similar from the decorated result but with initial charge attributed to exporter.
Type
EngineValue

getExportConsumption() → {EngineNumber}

Get the export consumption value with exporter attribution.
Source:
Returns:
The export consumption value in tCO2e or similar, adjusted for exporter attribution by adding initial charge consumption.
Type
EngineNumber

getGhgConsumption() → {EngineNumber}

Get the total greenhouse gas consumption.
Source:
Returns:
The total GHG consumption value in tCO2e or similar.
Type
EngineNumber

getImport() → {EngineValue}

Get the import volume associated with this result.
Source:
Returns:
The import volume in kg or similar from the decorated result but with initial charge attributed to exporter.
Type
EngineValue

getImportConsumption() → {EngineNumber}

Get the import consumption value with exporter attribution.
Source:
Returns:
The import consumption value in tCO2e or similar, adjusted for exporter attribution by removing initial charge consumption.
Type
EngineNumber

getInitialChargeEmissions() → {EngineNumber}

Get the greenhouse gas emissions from initial charge activities. This is an informational metric representing the GHG potential of substance initially charged into equipment. Actual emissions occur later during recharge (leakage between servicings) or at end-of-life disposal.
Source:
Returns:
The initial charge emissions value in tCO2e or similar.
Type
EngineNumber

getPopulation() → {EngineNumber}

Get the population value.
Source:
Returns:
The population value in terms of equipment units.
Type
EngineNumber

getPopulationNew() → {EngineNumber}

Get the amount of new equipment added this year.
Source:
Returns:
The amount of new equipment added this year in units.
Type
EngineNumber

getRechargeEmissions() → {EngineNumber}

Get the greenhouse gas emissions from recharge activities.
Source:
Returns:
The recharge emissions value in tCO2e or similar.
Type
EngineNumber

getRecycle() → {EngineNumber}

Get the recycle volume.
Source:
Returns:
The unchanged recycle volume in kg or similar from the decorated result.
Type
EngineNumber

getRecycleConsumption() → {EngineNumber}

Get the recycle consumption value.
Source:
Returns:
The recycle consumption value in tCO2e or similar.
Type
EngineNumber

getScenarioName() → {string}

Get the scenario name.
Source:
Returns:
The name of the scenario being run.
Type
string

getSubstance() → {string}

Get the substance for which results are reported.
Source:
Returns:
The unchanged substance from the decorated result.
Type
string

getTradeSupplement() → {ImportSupplement}

Get the import supplement information.
Source:
Returns:
The additional import information needed for attribution from the decorated result.
Type
ImportSupplement

getTrialNumber() → {number}

Get the trial number.
Source:
Returns:
The trial number of the current run.
Type
number

getYear() → {number}

Get the year for which results are reported.
Source:
Returns:
The unchanged year from the decorated result.
Type
number