Patent Number: 
Section: claims

1. A method comprising:flowing, by a corrosion inhibitor injection pump, a corrosion inhibitor into a flowline through which hydrocarbons are flowed at a pressure greater than a flowline pressure of the hydrocarbons flowing through the flowline, the corrosion inhibitor configured to inhibit corrosion of the flowline due to the flow of the hydrocarbons;determining, based on a failure of a rupture disc in a first branch of a flow pathway through which the corrosion inhibitor flows, that a first pressure at which the corrosion inhibitor is flowed into the flowline exceeds a threshold pressure; andin response to determining that the pressure exceeds the threshold pressure:ceasing a first flow of the corrosion inhibitor through the first branch,permitting a second flow of the corrosion inhibitor in a second branch of the flow pathway fluidically isolated from the first branch at a second pressure less than the threshold pressure, andtransmitting one or more electronic alerts to one or more electronic terminals to communicate that the second pressure exceeds the threshold pressure. 2. The method of claim 1, wherein ceasing the flow of the corrosion inhibitor in the first branch comprises changing a first block valve coupled to the first branch from an open state to a closed state. 3. The method of claim 2, wherein permitting the flow of the corrosion inhibitor in the second branch comprises changing a second block valve coupled to the second branch from a closed state to an open state. 4. The method of claim 1, further comprising:determining that a time between ceasing the flow of the corrosion inhibitor in the first branch and permitting the flow of the corrosion inhibitor in the second branch exceeds a time threshold; andin response to determining that the time exceeds the time threshold, transmitting a closure signal to an isolation valve upstream of the flowline to cause the isolation valve to cease flow through the flowline. 5. The method of claim 1, further comprising, in response to determining that the first pressure exceeds the threshold pressure, causing the corrosion inhibitor injection pump to flow the corrosion inhibitor at the second pressure less than the threshold pressure. 6. The method of claim 1, further comprising:sensing a third pressure on the rupture disc in the first branch due to flow of the corrosion inhibitor; anddetermining that the rupture disc has failed responsive to drop in the third pressure on the rupture disc. 7. The method of claim 1, wherein the rupture disc is a first rupture disc, wherein the method further comprises sensing a fourth pressure on a second rupture disc in the second branch due to flow of the corrosion inhibitor.