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

SolarPanel

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

SolarPanel describes the position, orientation, and production of a single solar panel. See the panel_height_meters, panel_width_meters, and panel_capacity_watts fields in SolarPotential for information on the parameters of the panel.

interface SolarPanel {
center?: LatLng;
orientation?: "SOLAR_PANEL_ORIENTATION_UNSPECIFIED" | "LANDSCAPE" | "PORTRAIT";
segmentIndex?: number;
yearlyEnergyDcKwh?: number;
}

§Properties

§
center?: LatLng
[src]

The centre of the panel.

§
orientation?: "SOLAR_PANEL_ORIENTATION_UNSPECIFIED" | "LANDSCAPE" | "PORTRAIT"
[src]

The orientation of the panel.

§
segmentIndex?: number
[src]

Index in roof_segment_stats of the RoofSegmentSizeAndSunshineStats which corresponds to the roof segment that this panel is placed on.

§
yearlyEnergyDcKwh?: number
[src]

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