Skip to content
watt2work
Back to the blog

Water and electricity per dyeing batch: choose the right kilogram first

A local, synthetic pilot separating rework, dry-equivalent kilograms and meter boundaries for water and electricity per dyeing batch.

Watt2Work9 min read
Share via QR code
Local synthetic files → validation and boundary checks → evidence-linked decision card → human review; no write path to the live plant.
Synthetic batch, operation, meter and quality files enter a local snapshot. Unit and boundary checks distinguish direct measurement from allocation or uncertainty. The department lead reviews source evidence; nothing writes to the plant.

In a dyeing and finishing plant, monthly electricity and water bills alone cannot show which batch used more resources or why. A planning sheet may show one lot, while the production log records two extra passes over the same fabric. A quality record may reveal that those passes applied to only part of the lot. Unless the three records join correctly, a tidy ratio can support the wrong decision.

Our first question is not “Which AI should we install?” It is: How many operations produced the same accepted fabric, and which measured consumptions belong to those operations? The first pilot delivers a traceable decision card showing which batch deserves investigation, not a savings promise.

Primary sector: Textiles. Subprocess: Batch fabric dyeing and rinsing, not the weaving line. Readers: Dyeing/finishing operations managers, production planning, quality and energy teams. Operational decision owner: Operations manager; quality release remains the quality owner's decision. The approved reference exercise checked 10 synthetic cases. Replay of a prepared environment with egress isolated is not clean-target provisioning or field acceptance.

See the problem in one fictional batch

All names, quantities and dates below are synthetic. They are not customer observations, field results, equipment norms or recipe recommendations. A and B are two example lots in the same cotton woven-fabric family, dark-shade class, R17-v2 recipe identity and M1 machine. These identities define a comparison cohort; they do not disclose operating parameters.

Lot A starts with 500 kg of dry-equivalent fabric. Its first pass uses 25 m³ of fresh water and 300 kWh of machine electricity. Following quality review, the same traced 100 kg child portion S1 is reprocessed twice. Each rework pass uses 5 m³ of fresh water and 60 kWh of electricity. All of the original 500 kg is ultimately accepted. This example assumes no moisture-basis change or mass loss; a field study must verify that measurement basis separately.

Synthetic lot A: processing and accepted mass
RecordDry-equivalent mass processedFresh waterMachine electricity
A first pass500 kg25 m³300 kWh
A / S1 rework pass 1100 kg5 m³60 kWh
A / S1 rework pass 2100 kg5 m³60 kWh
Total processing workload700 kg-passes35 m³420 kWh
Final accepted output500 kgSame consumption totalSame consumption total

A kg-pass adds the kilograms processed during each pass. It is not additional physical output. Unique reworked mass is 100 kg, while rework workload is 200 kg-passes. The unique rework share is therefore 20%. Reporting 40% from 200/500 would be wrong.

If records cannot establish that both 100 kg passes concern the same child portion, workload remains 200 kg-passes but the exact unique rework share is unknown. The system should report missing lineage rather than invent a value.

Two valid ratios answer different questions

For lot A, workload-based water intensity is 35,000 / 700 = 50 L/kg-pass, and electricity intensity is 420 / 700 = 0.60 kWh/kg-pass. Dividing those same resources by accepted output gives 35,000 / 500 = 70 L/kg and 420 / 500 = 0.84 kWh/kg.

Let control lot B be accepted after an identical first pass, without rework: 25 m³, 300 kWh and 500 accepted kg. Its workload-based and accepted-output ratios are both 50 L/kg and 0.60 kWh/kg. A appears unchanged on a pass basis but uses more resources per accepted kilogram. This does not establish a better recipe or actual savings. It demonstrates how rework can disappear inside a denominator.

Decision card A: “No difference is visible in consumption per processing pass. The accepted-output difference occurs alongside additional rework workload. Review the quality reason, S1 lineage and original pass conditions. Do not automatically change the recipe or machine settings.”

If accepted kilograms remain unknown pending quality release, that indicator stays pending. Do not silently substitute wet fabric mass for dry-equivalent mass. Any conversion needs a recorded method, measurement and version; otherwise report the different mass bases separately.

The measurement boundary is part of the number

The example electricity meter covers only the relevant machine. Steam, boiler fuel, stenter, compressed air and common plant loads are excluded. The output must therefore not be labelled total energy efficiency. Steam mass alone is not thermal energy; pressure, temperature, supply/return conditions and a defined boundary are required. The first pilot will not invent those inputs to convert steam into kWh.

LBNL's December 2022 study examines electrification of textile steam and thermal-oil boilers in scenarios for China, Japan and Taiwan. Here it reminds us that an electricity meter may not represent process heat; it is not evidence of costs or savings at a Turkish facility. LBNL

Our water record is fresh-water input. Subtracting reused water again from that reading would double-count the benefit. Gross process water, reuse and fresh-water input require separate boundaries. Reuse is zero in this example. If equipment cleaning is recorded as a shared activity rather than assigned to the next lot, show that share separately.

The specific-water indicator in EU Decision 2022/2508 uses annual quantities for a defined process, including the treatment of reused/recycled water and annual material processed. It is not the same as accepted kilograms in one batch. Do not treat the document as an automatic pilot acceptance threshold or a legal compliance assessment for a Turkish facility. European Commission

Put a data contract between the bill and the production sheet

