Island Wi-Fi for 18 groups of outer islands, by satellite and spur cable (#83)
Each zone (Vanua Levu & Taveuni off Suva, the Out Islands off Nassau, and 16 more) is a pool of island homes at your POP in its city: no node and no link on the map, its Gbps join the city's demand. Rent backhaul at the city's teleport (about 35% sign up over GEO, 75% over MEO, 90% over Starblink from a gateway there) or, from level 3, lay a spur cable and everyone may sign up. The first order brings the island kit. Islanders pay island prices, their homes are IPv6-only in the NAT64 pool, and investors on a revenue share take their cut. A spur can be cut for weeks (failure 'wspur', chaos only): a satellite kept beside it carries the islands. Zones are off in puzzles, the Architect, scenarios and below level 2. The satellite geometry works on points now (satSeesAt, satPairAt, satKmAt; the city functions wrap them, with the same answers). Starblink serves a zone only from a gateway in its own city (16 of 18; a gateway anywhere in reach would serve the same 16), with its storm and rival rule; Nunavut and Southeast Alaska stay on GEO. Rules W6 and F12.
This commit is contained in:
parent
7967a29083
commit
6f0c080875
44 changed files with 1087 additions and 65 deletions
|
|
@ -171,6 +171,14 @@ test('W5: every island city can be reached: it shares its land, has a cable, or
|
|||
fail('W5', bad, 'land a cable there or give it beach:true');
|
||||
});
|
||||
|
||||
test('W6: every island Wi-Fi zone hangs off a satellite city within 1,000 km, seen with it by a GEO bird; pool 3 to 12 G; a spur of at most 1,500 km or none', () => {
|
||||
const ids = J('Object.keys(WISP)');
|
||||
assert.deepEqual(ids, [...ids].sort(), 'W6: zone ids sorted');
|
||||
fail('W6', J(`Object.keys(WISP).filter(z=>{const W=WISP[z],C=CITY[W.c];return !C||!satRemote(W.c)||hav(C.lon,C.lat,W.lon,W.lat)>1000
|
||||
||!Object.keys(SATS).some(id=>SATS[id].orb==='geo'&&satPairAt(id,C,W))||!(W.P>=3&&W.P<=12)||!(W.km===0||W.km>0&&W.km<=1500)||typeof W.n!=='string'||!W.n.trim();}).map(z=>z+' ('+WISP[z].c+')')`),
|
||||
'hang the zone off the island city it looks to (one a satellite serves), within 1,000 km, where a GEO bird sees both; 3 to 12 G of homes; a spur of at most 1,500 km, or km:0');
|
||||
});
|
||||
|
||||
// ---------- Networks ----------
|
||||
|
||||
test('N1: network ids and ASNs are unique, ASNs are valid', () => {
|
||||
|
|
@ -555,6 +563,21 @@ test('F10: growth goes sideways, plus one paid way up (#61, #323)', () => {
|
|||
fail('F10', J("MEGA.filter(m=>!CITY[m.c]).map(m=>m.c)"), 'campuses sit in real cities');
|
||||
});
|
||||
|
||||
test('F12: island Wi-Fi pays on its own books on some way in; a spur beats every satellite, and pays back within 5 years up to 250 km, 10 up to 1,000 km', () => {
|
||||
// The zone's own books at full take-up, era 1: its homes at island prices, less the towers' upkeep and the backhaul
|
||||
// rent. The teleport, tracking antennas and a Starblink gateway serve more than one zone and are left out. Each way in
|
||||
// at its best size; a spur at its price before the market moves it.
|
||||
const rows = J(`Object.keys(WISP).map(z=>{const W=WISP[z],R=wispRate(z),up=wispUpMo(z),o={z,km:W.km};
|
||||
for(const id of wispBirds(z)){const orb=SATS[id].orb;for(const g of SAT_ORB[orb].g){const pl=Math.min(W.P*SAT_ORB[orb].wisp,g)*R-wispSatMo(id,g)-up;if(o[orb]===undefined||pl>o[orb])o[orb]=pl;}}
|
||||
if(W.km){o.sp=W.P*R-up-wispSpurMo(z);o.cost=Math.round((WISP_SPUR+WISP_SPUR_KM*W.km)/1000)*1000;}return o;})`);
|
||||
fail('F12', rows.filter((r) => !(Math.max(r.geo ?? -Infinity, r.meo ?? -Infinity, r.leo ?? -Infinity, r.sp ?? -Infinity) > 0)).map((r) => r.z), 'every zone makes money on at least one way in: raise WISP_ARPU or WISP_SHARE, or the pool');
|
||||
fail('F12', rows.filter((r) => r.sp !== undefined && ['geo', 'meo', 'leo'].some((o) => r[o] !== undefined && r[o] >= r.sp)).map((r) => r.z), 'a spur earns more than any satellite option');
|
||||
fail('F12', rows.filter((r) => r.meo !== undefined && r.geo !== undefined && r.meo < r.geo || r.leo !== undefined && r.meo !== undefined && r.leo < r.meo).map((r) => r.z), 'MEO earns at least as much as GEO, and LEO as MEO, where both reach');
|
||||
// Payback in whole months against the best GEO or MEO stage (LEO needs a level-5 gateway, off the zone's books).
|
||||
const pay = (r) => Math.round(r.cost / (r.sp - Math.max(r.geo ?? 0, r.meo ?? 0, 0)));
|
||||
fail('F12', rows.filter((r) => r.sp !== undefined && (r.km <= 250 && pay(r) > 60 || r.km <= 1000 && pay(r) > 120)).map((r) => `${r.z} (${r.km} km): ${pay(r)} months`), 'spurs up to 250 km pay back within 5 years, up to 1,000 km within 10');
|
||||
});
|
||||
|
||||
test('D1: attack sizes come from the world, never from your network', () => {
|
||||
const g = load();
|
||||
ddFra(g.ev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue