ABSTRACT: The photovoltaic generation can be interconnected to power systems or to insulated grids to satisfy the growing electrical demand as an alternative renewable energy source. The photovoltaic generator dynamics affects the control, protection, stability, and power quality of the electrical grid, this network dynamics requires to be examined and conveniently regulated and adjusted. The dynamic averaged model for the dq0 current controlled DC/AC inverter is applied to obtain the time-domain response to electromagnetic transients under special conditions such as electrical load fluctuations, unbalanced faults, voltage and current transients to verify e.g., the ride through capability or to adjust the protection and control devices, these transients can be present during the operation of electrical microgrids and power systems interconnected with photovoltaic generation. The system modelling includes the photovoltaic plant interconnected with the microgrid using the dq0 current controlled DC/AC inverter. The case studies are applied to analyse three-phase electrical microgrids, their time-domain response, and the obtained voltage and current waveforms can be used to verify the dynamic behaviour and stability of the electrical system interconnected with photovoltaic generation and similarly to verify the operation of the dq0 current controller for the inverter. The results can be used to control the microgrid dynamic behaviour. Keywords: current control, dq0 transform, inverter, microgrids, photovoltaic generation, power quality, protection, time-domain, transients, unbalanced faults, unbalanced voltage sags, voltage source converter