duplicated runs gives different result
from DWMpy import DWM_linker
import matplotlib.pyplot as plt
fn_DLL = '../DWM_standalone.dll'
import os
print (os.path.abspath(fn_DLL))
# connect DWMpy to standalone DWM DLL
DWM = DWM_linker(fn_DLL)
# load a turbine using a htc file.
with DWM.load_from_htc('htc/DTU_10MW_RWT.htc') as sim:
# Get the radial wake deficit function at 10m/s, TI=0.15, 3D downstream
deficit1 = sim.get_wake_deficit(10, 0.15, 1, 0, 3*178)
deficit2 = sim.get_wake_deficit(10, 0.15, 1, 0, 3*178)
deficit3 = sim.get_wake_deficit(10, 0.15, 1, 0, 3*178)
print (deficit1[0,1])
print (deficit2[0,1])
print (deficit3[0,1])
output:
-5.578907658960725
-5.579450081973377
-5.579444190715006