With traditional, grid-tied solar systems, your array will stop producing when there is a power outage, even if the sun is still shining! This mechanism is called Anti-islanding and is a necessity as per various international regulations for all grid-tied solar energy systems.