Inicio/Smart Production

Smart Production

Q4 2025Demo en vivo

Para Bayer Cropscience

La planificación de producción en Bayer Cropscience vivía en una planilla de Excel alimentada por consultas a SAP. La convertí en un planificador visual de producción, una tabla de órdenes y un diagrama de Gantt interactivo, diseñado y construido como prototipo funcional en código.

sSituación

Antes: el planificador como integración

Tres libros de Excel alimentados por consultas a SAP, que el planificador sincronizaba a mano. El plan preliminar tenía 120 filas, una columna por semana y cantidades pegadas desde SAP: cada cambio de demanda implicaba volver a correr las consultas y rearmar la planilla.

aAcción · Decisión 1

El estado es un dato

El estado era un color de celda y la línea, un título de bloque. Ahora cada orden es una fila con su línea, código SAP, cantidad y un estado, y abre sus materiales, chequeados o marcados: un material que falta aparece antes de que la orden llegue a planta.

aAcción · Decisión 2

Orden ideal, stock real

Cambiar de activo suma setup y limpieza; sin insumos no se produce. Las órdenes siguen la familiaridad entre ingredientes activos, y lo que no tiene stock queda aparte, fuera del plan.

rResultado

Ver el tiempo, simular primero

Las mismas órdenes en una línea de tiempo, por línea. Cada arrastre, división o reorden pasa sobre un borrador, y nada se escribe hasta que el planificador confirma. Un día de recálculo se convirtió en veinte minutos.

Abrir la demo en vivo
Plan preliminar de producción en ExcelCódigos SAP y cantidades, pegados desde consultasEn rojo: cantidades que no alcanzan para el plan
Tabla de órdenes con una orden abierta en sus materialesPalabra + color, nunca solo colorEl faltante marcado antes de leer
Tab SAP: órdenes sin stock separadasRevisar en SAP: una acción, no solo una alertaCambio de activo marcado: más setup y limpieza
Vista Gantt del plan de producciónPosición = cuándo, largo = cuánto dura, color = estadoLas órdenes de cada línea juntas, con su avance
Abrir en pantalla completaBayer CropScienceI-20I-30I-50H-10
01 / 09Solo framesAbrir en pantalla completa
Antes · cómo arrancó01Estado pintado a mano

Programación Planta lista cada material por línea, con el estado pintado celda por celda.

Programación Planta lista cada material por línea, con el estado pintado celda por celda.

Un día de recálculo se convirtió en veinte minutos. Lo diseñé y construí como prototipo funcional en código en vez de un deck de Figma, conectado a los mismos códigos de material que usaban las planillas. Los planificadores lo probaron con sus propios escenarios la primera semana; de ahí salieron las marcas de faltantes y la vista de revisar antes de confirmar, y ninguna estaba en la lista original.

Qué haría distinto: sumar a alguien de materiales la primera semana. La lógica de materiales fue lo que más iteré, y la mitad de esas iteraciones eran cosas que un planificador ya sabía.

aAcción · construcción · 10

Tres tabs, tres horizontes

El blueprint muestra un tab por horizonte. Esto es lo que tiene cada uno en el prototipo funcional, y las reglas chicas que mantienen honestos los números de arriba.

Mes actual
El mes en curso: cantidad planeada, cantidad ejecutada en vivo con su última actualización, cumplimiento global y el orden ideal como tabla o como Gantt.
SAP
El mes siguiente: cantidad planeada, una tarjeta Necesita atención con lo que queda fuera del plan y por qué, y un botón Recalcular para volver a traer los datos.
Corto plazo
Una tabla pivote de los tres meses siguientes, con un filtro Reafirmados (Sí / No) que solo existe en este tab.
  • —El arrastre se marca. En el mes actual, el total planeado lleva un badge Arrastre y una nota con cuántas órdenes vienen del mes anterior, así el total se explica solo.
  • —Sin ceros falsos. Un mes que todavía no corrió muestra la cantidad ejecutada como No disponible, no como 0, y el tab SAP directamente saca esa tarjeta.
  • —Los mismos filtros en todos lados. Planta, Etapa (Formulación, Empaque) y Línea (I-20 a I-50, varias a la vez) están sobre el orden ideal en todos los tabs; Mes actual y SAP suman el switch tabla / Gantt.

