Tirkey Logo
BACK TO WORKS ARCHIVE
CASE STUDY•01 / 011
Systems / DesktopYEAR 2026 ARCHIVEFLAGSHIP SHIPMENTOPEN SOURCEMIT LICENSERUST NATIVEOFFLINE-FIRST

ThermalForge: Offline Industrial Decarbonisation Workbench

Decarbonisation ROI before capital is committed. Native Rust desktop engineering workbench with MACC curve simulation & kiln thermal stability.

ENGINEERING SPECIMEN // FIG. 01
ThermalForge: Offline Industrial Decarbonisation Workbench
ROLE & RESPONSIBILITY

Lead Systems & Computational Architect

TIMELINE & STATUS

2026 – Present • Open Source v1.0.0

CONTEXT

Heavy Industry Decarbonisation & Thermal Systems

KEY PERFORMANCE METRICS
ENGINERUST 2021 + EGUI
DATA PRIVACY100% AIR-GAPPED
SIMULATIONMACC + STOICHIOMETRY
LICENSEMIT OPEN SOURCE
ARCHITECTURAL OVERVIEW & PHILOSOPHY

Decarbonising cement and steel involves multimillion-dollar capital commitments where unverified fuel switching risks kiln freezing, refractory degradation, or double-counted emissions reductions. ThermalForge answers critical engineering questions with zero cloud exposure. Built in Rust 2021 with immediate-mode egui, it features deterministic Marginal Abatement Cost Curve (MACC) generation with interaction cascading (efficiency -> waste heat recovery -> fuel switching -> carbon capture), 3-fuel combustion stoichiometry (coal, biomass, RDF), 24-hour thermal stability projection simulating fuel moisture variability, least-squares kiln telemetry calibration with RMSE evaluation, a multi-plant local SQLite scenario vault, and zero-dependency vector PDF and CSV report generation.

An offline desktop application for plant engineers, energy managers, and sustainability teams in cement and steel. Simulates marginal abatement cost curves (MACC), 3-fuel combustion stoichiometry, and 24-hour thermal stability with 0% cloud and 0% telemetry.

TECHNOLOGY STACK & RUNTIMES
Rust 2021egui / eframe 0.28rusqlite (SQLite)calaminerfdchronoserde / RONOpenGL
ENGINEERING RATIONALE

CHALLENGE & ARCHITECTURAL SOLUTION

// PROBLEM & BOTTLENECKS

Decarbonising cement and steel involves multimillion-dollar CapEx decisions. Traditional spreadsheets are fragmented, error-prone, double-count energy savings, and fail to predict if substituting coal with biomass or municipal waste will drop burning zone temperatures below sintering thresholds (1400°C+). Furthermore, corporate IP and plant confidentiality prevent engineers from uploading operational data to cloud SaaS platforms.

// ENGINEERED SOLUTION

Engineered ThermalForge as a self-contained, air-gapped native desktop workbench in Rust 2021 and immediate-mode egui. It combines deterministic thermodynamic mass and energy balances with least-squares calibration and sequenced MACC economics in sub-30ms execution loops with zero telemetry.

SYSTEM DESIGN DEEP DIVE

ARCHITECTURAL BLUEPRINTS

SYSTEM SPEC // 01

Deterministic Stoichiometric & Combustion Balance

Solves exact ultimate analysis balances (C, H, O, S, ash, moisture) to compute stoichiometric air requirements, flue gas volumes, theoretical flame temperatures, and burning-zone coupling in constant time.

SYSTEM SPEC // 02

Sequenced MACC Interaction Modeling

Applies decarbonisation strategies in thermodynamic order (efficiency -> waste heat recovery -> fuel switching -> carbon capture), ensuring later technologies only claim remaining emissions and power demands.

SYSTEM SPEC // 03

24-Hour Moisture Stochastic Stability Projection

Simulates fuel moisture swings over a 24-hour operational window, evaluating burning-zone thermal inertia against clinker sintering limits to flag marginal or unstable combustion regimes.

