Recharge reseau HC : courant ACM calcule (energie / temps restant, borne 12 kVA - maison) ; consigne non tenue quand la batterie a un manque
This commit is contained in:
@@ -62,6 +62,36 @@ export const scenarios = [
|
||||
expect: { mode: 'evcs_takeover_recover', profil: 'night_slow',
|
||||
courantA: 30, tensionV: 50.1 },
|
||||
},
|
||||
// COURANT CALCULE (07/10/2026) : energie a reprendre / temps restant, borne
|
||||
// par l'abonnement 12 kVA moins la maison. Releve du 07/10 a midi : SOC 31,
|
||||
// cible 44,1, 3,91 kWh a reprendre, maison 5,3 kW (BOOST + repas).
|
||||
{
|
||||
id: 'acm-takeover-midi-courant-calcule',
|
||||
label: 'RELEVE 07/10 12:30 : 3,91 kWh en 1,9 h -> 50 A (au lieu de 30 A fixes, qui ne donnaient que 2,8 kWh)',
|
||||
time: h(ETE, '12:30'),
|
||||
overrides: { ...parcNeuf, soc_percent: '31', night_takeover: 'on', edf_switch: 'on',
|
||||
night_target_soc: '44.1', grid_energy_needed_kwh: '3.91', house_ac_power_w: '5300',
|
||||
grid_subscription_va: '12000', battery_voltage_v: '51' },
|
||||
expect: { mode: 'evcs_takeover_recover', courantA: 50 },
|
||||
},
|
||||
{
|
||||
id: 'acm-takeover-midi-borne-par-l-abonnement',
|
||||
label: 'Meme midi, maison a 9,5 kW : il ne reste que 1,3 kW sous les 90 % des 12 kVA -> 25,5 A',
|
||||
time: h(ETE, '12:30'),
|
||||
overrides: { ...parcNeuf, soc_percent: '31', night_takeover: 'on', edf_switch: 'on',
|
||||
night_target_soc: '44.1', grid_energy_needed_kwh: '3.91', house_ac_power_w: '9500',
|
||||
grid_subscription_va: '12000', battery_voltage_v: '51' },
|
||||
expect: { mode: 'evcs_takeover_recover', courantA: 25.5 },
|
||||
},
|
||||
{
|
||||
id: 'acm-takeover-nuit-petit-besoin-plancher-10a',
|
||||
label: 'Nuit 01:30, 1 kWh a reprendre en 5,9 h : 3,8 A calcules -> plancher 10 A (la batterie est menagee)',
|
||||
time: h(ETE, '01:30'),
|
||||
overrides: { ...parcNeuf, soc_percent: '40', night_takeover: 'on', edf_switch: 'on',
|
||||
night_target_soc: '44', grid_energy_needed_kwh: '1', house_ac_power_w: '700',
|
||||
grid_subscription_va: '12000', battery_voltage_v: '51' },
|
||||
expect: { mode: 'evcs_takeover_recover', courantA: 10 },
|
||||
},
|
||||
{
|
||||
id: 'acm-takeover-maintien-a-la-cible',
|
||||
label: 'RELEVE 06/09 05:06 : cible atteinte, la batterie est tenue a 2 A pendant que le reseau porte la maison',
|
||||
|
||||
@@ -2657,6 +2657,55 @@ export const scenarios = [
|
||||
},
|
||||
expect: { profile: 'midday_hc_or_solar', sessionCommittedService: 'turn_on', takeoverNeeded: true },
|
||||
},
|
||||
// CONSIGNE (07/10/2026, releve de 14:20) : HC de midi, solaire actif (chargeurs
|
||||
// au max), manque batterie chiffre par le bilan, DVCC releve a 99 A par l'ACM.
|
||||
// Avant : la consigne etait TENUE a 5 198 W (la maison), batterie a 3-6 A.
|
||||
{
|
||||
id: 'consigne-hc-midi-manque-batterie-pas-de-maintien',
|
||||
label: 'MIDI 07/10 — session HC, soleil, manque batterie 2,6 kWh, DVCC 99 A : la consigne monte au plafond (maison + batterie) au lieu d etre tenue',
|
||||
time: MIDDAY,
|
||||
overrides: {
|
||||
evcs_vehicle_connected: 'off', evcs_device_connected: 'on',
|
||||
grid_state: 'on', victron_acin1_available: '1',
|
||||
night_grid_session_committed_prev: 'on', night_takeover_prev: 'on',
|
||||
acin1_last_changed_ts: String(Date.parse(MIDDAY) / 1000 - 1800),
|
||||
grid_switch_last_changed_ts: String(Date.parse(MIDDAY) / 1000 - 1800),
|
||||
soc_percent: '35', battery_current_a: '3', battery_voltage_v: '49.5',
|
||||
pv_power_w: '1700', pv_power_10m_avg_w: '1700', pv_trend_w: '0',
|
||||
mppt_operation_modes: 'mppt_active,mppt_active,mppt_active,mppt_active,mppt_active,mppt_active,mppt_active',
|
||||
house_ac_power_w: '5300', vebus_ac_out_l1_power_w: '5300', evcs_ac_power_w: '0',
|
||||
grid_setpoint_w: '5198',
|
||||
balance_required_soc: '43.6', balance_energy_to_cover_kwh: '0',
|
||||
balance_status: 'ok', balance_last_run: '08/08 12:50',
|
||||
balance_ecs_nuit: 'on',
|
||||
balance_grid_energy_needed_kwh: '2.6', dvcc_max_charge_current_a: '99',
|
||||
},
|
||||
// 5 300 W de maison + min(2,6 kWh / 1,4 h restantes = 1 857 W, DVCC 99 A x 49,5 V)
|
||||
// + la marge d'un pas EVCS (230 W) = 7 387 W. Tenue, elle serait restee a la maison.
|
||||
expect: { profile: 'midday_hc_or_solar', gridSetpointW: 7387 },
|
||||
},
|
||||
{
|
||||
id: 'consigne-hc-midi-sans-manque-maintien-garde',
|
||||
label: 'CONTREFACTUEL — meme midi sans manque batterie : la consigne reste tenue (le solaire garde la priorite)',
|
||||
time: MIDDAY,
|
||||
overrides: {
|
||||
evcs_vehicle_connected: 'off', evcs_device_connected: 'on',
|
||||
grid_state: 'on', victron_acin1_available: '1',
|
||||
night_grid_session_committed_prev: 'on', night_takeover_prev: 'on',
|
||||
acin1_last_changed_ts: String(Date.parse(MIDDAY) / 1000 - 1800),
|
||||
grid_switch_last_changed_ts: String(Date.parse(MIDDAY) / 1000 - 1800),
|
||||
soc_percent: '35', battery_current_a: '3', battery_voltage_v: '49.5',
|
||||
pv_power_w: '1700', pv_power_10m_avg_w: '1700', pv_trend_w: '0',
|
||||
mppt_operation_modes: 'mppt_active,mppt_active,mppt_active,mppt_active,mppt_active,mppt_active,mppt_active',
|
||||
house_ac_power_w: '5300', vebus_ac_out_l1_power_w: '5300', evcs_ac_power_w: '0',
|
||||
grid_setpoint_w: '5198',
|
||||
balance_required_soc: '43.6', balance_energy_to_cover_kwh: '0',
|
||||
balance_status: 'ok', balance_last_run: '08/08 12:50',
|
||||
balance_ecs_nuit: 'on',
|
||||
balance_grid_energy_needed_kwh: '0', dvcc_max_charge_current_a: '99',
|
||||
},
|
||||
expect: { profile: 'midday_hc_or_solar', gridSetpointW: 5530 },
|
||||
},
|
||||
{
|
||||
id: 'hc-midi-jour-faible-bilan-perime-aucun-engagement',
|
||||
label: 'CONTREFACTUEL — jour faible mais bilan vieux de 2 h : on ne relaie pas une decision perimee',
|
||||
|
||||
Reference in New Issue
Block a user