captest.filters.Backtracking
- class captest.filters.Backtracking(*, axis_azimuth, axis_tilt, cross_axis_tilt, gcr, keep_backtracking, custom_name, name)
Remove intervals where single-axis-tracker backtracking is active.
Transcribes pvlib’s own
tracking.singleaxisbacktracking test (Anderson & Mikofski 2020): an interval is backtracking-active when the sun is above the horizon and row-to-row shade would occur under true-tracking. Solar position is computed fromcapdata.site['loc']via pvlib; tracker geometry defaults tocapdata.site['sys']and is overridable per parameter.By default keeps true-tracking intervals and removes backtracking-active ones; set
keep_backtracking=Trueto invert (keep only backtracking).Degrades to a warn-and-no-op (returns the index unchanged) when pvlib is unavailable,
capdata.site(or itsloc/sys) is missing, or the resolved geometry is invalid.- __init__(**params)
Methods
__init__(**params)from_config(config)Build an instance from a
to_config()dict.run(capdata)Execute the step, record runtime state, and append self to filters.
to_config()Serialize this step to a config dict (every param, defaults included; the param-system
nameis omitted).Attributes
args_reprRender the step's params for the summary.
axis_azimuthaxis_tiltcross_axis_tiltcustom_nameexplanationHuman-readable description of the step's effect (read after run()).
gcrkeep_backtrackingnameparam