This disclosure relates generally to pipeline corrosion monitoring, and more particularly, to pipeline corrosion inhibitor optimization and control.
Corrosion is a natural process that converts a refined metal into a more chemically stable oxide. Pipeline corrosion occurs on both inside and outside of any pipe and related structures exposed to corrosive elements/environment. Reactions to the substances carried by pipelines as well as external conditions such as weather all contribute to pipeline corrosion. The most common material used in hydrocarbon pipe manufacturing is carbon steel.
Pipelines suffer from a number of corrosion forms, ranging from pitting corrosion, uniform corrosion, galvanic corrosion, crevice corrosion and microbiologically influenced corrosion, etc. To treat or inhibit internal pipeline corrosion, chemical treatments are used. Corrosion inhibitors or anti-corrosive chemical compounds are injected or added into a pipeline to decrease a corrosion rate of the pipeline. A pipeline corrosion inhibitor is a chemical compound that halts or slows down the corrosion process in a pipeline. The pipeline corrosion inhibitor works by reacting with a fluid in the pipeline, making it more inert and/or creating a film on the pipeline surface, making pipeline corrosion less likely. Pipeline corrosion inhibitors can be applied either directly to a well formation or by injecting it at regular intervals in the pipeline using special valves.
Various details of the present disclosure are hereinafter summarized to provide a basic understanding. This summary is not an extensive overview of the disclosure and is neither intended to identify certain elements of the disclosure, nor to delineate the scope thereof. Rather, the primary purpose of this summary is to present some concepts of the disclosure in a simplified form prior to the more detailed description that is presented hereinafter.
According to an embodiment consistent with the present disclosure, a method can include computing, by one or more processors, a failure probability representative of a likelihood of a pipeline corrosion failure, computing, by the one or more processors, a consequence of failure representative of the impact of the pipeline corrosion failure, generating, by the one or more processors, a risk matrix, identifying, by the one or more processors, a given inhibitor concentration using the risk matrix based on the failure probability and the failure consequence, and computing, by the one or more processors, a dosage of a corrosion inhibitor for mitigating corrosion of a pipeline based on at least the given inhibitor concentration.
In another embodiment consistent with the present disclosure, a system can include memory to store machine-readable instructions and data, and one or more processors operable to access the memory and execute the machine-readable instructions. The data can include probability factors table, a probability ranking table, consequence factors table and consequence ranking table. The machine-readable instructions can include a corrosion inhibitor optimizer. The corrosion inhibitor optimizer can include a failure probability and consequence calculator programmed to compute a failure probability ranking representative of a likelihood of a pipeline corrosion failure based on the probability factors and the probability ranking table, and compute a failure consequence ranking representative of the impact of the pipeline failure based on the consequence factors table and the consequence ranking table. The corrosion inhibitor optimizer can further include a concentration engine programmed to identify a risk level using a risk matrix to identify an associated inhibitor concentration based on the failure probability and the consequence, and an inhibitor dosage controller programmed to compute a dosage of the corrosion inhibitor based on the identified risk level.
Any combinations of the various embodiments and implementations disclosed herein can be used in a further embodiment, consistent with the disclosure. These and other aspects and features are better appreciated according to the following description of certain embodiments presented herein in accordance with the disclosure and the accompanying drawings and claims.
Embodiments of the present disclosure will now be described in detail with reference to the accompanying Figures. Like elements in the various figures may be denoted by like reference numerals for consistency. Further, in the following detailed description of embodiments of the present disclosure, numerous specific details are set forth in order to provide a more thorough understanding of the claimed subject matter. However, it will be apparent to one of ordinary skill in the art that the embodiments disclosed herein may be practiced without these specific details. In other instances, well-known features have not been described in detail to avoid unnecessarily complicating the description. Additionally, it will be apparent to one of ordinary skill in the art that the scale of the elements presented in the accompanying Figures may vary without departing from the scope of the present disclosure.
Embodiments in accordance with the present disclosure generally relate to pipeline corrosion inhibitor optimization and control. Corrosion can be one of the primary causes of problems in oil and natural gas pipelines. As oil and gas pipeline materials react with highly corrosive media (e.g., H2S, CO2, brackish water, etc.), the structural integrity of the pipeline may be degraded, potentially leading to leaks, rupture, and potentially catastrophic events. To protect pipelines from corrosion, operators utilize chemical injection systems, where a precisely controlled amount of a corrosion inhibitor chemical is injected directly into the pipeline.
A common issue with chemical injection systems is determining a proper or correct amount of corrosion inhibitor for pipeline corrosion mitigation. If a pipeline is under-dosed, a corrosion inhibition effectiveness is reduced, which can increase (e.g., expedite) a pipeline degradation rate in some cases. While over-dosing can be used to counteract pipeline corrosion, such an approach is costly and results in chemical waste.
A corrosion inhibitor optimizer is described herein that can be used to mitigate or reduce a likelihood of under-dosing and over-dosing by determining an optimal dosage for a corrosion inhibitor for injecting into the pipeline. While examples are described herein for mitigating or reducing pipeline corrosion with respect to oil and/or gas pipelines, for example, as used downhole (e.g., in an underground part of oil well operation), in other examples, the corrosion inhibitor optimizer can be used to mitigate corrosion upstream, or in other non-oil and gas pipeline industries.
The computing device 102 can include any computing device, for example, a desktop computer, a server, a controller, a blade, a mobile phone, a tablet, a laptop, a personal digital assistant (PDA), and the like. The computing device 102 can include a processor 104 and a memory 106. By way of example, the memory 106 can be implemented, for example, as a non-transitory computer storage medium, such as volatile memory (e.g., random access memory), non-volatile memory (e.g., a hard disk drive, a solid-state drive, a flash memory, or the like), or a combination thereof. The processor 104 could be implemented, for example, as one or more processor cores. The memory 106 can store machine-readable instructions (e.g., which can include the corrosion inhibitor optimizer 100) that can be retrieved and executed by the processor 104. Each of the processor 104 and the memory 106 can be implemented on a similar or a different computing platform. The computing platform could be implemented in a computing cloud. In such a situation, features of the computing platform could be representative of a single instance of hardware or multiple instances of hardware executing across the multiple of instances (e.g., distributed) of hardware (e.g., computers, routers, memory, processors, or a combination thereof). Alternatively, the computing platform could be implemented on a single dedicated server or workstation. In some examples, the computing device 102 is representative of a programmable logic controller (PLC) controller.
According to the examples described herein, the corrosion inhibitor optimizer 100 can compute an inhibitor dosage 108 for a corrosion inhibitor that is to be injected into the pipeline. For instance, the corrosion inhibitor optimizer 100 (e.g., implemented as an executable program on the PLC controller) can cause an output interface (e.g., an output card) of the PLC controller to provide an inhibitor control signal based on the inhibitor dosage 108. Thus, in the given example, the corrosion inhibitor optimizer 100 can cause the inhibitor control signal to be provided for adjusting an injection rate of the corrosion inhibitor into the pipeline. The inhibitor control signal can be representative of the inhibitor dosage 108. In examples wherein the corrosion inhibitor optimizer 100 is implemented on a remote computing device, for example, a computer (e.g., desktop computer, laptop, etc.), the corrosion inhibitor optimizer 100 can provide the inhibitor dosage 108 to a PLC controller to cause the PLC controller to provide the inhibitor control signal based on the inhibitor dosage 108.
As shown in the example of
In some examples, the sensor data 112 includes hydrogen sulfide (H2S) sensor data characterizing an amount of hydrogen sulfide gas (e.g., in PPM) flowing through the pipeline. H2S is a gas commonly found during drilling and production of crude oil and natural gas. An H2S sensor can be used to measure the amount of H2S that is the pipeline (e.g., in the crude oil). H2S is formed from either decomposing organic matter or from bacteria consuming naturally occurring petroleum and produces an offensive “rotten egg” odor in low concentrations. H2S occurs naturally in some groundwater and may be found in wells drilled for oil or natural gas. When combined with water, it forms sulfuric acid (H2SO4), a strongly corrosive acid. In some examples, the sensor data 112 includes carbon dioxide (CO2) sensor data characterizing an amount of CO2 (e.g., in PPM) in the pipeline. A CO2 sensor can be used to measure the amount of carbon dioxide gas in the pipeline (e.g., in the crude oil). CO2, for example, is an acidic compound often present in natural gas and crude oil. It becomes particularly corrosive when dissolved in water, leading to pitting and other types of corrosion.
Corrosion primarily caused by dissolved CO2 is commonly referred to as sweet corrosion; whereas corrosion due to a combined presence of dissolved CO2 and H2S can be referred to as sour corrosion, provided that CO2 partial pressure is no more than double the pressure of H2S. For example, to determine if corrosion is sweet or sour for ranking assignment, the failure probability and consequence calculator 110 can evaluate a ratio of partial pressure computed based on the CO2 and H2S sensor data. For example, if the ratio of the partial pressure is greater than a first threshold (e.g., more than 0.5), the corrosion is considered sweet. By contrast, if the ratio of the partial pressure is less than or greater than the threshold, the corrosion is considered sour. In some examples, the sensor data 112 includes flow rate data characterizing a speed or rate (e.g., a flow velocity) at which oil or gas is flowing through the pipeline. A flow meter (or sensor) can be used to measure the flow velocity of an oil or gas mixture flowing in the pipeline.
The user data 114 can include information/data identifying corrosion mitigation methodologies that are used by an operator to reduce pipeline corrosion effects, and consequences of these effects. Each consequence of the user data 114 can identify a respective result or cause that can occur from unmitigated or untreated corrosion caused by corrosive failure of the pipeline and can be referred to herein as a “consequence of failure.” Each consequence of failure can include, for example, a production loss (e.g., in million barrels per day (MBPD) of oil), an environmental damage (e.g., an amount of time that an oil spill or leak remains in a given area, such as offshore, remote, or residential area), people's safety (e.g., an impact that the oil spill or leak can have on a population, such as injury, fatality, etc.), a company's reputation (e.g., on a geographical level), and/or other type of consequences of failures.
The corrosion mitigation methodologies can identify techniques and/or corrosion monitoring services (e.g., sensor devices used to measure or capture physical changes with respect to the pipeline) that are used (e.g., deployed, implemented, etc.) by the operator to minimize or reduce pipeline corrosion risk and can be referred to as a “corrosion mitigation source.” The corrosion mitigation methodologies can include, for example, scrapability (e.g., whether an operator has a pipeline cleaning program in place), an in-line inspection (ILI) (e.g., whether the operator has ILI tools for corrosion detection, for example, Ultrasonic testing/Magnetic Flux Leakage (UT/MFL) tools, and service corrosivity (e.g., whether the operator can detect sweet and/or source corrosion)). Other or different types of corrosion mitigation methodologies are also contemplated by the present disclosure.
The corrosion monitoring services can identify corrosion monitoring sensor techniques that the operator can use or employ for measuring operating characteristics with respect to the pipeline. The corrosion monitoring sensor techniques can include, for example, a water cut sensor technique, a flow velocity sensor technique, and/or a different type of sensor monitoring technique that can be used to detect or measure physical changes in a pipeline environment. The water cut sensor technique can be associated with a water cut range, expressed as a percentage, indicating an amount of water likely in an oil-water mixture. The flow velocity sensor technique can be associated with a velocity at which a gas or a liquid flows through the pipeline. In some examples, the user data 114 can identify a weight for each corrosion probability and consequence factor. For example, each weight can be user-defined according to engineering standards and/or practices. Different pipeline operators can have different weight and criteria based on operating conditions.
The failure probability and consequence calculator 110 can receive factors and ranking tables 116. The tables 116 include a probability of failure factors and ranking tables as well as consequence of failure factors and ranking tables. The factors tables can specify the elements/factors for a pipeline corrosion failure probability and consequence, and each element/factor therein can be associated with a respective value (weight) representative of its importance. The consideration of the totality of these elements/factors allows computing a ranking value in accordance to the ranking tables. In some examples, ranking table can include ranking ranges. The ranking ranges of the ranking table can be a numerical or alphabetical value and/or range of values that has been assigned to represent a given probability/consequence of failure occurring.
In an example, the failure probability ranking table includes five (5) probability and/or probability range value(s) each indicative of a probability of the pipeline corrosion failure. For example, a first probability range “0-1” can indicate a “very low” likelihood (or probability) of the pipeline corrosion failure, a second probability range “2-3” can indicate a “low” likelihood of the pipeline corrosion failure, a third probability range “4-5” can indicate a “medium” likelihood of the pipeline corrosion failure, a fourth probability range “6-7” can indicate a “high” likelihood of the pipeline corrosion failure, and a fifth probability “8” or probability range “8-9” can indicate a “very high” likelihood of the pipeline corrosion failure. Each probability and/or probability range value can be associated with a ranking value that increases as the probability and/or probability range value increases in the probability of failure table.
The failure consequence ranking table can specify the expected impact of pipeline failure. Each level of the failure consequence ranking table can be a numerical or alphabetical value and/or range of values that has been assigned to represent a given consequence level resulting from the pipeline corrosion failure. In an example, the failure consequence ranking table includes five (5) ranges each indicative of a consequence level resulting from the pipeline corrosion failure. For example, a first level “0-3” can indicate a “very low” consequence level resulting from the pipeline corrosion failure, a second level “4-8” can indicate a “low” consequence level resulting from the pipeline corrosion failure, a third level “9-13” can indicate a “medium” consequence level resulting from the pipeline corrosion failure, a fourth level “14-17” can indicate a “high” consequence level resulting from the pipeline corrosion failure, and a fifth level “18-20” can indicate a “very high” consequence level resulting from the pipeline corrosion failure. Each of the consequence levels of the failure consequence ranking table can be associated with a ranking value that increases as each consequence increases therein. While the failure probability ranking table and the failure consequence ranking table using different ranking systems, in some examples, these table can use a similar ranking system (e.g., 1-5 for both probability of failure and consequence of failures).
In some examples, the probability of failure tables can be used for generating failure probability data 118. The failure probability factors table can identify each (or at least a subset thereof) corrosion risk source (which can be referred to in the probability factors table as a “probability element”) and a value (weight) for each source (e.g., according to the sensor data 112 and/or user data 114). The failure probability and consequence calculator 110 can process assigned values to corresponding factors in the failure probability factors table to compute a probability value representative of an overall failure probability (e.g., that considers a contribution of each corrosion source). The failure probability and consequence calculator 110 can compare the probability value to the probability ranking table to identify a corresponding failure probability representative of a likelihood of the pipeline corrosion failure. The failure and consequence calculator 110 can output the probability data 118 characterizing the failure probability.
In some examples, the consequence of failure tables are used for generating consequence data 120. The failure consequence factors table can identify each consequence (or at least a subset thereof) resulting or caused by the pipeline corrosion failure (which can be referred to in the consequence factors table as a “consequence element”), and a value (weight) assigned to each consequence factor (e.g., according to the sensor data 112 and/or user data 114). The failure and consequence calculator 110 can process assigned consequence values to corresponding consequence factors in the failure consequence factors table to compute a consequence value representative of an overall consequence value (e.g., that considers a contribution of each consequence of the pipeline corrosion failure). The failure probability and consequence calculator 110 can compare the consequence value to the consequence ranking table to identify a consequence level representative of the pipeline corrosion failure impact (e.g., regardless of a type of consequence). The failure probability and consequence calculator 110 can output the consequence data 120 characterizing the consequence level.
The corrosion inhibitor optimizer 100 includes a concentration engine 122 with a matrix generator 124 that can generate a risk matrix 126 based on risk level data 128 and inhibitor concentration data 130. As described herein, the concentration engine 122 can use the probability data 118 and the consequence data 120 as a look-up parameter to identify a desired inhibitor concentration. The concentration engine 122 can generate the risk matrix 126 to have a dimensionality based on a number of probability and consequence rankings specified in corresponding ranking tables 116. For example, if the probability ranking table includes five (5) probability rankings and the consequence ranking table includes five (5) consequence rankings, the risk matrix 126 generated by the concentration engine 122 can be a 5×5 matrix. The risk matrix 126 can include a number of columns and rows. Each row can specify a given likelihood of corrosion failure, and each column can specify a given consequence level resulting from the pipeline corrosion failure. While the risk matrix 126 is described herein as a table, in other examples, the risk matrix 126 can be implemented as an array, or using a different data organization scheme.
The risk level data 128 can identify a number of risk levels or values and can be assigned by the matrix generator 124 to a corresponding cell of the risk matrix 126. In some examples, the matrix generator 124 can provide the risk matrix 126 (e.g., as shown in
In some examples, the inhibitor concentration data 130 can identify an amount of inhibitor concentration for a respective risk level identified by the risk level data 128. The matrix generator 124 can assign each cell a corresponding inhibitor concentration from the risk level data 128 based on an assigned risk level for that cell to provide the risk matrix 126. For example, for a given cell during generation of the risk matrix 126 the matrix generator 124 associates a given risk level to the corresponding inhibitor concentration from the risk level data 128. With respect to inhibitor concentration for the pipeline, it can be determined based on an inhibitor efficiency as well as economic factors (e.g., cost of procuring the inhibitor). For example, the concentration engine 122 can receive inhibitor efficiency and pricing information for the inhibitor to be used for mitigating corrosion and use this information to determine an inhibitor concentration range. The concentration engine 122 can assign a subset range from the inhibitor concentration range to a corresponding risk level and this assignment can be characterized by the inhibitor concentration data 130. For example, an inhibitor with an inhibitor concentration range of 20-40 ppm concentration can assign a lowest risk level 20 ppm concentration and a highest risk level 40 ppm concentration. Accordingly, in some instances, the concentration engine 122 can provide the inhibitor concentration data 130, as shown in
In some examples, the matrix generator 124 can determine (e.g., during risk matrix generation) an amount of risk to assign each cell therein according to equation (1):
wherein P is a failure probability ranking, C is a failure consequence ranking, and R is a computed risk value (or level).
In some examples, the values of P and C in equation (1) can vary from 1 to 5 (e.g., very low to very high). By way of example, if P is medium (3) and C low (2), the computed risk value R=3+2−1=4. As a further example, if P is high (4) and P is very low (1), the computed risk value R=4+1−1=4. Accordingly, the matrix generator 124 can determine a risk value for each cell of risk matrix 126 according to equation (1).
In some examples, to compute or determine the inhibitor concentration that is to be assigned to each cell of the risk matrix 126 (e.g., during risk matrix generation), the matrix generator 124 can employ equation (2),
wherein P is the probability failure, C is the failure consequence, and PPM is a computed inhibitor concentration for a given cell of the risk matrix 126.
In some examples, to compute or determine the inhibitor concentration that is to be assigned to each cell of the risk matrix 126 (e.g., during risk matrix generation), the matrix generator 124 can employ equation (3),
wherein R is the computed risk value from equation (1), and PPM is the computed inhibitor concentration for the given cell of the risk matrix 126.
In some examples, the concentration engine 122 can output a target inhibitor concentration 132 using the probability data 118 and the consequence data 120 based on the risk matrix 126. For example, once a corresponding cell of the risk matrix 126 is identified, an inhibitor concentration associated with the corresponding cell can be provided by the concentration engine 122 as the target inhibitor concentration 132, as shown in
In some examples, referred to herein as “a second example,” the concentration engine 122 can use the failure probability and consequence data 118-120 to identify a given cell of the risk matrix 126 and thus a risk level assigned to the given cell. The concentration engine 122 can use the risk level assigned to the given cell to search the inhibitor concentration data 130 to identify the target inhibitor concentration 132 associated with the risk level that has been assigned to the given cell.
The corrosion inhibitor optimizer 100 further includes an inhibitor dosage controller 134 that can output the inhibitor dosage 108 based on at least the target inhibitor concentration 132. For example, the inhibitor dosage controller 134 can cause an injection rate of the corrosion inhibitor being injected into the pipeline to be adjusted based on the target inhibitor concentration 132. The inhibitor dosage controller 134 can calculate a volume of the inhibitor (e.g., the dosage) based on at least the target inhibitor concentration 132 to be injected into the pipeline and also potentially based on a pipeline's flow rate and water cut data, which can be provided based on the sensor data 112, as shown in
In some instances, mixing of corrosion inhibitor with water can be reduced or inhibited because of low flow velocity of the water, flow regimes that minimize inhibitor-water mixing, presence of sediments and dirt in the pipeline, and pipeline topology, which affects an effectiveness of the inhibitor concentration mitigating pipeline corrosion. To improve corrosion inhibition in less favorable corrosion inhibitor conditions, the inhibitor dosage controller 134 can calculate the inhibitor dosage 108 based on a modification factor (MF) 136. For example, the inhibitor dosage controller 134 can multiply the inhibitor dosage 108 by the MF 136 to compute an updated inhibitor dosage, which can be used by the inhibitor dosage controller 134. In some examples, the MF 136 is a value that ranges from a respective value (e.g., 1) to another value (e.g., 2). As such, the corrosion inhibitor optimizer 100 can provide the inhibitor dosage 108 that takes into account non-ideal inhibitor-water mixing conditions.
A modification calculator 138 of the corrosion inhibitor optimizer 100 can provide the MF 136, as shown in
In some examples, the modification calculator 138 can provide the MF 136 with a modification value based on the target inhibitor concentration 132, the reference corrosion data 140 and the measured corrosion rate 142. The modification calculator 138 can compare the reference corrosion rate 140 relative to measured corrosion rate 142. If the measured corrosion rate 142 is greater than the actual corrosion rate, the modification calculator 138 can provide the MF 136 for adjusting the inhibitor dosage 108 through the inhibitor dosage controller 134. The MF 136 can be such that a value therein increases an amount of inhibitor dosage 108 to allow achieving the target inhibitor concentration 132, as described herein.
In some examples, the modification calculator 138 can compute a corrosion deviation amount as a percentage from the expected/reference corrosion rate using the equation (4):
wherein C corresponds to the measured corrosion rate 142, E corresponds to an expected corrosion rate at the target inhibitor concentration 132, and CD corresponds to the corrosion deviation amount.
The modification calculator 138 can compare the corrosion deviation amount relative to a corrosion deviation amount threshold. If the corrosion deviation amount is less than the corrosion deviation amount threshold, the MF 136 can be lowered by a percentage factor (e.g., by 20%) up to a minimum of one (1) by the modification calculator 138. The inhibitor dosage controller 134 or a different module, system, or user can provide a disable command 144 to the modification calculator 138 to stop (e.g., halt) inhibitor dosage modifications and thus cause the inhibitor dosage controller 134 to enter a monitoring state for a period of time (e.g., a week) to allow the change to appear in corrosion rate measurements and thus be reflected in the measured corrosion rate 142, as shown in
In some examples, if the corrosion deviation amount is greater than or exceeds the corrosion deviation amount threshold by a given amount (e.g., percentage, value, etc.), the MF 136 can be increased by the modification calculator 138 by a percentage factor (e.g., 20%). It is assumed that the target inhibitor concentration 132 is not being achieved within the pipeline. The increase or decrease of the MF 136 as described can correspond to providing the MF 136 with an appropriate modification value (e.g., numerical or percentage value) based on whether the target inhibitor concentration 132 is being achieved within the pipeline. The modification calculator 138 can enter a monitoring state for a period of time during which the modification calculator 138 does not modify the target inhibitor concentration 132. The modification calculator 138 can compute a new corrosion deviation amount according to the examples described following the monitoring period. If the increase in the MF 136 reduced the corrosion deviation amount by a threshold (e.g., 5%), then the modification calculator 138 can further increase or decrease the MF 136 according to the examples described herein.
In some examples, the increase in concentration of the corrosion inhibitor in the pipeline has minimal to no effect on the corrosion rate of the pipeline. The modification calculator 138 can determine a corrosion rate decrease based on a number of corrosion rate measurements (e.g., from one or more corrosion rate sensors). The modification calculator 138 can compare each corrosion rate decrease relative to a corrosion rate decrease threshold. If the corrosion rate decrease is not greater than or equal to the corrosion rate decrease threshold, the modification calculator 138 can output a corrective action request 146. The corrective action request 146 can be provided to a user device (e.g., a portable device or stationary device) or rendered on a display to alert the operator that manual cleaning of the pipeline is needed. For example, the corrective action request 146 can indicate that the pipeline is to be cleaned using a scraper to remove sediments and dirt and thus remove contaminants or substances that may be impeding corrosion inhibitor flow/form through the pipeline (e.g., preventing the inhibitor from traveling properly through the pipeline/formed on the pipeline surface). In some examples, the MF 136 can be reduced to a minimal MF prior to the modification calculator 138 outputting the corrective action request 146. While examples are described herein, in which the modification calculator 138 provides the corrective action request 146, in other examples, the inhibitor dosage controller 134 can be programmed to provide the corrective action request 146 in a same or similar manner as the modification calculator 138.
By using the corrosion inhibitor optimizer 100 a process for pipeline corrosion protection and mitigation can be optimized and improved over existing processes, which do not use the corrosion inhibitor optimizer 100, as described herein. The corrosion inhibitor optimizer 100, as described herein, can be used to mitigate or reduce a likelihood of under-dosing, which can limit a corrosion inhibition effectiveness, and over-dosing, which can result in chemical waste and additional costs to an operator. The corrosion inhibitor optimizer 100 is applicable to all hydrocarbon pipelines, including upstream and downstream pipelines. The corrosion inhibitor optimizer 100 can adjust and maintain a chemical injection pump rate by sending control signals to actuators of a dosing system to set a rate at which the corrosion inhibitor is injected based on the optimization criteria, as described herein.
According to the examples described herein, the corrosion inhibitor optimizer 100 can compute the inhibitor dosage 108, as shown in
As described herein, the failure probability and consequence calculator 110 can generate the failure probability data 118 that includes the ranking based on the probability factors table 302 and the probability ranking table 304, which can be used by the concentration engine 122 for computing the target inhibitor concentration 132, as shown in
As described herein, the failure probability and consequence calculator 110 can generate the consequence data 120 that includes the consequence ranking based on the consequence factors table 402 and the consequence ranking table 404, which can be used by the concentration engine 122 for computing the target inhibitor concentration 132, as shown in
Each row in each of the matrices 500-600 can specify a given likelihood of pipeline corrosion failure (identified as “Probability of Failure” in the example of
In view of the foregoing structural and functional features described above, example methods will be better appreciated with reference to
The method 700 can begin at 702 by computing (e.g., by the probability and consequence calculator 110, as shown in
At 706, generating (e.g., by the concentration engine 122, as shown in
At 806, computing (e.g., by the probability and consequence calculator 110) a failure probability representative of a likelihood of a pipeline corrosion failure based on a probability factors table (e.g., the probability factors table 302, as shown in
At 810, identifying (e.g., by the concentration engine 122, as shown in
For example, the method 900 can begin at 902 by receiving or retrieving (e.g., by the modification calculator 138, as shown in
At 908, (e.g., by the modification factor calculator 138) the modification factor (e.g., the MF 136, as shown in
In some examples, the method 900 proceeds to step 912 in response to determining that the corrosion deviation amount is greater than the corrosion deviation amount threshold, which is shown with a “Yes” in the example of
In some examples, the method 900 can proceed from step 916 back to step 902 in response to determining that the corrosion deviation amount decrease by a threshold, which is shown as a “Yes” in the example of
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, for example, the singular forms “a,” “an,” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “contains”, “containing”, “includes”, “including,” “comprises”, and/or “comprising,” and variations thereof, when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. In addition, the use of ordinal numbers (e.g., first, second, third, etc.) is for distinction and not counting. For example, the use of “third” does not imply there must be a corresponding “first” or “second.” Also, as used herein, the terms “coupled” or “coupled to” or “connected” or “connected to” or “attached” or “attached to” may indicate establishing either a direct or indirect connection, and is not limited to either unless expressly referenced as such.
While the disclosure has described several exemplary embodiments, it will be understood by those skilled in the art that various changes can be made, and equivalents can be substituted for elements thereof, without departing from the spirit and scope of the invention. In addition, many modifications will be appreciated by those skilled in the art to adapt a particular instrument, situation, or material to embodiments of the disclosure without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiments disclosed, or to the best mode contemplated for carrying out this invention, but that the invention will include all embodiments falling within the scope of the appended claims. Moreover, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, or component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative.
In view of the foregoing structural and functional description, those skilled in the art will appreciate that portions of the embodiments may be embodied as a method, data processing system, or computer program product. Accordingly, these portions of the present embodiments may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware, such as shown and described with respect to a corrosion mitigation system, as shown in
Any non-transitory, tangible storage media possessing structure may be utilized including, but not limited to, static and dynamic storage devices, hard disks, optical storage devices, and magnetic storage devices, but excludes any medium that is not eligible for patent protection under 35 U.S.C. § 101 (such as a propagating electrical or electromagnetic signal per se). As an example and not by way of limitation, a computer-readable storage media may include a semiconductor-based circuit or device or other IC (such, as for example, a field-programmable gate array (FPGA) or an ASIC), a hard disk, an HDD, a hybrid hard drive (HHD), an optical disc, an optical disc drive (ODD), a magneto-optical disc, a magneto-optical drive, a floppy disk, a floppy disk drive (FDD), magnetic tape, a holographic storage medium, a solid-state drive (SSD), a RAM-drive, a SECURE DIGITAL card, a SECURE DIGITAL drive, or another suitable computer-readable storage medium or a combination of two or more of these, where appropriate. A computer-readable non-transitory storage medium may be volatile, nonvolatile, or a combination of volatile and non-volatile, where appropriate.
Certain embodiments have also been described herein with reference to block illustrations of methods, systems, and computer program products. It will be understood that blocks of the illustrations, and combinations of blocks in the illustrations, can be implemented by computer-executable instructions. These computer-executable instructions may be provided to one or more processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus (or a combination of devices and circuits) to produce a machine, such that the instructions, which execute via the processor, implement the functions specified in the block or blocks.
These computer-executable instructions may also be stored in computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture including instructions which implement the function specified in the flowchart block or blocks. The computer program instructions may also be loaded onto a computer system, such as a computer system 1002, as shown in
In this regard,
The computer system 1002 includes a processing unit 1006, a system memory 1008, and a system bus 1010 that couples various system components, including the system memory 1008, to processing unit 1006. Dual microprocessors and other multi-processor architectures also can be used as processing unit 1006. System bus 1010 may be any of several types of bus structure including a memory bus or memory controller, a peripheral bus, and a local bus using any of a variety of bus architectures. System memory 1008 includes read only memory (ROM) and random access memory (RAM). A basic input/output system (BIOS) can reside in ROM containing the basic routines that help to transfer information among elements within computer system 1002.
The computer system 1002 can include a hard disk drive 1012. The hard disk drive 1012 can be connected to system bus 1010 by a hard disk drive (or storage) interface 1014. Peripherals 1016 (e.g., keyboard, mouse, optical disk drive, magnetic disk drive, etc.) can be connected to the system bus 1010 by an input-output (I/O) interface 1018. One or more human machine interface (HMI) displays 1020 can be coupled by a graphics interface 1022 to the system bus 1010, as shown in
A number of program modules may be stored in drives and RAM, including operating system, one or more application programs, other program modules, and program data. In some examples, the computer system 1002 can be used to implement the corrosion inhibitor optimizer 100, as shown in
A user may enter commands and information into computer system 1002 through one or more peripherals 1016, for example one or more input devices, such as a pointing device (e.g., a mouse, touch screen), keyboard, microphone, joystick, game pad, scanner, and the like. These and other input devices are often connected to processing unit 1006 through a corresponding I/O interface 1018 (e.g., port interface) that is coupled to the system bus 1010, but may be connected by other interfaces, such as a parallel port, serial port, or universal serial bus (USB).
The computer system 1002 may operate in a networked environment using one or more connections to one or more remote computers, such as remote computer (not shown in
The PLC controller 1004 can include a transmitter 1028 that enables the PLC controller 1004 to communicate with the computer system 1002 using the one or more connections 1026, as shown in
The PLC controller 1004 includes logic 1030, a processing unit 1032, and a memory 1034. For clarity and brevity purposes, other elements of the PLC controller 1004 have been omitted, such as input/out interfaces, a power supply, etc. The memory 1034 can be implemented in a same or similar manner as the system memory 1008. The PLC controller 1004 can be part of a distributed control system (DCS), such as of a plant.
In some examples, the logic 1030 includes the corrosion inhibitor optimizer 100, as shown in
As described herein, the corrosion inhibitor optimizer 100 can determine an inhibitor dosage (e.g., the inhibitor dosage 108, as shown in