An electrical system comprising: a power generation system ; an inverter coupled to the power generation system; a utility electrical grid ; a switching circuit configured to receive power from the power generation system via the inverter, and the utility electrical grid; and a controller configured to control the switching circuit to connect and disconnect electrical loads (102,302a-302n,402,602a-602n), respectively, to and from the power generation system and the utility electrical grid, for switching the loads there between depending on a power generated by the power generation system and a power consumed by the electrical loads, wherein the switching circuit is configured to switch a respective electrical load from the power generation system to the utility electrical grid by disconnecting the electrical load from the power generation system prior to connecting the electrical load to the utility electrical grid, wherein the switching circuit is configured to switch the electrical load from the utility electrical grid to the power generation system by disconnecting the electrical load from the utility electrical grid prior to connecting the electrical load to the power generation system, wherein the controller is configured to synchronize AC power of the inverter with the utility electrical grid, prior to switching the electrical load, wherein the switching is configured to provide a near-continuous power supply to the load being switched, wherein the switching circuit is designed to switch MOSFETs or alternative transistors at high speeds, with switching times of several nanoseconds, dozens of nanoseconds or hundreds of nanoseconds, wherein the switching circuit is configured to switch the electrical load from the inverter to the utility electrical grid without connecting the inverter to the utility electrical grid. a power generation system ; an inverter coupled to the power generation system; a utility electrical grid ; a switching circuit configured to receive power from the power generation system via the inverter, and the utility electrical grid; and a controller configured to control the switching circuit to connect and disconnect electrical loads (102,302a-302n,402,602a-602n), respectively, to and from the power generation system and the utility electrical grid, for switching the loads there between depending on a power generated by the power generation system and a power consumed by the electrical loads, wherein the switching circuit is configured to switch a respective electrical load from the power generation system to the utility electrical grid by disconnecting the electrical load from the power generation system prior to connecting the electrical load to the utility electrical grid, wherein the switching circuit is configured to switch the electrical load from the utility electrical grid to the power generation system by disconnecting the electrical load from the utility electrical grid prior to connecting the electrical load to the power generation system, wherein the controller is configured to synchronize AC power of the inverter with the utility electrical grid, prior to switching the electrical load, wherein the switching is configured to provide a near-continuous power supply to the load being switched, wherein the switching circuit is designed to switch MOSFETs or alternative transistors at high speeds, with switching times of several nanoseconds, dozens of nanoseconds or hundreds of nanoseconds, wherein the switching circuit is configured to switch the electrical load from the inverter to the utility electrical grid without connecting the inverter to the utility electrical grid. <EOS>