Skip to content

Commit

Permalink
Remove get_hardware_capablities() and 1ph3ph switching support (EVere…
Browse files Browse the repository at this point in the history
…st#769)

* Remove get_hardware_capablities() and 1ph3ph switching support

Implementation of evse_board_support was simplified a bit. The sync
command to get hw capablities on startup is no longer needed as the
async publish of capablities is enough. Each BSP implementation module
is required to publish its capablities at least once in the ready
function. It may publish it later on to update the values e.g. for
thermal derating.

1ph/3ph switching support during charging with a hyteresis if the
1ph/3ph power ranges overlap (e.g. on 22kW).
Hysteresis only really works if EV and EVSE have the same max current rating, e.g. both 16A
See doc.rst for details.

---------

Signed-off-by: Cornelius Claussen <[email protected]>
Signed-off-by: pietfried <[email protected]>
Signed-off-by: florinmihut <[email protected]>
Co-authored-by: pietfried <[email protected]>
Co-authored-by: florinmihut <[email protected]>
  • Loading branch information
3 people authored Jul 26, 2024
1 parent 5abfee9 commit f6b7476
Show file tree
Hide file tree
Showing 58 changed files with 716 additions and 480 deletions.
1 change: 0 additions & 1 deletion config/config-sil-dc-sae-v2g.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
country_code: DE
evse_id: DE*PNX*E12345*1
evse_id_din: 49A80737A45678
session_logging: true
Expand Down
1 change: 0 additions & 1 deletion config/config-sil-dc-sae-v2h.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
country_code: DE
evse_id: DE*PNX*E12345*1
evse_id_din: 49A80737A45678
session_logging: true
Expand Down
1 change: 0 additions & 1 deletion config/config-sil-dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
country_code: DE
evse_id: DE*PNX*E12345*1
evse_id_din: 49A80737A45678
session_logging: true
Expand Down
6 changes: 0 additions & 6 deletions config/config-sil-energy-management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
three_phases: true
has_ventilation: true
country_code: DE
evse_id: DE*PNX*E12345*1
session_logging: true
session_logging_xml: false
Expand Down Expand Up @@ -48,9 +45,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 2
three_phases: true
has_ventilation: true
country_code: DE
evse_id: DE*PNX*E12345*2
session_logging: true
session_logging_xml: false
Expand Down
6 changes: 0 additions & 6 deletions config/config-sil-ocpp-custom-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
three_phases: true
has_ventilation: true
country_code: DE
evse_id: "1"
session_logging: true
session_logging_xml: false
Expand All @@ -44,9 +41,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 2
three_phases: true
has_ventilation: true
country_code: DE
evse_id: "2"
session_logging: true
session_logging_xml: false
Expand Down
6 changes: 0 additions & 6 deletions config/config-sil-ocpp-pnc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
three_phases: true
has_ventilation: true
country_code: DE
evse_id: "DE*PNX*00001"
session_logging: true
session_logging_xml: false
Expand All @@ -47,9 +44,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 2
three_phases: true
has_ventilation: true
country_code: DE
evse_id: "2"
session_logging: true
session_logging_xml: false
Expand Down
6 changes: 0 additions & 6 deletions config/config-sil-ocpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
three_phases: true
has_ventilation: true
country_code: DE
evse_id: "1"
session_logging: true
session_logging_xml: false
Expand All @@ -45,9 +42,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 2
three_phases: true
has_ventilation: true
country_code: DE
evse_id: "2"
session_logging: true
session_logging_xml: false
Expand Down
6 changes: 0 additions & 6 deletions config/config-sil-ocpp201-pnc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
three_phases: true
has_ventilation: true
country_code: DE
evse_id: "DE*PNX*00001"
session_logging: true
session_logging_xml: false
Expand All @@ -47,9 +44,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 2
three_phases: true
has_ventilation: true
country_code: DE
evse_id: "2"
session_logging: true
session_logging_xml: false
Expand Down
6 changes: 0 additions & 6 deletions config/config-sil-ocpp201.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
three_phases: true
has_ventilation: true
country_code: DE
evse_id: "1"
session_logging: true
session_logging_xml: false
Expand All @@ -44,9 +41,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 2
three_phases: true
has_ventilation: true
country_code: DE
evse_id: "2"
session_logging: true
session_logging_xml: false
Expand Down
4 changes: 0 additions & 4 deletions config/config-sil-two-evse-dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
country_code: DE
evse_id: DE*PNX*E12345*1
evse_id_din: 49A80737A45678
session_logging: true
Expand Down Expand Up @@ -48,9 +47,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 2
three_phases: true
has_ventilation: true
country_code: DE
evse_id: DE*PNX*E12345*2
session_logging: true
session_logging_xml: false
Expand Down
6 changes: 0 additions & 6 deletions config/config-sil-two-evse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 1
three_phases: true
has_ventilation: true
country_code: DE
evse_id: DE*PNX*E12345*1
session_logging: true
session_logging_xml: false
Expand All @@ -44,9 +41,6 @@ active_modules:
module: EvseManager
config_module:
connector_id: 2
three_phases: true
has_ventilation: true
country_code: DE
evse_id: DE*PNX*E12345*2
session_logging: true
session_logging_xml: false
Expand Down
8 changes: 6 additions & 2 deletions config/config-sil.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ active_modules:
module_id: slac
module: EvManager
energy_manager:
config_module:
switch_3ph1ph_while_charging_mode: Both
debug: false
connections:
energy_trunk:
- implementation_id: energy_grid
Expand All @@ -55,7 +58,6 @@ active_modules:
ac_nominal_voltage: 230
charge_mode: AC
connector_id: 1
country_code: DE
ev_receipt_required: false
evse_id: DE*PNX*E12345*1
has_ventilation: true
Expand All @@ -66,7 +68,8 @@ active_modules:
session_logging: true
session_logging_path: /tmp/everest-logs
session_logging_xml: false
three_phases: true
switch_3ph1ph_delay_s: 5
switch_3ph1ph_cp_state: X1
connections:
bsp:
- implementation_id: board_support
Expand Down Expand Up @@ -108,6 +111,7 @@ active_modules:
config_module:
device: auto
tls_security: allow
supported_DIN70121: false
connections: {}
module: EvseV2G
connections:
Expand Down
Loading

0 comments on commit f6b7476

Please sign in to comment.