A plug-in optic too short for a subsea cable is no longer sent to upgrades that cannot stretch it (closes #253)

On an own subsea cable, the hint under an optic that cannot reach the route
said "Consider submarine terminals or optical engineering" for every optic.
Those upgrades only lengthen the Sienna WaveMagic 1.6T and 3.2T transponder
modes (optModes()); the 400ZR+ and 800ZR+ plug-ins gain nothing, also with
both upgrades in service. Perth to Cape Town (8,891 km) showed it: 800ZR+
reaches 5,400 km and the advice was to buy $17M of upgrades that change
nothing.

chWhy() now asks whether the optic would reach with both upgrades in service
(withSubUps()). If so, the advice stays. If not, the hint says the upgrades do
not stretch this optic and names the optics that do reach the route. A
consortium seat and a leased line keep their own message.
This commit is contained in:
Christopher Hawker 2026-11-01 23:03:47 +11:00
parent 66aaaec5f1
commit 0bf27a66c7
10 changed files with 93 additions and 1 deletions

View file

@ -13,6 +13,7 @@
"action_helpers.this_channel_reaches_max_km_on":"Dieser Kanal reicht auf diesem Kabel {max} km weit; die Strecke ist {span} km lang. Denk über Unterwasser-Terminals oder optisches Engineering nach.",
"action_helpers.too_far_even_at_its_slowest":"Zu weit, selbst in der langsamsten Einstellung: Ein optischer Abschnitt ist hier {span} km lang, die Reichweite beträgt {max} km. Füge einen Regenerator-Standort hinzu (Line System).",
"action_helpers.unlocks_at_customer_level_n":"Wird ab Kundenlevel {n} freigeschaltet.",
"action_helpers.upgrades_cannot_stretch_this_optic":"Dieser Kanal reicht auf diesem Kabel {max} km weit; die Strecke ist {span} km lang. Unterwasser-Terminals und optisches Engineering verlängern diese Optik nicht. Diese reichen so weit: {optics}.",
"actions.your_router_can_t_take_a":"<b>Dein Router kann keinen {port}-Port aufnehmen.</b><br>Rüste ihn im Tab Infra auf.",
"architect.anchor":"🐒 Platsch!",
"architect.architect_runs":"Architekt-Runs",