phil-sandwell / CLOVER

CLOVER minigrid simulation and optimisation for supporting rural electrification in developing countries
MIT License
9 stars 10 forks source link

Replace lists with pre-sized dataframes in energy_system #51

Open BenWinchester opened 3 years ago

BenWinchester commented 3 years ago

Having a list that changes size on each iteration is computationally resource-consuming. To speed up the energy system simulation, lists should be replaced with fixed-sized dataframes.