:orphan: .. _everest_interfaces_ISO15118_charger: ################ ISO15118_charger ################ | This interface defines a ISO15118 charger. ********* Variables ********* | **supported_app_protocols_secc**: *object* (:ref:`iso15118-SupportedAppProtocols `) | Supported charging protocols of the SECC. This always returns all supported protocols, even if they are restricted via cmd update_supported_app_protocols. | **require_auth_eim**: *null* | An EIM authorization is required | **require_auth_pnc**: *object* (:ref:`authorization-ProvidedIdToken `) | The EVCC provides the payment details for a PnC authorization by sending the signature certificate chain and eMAID. | **ac_close_contactor**: *null* | The contactor should be closed | **ac_open_contactor**: *null* | The contactor should be opened | **start_cable_check**: *null* | The charger should now start a cable check | **start_pre_charge**: *null* | The charger should now start the pre charge phase | **dc_open_contactor**: *null* | The contactor should be opened | **dc_renegotiation_started**: *null* | The EV sent PowerDeliveryReq with ChargeProgress Renegotiate in DC. The charger disables the DC output and keeps the session: the EV opens its contactor and changes to CP state B, then the session continues with ChargeParameterDiscovery and a new cable check (IEC 61851-23:2023 CC.3.6). | **v2g_setup_finished**: *null* | v2g_setup_finished from ISO15118-3. Trigger when EV sends a PowerDeliveryReq message with ChargeProgess equals Start or Stop | **current_demand_started**: *null* | The charging process has started and the EV wants to be charged | **current_demand_finished**: *null* | The charging process was finished | **welding_detection**: *string* (:ref:`iso15118-WeldingDetectionPhase `) | DC only. Started is published when the EV switches the power path off (PowerDelivery Stop), Finished when the welding detection phase ends (SessionStop, renegotiation or session teardown). Started is published even if the EV performs no welding detection; Finished always follows. | **sae_bidi_mode_active**: *null* | The SAE J2847 bidi mode is active | **evcc_id**: *string* | Specifies the EVs identification in a readable format. It contains the MAC address of the EVCC in uppercase | pattern:``^[A-F0-9]{2}(:[A-F0-9]{2}){5}$`` | **selected_payment_option**: *string* (:ref:`iso15118-PaymentOption `) | This element is used for indicating the payment type | **requested_energy_transfer_mode**: *string* (:ref:`iso15118-EnergyTransferMode `) | Selected energy transfer mode for charging that is requested by the EVCC. | **departure_time**: *string* | Optional: [RFC3339 UTC] This element is used to indicate when the vehicle intends to finish the charging process | format:date-time | **ac_eamount**: *number* | [Wh] Amount of energy reflecting the EV's estimate how much energy is needed to fulfill the user configured charging goal for the current charging session | **ac_ev_max_voltage**: *number* | [V] The RMS of the maximal nominal voltage the vehicle can accept, measured between one phase and neutral | **ac_ev_max_current**: *number* | [A] Maximum current supported by the EV per phase | **ac_ev_min_current**: *number* | [A] EVMinCurrent is used to indicate to the SECC that charging below this minimum is not energy/cost efficient for the EV | **ac_ev_power_limits**: *object* (:ref:`iso15118-AcEvPowerLimits `) | Ac charge & discharge power values supported and allowed by the EV | **ac_ev_present_powers**: *object* (:ref:`iso15118-AcEvPresentPowerValues `) | Present active and reactive power measured from the EV | **ac_ev_dynamic_control_mode**: *object* (:ref:`iso15118-AcEvDynamicModeValues `) | The parameters the EVCC offers and sets for ac dynamic control mode | **dc_ev_energy_capacity**: *number* | Optional: [Wh] Energy capacity of the EV | **dc_ev_energy_request**: *number* | Optional: [Wh] Amount of energy the EV requests from the EVSE | **dc_full_soc**: *number* | Optional: [%] SOC at which the EV considers the battery to be fully charged | **dc_bulk_soc**: *number* | Optional: [%] SOC at which the EV considers a fast charge process to end | **dc_ev_status**: *object* (:ref:`iso15118-DcEvStatus `) | Current status of the EV | **dc_bulk_charging_complete**: *boolean* | Optional: If set to TRUE, the EV indicates that bulk charge (approx. 80% SOC) is complete | **dc_charging_complete**: *boolean* | Optional: If set to TRUE, the EV indicates that full charge (100% SOC) is complete | **dc_ev_target_voltage_current**: *object* (:ref:`iso15118-DcEvTargetValues `) | Target voltage and current requested by the EV | **dc_ev_maximum_limits**: *object* (:ref:`iso15118-DcEvMaximumLimits `) | Maximum Values (current, power and voltage) supported and allowed by the EV | **dc_ev_remaining_time**: *object* (:ref:`iso15118-DcEvRemainingTime `) | Estimated or calculated time until bulk and full charge is complete | **hlc_session_failed**: *string* (:ref:`evse_manager-HlcSessionFailedReasonEnum `) | Published by the HLC module when the connection of an HLC session closes and the session's end counts as a failure. Provides a protocol-agnostic reason that names the phase in which the session ended, independently of the EvseManager state machine transitions. See HlcSessionFailedReasonEnum for which session ends are reported. | **session_stop_res_sent**: *string* (:ref:`iso15118-SessionStopAction `) | Published immediately after a session-ending response has been written to the wire. For a positive SessionStopRes it carries the stop action requested by the EVCC (Terminate/Pause): per DIN 70121 [V2G-DC-968] the SECC keeps the CP oscillator (5% PWM) on for V2G_SECC_CPOscillator_Retain_Time (1.5s) after this event and then switches to X1. For a session-ending FAILED_* response it carries FailedTermination: per [V2G-DC-942] the oscillator is switched off without delay. This event does NOT imply data link teardown: dlink_terminate/dlink_pause still follow after the TCP connection is closed. | **dlink_terminate**: *null* | Terminate the data link and become UNMATCHED. | **dlink_error**: *null* | Terminate the data link and restart the matching process. | **dlink_pause**: *null* | Request power saving mode, while staying MATCHED. | **pause_notified**: *null* | ISO 15118-20 only: the pause requested with pause_charging has been notified to the EV (EVSENotification set to Pause). In scheduled control mode the notification is held back until the applied EVPowerProfileEntry is 0 kW, so this may follow the request much later, or not at all. | **ev_app_protocol**: *object* (:ref:`iso15118-AppProtocols `) | Debug_Lite - This request message provides a list of charging protocols supported by the EVCC | **v2g_messages**: *object* (:ref:`iso15118-V2gMessages `) | Debug - This element contains all V2G elements and should be used for debug purposes only | **selected_protocol**: *string* | Debug - Contains the selected protocol | **display_parameters**: *object* (:ref:`iso15118-DisplayParameters `) | Parameters that may be displayed on the EVSE (Soc, battery capacity) | **d20_dc_dynamic_charge_mode**: *object* (:ref:`iso15118-DcChargeDynamicModeValues `) | The parameters the EVCC offers and sets for dynamic control mode | **dc_ev_present_voltage**: *number* | Present Voltage measured from the EV | **meter_info_requested**: *null* | The EV requested meter infos from the EVSE | **selected_service_parameters**: *object* (:ref:`iso15118-SelectedServiceParameters `) | From the EV selected service parameters | **ev_termination**: *object* (:ref:`iso15118-EvTermination `) | The EV termination code as described in ISO15118-20. ******** Commands ******** | **setup**: *void* | At startup all necessary info should be sent to the module once. | **evse_id**: *object* (:ref:`iso15118-EVSEID `) | Set an ID that uniquely identifies the EVSE and the power outlet the vehicle is connected to | **sae_j2847_mode**: *string* (:ref:`iso15118-SaeJ2847BidiMode `) | Charger is supporting SAE J2847 V2G/V2H version | **debug_mode**: *boolean* | Enable/Disable debug mode | **set_charging_parameters**: *void* | At startup, set the the charging parameters at least once. May be updated later on. If a charging session is currently active, some updated values may only be used for the next charging session. | **physical_values**: *object* (:ref:`iso15118-SetupPhysicalValues `) | Set up initial physical values for a AC or DC charging session | **session_setup**: *void* | At each session start this info should be sent to the module. | **payment_options**: *array* | Providing a list of payment options to the EVCC | **array_item**: *string* (:ref:`iso15118-PaymentOption `) | These are the payment options a SECC offers to the EVCC | **supported_certificate_service**: *boolean* | The charger supports the certificate installation/update service and has a connection to an SA for this purpose | **central_contract_validation_allowed**: *boolean* | Indicates if the vehicle contract may be forwarded to and validated by a CSMS in case local validation was not successful | **fake_dc_enabled**: *boolean* | If true, the charger will abort an active DC session after receiving the EV SOC value to allow switching to AC basic charging. | **bpt_setup**: *void* | At startup, set the bpt setup for ISO15118-20 at least once. May be updated later on. | **bpt_config**: *object* (:ref:`iso15118-BptSetup `) | The required parameters for a BPT setup | **set_powersupply_capabilities**: *void* | At startup, set the min and max limits from the power supply. Can be updated later on. | **capabilities**: *object* (:ref:`power_supply_DC-Capabilities `) | The required capabilities from the power supply | **authorization_response**: *void* | This message is an async response to a previously published require_auth_eim or require_auth_pnc. The SECC informs the EVCC whether the authorization is accepted or not. | **authorization_status**: *string* (:ref:`authorization-AuthorizationStatus `) | Authorization status of the ID Token | **certificate_status**: *string* (:ref:`authorization-CertificateStatus `) | Certificate status information | **contactor_closed**: *void* | This message is an async response to a previously published ac_close_contactor, ac_open_contactor or dc_open_contactor. It reports the contactor state the board support measured. On a DC stop the HLC stack holds back the PowerDeliveryRes until the contactor is reported open, so that side B is disabled before the response [IEC 61851-23:2023 Table CC.9 t103, t104]. | **status**: *boolean* | Set to true when contactor is closed, false when contactor is open | **cp_state_changed**: *void* | Informs the HLC stack about the currently measured IEC 61851-1 CP state. Needed for SECC-side CP checks tied to the message sequence, e.g. DIN 70121 [V2G-DC-988]/[V2G-DC-556]: CP State B must be detected within V2G_SECC_CPState_Detection_Timeout (1.5s) after the request following PowerDelivery(off), otherwise the SECC responds FAILED, switches the CP oscillator off and closes the TCP connection. | **cp_state**: *string* (:ref:`iso15118-CpState `) | The newly measured CP state | **dlink_ready**: *void* | Signals dlink_ready from SLAC layer according to ISO15118-3 | **value**: *boolean* | Set to true when link becomes ready, false when the link is terminated | **cable_check_finished**: *void* | Cable check is finished, voltage is under 20V and insulation resistor on the cable is alright | **status**: *boolean* | Set to true when cable check is okay | **receipt_is_required**: *void* | This element is used by the SECC to indicate that the EVCC is required to send a MeteringReceiptReq message for the purpose of signing the meter info record. | **receipt_required**: *boolean* | Set to true when receipt is required, set to false when not | **stop_charging**: *void* | Stops the charging process | **stop**: *boolean* | Set to true when to stop, set to false when to continue | **pause_charging**: *void* | Pause the charging process (only in ISO15118-20) | **pause**: *boolean* | Set to true when to pause, set to false when to continue | **no_energy_pause_charging**: *void* | Right now there is no power available for the charging process. According to IEC61851-23:2023 CC3.5.3 the charger can pause the session before or after the cable check and pre charge stage. | **mode**: *string* (:ref:`iso15118-NoEnergyPauseMode `) | Set to different no energy pause modes. For PauseAfterPrecharge the charger should pause but has power for cable check and pre charge. For PauseBeforeCableCheck the charger should pause before cable check. For AllowEvToIgnorePause charger should ignore, that the ev will go to CurrentDemand instead of pausing the session, this is against IEC61851-23:2023. | **update_supported_app_protocols**: *boolean* | Update the supported charging protocols (DIN70121, ISO15118-2, ISO15118-20). Defaults are typically configured already; if this command is not called, the module keeps its default set of supported protocols. Note: This command is intended exclusively for Fake DC, primarily to disable specific supported protocols in case of incompatibilities between EVCC and SECC. | **supported_app_protocols**: *object* (:ref:`iso15118-SupportedAppProtocols `) | Supported communication protocols advertised by the EVSE | **Result**: *boolean* | Returns true if the supported protocols were updated successfully | **update_energy_transfer_modes**: *void* | Update the supported energy transfer modes. Call at least once during start up. Typically for ISO15118-2 and basic charging we expect unidirectional charging modes. For ISO15118-20 the user can set what type of modes the hardware supports, may that be bidirectional, unidirectional, wireless, etc charging. | **supported_energy_transfer_modes**: *array* | Available energy transfer modes supported by the EVSE | **array_item**: *object* (:ref:`iso15118-EnergyTransferMode `) | The different energy modes supported by the SECC | **update_ac_max_current**: *void* | Update the maximum allowed line current restriction per phase. Call at least once during start up. | **max_current**: *number* | Max current in A | **update_ac_parameters**: *void* | Update the d20 initial ac parameters. Call at least once during start up | **ac_parameters**: *object* (:ref:`iso15118-AcParameters `) | Ac parameters the EVSE is setting | **update_ac_maximum_limits**: *void* | Update the ac maximum limits. Call at least once during start up. | **maximum_limits**: *object* (:ref:`iso15118-AcEvseMaximumPower `) | Maximum values (charge and discharge) the EVSE can deliver | **update_ac_minimum_limits**: *void* | Update the ac minimum limits. Call at least once during start up. | **minimum_limits**: *object* (:ref:`iso15118-AcEvseMinimumPower `) | Minimum values (charge and discharge) the EVSE can deliver | **update_ac_target_values**: *void* | Update the ac target values. Call at least once before charging begins. | **target_values**: *object* (:ref:`iso15118-AcTargetValues `) | AC target values | **update_ac_present_power**: *void* | Update the present power from the powermeter. Call at least once before charging begins | **present_power**: *object* (:ref:`units-Power `) | Present active power | **update_dc_maximum_limits**: *void* | Update the maximum limits. Call at least once during start up. | **maximum_limits**: *object* (:ref:`iso15118-DcEvseMaximumLimits `) | Maximum values (current, power and voltage) the EVSE can deliver | **update_dc_minimum_limits**: *void* | Update the minimum limits. Call at least once during start up. | **minimum_limits**: *object* (:ref:`iso15118-DcEvseMinimumLimits `) | Minimum values (current and voltage) the EVSE can deliver | **update_isolation_status**: *void* | Update the isolation condition | **isolation_status**: *string* (:ref:`iso15118-IsolationStatus `) | Result of the isolation monitoring | **update_dc_present_values**: *void* | Update the present values from the DC powersupply. Call it for every new measurement, also when the values did not change: during welding detection the HLC stack holds each WeldingDetectionRes until two values marked welding_detection arrived after the request, so that the reported voltage was measured after it [IEC 61851-23:2023 CC.6.3]. | **present_voltage_current**: *object* (:ref:`iso15118-DcEvsePresentVoltageCurrent `) | Present voltage and current | **update_meter_info**: *void* | Update meter info | **powermeter**: *object* (:ref:`powermeter-Powermeter `) | Includes the meterInfo record containing the latest meter reading and other meter relevant data | **send_error**: *void* | An error has happened. Send this error to inform the EV. | **error**: *string* (:ref:`iso15118-EvseError `) | The EVSE error enum | **reset_error**: *void* | Reset all errors ****** Errors ****** | **/errors/generic** : | **CommunicationFault** : Communication with the underlying hardware or device has a fault | **VendorError** : Vendor specific error code. | **VendorWarning** : Vendor specific error code.