electricity-investment Code to replicate "Investment, Emissions, and Reliability in Electricity Markets," by Jonathan Elliott