← felipe cabrera
case file 002 · 2025Español ↗

Calorflow

event
ANCAP Data Challenge 2025
result
Special mention, CCR stream
team
Never be Frog
stack
Python · FastAPI · Celery · Redis · PostgreSQL · MLflow · XGBoost · LightGBM · CatBoost

01 – the problem

Predict the hydrogen (H2) content and the lower heating value (LHV) of the gas streams from the FCC and CCR units at ANCAP's La Teja refinery, using operating data and feedstock properties. The goal of the challenge: optimize the use of intermediate refining products.

02 – the approach

The LHV is computed from the composition of each gas sample. For each target, an ensemble averages XGBoost, LightGBM and CatBoost, with optional hyperparameter tuning through Optuna.

03 – the platform

The competition notebook's logic became a FastAPI service with a simple web interface. Docker Compose runs the API, Celery workers that train in the background with Redis as the broker, PostgreSQL for training metadata and MLflow for experiment tracking.

04 – the result

Special mention for the CCR stream at the ANCAP Data Challenge 2025, with the team Never be Frog alongside Stefano Francolino.