A data contract is a small agreement about how files join and what their fields mean. The first version requires:

  • Lot and portion

    lot ID, child-portion ID, parent lineage, product family, shade class, recipe ID and revision.

  • Pass

    unique operation ID, first-pass/rework type, machine ID, start/end timestamps with time zone, processed mass, mass basis and quality reason.

  • Meter

    meter ID, electricity or fresh water, covered equipment, unit, opening/closing readings, reading timestamps, reset/rollover and missing-data flags.

  • Mapping

    the meter interval linked to each operation, direct measurement versus allocation, and any allocation factor with its justification.

  • Acceptance

    final accepted mass, quality release time and approving role. The first synthetic example uses roles instead of personal names.

  • Evidence

    source file, row, import version and validation status. Corrections create versions instead of deleting prior records.

When one meter serves two machines simultaneously, do not assign the entire reading to both lots. An unverified allocation is not even an allocated batch metric: report only the shared-boundary total. For approved allocations, factors must sum to one and allocated quantities must reconcile to the source total. Do not hide discrepancies by dropping time intervals or shared cleaning loads.

Turkish Excel exports may differ in decimal separators, date formats and column labels. Preserve the source file and convert it through a documented mapping into one schema. Do not guess an ambiguous 03/04 date or 1.000 number. Display labels can remain Turkish; machine field names should be stable and versioned.

Product mix: do not compress all lots into one average

Dark cotton using R17-v2 is not in the same cohort as light polyester using R22-v1. The first pilot compares examples matched on product family, recipe revision, shade class, machine family and loading class. A recipe revision must not retroactively replace the old cohort.

A week with more demanding recipes may show higher total L/kg without worse performance. First show within-cohort results and production-mass weights. Do not add ratios or take an unweighted mean: within a consistent boundary and denominator, divide total consumption by total mass. This small pilot does not replace a baseline or statistical uncertainty analysis needed for causal savings claims.

The smallest useful architecture

Architecture options for the first pilot
OptionStrengthLimitation for this first pilot
Local CSV + Python Decimal + JSON Schema + HTML reportFew dependencies, transparent arithmetic, row-level traceabilityNeeds expansion for scale and user management
Local pandas/Pandera validationUseful for growing table-level validation rulesAdditional package/version maintenance; semantic decisions still required
Direct OT/meter connectionMore frequent automated dataAdds network, security, clock alignment and operational ownership; unnecessary here

Choose the first option. A CPU laptop is a candidate, not a guarantee of capacity or runtime without measurement. No GPU, language model, cloud or live production-network connection is required. Decimal makes decimal arithmetic explicit; it cannot correct the wrong boundary or mass. JSON Schema checks structure and types; reconciliation and lineage need separate business-rule tests. Python · JSON Schema

Acquire and pin Python and validation dependencies during provisioning. Software licences and permission to use plant data are separate matters. No model weights are used, so no model-weight licence applies; synthetic examples do not grant rights to customer data. A file-processing acceptance test with outbound networking blocked is proposed after provisioning. An offline report does not make the whole installation chain offline. The package reference replay ran in an egress-isolated Linux namespace with an identical output hash. Clean-target provisioning has not been tested; this local check is not field acceptance. python-jsonschema

Normal processing, errors and human review

Validation flow: valid measurements become report candidates, uncertain records require review, invalid data is quarantined, and revisions are revalidated.
Valid measurements are report candidates. Missing lineage or shared meters require review; invalid records are quarantined. Corrections are revalidated as new revisions. Human approval does not create missing evidence. Retry paths are described in the SVG footer.

Copy the source files → validate the schema → check meter/pass mapping → compute ratios on consistent mass bases → present the evidence-linked decision card. Missing mass, ambiguous units, meter resets and overlapping intervals stop the affected indicator. Show a reason code, not zero. Corrected sources trigger a versioned rerun while preserving the old report.

Operations, quality and data owners jointly accept the explanation or request further evidence. The tool does not release quality, alter recipes, issue PLC commands or send work orders. First paid-pilot hypothesis: a customer may pay not for another consumption chart, but for identifying which rework case to investigate with less manual joining. That hypothesis is not yet measured or validated with a customer.

What counts as pilot success?

Agree acceptance criteria with the plant before use: every expected synthetic value is correct; every deliberately invalid record stops with a reason; every figure traces to source rows; direct, allocated and uncomputable consumption remain distinct; identical inputs and versions reproduce identical outputs. These are proposed software acceptance criteria, not industry efficiency targets.

A field stage can also measure eligible-data coverage and decision-card review time. Establish the existing manual method's duration on the same defined task first. Do not report percentage savings while ignoring product mix, quality or production safety. If the boundary cannot be agreed, the pilot may end with only a data-gap map. That is an honest stopping outcome.

Starting decision: one machine, one recipe revision, one normal and one reworked synthetic lot. Introduce actual data only after written agreement on ownership, scope and retention. Settle “Which decision? Which accepted kilogram? Which meter boundary?” before adding technology.

Sources

Sources checked on 16 November 2026. Tool links refer to the named documentation and versions, not a claim of latest releases. Pandera is an alternative and was not executed in this pilot. Synthetic examples are not customer or field results.

  1. European Commission · Decision (EU) 2022/2508 · Definitions
  2. LBNL · Electrification of Steam and Thermal Oil Boilers in the Textile Industry · 2022
  3. Python · Decimal · Python 3.12 documentation
  4. JSON Schema · Draft 2020-12
  5. python-jsonschema · v4.26.0 · MIT
  6. Pandera · v0.25.0 reference tag · MIT