EnergyMix

constructor(isGreenEnergy: Boolean, energySources: EnergySource? = null, environImpact: EnvironmentalImpact? = null, supplierName: String? = null, energyProductName: String? = null)

Parameters

isGreenEnergy

True if 100% from regenerative sources. (CO2 and nuclear waste is zero)

energySources

Key-value pairs (enum + percentage) of energy sources of this location’s tariff.

environImpact

Key-value pairs (enum + percentage) of nuclear waste and CO2 exhaust of this location’s tariff.

supplierName

Name of the energy supplier, delivering the energy for this location or tariff.

energyProductName

Name of the energy suppliers product/tariff plan used at this location.