SYSTEM SPEC // 04

Zero-Dependency PDF & Calamine Excel Ingestion

Emits publication-ready vector PDF reports and tabular CSVs using custom pure-Rust writers without external dependencies, while calamine provides round-trip ingestion of .xlsx, .xls, .ods, and .csv files.

NATIVE RUST 2021 + EGUI 0.28 INDUSTRIAL WORKBENCH

THE SIX DECARBONISATION MODULES

Deterministic thermodynamic calculations, marginal abatement cost curves, and 24-hr stability simulations. Zero Electron, zero web views, zero accounts, and zero telemetry.

AIR-GAPPED PLANT SIMULATION
Marginal Abatement Cost Curve UI preview
01 // MACC SIMULATOR
RUST DOMAIN
ABATEMENT ECONOMICS
SPEC 01DETERMINISTIC

Marginal Abatement Cost Curve

Sorts eco-strategies by net cost per tonne of CO2 avoided. Applies interactive adoption sliders, capital recovery factors (CRF), and sensitivity tornado bars against the plant carbon price.

Three-Fuel Blending & Stoichiometry UI preview
02 // FUEL BLEND
RUST DOMAIN
COMBUSTION STOICHIOMETRY
SPEC 02DETERMINISTIC

Three-Fuel Blending & Stoichiometry

Combines coal, biomass, and refuse-derived fuel (RDF/MSW) using lab ultimate analysis (LHV, C, H, O, S, ash, moisture) to compute stoichiometric air, flue gas mass, and theoretical flame temperature.

24-Hour Thermal Stability Projection UI preview
03 // STABILITY
RUST DOMAIN
24-HR DYNAMICS
SPEC 03DETERMINISTIC

24-Hour Thermal Stability Projection

Simulates stochastic fuel moisture variations over 24 hours to test thermal inertia. Automatically classifies kiln operation as Stable, Marginal, or Unstable against the clinker sintering baseline.

Kiln Baseline Telemetry Calibration UI preview
04 // CALIBRATION
RUST DOMAIN
LEAST-SQUARES FIT
SPEC 04DETERMINISTIC

Kiln Baseline Telemetry Calibration

Least-squares regression fitting the burning-zone baseline and flame-to-kiln coupling factor to physical plant thermocouple measurements, with RMSE fit diagnostics and plausibility guards.

Multi-Plant Scenarios & Delta Diff UI preview
05 // SCENARIOS
RUST DOMAIN
LOCAL SQLITE VAULT
SPEC 05DETERMINISTIC

Multi-Plant Scenarios & Delta Diff

Persists plants and named operational plans in a bundled SQLite database. Features side-by-side scenario diffing with instant parameter divergence readouts and immutable change tracking.

Vector PDF & Excel Data Ingestion UI preview
06 // REPORTS
RUST DOMAIN
ZERO-DEPENDENCY PDF
SPEC 06DETERMINISTIC

Vector PDF & Excel Data Ingestion

Pure-Rust vector PDF and CSV report generator with zero external rendering dependencies. Ingests plant lab sheets (.xlsx, .xls, .ods, .csv) with round-trip schema template verification via calamine.

