feat: 增加平台高度参数,优化电缆长度计算
This commit is contained in:
@@ -11,7 +11,8 @@ def create_template():
|
||||
'ID': 'Sub1',
|
||||
'X': 4000,
|
||||
'Y': -800,
|
||||
'Power': 0
|
||||
'Power': 0,
|
||||
'PlatformHeight': 0
|
||||
})
|
||||
|
||||
# Add Turbines (Grid layout)
|
||||
@@ -29,7 +30,8 @@ def create_template():
|
||||
'ID': i,
|
||||
'X': x,
|
||||
'Y': y,
|
||||
'Power': np.random.uniform(6.0, 10.0)
|
||||
'Power': np.random.uniform(6.0, 10.0),
|
||||
'PlatformHeight': 0
|
||||
})
|
||||
|
||||
df = pd.DataFrame(data)
|
||||
|
||||
Reference in New Issue
Block a user