aAcción · construcción · 11

Un estado que sale de las fechas

En Programación Planta, el estado era una celda que alguien pintaba. En el prototipo cada orden tiene un estado por defecto que sale de sus propias fechas, y el planificador igual puede cambiarlo desde el pill, que es un desplegable.

Programado
Todavía no llegó la fecha de inicio · 0%.
En proceso
Entre inicio y fin · el avance sigue al tiempo transcurrido, entre 5% y 95%, así una orden en curso nunca parece sin empezar ni terminada.
Completo
Pasó su fecha de fin · 100%.
A definir
Órdenes de meses todavía no confirmados, como todas las filas del tab SAP · 0%.
  • —La familia es un segundo pill. Nueve familias químicas (Neonicotinoides, SDHI, Diamidas, Glifosatos, Auxínicos, HPPD, Piretroides, Estrobirulinas, Triazoles), cada una con su color.
  • —La nota de cambio sigue a la familia. En la demo, la línea roja *Cambio de ingrediente activo · Mayor tiempo de setup/limpieza* aparece donde cambia la familia entre dos órdenes seguidas, en la tabla y en mobile.

aAcción · construcción · 12

Qué carga una orden

Una orden abierta se divide en tres columnas: materiales de formulación, materiales de empaque y lotes, cada uno con su cantidad y unidad (Kg, L, unidades). Cada ítem tiene un check o un ⚠, y al pasar el mouse se explica: *Disponible en almacén* o *Faltante · requiere solicitud*.

  • —La alerta nombra el próximo paso. Un faltante no dice solo *falta*; dice que hace falta una solicitud.
  • —No hace falta abrir cada orden para encontrar las que tienen faltantes. La fila muestra un ⚠ al lado del material, y su tooltip lista *Requiere atención* y los ítems que faltan.
Una orden abierta: cuatro materiales de formulación chequeados, un ítem de empaque marcado (Tapa + sello inviolable), tres lotes. El ⚠ de la fila repite la marca sin abrirla.

aAcción · construcción · 13

Por qué una orden queda fuera del plan

La tarjeta Necesita atención lista cada ingrediente activo que queda fuera del plan del mes siguiente, con su motivo en la misma línea, y abajo el total de órdenes afectadas.

Sin stock
Cuántos de sus materiales no tienen stock: *1 material sin stock*, *2 materiales sin stock*.
Sin línea confirmada
Un segundo motivo, distinto del stock: el ingrediente todavía no tiene línea de producción confirmada.
Nada que revisar
El estado vacío es un check y *Sin órdenes afectadas*, así una tarjeta vacía se lee como buena noticia y no como datos que faltan.
  • —Recalcular puede fallar, y la UI lo dice. Recalcular gira mientras vuelve a traer los datos; si falla, un toast dice *No se pudieron obtener los datos actualizados. Intente nuevamente.* La demo pública dispara ese estado a propósito cuando hacés clic en Recalcular dos veces seguidas, para que el error se pueda ver.
Abril en el tab SAP: cuatro ingredientes fuera del plan, un material sin stock cada uno, 29 órdenes afectadas, y Recalcular al lado del mes.

aAcción · construcción · 14

El Gantt, de cerca

El blueprint cubre por qué la tabla pasó a ser una línea de tiempo. Estas son las piezas que la hacen usable en el día a día.

Capacidad por línea
El encabezado de cada línea muestra lo ejecutado sobre lo planeado, una barra y un porcentaje. La barra cambia de color al 70% y otra vez al 90%.
Bandas de cambio
Una banda naranja marca cada cambio de ingrediente activo en la línea de tiempo; al pasar el mouse dice *Cambio de ingrediente activo*. El costo de setup se vuelve espacio visible, no una nota.
Semanas, después días
Dos filas de encabezado: Semana 1, 2, 3… y los números de día debajo, con el día de hoy resaltado y una línea vertical que cruza todas las filas.
Mover una orden
Una barra se puede arrastrar a otro día o a otra línea, y estirar para cambiar su duración.
Ajustes exactos
Para ajustar fino, la fecha de fin abre un popover con +1, +2 y +3 días y un botón *Restaurar valor original*; la columna Días acepta un número de 1 a 30.
  • —Cada cambio tiene vuelta atrás. Arrastrar para el movimiento grueso, botones para el exacto, y un reset en la fecha de fin que la devuelve a su valor original.
