Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

RoofSegmentSummary

import type { RoofSegmentSummary } from "https://googleapis.deno.dev/v1/solar:v1.ts";

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

interface RoofSegmentSummary {
azimuthDegrees?: number;
panelsCount?: number;
pitchDegrees?: number;
segmentIndex?: number;
yearlyEnergyDcKwh?: number;
}

§Properties

§
azimuthDegrees?: number
[src]

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?: number
[src]

The total number of panels on this segment.

§
pitchDegrees?: number
[src]

Angle of the roof segment relative to the theoretical ground plane. 0 = parallel to the ground, 90 = perpendicular to the ground.

§
segmentIndex?: number
[src]

Index in roof_segment_stats of the corresponding RoofSegmentSizeAndSunshineStats.

§
yearlyEnergyDcKwh?: number
[src]

How much sunlight energy this part of the layout captures over the course of a year, in DC kWh, assuming the panels described above.