<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -"
  ],
  "documentType" : "symbol",
  "framework" : "EnergyKit",
  "identifier" : "/documentation/EnergyKit/ElectricityInsightRecord/TariffPeak/init(superOffPeak:offPeak:partialPeak:onPeak:criticalPeak:unknown:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "EnergyKit"
    ],
    "preciseIdentifier" : "s:9EnergyKit24ElectricityInsightRecordV10TariffPeakV08superOffG003offG007partialG002onG008criticalG07unknownAEyx_GxSg_A5Mtcfc"
  },
  "title" : "init(superOffPeak:offPeak:partialPeak:onPeak:criticalPeak:unknown:)"
}
-->

# init(superOffPeak:offPeak:partialPeak:onPeak:criticalPeak:unknown:)

Creates an instance of the energy peak data.

```
init(superOffPeak: Measure?, offPeak: Measure?, partialPeak: Measure?, onPeak: Measure?, criticalPeak: Measure?, unknown: Measure?)
```

## Parameters

`superOffPeak`

The duration of energy or runtime data during super off-peak hours.

`offPeak`

The duration of energy or runtime data during off-peak hours.

`partialPeak`

The duration of energy or runtime data during partial peak hours.

`onPeak`

The duration of energy or runtime data during peak hours.

`criticalPeak`

The duration of energy or runtime data during critical peak hours.

`unknown`

The unknown duration of energy or runtime data.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)