import numpy as np, json PUE=1.3; u=0.7; elec=0.0862 # B200 economics per kWh of SYSTEM (IT) load, from paper 5 sources rent_sys=6.63/(14.3/8) # Silicon Data B200 index, 26 Oct 2026 # $/kWh IT when rented cap_sys=515410.43/14.3*(0.10/(1-1.1**-5))/8760 # capital charge $/kWh IT # per kWh of FACILITY (grid) load lost_rent=u*rent_sys/PUE - elec # rented capacity, utilisation-weighted, net of avoided power lost_cap=cap_sys/PUE # owned capacity paused: idle capital print('rent per IT kWh',round(rent_sys,3),'capital per IT kWh',round(cap_sys,3)) print('value of curtailed facility kWh: training-pause (capital) $%.2f, rented inference $%.2f'%(lost_cap,lost_rent)) # Norris et al. curtailment cases={0.0025:(85,1.7),0.005:(177,2.1),0.01:(366,2.5)} H=8760 res={} for r,(hrs,dur) in cases.items(): E=r*H # MWh curtailed per MW of new load per year res[r]=dict(hours=hrs,dur=dur,E=E,cost_lo=E*1000*lost_cap,cost_hi=E*1000*lost_rent,events=hrs/dur) print(f'rate {r:.2%}: {hrs} h, {hrs/dur:.0f} events, curtailed {E:.1f} MWh per MW-yr, lost value ${E*lost_cap:.0f}k-{E*lost_rent:.0f}k per MW-yr') # battery: NREL 2025, 2024 costs: energy 241 $/kWh, power 372 $/kW, 15 yr life, RTE 0.85 def batt_annual(P_MW,hours,r=0.08,n=15,fom=0.04): capex=(241*hours+372)*1000*P_MW crf=r/(1-(1+r)**-n); return capex*(crf+fom), capex for frac in [0.5,1.0]: for h in [2,4]: a,c=batt_annual(frac,h); print(f'battery {frac:.0%} of load x {h} h: capex ${c/1e6:.2f}M per MW, annual ${a/1e3:.0f}k per MW-yr') # value of earlier connection per MW facility-month m=730 print('one month earlier, per MW: capital idle avoided $%.2fM, rent margin $%.2fM'%(lost_cap*1000*m/1e6, lost_rent*1000*m/1e6)) for r in cases: print('years of curtailment paid by one month earlier at rate',r, round(lost_cap*1000*m/(res[r]['E']*1000*lost_cap),1),'(capital basis)', round(lost_rent*1000*m/(res[r]['E']*1000*lost_rent),1)) # seconds layer: swing smoothing P=100.0 # MW campus IT gpus=P*1e6/(132e3/72) # GB300/GB200 NVL72-class rack ~132 kW per 72 GPUs cap_J=65*gpus print('GPUs in 100 MW of NVL72 racks',round(gpus),'PSU storage MJ',round(cap_J/1e6,2),'kWh',round(cap_J/3.6e6,2)) for dP in [10,30,50]: t=cap_J/(dP*1e6); print(f' PSU storage rides a {dP} MW swing for {t*1000:.0f} ms') for tau in [1,2,5,10]: E=50e6*tau/2; print(f'50 MW square swing, period {tau*2} s: energy per half cycle {E/3.6e6:.1f} kWh') json.dump({'lost_cap':lost_cap,'lost_rent':lost_rent,'res':{str(k):v for k,v in res.items()}},open('out.json','w'),indent=1)