Skip to main content
Challenge

Build an OPC UA Tariff-Aware Energy Batch Rescheduler

Parse energy telemetry nodes from OPC UA servers via asyncua against dynamic utility tariff rates. Formulate optimal production run schedules that shift high-draw manufacturing operations out of peak pricing windows.

EngineeringHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Parse energy telemetry nodes from OPC UA servers via asyncua against dynamic utility tariff rates. Formulate optimal production run schedules that shift high-draw manufacturing operations out of peak pricing windows.

Plant Energy Manager

Extract power draw profiles from normalized OPC UA variable telemetry logs via asyncua.

Load multi-tier electricity tariff schedules and factory production order deadlines.

Evaluate load shift scenarios against equipment setup constraints and shift hours using Optuna.

Produce an energy-optimized shift production schedule with projected cost savings.

Comparative timetable visualization showing baseline vs rescheduled batch power curves.

Generate synthetic JSON fixtures containing simplified synthetic app records for machine kW draw and simulated hourly utility tariffs. Starter examples below are synthetic. They are not downloaded records.

open62541 OPC UA Leverages OPC UA information modeling concepts and telemetry variable nodes referenced in Source 0.

optuna, pandas, asyncua. Optuna handles multi-constraint optimization for scheduling batch operations against tariff windows. Local lightweight model or hosted API for natural language schedule rationale explanation.

Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.

Reduces peak window energy consumption by at least 15% in test runs.

Preserves all committed customer order batch deadlines without tardiness.

Generates a structured schedule export for production supervisors.

```json [ { "input": { "batch_id": "HEAT-TREAT-88", "power_draw_kw": 250, "duration_hours": 3, "deadline_hour": 18, "base_cost_per_kwh": 0.12, "tariff_windows": [ { "start": 13, "end": 17, "cost_per_kwh": 0.42 } ] }, "expected_output": { "batch_id": "HEAT-TREAT-88", "scheduled_start_hour": 10, "scheduled_end_hour": 13, "projected_energy_cost": 90, "avoided_peak_tariff": true } }, { "input": { "batch_id": "MELT-02", "power_draw_kw": 400, "duration_hours": 2, "deadline_hour": 15, "base_cost_per_kwh": 0.12, "tariff_windows": [ { "start": 13, "end": 17, "cost_per_kwh": 0.45 } ] }, "expected_output": { "batch_id": "MELT-02", "scheduled_start_hour": 11, "scheduled_end_hour": 13, "projected_energy_cost": 96, "avoided_peak_tariff": true } } ] ```

Read-only advisory scheduling; requires plant planner manual sign-off before committing runs to MES. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Read-only advisory scheduling; requires plant planner manual sign-off before committing runs to MES. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Reduces peak window energy consumption by at least 15% in test runs. Preserves all committed customer order batch deadlines without tardiness. Generates a structured schedule export for production supervisors.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

Complete workflow

Extract power draw profiles from normalized OPC UA variable telemetry logs via asyncua. Load multi-tier electricity tariff schedules and factory production order deadlines. Evaluate load shift scenarios against equipment setup constraints and shift hours using Optuna. Produce an energy-optimized shift production schedule with projected cost savings.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

Correctness and evidence

Reduces peak window energy consumption by at least 15% in test runs. Preserves all committed customer order batch deadlines without tardiness. Generates a structured schedule export for production supervisors.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

Comparative timetable visualization showing baseline vs rescheduled batch power curves.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

Read-only advisory scheduling; requires plant planner manual sign-off before committing runs to MES.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

What you should walk away with

  • Extract power draw profiles from normalized OPC UA variable telemetry logs via asyncua.

  • Load multi-tier electricity tariff schedules and factory production order deadlines.

  • Evaluate load shift scenarios against equipment setup constraints and shift hours using Optuna.

  • Produce an energy-optimized shift production schedule with projected cost savings.

Resources and assets

Reference links and supporting material

Dataset notes

Generate synthetic JSON fixtures containing simplified synthetic app records for machine kW draw and simulated hourly utility tariffs. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Configuration summary for this challenge.

Challenge input

Input details are not configured.

Optuna

Hyperparameter Optimization

Evaluated output

No output checks are configured.

Evaluation checks
  • Extract power draw profiles from normalized OPC UA variable telemetry logs via asyncua. Load multi-tier ele...
  • Reduces peak window energy consumption by at least 15% in test runs. Preserves all committed customer order...
  • Comparative timetable visualization showing baseline vs rescheduled batch power curves.
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 1 configured tool

Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.

View technical recipe

Configured tools

Action Space
  • Optuna · Optional

Evaluation contract

  • Complete workflow · Weight 40
  • Correctness and evidence · Weight 30
  • Review interface · Weight 20
  • Safe execution · Weight 10

Reference cases

  • 2 public reference cases

Workflow tasks

No workflow tasks are configured.

Recipe freeze marker

No recipe freeze time is recorded.

Frequently Asked Questions about Build an OPC UA Tariff-Aware Energy Batch Rescheduler