Skip to content

Commit

Permalink
refactor BSP interfaces
Browse files Browse the repository at this point in the history
- The new evse_board_support interface replaces the old board_support_AC interface both for AC and DC.
- Move from abstract events (e.g. CarPluggedIn) to CP states A/B/C/D/E/F to simplify BSP drivers
- This moves the complete IEC61851-1 state machine into EvseManager
- create new interfaces for AC_RCD and connector_lock
- Charging subsystem is now using the new error framework
- Added most MREC error types that relate to charging
- Yeti and umwc driver will need MCU firmware updates that will come soon
- Added most MREC fault codes to NodeRed SIL UI

Signed-off-by: Cornelius Claussen <[email protected]>
  • Loading branch information
corneliusclaussen committed Dec 20, 2023
1 parent b134559 commit bded59b
Show file tree
Hide file tree
Showing 115 changed files with 4,898 additions and 3,948 deletions.
1 change: 0 additions & 1 deletion config/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ generate_config_run_script(CONFIG sil-dc-sae-v2g)
generate_config_run_script(CONFIG sil-dc-sae-v2h)
generate_config_run_script(CONFIG sil-two-evse-dc)
generate_config_run_script(CONFIG sil-energy-management)
generate_config_run_script(CONFIG hil)
generate_config_run_script(CONFIG sil-gen-pm)
generate_config_run_script(CONFIG sil-ocpp)
generate_config_run_script(CONFIG sil-ocpp-custom-extension)
Expand Down
105 changes: 0 additions & 105 deletions config/config-hil.yaml

This file was deleted.

