Skip to content

Main content

Energy Tariff Time Band Boundary Tool

Check a supplied half-open daily tariff time band, including midnight wrapping and an empty equal-endpoint band, without selecting tariffs.

Loading tool…

Description

Check a clock minute against a supplied daily tariff band.

Energy prices and charges depend on energy units, demand units, standing-charge days, tariff periods and settlement sign conventions. Purchased-energy losses differ from delivered-energy fractions, and signed prices can produce negative monetary terms. Nominal battery cost allocations are supplied scenarios rather than physical aging forecasts.

Check a clock minute against a supplied daily tariff band.

When to use this tool

Use Energy Tariff Time Band Boundary when you already have minuteOfDay, bandStart, bandEnd and need to check a clock minute against a supplied daily tariff band.

How to use the tool and how it works

  1. Enter minuteOfDay, bandStart, bandEnd. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read withinBand. Inspect withinBand before interpreting the associated values.

Require whole minutes 0..1439. A forward band includes start and excludes end; a crossing-midnight band uses minute>=start or minute<end. Equal endpoints define an empty band.1

Input fieldMeaning and unitsAccepted input
minuteOfDayMinute Of DayRequired. Safe integer; minimum 0; maximum 1439.
bandStartInclusive clock minute 0..1439.Required. Safe integer; minimum 0; maximum 1439.
bandEndExclusive clock minute 0..1439; equal endpoints make an empty band, not a full day.Required. Safe integer; minimum 0; maximum 1439.
Output fieldInterpretationReturned shape
withinBandWithin BandRequired. Boolean.
json
{
  "input": {
    "minuteOfDay": 30,
    "bandStart": 1320,
    "bandEnd": 120
  },
  "output": {
    "withinBand": true
  }
}

Limitations and assumptions

  • A repeated daily clock is assumed; no date, timezone, daylight-saving transition or actual tariff schedule is resolved. Equal endpoints do not mean all day.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
  • Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.

Alternative or Complementary methods

Reconcile the actual meter series, tariff, contract and billing definitions for an account or market question. Use a complete cash-flow or physical-energy model when needed; a single block overlap, index ratio or supplied settlement term cannot establish actual charges or performance.

References

  1. Calculation and input contract: energy-economics/energy-tariff-time-band-boundary — tool.io

Similar or alternative tools