{ "id": "single-software-execution--cli--floris--task-07--ubuntu", "snapshot": "FLORIS4.6.4", "instruction": "Begin with a complete two-turbine configuration `/home/user/Desktop/two_turbine.yaml` and a post-processing template `/home/user/Desktop/flow_plane_base.py`. Use Python with `floris==4.6.4` and `FlorisModel.sample_flow_at_points`. For this workflow, 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.\n\nComplete the following from the command line: 1. Write `/home/user/Desktop/flow_plane.py`: run the supplied model at wind direction `270 deg`, wind speed `8 m/s`, and turbulence intensity `0.06`; sample effective velocity at hub height `z=90 m` on the wake centerline `y=0` for `x=756,766,...,4996 m` (starting one rotor diameter downstream of the second turbine); and save `/home/user/Desktop/flow_plane.csv` with header `x,y,u_eff`. 2. Find the minimum sampled velocity. Define wake recovery as the first sampled point where `u_eff >= 0.95 * 8 m/s`, and report its downstream distance from the second turbine center at `x=630 m`. Execute the script and write `/home/user/Desktop/summary.txt` as `min_velocity_ms, wake_recovery_distance_m`. 3. Do not use a GUI.", "source": "https://github.com/NatLabRockies/floris", "config": [ { "type": "upload_file", "parameters": { "files": [ { "local_path": "task-07/init_file/flow_plane_base.py", "path": "/home/user/Desktop/flow_plane_base.py" }, { "local_path": "task-07/init_file/two_turbine.yaml", "path": "/home/user/Desktop/two_turbine.yaml" } ] } } ], "trajectory": "trajectories/", "related_apps": [ "floris" ], "artifact_paths": [ "/home/user/Desktop/flow_plane.csv", "/home/user/Desktop/flow_plane.py", "/home/user/Desktop/summary.txt" ], "evaluator": { "postconfig": [ { "type": "upload_file", "parameters": { "files": [ { "local_path": "task-07/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" }