Pie in the Sky: government money for rocket companies
A Gov tab in Pie Control with three state programmes: - Rural Digital Pie Fund: reverse auctions for towns only orbit reaches (a cut-off POP on backhaul, or a small town of your terminals). Ask 90%, 70% or 50% of the reserve against a rival; the lower ask is paid monthly for five years while the town stays 70% served (monthly average) from a 90-day deadline. One bad month warns, two revoke the award and claw back half of the last year's support. - Ex-Im Pie Bank: a BANKS loan of half the value of the pies flying and booked (at most 20% of a full Shortcrust, counted by O7), 1.5-2.5% over 60 months, never offered by the usual banks. Space covenants: launch n pies in a year, keep a pie dish in the lending country. A breach brings the bank's penalty, +3 points, a new launch deadline and, with chaos on, a "data stays home" or landing-rights spat there. - Pitcairn: served from orbit (backhaul or home terminals) at 90% of its demand, latency forgiven, the UK pays a $120k/mo satellite grant. Subsidies count in the orbit's books. tests/pie-gov.test.js covers the features; pie-balance.test.js gains a run with government money, which must pay back sooner by at most two years.
This commit is contained in:
parent
1de0723c35
commit
8b92adcaa8
23 changed files with 719 additions and 27 deletions
|
|
@ -370,12 +370,14 @@ function computeMoney(R2,PX=null){
|
|||
C.loans=(S.loans||[]).reduce((a,l)=>a+(BANKS[l.bank].equity?0:l.model==='transit'?Math.round((C.transit||0)*(l.cut||0.3)):l.pay)+loanFees(l),0);
|
||||
C.extras=(S.cnLic&&S.cnLic.state==='ok'?CN_JV_MO:0)+scrubMo()+Object.keys(S.pops).filter(ruCity).length*RU_BOX_MO+Object.values(S.pops).filter(p=>p.site2).length*SITE2_MO+(S.te?TE_MO:0)+(S.ops&&S.ops.intern?INTERN_MO:0)+salesMo();
|
||||
if(S.pie&&S.mode!=='sandbox')C.pie=pieMo();
|
||||
V.eyeballs=0;V.business=0;V.ix=0;V.grant=grantOn(R2)?GRANT_MO:0;
|
||||
V.eyeballs=0;V.business=0;V.ix=0;
|
||||
C.wholesale=0;C.levy=0;const lev=scnRule('levy');for(const c in S.pops){const sf=sfOf(R2,c)*(R2.bbF[c]??1),v=R2.cityEye[c]*sf*EYE_RATE*arpuOf(c);V.eyeballs+=v;if(CITY[c].au){if(lev)C.levy+=v*AU_LEVY;else C.wholesale+=v*AU_WHOLESALE;}}
|
||||
const ids=linkIds();for(const b of S.biz){if(capPend(b)||BIZ_T[b.type].orbit)continue;const sf=BIZ_T[b.type].fiber?(fiberOk(b,ids)?1:0):BIZ_T[b.type].l2?clamp((R2.l2[b.id]||0)/b.bw,0,1):sfOf(R2,b.city)*(R2.tgtF[b.id]??1);V.business+=b.bw*b.rate*Math.min(1,sf/0.95);}
|
||||
for(const c in S.myIx)V.ix+=S.myIx[c].members.length*MYIX_FEE;
|
||||
if(PX)pieMoney(PX,R2,V);
|
||||
// The UK grant for Pitcairn, its satellite tier once orbit is known; the Rural Digital Pie Fund (99-pie-subsidies.js).
|
||||
{const on=grantOn(R2),sky=!on&&!!PX&&grantSky(R2);V.grant=on?GRANT_MO:sky?GRANT_SKY_MO:0;V.gov=PX?pieGovMo():0;if(PX)R2.pie.gov={rdf:V.gov,sky:sky?GRANT_SKY_MO:0};}
|
||||
C.revshare=(S.loans||[]).reduce((a,l)=>a+(BANKS[l.bank].equity||l.bal>0?l.share||0:0),0)*(V.eyeballs+V.business+V.ix+(V.orbit||0));
|
||||
R2.costMo=Object.values(C).reduce((a,b)=>a+b,0);
|
||||
R2.revMo=V.eyeballs+V.business+V.ix+V.grant+(V.orbit||0);
|
||||
R2.revMo=V.eyeballs+V.business+V.ix+V.grant+V.gov+(V.orbit||0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue