Title: On-line modelling of alternator dynamics