The application discloses a
diesel generator starting method, an electronic device and a storage medium, and relates to the technical field of data centers, and comprises the following steps: acquiring a commercial power current parameter and a commercial power
voltage parameter of a
data center, and determining a loss-of-flow and loss-of-
voltage signal based on the commercial power current parameter and the commercial power
voltage parameter; acquiring a commercial
power frequency parameter of the
data center, and determining a
frequency detection signal based on the commercial
power frequency parameter; in the case that the loss-of-flow and loss-of-voltage
signal is detected to be a loss-of-flow and loss-of-voltage effective signal, and the
frequency detection signal is detected to be a frequency abnormal signal, determining a time window matching result based on the loss-of-flow and loss-of-voltage signal and the
frequency detection signal; in the case that the time window matching result is detected to be a time window matching success, determining a target generator starting strategy based on the commercial
power frequency parameter, and starting the
diesel generator according to the target generator starting strategy. The application improves the starting accuracy of the
diesel generator, and ensures that the diesel generator can be accurately started when there is power supply abnormity in the
data center.