The mathematical modelling of transient systems using differential-algebraic equations