Files
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00

141 lines
4.1 KiB
YAML

description: >-
This module implements a Car simulator that can execute charging sessions using the car_simulator interface.
config:
connector_id:
description: Connector id of the evse manager to which this simulator is connected to
type: integer
auto_enable:
description: >-
Enable this simulation directly at start. Set to true for pure SIL configs, set to false for HIL.
type: boolean
default: false
auto_exec:
description: >-
Enable automatic execution of simulation commands at startup from auto_exec_commands config option.
type: boolean
default: false
auto_exec_infinite:
description: >-
If enabled the simulation commands executes infinitely.
type: boolean
default: false
auto_exec_commands:
description: >-
Simulation commands, e.g. sleep 1;iec_wait_pwr_ready;sleep 1;draw_power_regulated 16,3;sleep 30;unplug
type: string
default: ""
ac_nominal_voltage:
description: Nominal AC voltage between phase and neutral in Volt
type: number
default: 230
dc_max_current_limit:
description: Maximum current allowed by the EV
type: integer
default: 300
dc_max_power_limit:
description: Maximum power allowed by the EV
type: integer
default: 150000
dc_max_voltage_limit:
description: Maximum voltage allowed by the EV
type: integer
default: 900
dc_energy_capacity:
description: Energy capacity of the EV
type: integer
default: 60000
dc_target_current:
description: Target current requested by the EV
type: integer
default: 5
dc_target_voltage:
description: Target voltage requested by the EV
type: integer
default: 200
support_sae_j2847:
description: Supporting SAE J2847 ISO 2 bidi version
type: boolean
default: false
dc_discharge_max_current_limit:
description: Maximum discharge current allowed by the EV
type: integer
default: 300
dc_discharge_max_power_limit:
description: Maximum discharge power allowed by the EV
type: integer
default: 150000
dc_discharge_target_current:
description: Discharge target current requested by the EV
type: integer
default: 5
dc_discharge_v2g_minimal_soc:
description: Discharge minimal soc at which the evse should shutdown
type: integer
default: 20
max_current:
description: Ac max current in Ampere
type: number
default: 16
three_phases:
description: Support three phase
type: boolean
default: true
departure_time:
description: Departure time in seconds after the session starts
type: integer
default: 86400
e_amount:
description: Energy amount in Wh that should be charged during the session
type: integer
default: 0
soc:
description: SoC at start of a simulated charging process
type: integer
default: 30
keep_cross_boot_plugin_state:
description: Keep plugin state across boot (use for simulation only).
type: boolean
default: false
plugin_commands:
description: >-
Simulation commands for the EV on "plugin" sim command, e.g. sleep 1;iec_wait_pwr_ready;sleep 1;draw_power_regulated 16,3;sleep 30;unplug
type: string
default: ""
force_payment_option:
description: Force the use of the selected payment option
type: boolean
default: false
provides:
main:
interface: car_simulator
description: This implements the car simulator
ev_manager:
interface: ev_manager
description: Implementation of the ev manager to provide additional information such as detailed EV info
requires:
ev_board_support:
interface: ev_board_support
ev:
interface: ISO15118_ev
min_connections: 0
max_connections: 1
slac:
interface: ev_slac
min_connections: 0
max_connections: 1
powermeter:
interface: powermeter
min_connections: 0
max_connections: 1
kvs:
interface: kvs
min_connections: 0
max_connections: 1
enable_external_mqtt: true
metadata:
license: https://opensource.org/licenses/Apache-2.0
authors:
- Cornelius Claussen
- Sebastian Lukas
- Tobias Marzell