Analysis scripts for the New Zealand Electricity Market