Package org.kigalisim.engine.serializer
Class TradeSupplement
java.lang.Object
org.kigalisim.engine.serializer.TradeSupplement
Summary of trade (imports and exports) for attribution purposes.
This class contains information about imported and exported substances including their volume, consumption impact, and associated equipment population.
-
Constructor Summary
ConstructorsConstructorDescriptionTradeSupplement(EngineNumber importInitialChargeValue, EngineNumber importInitialChargeConsumption, EngineNumber importPopulation, EngineNumber exportInitialChargeValue, EngineNumber exportInitialChargeConsumption) Create a new summary of trade (imports and exports). -
Method Summary
Modifier and TypeMethodDescriptionGet the consumption associated with initial charge of exported equipment.Get the volume of substance exported via initial charge on exported equipment.Get the consumption associated with initial charge of imported equipment.Get the volume of substance imported via initial charge on imported equipment.Get the number of new units imported.
-
Constructor Details
-
TradeSupplement
public TradeSupplement(EngineNumber importInitialChargeValue, EngineNumber importInitialChargeConsumption, EngineNumber importPopulation, EngineNumber exportInitialChargeValue, EngineNumber exportInitialChargeConsumption) Create a new summary of trade (imports and exports).- Parameters:
importInitialChargeValue- The volume of substance imported via initial charge on imported equipment (like kg)importInitialChargeConsumption- The consumption associated with initial charge of imported equipment (like tCO2e)importPopulation- The number of new units importedexportInitialChargeValue- The volume of substance exported via initial charge on exported equipment (like kg)exportInitialChargeConsumption- The consumption associated with initial charge of exported equipment (like tCO2e)
-
-
Method Details
-
getImportInitialChargeValue
Get the volume of substance imported via initial charge on imported equipment.- Returns:
- The initial charge value in volume units like kg
-
getImportInitialChargeConsumption
Get the consumption associated with initial charge of imported equipment.- Returns:
- The initial charge consumption value in units like tCO2e
-
getImportPopulation
Get the number of new units imported.- Returns:
- The import population value in units
-
getExportInitialChargeValue
Get the volume of substance exported via initial charge on exported equipment.- Returns:
- The initial charge value in volume units like kg
-
getExportInitialChargeConsumption
Get the consumption associated with initial charge of exported equipment.- Returns:
- The initial charge consumption value in units like tCO2e
-