ChargingParameters

public struct ChargingParameters

Describes connector information of an electric engine.

Important

This is a Public Preview API. It may be changed or removed at any time.

Lifecycle

  • Declaration

    Swift

    public init(
        batteryCurve: [Measurement<UnitEnergy>: Measurement<UnitPower>],
        chargingConnectors: [ChargingConnector],
        chargingTimeOffset: Measurement<UnitDuration>? = nil
    ) throws

    Parameters

    batteryCurve

    Specifies the battery curve. Each entry describes a battery point, that consits of a state of charge and maximum power. Important remarks:

    chargingConnectors

    Specifies the available charging connector types.

    chargingTimeOffset

    Specifies the charging time offset. If not specified the default value of 60s applies. Must be larger than or equal to zero.

Public

  • Specifies the battery curve.

    Declaration

    Swift

    public let batteryCurve: [Measurement<UnitEnergy> : Measurement<UnitPower>]
  • Specifies the available charging connector types.

    Declaration

    Swift

    public let chargingConnectors: [ChargingConnector]
  • Specifies the charging time offset.

    Declaration

    Swift

    public let chargingTimeOffset: Measurement<UnitDuration>?