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

SolarPanelConfig

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

SolarPanelConfig describes a particular placement of solar panels on the roof.

interface SolarPanelConfig {
panelsCount?: number;
roofSegmentSummaries?: RoofSegmentSummary[];
yearlyEnergyDcKwh?: number;
}

§Properties

§
panelsCount?: number
[src]

Total number of panels. Note that this is redundant to (the sum of) the corresponding fields in roof_segment_summaries.

§
roofSegmentSummaries?: RoofSegmentSummary[]
[src]

Information about the production of each roof segment that is carrying at least one panel in this layout. roof_segment_summaries[i] describes the i-th roof segment, including its size, expected production and orientation.

§
yearlyEnergyDcKwh?: number
[src]

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