Energy storage equipment risk assessment method