Garde batterie en charge reseau : voiture bridee au courant mini au lieu d'un arret + 20 min de verrou
This commit is contained in:
@@ -3243,8 +3243,11 @@ export const scenarios = [
|
||||
evcs_vehicle_connected: 'on', evcs_device_connected: 'on',
|
||||
evcs_charging_switch: 'on', control_latch: 'on', charge_permission_now: 'on',
|
||||
last_start_at: '2026-08-08 12:58:30',
|
||||
evcs_current_a: '13', evcs_set_current_a: '13', evcs_command_current_a: '13',
|
||||
evcs_ac_power_w: '2990',
|
||||
// 07/10 : deja AU COURANT MINI (6 A) — au-dessus, la voiture est d'abord
|
||||
// bridee a 6 A (scenarios `garde-reseau-bride-a-6a-*`), l'arret ne vient
|
||||
// qu'ensuite.
|
||||
evcs_current_a: '6', evcs_set_current_a: '6', evcs_command_current_a: '6',
|
||||
evcs_ac_power_w: '1380',
|
||||
victron_evcs_strategy: 'force_grid_now',
|
||||
grid_state: 'off', victron_acin1_available: '0', grid_power_w: '0',
|
||||
// Le releve reel du 13:09:30 : -32,4 A, sous le garde dur de sa bande.
|
||||
@@ -3265,6 +3268,56 @@ export const scenarios = [
|
||||
blockReason: 'grid_battery_guard_no_grid',
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'garde-reseau-bride-a-6a-reseau-absent',
|
||||
label: "07/10 : meme garde depasse a 13 A, reseau absent → voiture bridee a 6 A, ni arret ni verrou",
|
||||
time: MIDDAY,
|
||||
overrides: {
|
||||
evcs_vehicle_connected: 'on', evcs_device_connected: 'on',
|
||||
evcs_charging_switch: 'on', control_latch: 'on', charge_permission_now: 'on',
|
||||
last_start_at: '2026-08-08 12:58:30',
|
||||
evcs_current_a: '13', evcs_set_current_a: '13', evcs_command_current_a: '13',
|
||||
evcs_ac_power_w: '2990',
|
||||
victron_evcs_strategy: 'force_grid_now',
|
||||
grid_state: 'off', victron_acin1_available: '0', grid_power_w: '0',
|
||||
soc_percent: '55', pv_power_w: '300', pv_power_10m_avg_w: '400',
|
||||
house_ac_power_w: '3900', vebus_ac_out_l1_power_w: '3900',
|
||||
battery_current_a: '-20.5',
|
||||
},
|
||||
expect: {
|
||||
state: 'charging_cut_to_min_grid_guard',
|
||||
decision: 'step_down',
|
||||
desiredCharging: true,
|
||||
currentA: 6,
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'garde-reseau-bride-a-6a-pointe-maison-0610',
|
||||
label: "06/10 13:46 rejoue : force_grid_now a 20 A, reseau present, pointe de cuisine → voiture bridee a 6 A au lieu d'un arret + 20 min de verrou",
|
||||
time: MIDDAY,
|
||||
overrides: {
|
||||
evcs_vehicle_connected: 'on', evcs_device_connected: 'on',
|
||||
evcs_charging_switch: 'on', control_latch: 'on', charge_permission_now: 'on',
|
||||
last_start_at: '2026-08-08 12:30:00',
|
||||
evcs_current_a: '20', evcs_set_current_a: '20', evcs_command_current_a: '20',
|
||||
evcs_ac_power_w: '3470',
|
||||
victron_evcs_strategy: 'force_grid_now',
|
||||
grid_state: 'on', victron_acin1_available: '1', grid_power_w: '3970',
|
||||
acin1_last_changed_ts: String(Date.parse(MIDDAY) / 1000 - 1800),
|
||||
grid_switch_last_changed_ts: String(Date.parse(MIDDAY) / 1000 - 1800),
|
||||
soc_percent: '55', pv_power_w: '1240', pv_power_10m_avg_w: '1500',
|
||||
house_ac_power_w: '7100', vebus_ac_out_l1_power_w: '7100',
|
||||
// Meme fenetre etroite que ci-dessus (garde reseau -20, hard general ~-20,9
|
||||
// dans ce fixture) : en production -41,9 A pour un hard general a -98 A.
|
||||
battery_current_a: '-20.5',
|
||||
},
|
||||
expect: {
|
||||
state: 'charging_cut_to_min_grid_guard',
|
||||
decision: 'step_down',
|
||||
desiredCharging: true,
|
||||
currentA: 6,
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'boost-verrou-no-grid-leve-a-l-arrivee-du-reseau',
|
||||
label: "Verrou '_no_grid' pose, le reseau ARRIVE → le verrou se leve, la charge repart (le 18/09 elle restait bloquee 20 min)",
|
||||
|
||||
Reference in New Issue
Block a user