Development of a software framework to assess the potential of adaptive trailing edge flaps on horizontal-axis wind turbines