Power system economics and electricity market simulator