Class: AggregatedResult

AggregatedResult(first, second)

Statistics from or summary of a group of results. Result for a single group of results after aggregation like for all consumption across all substances in an application.

Constructor

new AggregatedResult(first, second)

Construct an AggregatedResult instance from one or two objects compatible with EngineResult. Combines two objects that have accessor methods matching EngineResult by using additive logic with unit standardization and conversion. If only one object is provided, or if both arguments are the same object, creates a copy of the first object's values without combining or doubling.
Parameters:
Name Type Default Description
first Object The first result object with compatible accessor methods (getDomestic, getImport, etc.).
second Object null The second result object with compatible accessor methods, to be combined with the first result. If null or not provided, creates a copy of the first object's values without combining. If same reference as first, creates a wrapper without doubling values.
Source:

Methods

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

getDomestic() → {EngineNumber}

Get the domestic (as opposed to import) of substance.
Source:
Returns:
The domestic value with units like kg.
Type
EngineNumber

getDomesticConsumption() → {EngineNumber}

Get the domestic consumption value.
Source:
Returns:
The domestic consumption value with units like tCO2e.
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 with units like tCO2e.
Type
EngineNumber

getExport() → {EngineNumber}

Get the export sales.
Source:
Returns:
The export sales with units like kg.
Type
EngineNumber

getExportConsumption() → {EngineNumber}

Get the export consumption.
Source:
Returns:
The export consumption with units like tCO2e.
Type
EngineNumber

getGhgConsumption() → {EngineNumber}

Get the total consumption combining domestic and import.
Source:
Returns:
The combined consumption value with units like tCO2e.
Type
EngineNumber

getImport() → {EngineNumber}

Get the import (as opposed to manufacture) value.
Source:
Returns:
The import value with units like kg.
Type
EngineNumber

getImportConsumption() → {EngineNumber}

Get the import consumption value.
Source:
Returns:
The import consumption value.
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 with units like tCO2e.
Type
EngineNumber

getPopulation() → {EngineNumber}

Get the population (amount of equipment) value.
Source:
Returns:
The population value with units like tCO2e.
Type
EngineNumber

getPopulationNew() → {EngineNumber}

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

getRechargeEmissions() → {EngineNumber}

Get the greenhouse gas emissions from recharge activities.
Source:
Returns:
The recharge emissions value with units like tCO2e.
Type
EngineNumber

getRecycle() → {EngineNumber}

Get the recycle sales.
Source:
Returns:
The recycle sales with units like kg.
Type
EngineNumber

getRecycleConsumption() → {EngineNumber}

Get the recycle consumption.
Source:
Returns:
The recycle consumption with units like tCO2e.
Type
EngineNumber

getSales() → {EngineNumber}

Get combined sales value (manufacture + import).
Source:
Returns:
The combined sales value with units like kg.
Type
EngineNumber

getTotalEmissions() → {EngineNumber}

Get the total greenhouse gas emissions combining recharge and end-of-life emissions.
Source:
Returns:
The combined emissions value with units like tCO2e.
Type
EngineNumber