Línea I-20 en marzo: 47 de 197 Kg/L ejecutados (24%), estados con su avance, y al lado la línea de tiempo con las bandas naranjas de cambio y el día de hoy, el 5, marcado en rojo.

aAcción · construcción · 15

Modo presentación

Una versión de solo lectura del plan, que se abre con el botón Modo Presentación o la tecla P y se cierra con Esc. Los estados quedan bloqueados, así nada se cambia por accidente mientras está en pantalla.

Orden en curso
El ingrediente activo que corre ahora, su barra de avance y cuándo termina.
Hoy
La fecha de hoy, grande, entre las dos tarjetas.
Próxima orden
El próximo ingrediente y su fecha de inicio.
Gantt
La misma línea de tiempo de la planta elegida, sin edición.

aAcción · construcción · 16

El mismo plan en un teléfono

En una pantalla angosta la tabla pasa a ser una lista: cada orden es una tarjeta de etiqueta y valor, siguiendo el orden de las columnas de desktop, el pill de estado todavía editable y Materiales como última fila.

  • —El resumen se apila. Planeado, ejecutado y el anillo de cumplimiento van uno debajo del otro, sobre los filtros.
  • —La nota de cambio sobrevive. Queda entre las tarjetas donde cambia el ingrediente, igual que entre las filas de la tabla.
Mobile: el resumen de marzo apilado, y el orden ideal como tarjetas, con la nota de cambio abajo.

rResultado · alcance

Qué es la demo, y qué no

Lo diseñé y construí todo solo, en código. El link público es una demo, así que vale la pena ser preciso con lo que prueba.

Qué muestra
Todo el comportamiento de este caso: los tres tabs, los estados, los materiales, los motivos, las ediciones del Gantt, el modo presentación y la vista mobile, corriendo como una single-page app en React.
Datos de muestra
Las cantidades, fechas y números de orden de la demo son generados. Las capturas del Excel son de junio 2025 y el producto muestra marzo y abril 2026, así que entre los dos coincide la estructura, no los valores.
Qué no muestra
El uso. El caso tiene un solo número de resultado, el tiempo de recálculo, y no hay analytics publicados sobre cómo usan la herramienta los planificadores.
Caso anteriorZeigo PowerSchneider Electric · 2025Caso siguienteBigger PocketsBigger Pockets · Q2 2025

Exelobaiza | Design Engineer