2 changes: 2 additions & 0 deletions config/config-sil-dc-sae-v2g.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ active_modules:
module: JsDCSupplySimulator
yeti_driver:
module: JsYetiSimulator
config_module:
connector_id: 1
slac:
module: JsSlacSimulator
imd:
Expand Down
2 changes: 2 additions & 0 deletions config/config-sil-dc-sae-v2h.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ active_modules:
module: JsDCSupplySimulator
yeti_driver:
module: JsYetiSimulator
config_module:
connector_id: 1
slac:
module: JsSlacSimulator
imd:
Expand Down
3 changes: 2 additions & 1 deletion config/config-sil-dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ active_modules:
config_module:
connector_id: 1
country_code: DE
rcd_enabled: true
evse_id: DE*PNX*E12345*1
evse_id_din: 49A80737A45678
session_logging: true
Expand Down Expand Up @@ -50,6 +49,8 @@ active_modules:
module: JsDCSupplySimulator
yeti_driver:
module: JsYetiSimulator
config_module:
connector_id: 1
slac:
module: JsSlacSimulator
imd:
Expand Down
6 changes: 4 additions & 2 deletions config/config-sil-energy-management.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: DE*PNX*E12345*1
session_logging: true
session_logging_xml: false
Expand Down Expand Up @@ -48,7 +47,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: DE*PNX*E12345*2
session_logging: true
session_logging_xml: false
Expand All @@ -65,8 +63,12 @@ active_modules:
implementation_id: powermeter
yeti_driver_1:
module: JsYetiSimulator
config_module:
connector_id: 1
yeti_driver_2:
module: JsYetiSimulator
config_module:
connector_id: 2
slac:
module: JsSlacSimulator
car_simulator_1:
Expand Down
6 changes: 4 additions & 2 deletions config/config-sil-ocpp-custom-extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: "1"
session_logging: true
session_logging_xml: false
Expand Down Expand Up @@ -48,7 +47,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: "2"
session_logging: true
session_logging_xml: false
Expand All @@ -71,8 +69,12 @@ active_modules:
implementation_id: charger
yeti_driver_1:
module: JsYetiSimulator
config_module:
connector_id: 1
yeti_driver_2:
module: JsYetiSimulator
config_module:
connector_id: 2
slac:
module: JsSlacSimulator
car_simulator_1:
Expand Down
4 changes: 4 additions & 0 deletions config/config-sil-ocpp-pnc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,12 @@ active_modules:
implementation_id: charger
yeti_driver_1:
module: JsYetiSimulator
config_module:
connector_id: 1
yeti_driver_2:
module: JsYetiSimulator
config_module:
connector_id: 2
slac:
module: JsSlacSimulator
car_simulator_1:
Expand Down
6 changes: 4 additions & 2 deletions config/config-sil-ocpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: "1"
session_logging: true
session_logging_xml: false
Expand Down Expand Up @@ -49,7 +48,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: "2"
session_logging: true
session_logging_xml: false
Expand All @@ -73,8 +71,12 @@ active_modules:
implementation_id: charger
yeti_driver_1:
module: JsYetiSimulator
config_module:
connector_id: 1
yeti_driver_2:
module: JsYetiSimulator
config_module:
connector_id: 2
slac:
module: JsSlacSimulator
car_simulator_1:
Expand Down
6 changes: 4 additions & 2 deletions config/config-sil-ocpp201.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: "1"
session_logging: true
session_logging_xml: false
Expand Down Expand Up @@ -48,7 +47,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: "2"
session_logging: true
session_logging_xml: false
Expand All @@ -71,8 +69,12 @@ active_modules:
implementation_id: charger
yeti_driver_1:
module: JsYetiSimulator
config_module:
connector_id: 1
yeti_driver_2:
module: JsYetiSimulator
config_module:
connector_id: 2
slac:
module: JsSlacSimulator
car_simulator_1:
Expand Down
6 changes: 4 additions & 2 deletions config/config-sil-two-evse-dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ active_modules:
config_module:
connector_id: 1
country_code: DE
rcd_enabled: true
evse_id: DE*PNX*E12345*1
evse_id_din: 49A80737A45678
session_logging: true
Expand Down Expand Up @@ -52,7 +51,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: DE*PNX*E12345*2
session_logging: true
session_logging_xml: false
Expand All @@ -69,8 +67,12 @@ active_modules:
implementation_id: powermeter
yeti_driver_1:
module: JsYetiSimulator
config_module:
connector_id: 1
yeti_driver_2:
module: JsYetiSimulator
config_module:
connector_id: 2
slac_1:
module: JsSlacSimulator
powersupply_dc:
Expand Down
6 changes: 4 additions & 2 deletions config/config-sil-two-evse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: DE*PNX*E12345*1
session_logging: true
session_logging_xml: false
Expand Down Expand Up @@ -48,7 +47,6 @@ active_modules:
three_phases: true
has_ventilation: true
country_code: DE
rcd_enabled: true
evse_id: DE*PNX*E12345*2
session_logging: true
session_logging_xml: false
Expand All @@ -65,8 +63,12 @@ active_modules:
implementation_id: powermeter
yeti_driver_1:
module: JsYetiSimulator
config_module:
connector_id: 1
yeti_driver_2:
module: JsYetiSimulator
config_module:
connector_id: 2
slac:
module: JsSlacSimulator
car_simulator_1:
Expand Down
10 changes: 9 additions & 1 deletion config/config-sil.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ active_modules:
connection_timeout: 10
prioritize_authorization_over_stopping_transaction: true
selection_algorithm: FindFirst
ignore_connector_faults: true
connections:
evse_manager:
- implementation_id: evse
Expand Down Expand Up @@ -62,7 +63,6 @@ active_modules:
max_current_export_A: 32
payment_enable_contract: true
payment_enable_eim: true
rcd_enabled: true
session_logging: true
session_logging_path: /tmp/everest-logs
session_logging_xml: false
Expand All @@ -80,6 +80,12 @@ active_modules:
slac:
- implementation_id: evse
module_id: slac
ac_rcd:
- implementation_id: rcd
module_id: connector_1_powerpath
connector_lock:
- implementation_id: connector_lock
module_id: connector_1_powerpath
module: EvseManager
telemetry:
id: 1
Expand Down Expand Up @@ -158,6 +164,8 @@ active_modules:
connections: {}
module: DummyTokenValidator
connector_1_powerpath:
config_module:
connector_id: 1
connections: {}
module: JsYetiSimulator
telemetry:
Expand Down
Loading

0 comments on commit bded59b

Please sign in to comment.