Class DensePhaseCO2Corrosion
java.lang.Object
neqsim.process.corrosion.DensePhaseCO2Corrosion
- All Implemented Interfaces:
Serializable
Dense-phase CO2 corrosion assessment for CCS transport pipelines.
Evaluates corrosion risk in dense-phase CO2 transport systems where impurities (H2O, O2, SO2, NOx, H2S) significantly affect phase behavior and corrosion mechanisms. In dry dense-phase CO2, corrosion is negligible — but free water formation from impurity interactions can cause severe attack.
Standards
| Standard | Scope |
|---|---|
| DNV-RP-J202 | Design and operation of CO2 pipelines |
| ISO 27913 | CO2 capture, transportation, and geological storage — pipelines |
| DNV-RP-F104 | Design of carbon steel pipelines for CCS |
| ASME B31.4 | Pipeline transportation — supercritical CO2 |
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate doubleAr content in mol%.private StringPhase state of CO2 at conditions.private doubleCO2 purity in mol%.private booleanEvaluated flag.private SystemInterfaceNeqSim fluid for property calculations.private booleanWhether free water can form.private doubleH2 content in mol%.private doubleH2S content in ppmv.Impurity specification issues.private StringPipeline material.private booleanWhether impurity levels meet typical CCS pipeline specs.private doubleN2 content in mol%.Notes.private doubleNOx content in ppmv.private doubleO2 content in ppmv.private doublePressure in bara.private StringOverall recommendation.private StringCorrosion risk level.private static final longSerialization version UID.private doubleSO2 content in ppmv.private doubleTemperature in Celsius.private doubleWater content in ppmv.private doubleSafety margin above water solubility (ppmv).private doubleWater solubility limit in dense CO2 at conditions (ppmv).private doubleEstimated corrosion rate if free water forms (mm/yr). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidAssesses overall corrosion risk.private voidChecks impurity levels against typical CCS pipeline specifications.private voidDetermines CO2 phase state.private voidEstimates water solubility limit in dense CO2.voidevaluate()Performs dense-phase CO2 corrosion assessment.private voidGenerates overall recommendation.Gets CO2 phase state.Gets impurity issues.getNotes()Gets notes.Gets recommendation.Gets corrosion risk level.doubleGets water margin.doubleGets water solubility limit.doubleGets wet corrosion rate.booleanChecks if free water can form.booleanChecks if impurity specs are met.voidsetArContentMolPct(double molPct) Sets Ar content.voidsetCo2PurityMolPct(double molPct) Sets CO2 purity.voidsetFluid(SystemInterface system) Sets NeqSim fluid for water solubility calculations.voidsetH2ContentMolPct(double molPct) Sets H2 content.voidsetH2sContentPpmv(double ppmv) Sets H2S content.voidsetMaterialType(String type) Sets material type.voidsetN2ContentMolPct(double molPct) Sets N2 content.voidsetNoxContentPpmv(double ppmv) Sets NOx content.voidsetO2ContentPpmv(double ppmv) Sets O2 content.voidsetPressureBara(double bara) Sets pressure.voidsetSo2ContentPpmv(double ppmv) Sets SO2 content.voidsetTemperatureC(double tempC) Sets temperature.voidsetWaterContentPpmv(double ppmv) Sets water content.toJson()Converts results to JSON string.toMap()Converts results to a map.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version UID.- See Also:
-
temperatureC
private double temperatureCTemperature in Celsius. -
pressureBara
private double pressureBaraPressure in bara. -
co2PurityMolPct
private double co2PurityMolPctCO2 purity in mol%. -
waterContentPpmv
private double waterContentPpmvWater content in ppmv. -
o2ContentPpmv
private double o2ContentPpmvO2 content in ppmv. -
so2ContentPpmv
private double so2ContentPpmvSO2 content in ppmv. -
noxContentPpmv
private double noxContentPpmvNOx content in ppmv. -
h2sContentPpmv
private double h2sContentPpmvH2S content in ppmv. -
h2ContentMolPct
private double h2ContentMolPctH2 content in mol%. -
n2ContentMolPct
private double n2ContentMolPctN2 content in mol%. -
arContentMolPct
private double arContentMolPctAr content in mol%. -
materialType
Pipeline material. -
fluid
NeqSim fluid for property calculations. -
freeWaterRisk
private boolean freeWaterRiskWhether free water can form. -
waterSolubilityLimitPpmv
private double waterSolubilityLimitPpmvWater solubility limit in dense CO2 at conditions (ppmv). -
waterMarginPpmv
private double waterMarginPpmvSafety margin above water solubility (ppmv). -
riskLevel
Corrosion risk level. -
wetCorrosionRateMmYr
private double wetCorrosionRateMmYrEstimated corrosion rate if free water forms (mm/yr). -
meetsImpuritySpecs
private boolean meetsImpuritySpecsWhether impurity levels meet typical CCS pipeline specs. -
impurityIssues
-
recommendation
Overall recommendation. -
co2PhaseState
Phase state of CO2 at conditions. -
notes
-
evaluated
private boolean evaluatedEvaluated flag.
-
-
Constructor Details
-
DensePhaseCO2Corrosion
public DensePhaseCO2Corrosion()Default constructor.
-
-
Method Details
-
setTemperatureC
public void setTemperatureC(double tempC) Sets temperature.- Parameters:
tempC- temperature in Celsius
-
setPressureBara
public void setPressureBara(double bara) Sets pressure.- Parameters:
bara- pressure in bara
-
setCo2PurityMolPct
public void setCo2PurityMolPct(double molPct) Sets CO2 purity.- Parameters:
molPct- CO2 purity in mol%
-
setWaterContentPpmv
public void setWaterContentPpmv(double ppmv) Sets water content.- Parameters:
ppmv- water in ppmv
-
setO2ContentPpmv
public void setO2ContentPpmv(double ppmv) Sets O2 content.- Parameters:
ppmv- O2 in ppmv
-
setSo2ContentPpmv
public void setSo2ContentPpmv(double ppmv) Sets SO2 content.- Parameters:
ppmv- SO2 in ppmv
-
setNoxContentPpmv
public void setNoxContentPpmv(double ppmv) Sets NOx content.- Parameters:
ppmv- NOx in ppmv
-
setH2sContentPpmv
public void setH2sContentPpmv(double ppmv) Sets H2S content.- Parameters:
ppmv- H2S in ppmv
-
setH2ContentMolPct
public void setH2ContentMolPct(double molPct) Sets H2 content.- Parameters:
molPct- H2 in mol%
-
setN2ContentMolPct
public void setN2ContentMolPct(double molPct) Sets N2 content.- Parameters:
molPct- N2 in mol%
-
setArContentMolPct
public void setArContentMolPct(double molPct) Sets Ar content.- Parameters:
molPct- Ar in mol%
-
setMaterialType
Sets material type.- Parameters:
type- material type string
-
setFluid
Sets NeqSim fluid for water solubility calculations.- Parameters:
system- the NeqSim fluid system
-
evaluate
public void evaluate()Performs dense-phase CO2 corrosion assessment. -
determineCO2Phase
private void determineCO2Phase()Determines CO2 phase state. -
estimateWaterSolubility
private void estimateWaterSolubility()Estimates water solubility limit in dense CO2. -
checkImpuritySpecs
private void checkImpuritySpecs()Checks impurity levels against typical CCS pipeline specifications. -
assessCorrosionRisk
private void assessCorrosionRisk()Assesses overall corrosion risk. -
generateRecommendation
private void generateRecommendation()Generates overall recommendation. -
isFreeWaterRisk
public boolean isFreeWaterRisk()Checks if free water can form.- Returns:
- true if free water risk exists
-
getWaterSolubilityLimitPpmv
public double getWaterSolubilityLimitPpmv()Gets water solubility limit.- Returns:
- limit in ppmv
-
getWaterMarginPpmv
public double getWaterMarginPpmv()Gets water margin.- Returns:
- margin in ppmv (negative = exceeded)
-
getRiskLevel
-
getWetCorrosionRateMmYr
public double getWetCorrosionRateMmYr()Gets wet corrosion rate.- Returns:
- rate in mm/yr
-
isMeetsImpuritySpecs
public boolean isMeetsImpuritySpecs()Checks if impurity specs are met.- Returns:
- true if all within limits
-
getImpurityIssues
-
getRecommendation
-
getCo2PhaseState
-
getNotes
-
toMap
-
toJson
-