[feature] Save Reinhart sky discretization output to csv (cache files)
Summary
Write the output of ReinhartSky() to disk so it can be reused in future simulations, instead of recomputing it everytime.
Current behavior
The Reinhart sky discretization scheme is recomputed everytime we need it in the simulation scripts.
Desired behavior
The discretization of the sky can take a long time for high MF values. To improve efficiency, we should store the discretization result on disk. This would allow us to reuse it.
The logic :
- Call ReinhartSky() with an MF value
- Add a method to check if the discretization with the MF value has already been computed and stored
- If yes :
- load it
- continue the simulation
- If not :
- compute the discretization
- write it to disk (pickle or csv ?)
- continue the simulation
Sources
n/a
Linked features or branches
Edited by Bouvry Arnaud