ntnuiotenergy / OpenEMPIRE

Stochastic linear program for investments in the European power system
https://openempire.readthedocs.io/en/latest/
MIT License
16 stars 15 forks source link

Feature/data read improve #3

Closed chriska85 closed 3 years ago

chriska85 commented 3 years ago

Made changes to reader.py so that the excel input files are only loaded once per file by panadas.

Also, I've introduced a clipping of stochastic data to reduce the number of small values in the constraint coefficient matrix. Currently all stochastic data are clipped at 0.001 (i.e set to zero). This means for instance that a 1 GW onshore wind resource in a node would never be able to deliver less than 1 MW, even if the underlying wind data from the scenario generation suggests that it technically should. I expect the impact on results to be negligible.