solar-spa/.github/wiki/api/interfaces/SpaResult.md

2.5 KiB

solar-spa v2.0.1


solar-spa / SpaResult

Interface: SpaResult

Defined in: types.ts:42

Properties

azimuth

azimuth: number

Defined in: types.ts:48

Topocentric azimuth angle, eastward from north (navigational convention), in degrees.


azimuth_astro

azimuth_astro: number

Defined in: types.ts:46

Topocentric azimuth angle, westward from south (astronomical convention), in degrees.


eot

eot: number

Defined in: types.ts:60

Equation of time in minutes.


error_code

error_code: number

Defined in: types.ts:62

SPA error code. Always 0 on a successful return (non-zero throws).


incidence

incidence: number

Defined in: types.ts:50

Surface incidence angle in degrees.


sun_transit_alt

sun_transit_alt: number

Defined in: types.ts:58

Sun transit altitude in degrees.


sunrise

sunrise: number

Defined in: types.ts:52

Local sunrise time as fractional hours.


sunset

sunset: number

Defined in: types.ts:54

Local sunset time as fractional hours.


suntransit

suntransit: number

Defined in: types.ts:56

Local sun transit time (solar noon) as fractional hours.


zenith

zenith: number

Defined in: types.ts:44

Topocentric zenith angle in degrees.