From 2325bbcbd6c5651317537da4fb3002cbc2d06b8a Mon Sep 17 00:00:00 2001 From: Dusan Vojacek Date: Fri, 12 Jun 2026 12:10:45 +0200 Subject: [PATCH] =?UTF-8?q?Tesla=20LFP:=20kapacita=2062.5=20kWh=20(bylo=20?= =?UTF-8?q?75=20=3D=20LR)=20+=20default=20c=C3=ADl=20100=20%?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Model Y 2025 Standard RWD s LFP: menší pack, ale pravidelné 100 % je žádoucí (balancování). Kapacita vstupuje do energy_needed a EV usage statistik. Co-Authored-By: Claude Opus 4.8 (1M context) --- db/migration/V093__tesla_lfp_capacity.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 db/migration/V093__tesla_lfp_capacity.sql 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');