Download task/single-software-execution/cli/floris/task-12/task-12.json from HongchengGao/EngiWorld-Tasks: direct link, hf CLI and curl.
- Browser
- Download file 2.54 kB
-
https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/floris/task-12/task-12.json
- Command line
-
hf download hf://datasets/HongchengGao/EngiWorld-Tasks/task/single-software-execution/cli/floris/task-12/task-12.json
-
curl -L -o task-12.json https://huggingface.co/datasets/HongchengGao/EngiWorld-Tasks/resolve/main/task/single-software-execution/cli/floris/task-12/task-12.json
2.54 kB
| { | |
| "id": "single-software-execution--cli--floris--task-12--ubuntu", | |
| "snapshot": "FLORIS4.6.4", | |
| "instruction": "Start from an uncertainty-analysis template `/home/user/Desktop/uncertain_base.py`. Use Python with `floris==4.6.4`. Before starting the work, 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\nWork from the command line. Build two `nrel_5MW` turbines at `layout_x=[0,630]`, `layout_y=[0,0]` with wind direction `270 deg`, wind speed `8 m/s`, and turbulence intensity `0.06`. Write `/home/user/Desktop/uncertain.py`: optimize yaw once with a standard `FlorisModel` and once with an independently initialized `UncertainFlorisModel(configuration, wd_std=5.0)`, using `YawOptimizationSR` with bounds `[-30,30] deg` and `Ny_passes=[3,4]`. Then use an uncertainty model with `wd_std=5.0` to evaluate the expected farm power of the deterministic strategy's yaw angles and the uncertainty-optimized strategy's yaw angles. Execute the script and write `/home/user/Desktop/summary.txt` as `deterministic_yaw_t0, uncertain_yaw_t0, deterministic_strategy_expected_power_kw, uncertain_strategy_expected_power_kw`. Do not use a GUI.", | |
| "source": "https://github.com/NatLabRockies/floris", | |
| "config": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-12/init_file/uncertain_base.py", | |
| "path": "/home/user/Desktop/uncertain_base.py" | |
| } | |
| ] | |
| } | |
| } | |
| ], | |
| "trajectory": "trajectories/", | |
| "related_apps": [ | |
| "floris" | |
| ], | |
| "artifact_paths": [ | |
| "/home/user/Desktop/summary.txt", | |
| "/home/user/Desktop/uncertain.py" | |
| ], | |
| "evaluator": { | |
| "postconfig": [ | |
| { | |
| "type": "upload_file", | |
| "parameters": { | |
| "files": [ | |
| { | |
| "local_path": "task-12/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" | |
| } | |