A non-linear d-q model for the analysis of low power single-phase synchronous generators