import json
from pathlib import Path
n=20000;years=3
managed=12000+years*(24000+1.20*n);custom=60000+years*(18000+.55*n)
r={'illustrative':True,'annual_accepted_outputs':n,'years':years,'managed_total':managed,'custom_total':custom,'custom_with_two_migrations':custom+2*8000,'base_break_even_annual_outputs':(60000-12000+3*(18000-24000))/(3*(1.20-.55)),'migration_break_even_annual_outputs':(60000-12000+3*(18000-24000)+16000)/(3*(1.20-.55))}
Path(__file__).with_name('results.json').write_text(json.dumps(r,indent=2)+'\n')
