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

FinancialDetails

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

Details of a financial analysis. Some of these details are already stored at higher levels (e.g., out of pocket cost). Total money amounts are over a lifetime period defined by the panel_lifetime_years field in SolarPotential. Note: The out of pocket cost of purchasing the panels is given in the out_of_pocket_cost field in CashPurchaseSavings.

interface FinancialDetails {
costOfElectricityWithoutSolar?: Money;
federalIncentive?: Money;
initialAcKwhPerYear?: number;
lifetimeSrecTotal?: Money;
netMeteringAllowed?: boolean;
percentageExportedToGrid?: number;
remainingLifetimeUtilityBill?: Money;
solarPercentage?: number;
stateIncentive?: Money;
utilityIncentive?: Money;
}

§Properties

§
costOfElectricityWithoutSolar?: Money
[src]

Total cost of electricity the user would have paid over the lifetime period if they didn't install solar.

§
federalIncentive?: Money
[src]

Amount of money available from federal incentives; this applies if the user buys (with or without a loan) the panels.

§
initialAcKwhPerYear?: number
[src]

How many AC kWh we think the solar panels will generate in their first year.

§
lifetimeSrecTotal?: Money
[src]

Amount of money the user will receive from Solar Renewable Energy Credits over the panel lifetime; this applies if the user buys (with or without a loan) the panels.

§
netMeteringAllowed?: boolean
[src]

Whether net metering is allowed.

§
percentageExportedToGrid?: number
[src]

The percentage (0-100) of solar electricity production we assumed was exported to the grid, based on the first quarter of production. This affects the calculations if net metering is not allowed.

§
remainingLifetimeUtilityBill?: Money
[src]

Utility bill for electricity not produced by solar, for the lifetime of the panels.

§
solarPercentage?: number
[src]

Percentage (0-100) of the user's power supplied by solar. Valid for the first year but approximately correct for future years.

§
stateIncentive?: Money
[src]

Amount of money available from state incentives; this applies if the user buys (with or without a loan) the panels.

§
utilityIncentive?: Money
[src]

Amount of money available from utility incentives; this applies if the user buys (with or without a loan) the panels.