> Documentation index: https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/EnergyScenarioAnalysisTrait/llms.txt

    struct Attributes

The attributes for the `EnergyScenarioAnalysisTrait`.
- `


  ### [cumulativeEstimatedSavings](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/EnergyScenarioAnalysisTrait/Attributes.md.txt#/s:15GoogleHomeTypes0A0O27EnergyScenarioAnalysisTraitV10AttributesV26cumulativeEstimatedSavingsAE0jK0VSgvp)


  ` Cumulative estimated savings across simulated history. The period grows as more history
  accrues. Written by the batch pipeline and refreshed on each EnergyScenarioAnalysisEvent.
  Not populated until the structure has been simulated at least once.

  #### Declaration

  Swift

      let cumulativeEstimatedSavings: Google.EnergyScenarioAnalysisTrait.EstimatedSavings?

- `


  ### [latestEnergyTariffSnapshotsArray](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/EnergyScenarioAnalysisTrait/Attributes.md.txt#/s:15GoogleHomeTypes0A0O27EnergyScenarioAnalysisTraitV10AttributesV06latestD20TariffSnapshotsArraySayAE0dJ8SnapshotVGSgvp)


  ` The latest energy tariff snapshots used for simulations, one per active fuel type.

  #### Declaration

  Swift

      let latestEnergyTariffSnapshotsArray: [Google.EnergyScenarioAnalysisTrait.EnergyTariffSnapshot]?

- `


  ### [latestHvacSystemSizeSnapshotsArray](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/EnergyScenarioAnalysisTrait/Attributes.md.txt#/s:15GoogleHomeTypes0A0O27EnergyScenarioAnalysisTraitV10AttributesV34latestHvacSystemSizeSnapshotsArraySayAE0jkL8SnapshotVGSgvp)


  ` The latest HVAC system size snapshots used for simulations.

  #### Declaration

  Swift

      let latestHvacSystemSizeSnapshotsArray: [Google.EnergyScenarioAnalysisTrait.HvacSystemSizeSnapshot]?

- `


  ### [latestEnergySavingsCounterfactualArray](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/EnergyScenarioAnalysisTrait/Attributes.md.txt#/s:15GoogleHomeTypes0A0O27EnergyScenarioAnalysisTraitV10AttributesV06latestD26SavingsCounterfactualArraySayAE21DeviceSettingsChangesVGSgvp)


  ` The latest per-device settings changes (including comfort target overrides) used for
  simulating a counterfactual from which we derive energy savings.

  #### Declaration

  Swift

      let latestEnergySavingsCounterfactualArray: [Google.EnergyScenarioAnalysisTrait.DeviceSettingsChanges]?

- `


  ### [==(_:_:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/EnergyScenarioAnalysisTrait/Attributes.md.txt#/s:15GoogleHomeTypes0A0O27EnergyScenarioAnalysisTraitV10AttributesV2eeoiySbAG_AGtFZ)


  ` Returns a Boolean value indicating whether two values are equal.

  Equality is the inverse of inequality. For any values `a` and `b`,
  `a == b` implies that `a != b` is `false`.

  #### Declaration

  Swift

      static func == (lhs: Google.EnergyScenarioAnalysisTrait.Attributes, rhs: Google.EnergyScenarioAnalysisTrait.Attributes) -> Bool

  #### Parameters

  |---|---|
  | ` lhs ` | A value to compare. |
  | ` rhs ` | Another value to compare. |

- `


  ### [hash(into:)](https://developers.home.google.com/reference/swift/GoogleHomeTypes/Enums/Google/EnergyScenarioAnalysisTrait/Attributes.md.txt#/s:15GoogleHomeTypes0A0O27EnergyScenarioAnalysisTraitV10AttributesV4hash4intoys6HasherVz_tF)


  ` Hashes the essential components of this value by feeding them into the
  given hasher.

  Implement this method to conform to the `Hashable` protocol. The
  components used for hashing must be the same as the components compared
  in your type's `==` operator implementation. Call `hasher.combine(_:)`
  with each of these components.
  Important

  In your implementation of `hash(into:)`,
  don't call `finalize()` on the `hasher` instance provided,
  or replace it with a different instance.
  Doing so may become a compile-time error in the future.

  #### Declaration

  Swift

      func hash(into hasher: inout Hasher)