GoogleApi.Solar.V1.Model.RoofSegmentSummary (google_api_solar v0.4.2)

View Source

Information about a roof segment on the building, with some number of panels placed on it.

Attributes

  • azimuthDegrees (type: number(), default: nil) - Compass direction the roof segment is pointing in. 0 = North, 90 = East, 180 = South. For a "flat" roof segment (pitch_degrees very near 0), azimuth is not well defined, so for consistency, we define it arbitrarily to be 0 (North).
  • panelsCount (type: integer(), default: nil) - The total number of panels on this segment.
  • pitchDegrees (type: number(), default: nil) - Angle of the roof segment relative to the theoretical ground plane. 0 = parallel to the ground, 90 = perpendicular to the ground.
  • segmentIndex (type: integer(), default: nil) - Index in roof_segment_stats of the corresponding RoofSegmentSizeAndSunshineStats.
  • yearlyEnergyDcKwh (type: number(), default: nil) - How much sunlight energy this part of the layout captures over the course of a year, in DC kWh, assuming the panels described above.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Solar.V1.Model.RoofSegmentSummary{
  azimuthDegrees: number() | nil,
  panelsCount: integer() | nil,
  pitchDegrees: number() | nil,
  segmentIndex: integer() | nil,
  yearlyEnergyDcKwh: number() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.