Discusses the models of the various components of an electricity grid and how they are combined into a set of equations that can be used to analyze the grid under normal, steady state conditions, as well as to calculate fault currents and assess its transient stability.