Waves between Philippine islands cost twice Manila to Hong Kong

Routes with both ends in the Philippines get their own subsea market rate,
PH_WAVE 3.7 instead of Asia's 1.5, so a 10G Manila–Cebu wave costs about
$7,900 a month: twice Manila–Hong Kong and level with Manila–Singapore.
International routes out of the Philippines keep the Asian rate. Leases
already signed keep their price.
This commit is contained in:
fmcglinn 2026-10-30 14:33:32 +11:00
parent 5bc12832e5
commit d69ab9f3f9
No known key found for this signature in database
4 changed files with 19 additions and 3 deletions

View file

@ -157,3 +157,16 @@ test('the Philippines: transit about 1.9 times the Asian rate, homes pay about U
assert.ok(ev("transitMo({net:'sgt',city:'mnl',tier:1},10)>transitMo({net:'sgt',city:'jkt',tier:1},10)"));
assert.deepEqual(errors, []);
});
test('Philippines: waves between the islands cost more than waves out of the country', () => {
const { ev, errors } = load();
start(ev);
// cheapest 10G wave on any cable between two cities
const w = (a, b) => ev(`Math.min(...cablesOk('${a}','${b}').map(c=>waveMo(c.km,true,0)*CAB[c.cid].price*waveMarket('${a}','${b}',true).m))`);
assert.equal(ev("waveMarket('mnl','ceb',true).reg"), ev('PH_WAVE'));
assert.equal(ev("waveMarket('mnl','hkg',true).reg"), 1.5, 'international routes keep the Asian rate');
const ratio = w('mnl', 'ceb') / w('mnl', 'hkg');
assert.ok(ratio > 1.8 && ratio < 2.2, `Manila–Cebu is ${ratio.toFixed(2)} times Manila–Hong Kong`);
assert.ok(w('ceb', 'dvo') > w('mnl', 'hkg'), 'even the short Cebu–Davao hop costs more than Hong Kong');
assert.deepEqual(errors, []);
});