To prevent negative effects on the operation of the power system and equipment, a number of factors must be considered…