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

Set avail type raw default to zero? #29

Open martinhjel opened 7 months ago

martinhjel commented 7 months ago

https://github.com/ntnuiotenergy/OpenEMPIRE/blob/8008ee00024ad183cfeea6a5a8536df1e537c9e7/Empire.py#L226C63-L226C66

If the generator is not referenced in Generator.xlsx, sheet GeneratorTypeAvailability, the generator is given a availability of 1 and hence the stochastic data is not used (even if it is available)). Better to set default to 0, to avoid this silent bug?