Skip to content
View felipearocha's full-sized avatar

Block or report felipearocha

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
felipearocha/README.md

Felipe Rocha

Asset Integrity Engineer — physics-first, standards-traceable simulators

Open-source integrity simulators with governing equations documented in code,
analytical benchmarks against textbook constants, and DOI-archived releases.

10 open-source packages 1,400+ tests 15+ codes and standards 8 Zenodo DOIs

Browse the Series Live Dashboard Zenodo LinkedIn Email


Engineering Profile

I design and implement decision-support systems for asset-integrity and risk-based-inspection (RBI) programs — at the boundary of engineering judgment, structured data systems, and physics-constrained machine learning.

The objective is not algorithmic novelty. It is defensible operational decisions: explicit assumptions, transparent transformation logic, inspectable data lineage, bounded model behavior, and visible failure modes.


Expertise

Core domains, and the methods & standards that sit under each.

Domain Methods & Standards
Asset Integrity & RBI API 510 / 570 / 653 · API 571 (damage mechanisms) · API 580 / 581 (RBI) · API 579-1 / ASME FFS-1 · API RP 970 (CCDs)
Corrosion & Electrochemistry CO₂ corrosion (NORSOK M-506) · galvanic (Butler–Volmer / Laplace) · CUI · NNpH-SCC (Chen–Sutherby–Xing) · erosion-corrosion (DNV-RP-O501 / ASTM G119) · H₂ service (B31.12 / NACE TM0316)
Physics-Informed ML (PIML) PINN surrogates · ODE-constrained training · KKT enforcement · gradient-boosted surrogates · Monte-Carlo uncertainty quantification
Data Architecture & Secure Automation ingestion-time validation · deterministic transforms · SHA-256 audit chains · CI/CD · reproducibility harnesses


The Integrity Code Series

Self-contained, physics-first integrity simulators. Each package documents its governing PDEs/ODEs in code with [SOURCE: Author Year] tags, benchmarks against analytical constants, layers Monte-Carlo/sensitivity over the deterministic core, and ships a run_all.py that reproduces every figure.

Live status: integrity-code-series-dashboard — CI, releases and last-push, auto-refreshed monthly.

# Repository Domain Tests Key standards / methods DOI
11 erosion-corrosion-multiphase Coupled erosion-corrosion at a multiphase elbow 466 NORSOK M-506 · DNV-RP-O501 · ASTM G119 · API 571 / 579 10.5281/zenodo.21114866
10 nnph-scc Near-neutral-pH stress-corrosion cracking 215 Chen–Sutherby–Xing · BS 7910 · API 579 / 581 · Bayesian RBI 10.5281/zenodo.20172241
9 cui Corrosion under insulation (thermo-hygro-electrochemical) 154 3 coupled PDEs · Strang splitting · DFOS inverse 10.5281/zenodo.20172508
8 creep-fatigue-heater Creep-fatigue in fired-heater tubes (9Cr-1Mo) 324 ASME III-5 · Norton/Omega · Coffin–Manson 10.5281/zenodo.20172467
7 h2-lferw Hydrogen conversion of vintage LF-ERW pipe 182 B31.12 · NACE TM0316 · seam-weld statistics 10.5281/zenodo.20172481
6 smartphone-galvanic Galvanic corrosion in a thin electrolyte film 38 Laplace 2D · Butler–Volmer · oxide growth 10.5281/zenodo.20172479
3 f1-lap-simulation F1 lap dynamics (six coupled ODEs) 9 arc-length ODE integration · thermal grip window
synthetic-integrity-digital-twin-piml Physics-informed NN surrogate for an integrity digital twin PINN · ODE-constrained · KKT enforcement 10.5281/zenodo.20172483
vibration-accelerated-corrosion Vibration-accelerated corrosion at pipe supports SDOF · stress-modified Butler–Volmer · Archard 10.5281/zenodo.20172485
integrity-data-foundation Engineering-first data validation baseline for RBI schema validation · deterministic transforms

⭐ flagship · ◆ companion package · test counts are from each repo's own suite.


Method & Rigor

flowchart LR
    A[Physical Reality] --> B[Structured Engineering Data]
    B --> C[Explicit Domain Logic]
    C --> D[Physics / Risk Framing]
    D --> E[Validation Harness]
    E --> F[Operational Decision Support]
Loading

Every model in the series is built to the same standard of evidence:

  • Traceable constants — each equation and constant carries a [SOURCE: Author Year] tag with a tier (T1 standard/paper · T2 derived · T3 practitioner). Modelling assumptions are labelled T3 and called out, never dressed as standards.
  • Analytical QC gates — hand-calc benchmarks against textbook constants run before the model does.
  • Uncertainty, not point estimates — a Monte-Carlo / sensitivity layer wraps every deterministic core.
  • Reproducibilityrun_all.py regenerates every figure; releases are archived to Zenodo with permanent DOIs.

If an assumption is not written, it fails silently. If data lineage is not explicit, the decision is not defensible. If a model cannot state its boundary conditions, it is not operational.


Cite & Reproduce

Each package is archived on Zenodo with a concept DOI (always resolves to the latest version) and a machine-readable CITATION.cff that drives GitHub's "Cite this repository" widget.

@software{rocha_integrity_code_series,
  author    = {Rocha, Felipe},
  title     = {Integrity Code Series — physics-first integrity simulators},
  publisher = {Zenodo},
  url       = {https://github.com/felipearocha},
  note      = {Concept DOIs resolve to the latest archived release of each package.}
}

To reproduce any package: pip install -r requirements.txt && python run_all.py.


Contact

Open to technical discussion on asset-integrity digitalization, RBI architecture, physics-informed modeling, and engineering-grade automation.

Popular repositories Loading

  1. integrity-code-series-week3-f1-lap-simulation integrity-code-series-week3-f1-lap-simulation Public

    Physics-informed F1 lap simulation. Six coupled ODEs integrated along arc length: velocity, slip angle, ERS state of charge, fuel mass, tyre temperature, and tyre wear. Gaussian thermal grip window…

    Python 2

  2. felipearocha felipearocha Public

    Asset Integrity Engineer bridging RBI decision frameworks, data engineering, and applied machine learning through transparent automation.

    1

  3. integrity-data-foundation integrity-data-foundation Public

    Engineering-first data validation and structuring baselines for integrity and RBI decision support.

    Python 1

  4. synthetic-integrity-digital-twin-piml synthetic-integrity-digital-twin-piml Public

    Physics-informed neural-network surrogate for asset-integrity digital twin. ODE-constrained training with KKT enforcement.

    Python 1

  5. Vibration-Accelerated-Corrosion-Coupled-Mechano-Electrochemical-Simulation Vibration-Accelerated-Corrosion-Coupled-Mechano-Electrochemical-Simulation Public

    A physics-first engineering simulation of vibration-accelerated corrosion in X65 carbon steel pipe under CO2-saturated brine. The system couples: - Damped single-degree-of-freedom structural vibrat…

    Python 1

  6. integrity-code-series-week6-smartphone-galvanic integrity-code-series-week6-smartphone-galvanic Public

    Laplace equation in 2D for potential distribution in the thin electrolyte film. Butler-Volmer kinetics at each metal boundary (Au plating, Ni underlayer, SS304 shell, Cu PCB trace). Faradaic dissol…

    Python 1