ChargingConnector

public struct ChargingConnector : Equatable, Hashable

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(
        currentType: CurrentType,
        connectorTypes: [ConnectorType],
        efficiency: Measurement<TTUnitRatio>? = nil,
        baseLoad: Measurement<UnitPower>? = nil,
        maxPower: Measurement<UnitPower>? = nil
    )

    Parameters

    currentType

    Specifies the type of current used by vehicle for charging.

    connectorTypes

    Specifies the available charging connector types.

    efficiency

    Speficies the charger’s efficiency. If not specified the default value 1.0 applies. Must be larger than zero and smaller or equal to one.

    baseLoad

    Specifies the charger’s baseload. If not specified the default value 0.0 applies.

    maxPower

    Specifies the charger’s maximum power. If not specified the power is only limited by the charging facility. Must be a positive number or zero, where 0 implies no boundary applies.

Public

  • Specifies the type of current used by vehicle for charging.

    Declaration

    Swift

    public let currentType: CurrentType
  • Specifies the available charging connector types.

    Declaration

    Swift

    public let connectorTypes: [ConnectorType]
  • Specifies the charger efficiency.

    Declaration

    Swift

    public let efficiency: Measurement<TTUnitRatio>?
  • Specifies the charger baseload.

    Declaration

    Swift

    public let baseLoad: Measurement<UnitPower>?
  • Specifies the charger’s maximum power.

    Declaration

    Swift

    public let maxPower: Measurement<UnitPower>?