Contour plot of AEP #768
-
I am trying to search for a way to plot a contour diagram visualising the percentage loss of AEP for each turbine in wind farm as shown in the attached image (retrieved from https://iopscience.iop.org/article/10.1088/1742-6596/2265/2/022049/pdf ). I am thinking of calculating the percentage loss of AEP for each turbine in the following process.
Is there any way to convert such array of AEP into a contour plot. Sincerely, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @Teddybear0227, we don't have any inbuilt functionality for generating this kind of plot. However, I think you should be able to achieve what you want pretty quickly with matplotlib.pyplot.scatter. Here's an example that could get you started:
which generates In fact, you'll find some very similar code in example 29_floating_vs_fixedbottom_farm.py, so you could also take a look at that for some more refined plotting code. |
Beta Was this translation helpful? Give feedback.
-
Hello @misi9170 !! Thank you very much for the information. The method worked perfectly for me. Sincerely, |
Beta Was this translation helpful? Give feedback.
Hi @Teddybear0227, we don't have any inbuilt functionality for generating this kind of plot. However, I think you should be able to achieve what you want pretty quickly with matplotlib.pyplot.scatter.
Here's an example that could get you started:
which generates
In fact, you'll find some very similar code in example 29_floating_vs_fixedbottom_fa…