Skip to content

cost model changed to accommodate all ghost turbine case (i.e. AEP=0) & a new example added

Emre Barlas requested to merge costcompforcapacityconst into master

This has been lying around in my computer for a while since the capacity constraint is added. It is just ensuring the economical model does not fail in case there is zero AEP and also ensures that a single ghost turbine cost is zero.

The newly added example test did not pass due to pyWake I think. I believe once the pyWake is settled with respect to the required inputs to AEPCalc = AEPCalculator(wake_model) the test will pass.

in my computer it runs fine (except this problem)

@pire could you also have a look to ensure this code does not interfere with the electrical cost .

Merge request reports