A surge control system comprising: a power source; a first rotor system comprising a first compressor and a first turbine operably coupled to a first shaft; a sensor disposed proximate the first rotor system; a first electric motor operably coupled to the first rotor system; a second rotor system and a second motor operably coupled to the second rotor system, the second rotor system comprising a second compressor and a second turbine operably coupled to a second shaft, wherein the second shaft is parallel with the first shaft; and a controller electrically coupled to the sensor and the first electric motor, the controller being operable to: detect or synthesize one or more parameters to determine when a surge occurs in the first compressor; determine a first amount of power to provide from the power source to the first shaft via the first electric motor; command the first electric motor to increase power to the first shaft; monitor a first magnitude of the power applied to the first shaft commensurate with a severity of the surge; and adjust the first magnitude of the power applied to the first shaft commensurate with the severity of the surge; and increase a stability margin of the first compressor in response to increasing the power, the controller being further operable to determine a second amount of power to extract from the second shaft; command the second electric motor to extract the power from the second shaft; monitor a second magnitude of the power extracted from the second shaft commensurate with the severity of the surge and loss in thrust due to power extraction; and adjust the second magnitude of the power extracted from the second shaft commensurate with the severity of the surge and loss in thrust due to power extraction; and increase the stability margin of the first compressor in response to extracting power from the second shaft. a power source; a first rotor system comprising a first compressor and a first turbine operably coupled to a first shaft; a sensor disposed proximate the first rotor system; a first electric motor operably coupled to the first rotor system; a second rotor system and a second motor operably coupled to the second rotor system, the second rotor system comprising a second compressor and a second turbine operably coupled to a second shaft, wherein the second shaft is parallel with the first shaft; and a controller electrically coupled to the sensor and the first electric motor, the controller being operable to: detect or synthesize one or more parameters to determine when a surge occurs in the first compressor; determine a first amount of power to provide from the power source to the first shaft via the first electric motor; command the first electric motor to increase power to the first shaft; monitor a first magnitude of the power applied to the first shaft commensurate with a severity of the surge; and adjust the first magnitude of the power applied to the first shaft commensurate with the severity of the surge; and increase a stability margin of the first compressor in response to increasing the power, the controller being further operable to determine a second amount of power to extract from the second shaft; command the second electric motor to extract the power from the second shaft; monitor a second magnitude of the power extracted from the second shaft commensurate with the severity of the surge and loss in thrust due to power extraction; and adjust the second magnitude of the power extracted from the second shaft commensurate with the severity of the surge and loss in thrust due to power extraction; and increase the stability margin of the first compressor in response to extracting power from the second shaft. detect or synthesize one or more parameters to determine when a surge occurs in the first compressor; determine a first amount of power to provide from the power source to the first shaft via the first electric motor; command the first electric motor to increase power to the first shaft; monitor a first magnitude of the power applied to the first shaft commensurate with a severity of the surge; and adjust the first magnitude of the power applied to the first shaft commensurate with the severity of the surge; and increase a stability margin of the first compressor in response to increasing the power, the controller being further operable to determine a second amount of power to extract from the second shaft; command the second electric motor to extract the power from the second shaft; monitor a second magnitude of the power extracted from the second shaft commensurate with the severity of the surge and loss in thrust due to power extraction; and adjust the second magnitude of the power extracted from the second shaft commensurate with the severity of the surge and loss in thrust due to power extraction; and increase the stability margin of the first compressor in response to extracting power from the second shaft.