Closed MG-ng closed 7 months ago
Okay, so I found a workaround which is to have a Kite called "NOT_USED" and assign it an area of 0. Somehow, the algorithm will still use it at TWAs over ~120 or 130 degrees and the boat speed drops to about half but at least it calculates the other set of sails in TWAs below 120° :)
Thanks for finding this out @MG-ng. I think this is worth a patch to fix so I'll have a think about what to do here, even if it's to alert that no spinnaker has been selected.
I would like to calculate the values for a setup without a kite (to keep it simple).
However, at the end of the run it throws an error:
You can reproduce this by simply commenting out the following two lines: https://github.com/marinlauber/Python-VPP/blob/2fd978da46cfe58fb412ba127ea20e551d08a17a/runVPP.py#L27-L28 and moving the ] in the next line.
Or is this intentional?