HongchengGao's picture
Align task taxonomy and IDs with the updated paper; main evaluation 306
3de3b50 verified
Raw History Blame Contribute Delete
2.6 kB
{
"id": "single-software-execution--cli--floris--task-09--ubuntu",
"snapshot": "FLORIS4.6.4",
"instruction": "Using FLORIS 4.6.4 from the command line, optimize a four-turbine layout. FLORIS is provided as the Python `floris` package at `/home/user/.local/lib/python3.12/site-packages/floris`; run the workflow from Python rather than looking for a separate desktop program. Start at `layout_x=[0,500,0,500] m` and `layout_y=[0,0,500,500] m` with four `nrel_5MW` turbines. Use wind directions `[270,280,290] deg`, wind speeds `[8,8,8] m/s`, turbulence intensities `[0.06,0.06,0.06]`, and frequencies `[0.5,0.3,0.2]`. Constrain every turbine to the polygon `(-100,-100),(600,-100),(600,600),(-100,600)` and require minimum pairwise spacing `378 m`. Write `/home/user/Desktop/layout_opt.py` using `LayoutOptimizationScipy` or another constrained SciPy method. Compute frequency-weighted AEP before and after optimization, verify the constraints, and write the four optimized coordinates to `/home/user/Desktop/optimized_layout.csv` with header `x,y`. Write `/home/user/Desktop/summary.txt` as `initial_aep_gwh, optimized_aep_gwh, min_spacing_m`. The submitted layout must have AEP at least 2% above the initial layout; exact coordinates may vary. Execute the script. Do not use a GUI.",
"source": "https://github.com/NatLabRockies/floris",
"config": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-09/init_file/layout_opt_base.py",
"path": "/home/user/Desktop/layout_opt_base.py"
}
]
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"floris"
],
"artifact_paths": [
"/home/user/Desktop/layout_opt.py",
"/home/user/Desktop/optimized_layout.csv",
"/home/user/Desktop/summary.txt"
],
"evaluator": {
"postconfig": [
{
"type": "upload_file",
"parameters": {
"files": [
{
"local_path": "task-09/eval.py",
"path": "/home/user/Desktop/eval.py"
},
{
"local_path": "eval_utils.py",
"path": "/home/user/Desktop/eval_utils.py"
}
]
}
}
],
"func": "exact_match",
"result": {
"type": "vm_command_line",
"command": "python3 /home/user/Desktop/eval.py",
"shell": "true"
},
"expected": {
"type": "rule",
"rules": {
"expected": "True\n"
}
}
},
"proxy": false,
"fixed_ip": false,
"possibility_of_env_change": "low"
}