EnergySource

@Serializable
data class EnergySource(val source: String, val percentage: Double)

Key-value pairs (enum + percentage) of energy sources. All given values of all categories should add up to 100 percent.

Parameters

source

The type of energy source.

percentage

Percentage of this source (0-100) in the mix.

Constructors

Link copied to clipboard
constructor(source: String, percentage: Double)

Properties

Link copied to clipboard
Link copied to clipboard