GOVERNING THERMODYNAMIC & ABATEMENT EQUATIONS
DETERMINISTIC RUST ENGINE • DOCUMENTED IN BUILT-IN MANUAL
QuantityMathematical FormulationPhysical Engineering Objective
Abatement Cost(CapEx × CRF + ΔOpEx) / CO₂ avoidedAnnualized capital recovery factor CRF = r / (1 - (1 + r)^-n) per net tonne avoided.
Stoichiometric Air(2.664 C + 7.937 H + 0.998 S - O) / 0.232kg air per kg fuel for complete combustion based on ultimate elemental analysis.
Flue Gas Mass1 + air × (1 + excess air) - ashTotal wet exhaust gas mass determining ID fan capacity and velocity constraints.
Flame TemperatureT_air + LHV / (flue gas × cp)Adiabatic theoretical flame temperature driving radiant heat transfer to clinker.
Burning Zone TempT_base + coupling × (T_flame,blend - T_flame,coal)Calibrated clinker sintering zone temperature evaluated against 1400°C threshold.
Moisture CorrectionLHV' = (LHV + 2.442 M)(1 - M') / (1 - M) - 2.442 M'Corrects effective heating value dynamically as fuel moisture fluctuates in real time.
Thermal Substitution1 - (x_coal × LHV_coal) / LHV_blendExact fraction of fossil heat successfully replaced by alternative biomass or RDF.
STRATEGY INTERACTION & CASCADE SEQUENCE
PREVENTS DOUBLE-COUNTING OF ENERGY & EMISSIONS
01 // EFFICIENCY

Kiln Insulation

Reduces shell radiation losses, lowering total fuel energy requirement before alternative blend sizing.

02 // POWER LOAD

VFDs & Motors

Upgrades raw mill, fan, and separator drives, shrinking plant base electricity consumption.

03 // HEAT RECOVERY

WHR Power

Converts preheater and clinker cooler exhaust into electricity, strictly capped at residual grid demand.

04 // FUEL SWITCHING

Biomass / RDF

Substitutes fossil coal with alternative fuels, credited only against the reduced post-insulation thermal demand.

05 // CAPTURE

Carbon Capture

Sized only for remaining residual stack CO₂, eliminating over-sizing and CapEx waste.

RUST TOOLCHAIN & REPRODUCIBLE BUILDS
RUST 1.82+ • STRICT ZERO-WARNING CLIPPY GATE

# Clone and run the optimized ThermalForge desktop workbench

$ git clone https://github.com/TIRK3Y/ThermalForge.git

$ cd ThermalForge && cargo run --release

# Run full deterministic test suite & strict clippy lint check

$ cargo test && cargo clippy --all-targets -- -D warnings

FUNCTIONAL SPECIFICATIONS

CORE SYSTEM CAPABILITIES

CAPABILITY // 01

Deterministic Marginal Abatement Cost Curve (MACC) engine with capital recovery factor (CRF) and cashflow modeling

CAPABILITY // 02

Strategy interaction pipeline applying measures in fixed sequence to eliminate double-counting of savings

CAPABILITY // 03

Three-fuel combustion mass & energy balance: coal, biomass, and refuse-derived fuel (RDF/MSW) with ash/moisture correction

CAPABILITY // 04

24-hour thermal stability projection classifying combustion regimens as Stable, Marginal, or Unstable against sintering limits

CAPABILITY // 05

Kiln calibration engine performing least-squares regression between plant telemetry and model predictions with RMSE readouts

CAPABILITY // 06

Local SQLite scenario vault storing multi-plant metrics, named plans, and side-by-side delta comparisons

CAPABILITY // 07

Air-gapped security model: 100% offline, 0% telemetry, zero network requests, keeping proprietary plant data strictly confidential

CAPABILITY // 08

Built-in zero-dependency vector PDF & CSV report export and multi-format Excel (.xlsx, .xls, .ods, .csv) ingestion via calamine

SCREENSHOT & INTERFACE ARCHIVE // DARK MODE3 PLATES ARCHIVED
ThermalForge: Offline Industrial Decarbonisation Workbench preview plate 01
PLATE // 01
ThermalForge: Offline Industrial Decarbonisation Workbench preview plate 02
PLATE // 02
ThermalForge: Offline Industrial Decarbonisation Workbench preview plate 03
PLATE // 03
EXPLORE ADJACENT ARCHITECTURE
CONTRACT WORK • HIGH-IMPACT ROLES • SYSTEMS COLLABORATIONBENGALURU • GLOBAL REMOTE

NEED SCALABLE ARCHITECTURE CRAFTED WITH RESTRAINT?

Whether you need to architect a high-concurrency web platform, build a native desktop application in Rust, or deploy production Android apps — let's build together.