Rework freight classification and fix analysis/webapp derivations

Freight classification v2: two-tier freightKind ('dedicated' via truck
operator, truck-named location (forklifts excluded), MCS, logistics depot
>=150 kW DC, or curated hub; 'hpc' for power-only >=350 kW DC) with
freightReason carried through to the map and detail panel. Connector power
is now derived from V x A when max_electric_power is missing or implausible
(caps out NDW garbage like 7.36 MW on a 22 kW AC post), eliminating all
zero-kW points. Adds Milence Waddinxveen to curated hubs and a
nearest-gemeente fallback so coastal/industrial sites get detail bundles.
Tariff matching now honors one-sided time windows.

Analysis: peak load finally uses the 150 kW freight constant (was priced at
11 kW), crop stats split by layer so freight no longer skews supply/price
metrics, occupancy is EVSE-weighted, charging_now samples one common hour,
and a new Logistiek metric group exports chargers_freight/freight_dedicated/
freight_power_kw. Relabels peer-model outputs as modelled supply.

Webapp: freight markers colored by kind with status ring, dedicated-only
filter, filter counts respect the power filter, status tallies scoped to
passenger, national-view detail panel can jump into the point's gemeente,
connector kW display mirrors the pipeline derivation.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
robbertjanssen85
2026-07-07 01:08:54 +02:00
co-authored by Claude Fable 5
parent 3b181345c9
commit cbd4531574
21 changed files with 452 additions and 94 deletions
+12
View File
@@ -25,6 +25,18 @@
"isMegawatt": true,
"sourceUrl": "https://milence.com"
},
{
"id": "milence-waddinxveen",
"name": "Milence Charging Hub Waddinxveen",
"operatorName": "Milence",
"city": "Waddinxveen",
"address": "Distripark Doelwijk (A12), Waddinxveen",
"lat": 52.0177,
"lng": 4.6199,
"maxPowerKw": 400,
"isMegawatt": false,
"sourceUrl": "https://milence.com/nl/press-release/milence-breidt-nederlands-netwerk-uit-in-het-hart-van-de-randstad-met-nieuwe-laadhub-in-waddinxveen/"
},
{
"id": "watthub-geldermalsen",
"name": "WattHub Geldermalsen",