ENES
███████╗██╗  ██╗███████╗██╗      ██████╗ ██████╗  █████╗ ██╗███████╗ █████╗
██╔════╝╚██╗██╔╝██╔════╝██║     ██╔═══██╗██╔══██╗██╔══██╗██║╚══███╔╝██╔══██╗
█████╗   ╚███╔╝ █████╗  ██║     ██║   ██║██████╔╝███████║██║  ███╔╝ ███████║
██╔══╝   ██╔██╗ ██╔══╝  ██║     ██║   ██║██╔══██╗██╔══██║██║ ███╔╝  ██╔══██║
███████╗██╔╝ ██╗███████╗███████╗╚██████╔╝██████╔╝██║  ██║██║███████╗██║  ██║
╚══════╝╚═╝  ╚═╝╚══════╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝  ╚═╝╚═╝╚══════╝╚═╝  ╚═╝
# Smart Production ## Bayer Cropscience — Q4 2025 --- [Live demo](https://smart-production-demo.vercel.app/) Context: Production planning at Bayer Cropscience lived in an **Excel spreadsheet fed by SAP queries**: no visual way to see the production line, and every adjustment meant recalculating by hand. My role: I turned that workflow into a **visual production planner**: an interactive **Gantt chart** where planners can consult and modify the production line based on **required materials and current demand**, simulating changes before committing them. Impact: Planning moved from spreadsheets and SAP lookups into **one visual system**, so the ideal production schedule can be reviewed and adjusted in minutes instead of rebuilt by hand. Before · how it started: Three Excel workbooks fed by SAP queries, kept in sync by the planner by hand. - Status painted by hand: Programación Planta lists every material per line, its status colored cell by cell. A change on the floor meant someone repainting a cell. - Line block: Each production line is a block: I-20, I-30 → Línea. - Código: The SAP material code → Código SAP, same codes. - Material: Formula + brand, e.g. LUNA EXPERIENCE → Material. - Cantidad: Liters to produce, typed with the unit → Cantidad. - Comentarios: The status, painted by hand → Estado, as a pill. - Sheet tabs: Plan JUNIO SC, EC, WP: one tab per month and family → Mes + Familia. - The planner as integration: 120 rows, one column per week, quantities pasted from SAP queries. Every demand change meant re-running the queries and rebuilding the sheet. - A · group code: Groups materials, with a Total row → Ingrediente activo. - B · SAP code: One code per material → Código SAP. - C · material: Formula + pack size → Material de formulación. - I · in red: Quantities short of what the plan needs → ⚠ flags. - J–M · weeks: One column per week, by hand → the Gantt's time axis. - N–O · totals: Sums per row and group, redone by hand → Cantidad. - A single number: Resumen Plan reduced the month to 59% global compliance. You saw the result, never which order explained it. - Cantidad total: Everything planned for the month → Cantidad Planeada. - Programado: What is scheduled, typed in a cell → Estado Programado. - Producido: What the plant produced, copied in → Cantidad Ejecutada. - Pendiente: Planned minus produced → what the ring still lacks. - % cumplimiento: The month in one number → Cumplimiento Global. - By plant: Sólidos, Roundup, Líquidos, Suspensiones → Planta filter. - Seguimiento: Planned vs produced per plant → progress per line. - Pivot by product: Programmed vs produced per SKU → the order rows. Step 1 · from Excel to an order table: First, the same data in one structured table: orders, status, materials. - Status becomes data: Status was a cell color and the line was a block title. Each order is a row with its line, SAP code, quantity and a status pill. - Chunking · 1 row = 1 order: Each Excel row becomes one order you can open. - Not color alone · status: Word + color, so status never relies on color only. - Structure over format · line: The block title becomes a column you can filter. - Hierarchy · column order: Which order → how much → what → when → status. - Findability · filters: Planta, Etapa, Línea: from 120 rows to your line. - The number gets context: 59% sat alone, with nothing behind it. Planned, executed live and compliance sit together on top of the orders. - Information architecture · tabs: Mes actual, Corto plazo, SAP: one tab per horizon. - Hierarchy · planned KPI: The target first: what everything is measured against. - System status · live: En vivo + last update: you know how fresh it is. - At a glance · progress ring: The global goal in one shape, not 59% in a cell. - Recognition over recall · month: Pick a month instead of finding the right workbook. - Shortages in sight: Each order opens its formulation materials, packaging and lots, checked or flagged. A missing material shows up before the order reaches the plant. - Progressive disclosure · materials: Materials appear only when you open an order. - Pre-attentive cue · ⚠: Icon + color flag the short material before you read. - Ideal order, real stock: Changing active ingredient adds setup and cleaning; missing inputs block production. Orders follow active-ingredient familiarity, and what lacks stock is set apart, not included in the plan. - Prevention · no stock: No monthly order starts without 100% of its inputs. - Visibility · impact: Each ingredient without stock, and the orders it hits. - Next step · SAP: Revisar en SAP: an action, not just an alert. - Proximity · ingredient: Ingredient familiarity sets the order: main criterion. - Signifier · changeover: Ingredient change marked: more setup and cleaning. Step 2 · from the table to a Gantt: Then we added time, to plan further ahead and simulate before committing. - See the time: A date column doesn't show what runs when or what a delay pushes. The same orders on a timeline, line by line, for planning further ahead. - Multiple views · one model: Table to find an order, Gantt to see time. - Continuity · the table stays: Order, dates and status stay where you left them. - Mental model · time axis: Planners think in weeks and days; so does the axis. - Visual encoding · bars: Position = when, length = how long, color = status. - Proximity · grouped by line: Each line's orders together, with its progress. - Orientation · today: The day marker shows where the plan stands now. - Simulate first, plan second: Every drag, split or reorder happens on a draft. Nothing is written until the planner confirms; that is what made people trust it. - Safe exploration · drag = draft: Try a move without breaking the real plan. - User control · confirm: Changes become real only when you confirm. A day of recalculating became **twenty minutes**. I designed and built it as a working prototype in code rather than a Figma deck, wired to the same material codes the spreadsheets used. Planners tested it on their own scenarios in the first week; the shortage flags and the review-before-commit view came from there, and neither was on the original list. What I'd do differently: bring a materials expert into the first week. The materials logic was the part I iterated on most, and half of those iterations were things a planner already knew. Action · build · 10 — Three tabs, three horizons: The blueprint shows one tab per horizon. This is what each one holds in the working prototype, and the small rules that keep the numbers on top honest. - Mes actual: The month in progress: planned quantity, executed quantity live with its last update, global compliance, and the ideal order as a table or a Gantt. - SAP: The next month: planned quantity, a Necesita atención card with what stays out of the plan and why, and a Recalcular button to pull the data again. - Corto plazo: A pivot of the next three months, with a Reafirmados filter (Sí / No) that only exists on this tab. - **Carry-over is labeled.** In the current month, the planned total carries an **Arrastre** badge and a note with how many orders came from the previous month, so the total explains itself. - **No fake zeros.** A month that hasn't run yet shows executed quantity as **No disponible**, not as 0, and the SAP tab drops the executed card entirely. - **The same filters everywhere.** Planta, Etapa (Formulación, Empaque) and Línea (I-20 to I-50, several at once) sit above the ideal order on every tab; Mes actual and SAP add the table / Gantt switch. Action · build · 11 — A status that starts from the dates: In Programación Planta, status was a cell someone painted. In the prototype each order gets a **default status from its own dates**, and the planner can still change it from the pill, which is a dropdown. - Programado: The start date hasn't arrived yet · 0%. - En proceso: Between start and end · progress follows elapsed time, kept between 5% and 95%, so a running order never looks untouched or finished. - Completo: Past its end date · 100%. - A definir: Orders in months that aren't confirmed yet, like every row in the SAP tab · 0%. - **Family is a second pill.** Nine chemical families (Neonicotinoides, SDHI, Diamidas, Glifosatos, Auxínicos, HPPD, Piretroides, Estrobirulinas, Triazoles), each with its own color. - **The changeover note follows the family.** In the demo, the red line *Cambio de ingrediente activo · Mayor tiempo de setup/limpieza* appears wherever the family changes between two consecutive orders, in the table and on mobile. Action · build · 12 — What an order carries: An open order splits into three columns: **formulation materials**, **packaging materials** and **lots**, each with its quantity and unit (Kg, L, units). Every item has a check or a ⚠, and hovering explains it: *Disponible en almacén* or *Faltante · requiere solicitud*. - **The alert names the next step.** A shortage doesn't just say *missing*; it says a request is needed. - **You don't open every order to find the short ones.** The row shows a ⚠ next to the material, and its tooltip lists *Requiere atención* plus the items that are missing. ![An order open: four formulation materials checked, one packaging item flagged (Tapa + sello inviolable), three lots. The ⚠ on the row repeats the flag without opening it.](https://res.cloudinary.com/dcy607q9x/image/upload/c_crop,x_92,y_440,w_1330,h_245/f_auto,q_auto,c_limit,w_1600/v1786445161/Bay1_mawwhr.png) Action · build · 13 — Why an order is out of the plan: The Necesita atención card lists each active ingredient left out of next month's plan, with **its reason** on the same line, and the total of **orders affected** underneath. - Sin stock: How many of its materials have no stock: *1 material sin stock*, *2 materiales sin stock*. - Sin línea confirmada: A second reason, separate from stock: the ingredient has no production line confirmed yet. - Nothing to review: The empty state is a check and *Sin órdenes afectadas*, so an empty card reads as good news, not as missing data. - **Refreshing can fail, and the UI says so.** Recalcular spins while it pulls the data again; if the pull fails, a toast reads *No se pudieron obtener los datos actualizados. Intente nuevamente.* The public demo triggers that state on purpose when you click Recalcular twice in a row, so the error can be seen. ![April in the SAP tab: four ingredients out of the plan, one material without stock each, 29 orders affected, and Recalcular next to the month.](https://res.cloudinary.com/dcy607q9x/image/upload/c_crop,x_1500,y_110,w_1370,h_570/f_auto,q_auto,c_limit,w_1600/portfolio/bayer/bp-sap-tab.png) Action · build · 14 — The Gantt, up close: The blueprint covers why the table became a timeline. These are the pieces that make the timeline usable day to day. - Line capacity: Each line's header shows executed over planned quantity, a bar and a percentage. The bar changes color at 70% and again at 90%. - Changeover bands: An orange band marks each active-ingredient change on the timeline; hovering it reads *Cambio de ingrediente activo*. The setup cost becomes visible space, not a note. - Weeks, then days: Two header rows: Semana 1, 2, 3… and the day numbers under them, with today highlighted and a vertical line through every row. - Moving an order: A bar can be dragged to another day or another line, and stretched to change its duration. - Exact edits: For precision, the end date opens a popover with +1, +2 and +3 days and a *Restaurar valor original* button; the Días column takes a number from 1 to 30. - **Every edit has a way back.** Drag for the rough move, buttons for the exact one, and a reset on the end date that returns it to its original value. ![Line I-20 in March: 47 of 197 Kg/L executed (24%), statuses with their progress, and the timeline beside it with orange changeover bands and today, the 5th, marked in red.](https://res.cloudinary.com/dcy607q9x/image/upload/c_crop,x_92,y_375,w_640,h_450/f_auto,q_auto,c_limit,w_1600/v1786445162/Bay3_d5xqyi.png) ![Line I-20 in March: 47 of 197 Kg/L executed (24%), statuses with their progress, and the timeline beside it with orange changeover bands and today, the 5th, marked in red.](https://res.cloudinary.com/dcy607q9x/image/upload/c_crop,x_730,y_375,w_700,h_450/f_auto,q_auto,c_limit,w_1600/v1786445162/Bay3_d5xqyi.png) Action · build · 15 — Presentation mode: A read-only version of the plan, opened from the **Modo Presentación** button or the **P** key and closed with **Esc**. Statuses are locked, so nothing can be changed by accident while it is on screen. - Orden en curso: The active ingredient running now, its progress bar and when it ends. - Hoy: Today's date, large, between the two cards. - Próxima orden: The next ingredient and its start date. - Gantt: The same timeline for the selected plant, without editing. Action · build · 16 — The same plan on a phone: On a narrow screen the table turns into a list: **each order becomes a card** of label and value, following the order of the desktop columns, with the status pill still editable and Materiales as the last row. - **The summary stacks.** Planned, executed and the compliance ring go one under the other, above the filters. - **The changeover note survives.** It sits between the cards where the ingredient changes, the same as between table rows. ![Mobile: the March summary stacked, and the ideal order as cards, with the changeover note at the bottom.](https://res.cloudinary.com/dcy607q9x/image/upload/f_auto,q_auto,w_1600/v1786445161/Bay2_k6plh1.png) Result · scope — What the demo is, and what it isn't: I designed and built all of it alone, in code. The public link is a **demo**, so it is worth being precise about what it proves. - What it shows: Every behavior in this case: the three tabs, statuses, materials, reasons, the Gantt edits, presentation mode and the mobile layout, running as a React single-page app. - Sample data: Quantities, dates and order numbers in the demo are generated. The Excel captures are from June 2025 and the product shows March and April 2026, so structure maps between them; values don't. - What it doesn't show: Usage. The case has one result number, the recalculation time, and no published analytics on how planners use the tool. --- All case studies: [https://www.exelobaiza.dev/work](https://www.exelobaiza.dev/work) (markdown mirror: [work.md](https://www.exelobaiza.dev/work.md)) ## Contact - LinkedIn: https://www.linkedin.com/in/exequiel-lobaiza/ - GitHub: https://github.com/exelobaiza