Skip to content

Releases: khadev/CorroSim

CorroSim v1.6.1 – ASTM Validated

05 Jun 22:45
bd460e8

Choose a tag to compare

🎉 CorroSim v1.6.1 Release

✨ What's New

  • Complete test suite with 32 passing tests
  • GitHub Actions CI/CD for automatic testing
  • 6 fully tested engines: Tafel, Galvanic, EIS, Inhibitor, Pitting, Corrosion Rate
  • ASTM Validation: G102 (Tafel), G61 (Pitting), G82 (Galvanic)
  • Unit conversion helpers (µA ↔ A, mV ↔ V, mm/year ↔ mpy)

📜 ASTM Validation Status

Standard Description Status
ASTM G102 Corrosion rate calculation ✅ Passed (3.8% error)
ASTM G61 Pitting potential detection ✅ Capable
ASTM G82 Galvanic series prediction ✅ Passed

🧪 Test Status

Tests

📦 Installation

pip install corrosim
corrosim

🔬 Core Modules

  • Tafel Analysis - Ecorr, icorr, Tafel slopes (R² > 0.999)
  • Galvanic Corrosion - 14 metals, mixed potential, severity (Mild to Catastrophic)
  • EIS Fitting - Randles and Warburg circuits, Kramers-Kronig
  • Inhibitor Efficiency - Langmuir/Freundlich isotherms, ΔG°, synergy
  • Pitting Analysis - Epit/Erp detection, Gumbel statistics, pit growth

✅ Test Coverage

  • 32 automated tests
  • Runs on Python 3.9-3.12
  • GitHub Actions CI/CD

📚 Documentation


CorroSim v1.6.0 - Full Test Suite

04 Jun 02:02

Choose a tag to compare

🎉 CorroSim v1.6.0 Release

✨ What's New

  • Complete test suite with 33 passing tests
  • GitHub Actions CI/CD for automatic testing
  • 6 fully tested engines: Tafel, Galvanic, EIS, Inhibitor, Pitting, Corrosion Rate
  • 78-100% test coverage on core engines

🧪 Test Status

Tests

📦 Installation

pip install corrosim
corrosim

🔬 Core Modules

  • Tafel Analysis - Ecorr, icorr, Tafel slopes (R² > 0.999)
  • Galvanic Corrosion - 14 metals, mixed potential, severity (Mild to Catastrophic)
  • EIS Fitting - Randles and Warburg circuits, Kramers-Kronig
  • Inhibitor Efficiency - Langmuir/Freundlich isotherms, ΔG°, synergy
  • Pitting Analysis - Epit/Erp detection, Gumbel statistics, pit growth

✅ Test Coverage

  • 33 automated tests
  • Runs on Python 3.9-3.12
  • GitHub Actions CI/CD