A method to control excess energy in an HVDC network, wherein the HVDC network comprises a HVDC transmission line having a first end, a second end, and a HVDC voltage, a first MMC having a first MMC voltage connected to the first end of the HVDC transmission line, a first AC grid having a first PCC connected to the first MMC, wherein the first PCC has a first PCC voltage, a second MMC configured to regulate the HVDC voltage and connected having a second MMC voltage to the second end of the HVDC transmission line, and a second AC grid having a second PCC connected to the second MMC, wherein the second AC grid comprising at least one solar photovoltaic system, at least one wind farm system, a battery energy storage system comprising a battery and a battery controller, and a second PCC having a second PCC voltage, comprising:
- sensing a voltage disturbance at the first PCC to determine a three-phase-to-ground low-voltage fault;
- changing the second MMC voltage from constant to variable, wherein a variable second MMC voltage is proportional to the HVDC voltage in response to the three-phase-to-ground low-voltage fault, wherein the three-phase-to-ground low-voltage fault causes the HVDC voltage to increase above a HVDC threshold voltage;
- signaling the battery controller by increasing the second PCC voltage in response to an increased second MMC voltage to switch the battery energy storage system from a discharging mode to a charging mode;
- and
- delivering an energy from the solar photovoltaic system and the wind farm system to the battery energy storage system to regulate HVDC voltage below the HVDC threshold voltage.