ocpp/v2_1/datatype/voltage_params

OCPP 2.1 VoltageParams data type (schema VoltageParamsType).

to_json/decoder map to/from its OCPP-J JSON object; new (when present) builds a value from the required fields only.

Types

FieldTypeReqDescription
custom_dataCustomData
hv10_min_mean_trip_delayFloatTime for which the voltage is allowed to stay above the 10 min mean value. After this time, the EV must trip. This value is mandatory if OverVoltageMeanValue10min is set.
hv10_min_mean_valueFloatEN 50549-1 chapter 4.9.3.4 Voltage threshold for the 10 min time window mean value monitoring. The 10 min mean is recalculated up to every 3 s. If the present voltage is above this threshold for more than the time defined by hv10MinMeanValue, the EV must trip. This value is mandatory if hv10MinMeanTripDelay is set.
power_during_cessationPowerDuringCessation

Schema: VoltageParamsType

pub type VoltageParams {
  VoltageParams(
    custom_data: option.Option(custom_data.CustomData),
    hv10_min_mean_trip_delay: option.Option(Float),
    hv10_min_mean_value: option.Option(Float),
    power_during_cessation: option.Option(
      power_during_cessation.PowerDuringCessation,
    ),
  )
}

Constructors

Values

pub fn decoder() -> decode.Decoder(VoltageParams)

Decode a VoltageParams from its OCPP-J JSON object, enforcing schema constraints.

pub fn new() -> VoltageParams

Construct a VoltageParams from its required fields, with every optional field set to None.

pub fn to_json(value: VoltageParams) -> json.Json

Encode a VoltageParams to its OCPP-J JSON object.

Search Document