solar-spa/.github/wiki/api/interfaces/SpaOptions.md
Aric Camarata 3c848806ab docs: add TypeDoc API generation (typedoc@0.28.19 + typedoc-plugin-markdown@4.11.0)
Add typedoc and typedoc-plugin-markdown as devDependencies. Add typedoc.json config
targeting src/index.ts with markdown output to .github/wiki/api. Add docs script to
package.json. Generate initial API reference pages.

Part of T-E8-03 — TypeDoc automation for all 12 JS/TS packages.
2026-05-30 16:41:57 -04:00

2.8 KiB

solar-spa v2.0.1


solar-spa / SpaOptions

Interface: SpaOptions

Defined in: types.ts:16

Properties

atmos_refract?

optional atmos_refract?: number

Defined in: types.ts:37

Atmospheric refraction at sunrise/sunset in degrees. Default: 0.5667.


azm_rotation?

optional azm_rotation?: number

Defined in: types.ts:35

Surface azimuth rotation in degrees from south. Default: 0.


delta_t?

optional delta_t?: number

Defined in: types.ts:31

TT-UTC difference in seconds. Default: 67.


delta_ut1?

optional delta_ut1?: number

Defined in: types.ts:29

UT1-UTC correction in seconds. Default: 0.


elevation?

optional elevation?: number

Defined in: types.ts:23

Observer elevation in meters above sea level. Default: 0.


function?

optional function?: SpaFunctionCode

Defined in: types.ts:39

SPA function code. Default: SPA_ALL (3).


pressure?

optional pressure?: number

Defined in: types.ts:25

Atmospheric pressure in millibars. Default: 1013.25.


slope?

optional slope?: number

Defined in: types.ts:33

Surface slope in degrees from horizontal. Default: 0.


temperature?

optional temperature?: number

Defined in: types.ts:27

Temperature in degrees Celsius. Default: 15.


timezone?

optional timezone?: number

Defined in: types.ts:21

Hours from UTC. If omitted, derived from the Date object's local offset. For historical dates or DST transitions, pass an explicit value.