This PR replaces the original piecewise linearization scheme with one that uses the great pwlf package. This allows us to use an arbitrary number of pieces, rather than the original 4 or 8.
Additionally, it cleans up the energy_prices preprocessing folder, deleting unused files and simplifying the structure.
I have just tested the piecewise linearization script.
This PR replaces the original piecewise linearization scheme with one that uses the great pwlf package. This allows us to use an arbitrary number of pieces, rather than the original 4 or 8.
Additionally, it cleans up the energy_prices preprocessing folder, deleting unused files and simplifying the structure.
I have just tested the piecewise linearization script.