Jump to content

WAsP script library?


Recommended Posts

Posted
Hi,

I have a 17 exactly defined positions project. I aim to pick the best combination of 6 out of them. I would like to script a process to evaluate all possible combinations (12376). Is that possible? Is there some API in WAsP? Where can I found some library?

Thanks in advance!
Posted
That sounds like an interesting task. It's possible to do it from an internal script, but could be a little bit clumsy.

By 'internal script', I mean a script file which you launch from the menu inside WAsP when a workspace is already open. The alternative is to perform the calculation using the WAsP automation API, but that requires a more expensive 'developer' licence.

If I was writing this script, I would probably start by making an Excel sheet with lists all the combinations of site locations (6*x,y over 12 columns, one combination per row). Then I'd create the workspace with the 6 turbine sites arbitrarily located. The script would open the Excel sheet and work through row by row: assigning the locations to the six sites and then calculating the new AEP for the farm and writing that back to the Excel sheet in the 13th column, for example.

HTH, Duncan.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...