Generator or uninterruptible power supply: what to choose and what to pay attention to