open-plan-tool / gui

Energy Planning Application
Other
8 stars 4 forks source link

[Tool] No error required if the LCOE is lower than the feed-in tariff #149

Open FredericHirschmueller opened 2 years ago

FredericHirschmueller commented 2 years ago

If the LCOE of an asset is lower than the feed-in tariff the following error accures:

"ValueError: Feed-in tariff of Electricity (0.07) > levelized costs of generation for energy asset 'PV - Optimiert' with 0.0502. This may cause an unbound solution and terminate the optimization, if there are no additional costs in the supply line. If this happens, please check the costs of your assets or the feed-in tariff. If both are correct, consider setting a maximum capacity constraint (maximumCap) for the relevant assets."

If we implement the new feature to cap the feed-in capacity this error should be changed to a warning, because the limitation of the feed-in capacity prevents an unbound solution.