Modelling and Analysis of Electricity Markets