[feature] Add a control module
Summary
Add a "control" module to pilot the APV central tracking.
Current behavior
The workflow is linear, except for a few alternatives (e.g. download weather data or use weather data file from disk). For the tracking angle, it is computed only when creating the central and there is only 1 available control law.
Desired behavior
- Create a control module where it is easy to add new control laws (true tracking, backtracking, specific tracking that prioritizes crops at certain times of the day or with respect to a conditional, etc.)
- Accept user files as inputs for the tracking of the panels (time series of tilt of the PV modules generated from external software)
- Discontinuous tracking: set angular resolution to reduce the number of central tilt values (e.g. 10° in first approach), in order to reduce the number of masks to compute via raytracing for direct and diffuse irradiance and keep computing time down. The resolution should be a parameter of the simulation. ==> To be resolved in another issue.
Sources
Discontinuous tracking: https://pvlib-python.readthedocs.io/en/stable/gallery/solar-tracking/plot_discontinuous_tracking.html#sphx-glr-gallery-solar-tracking-plot-discontinuous-tracking-py
Linked features or branches
PlantUML of the resolution proposed by AgriOse
Edited by Bruhwyler Roxane