diff --git a/db/migration/V093__tesla_lfp_capacity.sql b/db/migration/V093__tesla_lfp_capacity.sql new file mode 100644 index 0000000..c33fe20 --- /dev/null +++ b/db/migration/V093__tesla_lfp_capacity.sql @@ -0,0 +1,11 @@ +-- Tesla Model Y 2025 Standard RWD (LFP): kapacita ~62.5 kWh (v seedu bylo 75 = +-- hodnota LR varianty) a default cíl 100 % — LFP chemie pravidelné nabití na +-- 100 % vyžaduje (balancování), žádná degradační penalizace jako u NMC. +-- Kapacita vstupuje do energy_needed (target − soc) × kWh a do EV usage stats. + +update ems.asset_vehicle + set battery_capacity_kwh = 62.5, + default_target_soc_pct = 100, + notes = coalesce(notes, '') || ' [2026-06-12: LFP 62.5 kWh, cíl 100 % (balancování).]' + where code = 'tesla-my' + and site_id = (select id from ems.site where code = 'home-01');