File size: 4,081 Bytes
5154c4e
3de3b50
5154c4e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
  "id": "single-software-execution--cli--openfast--task-18--ubuntu",
  "snapshot": "openfast5",
  "instruction": "For this task, start with a complete NREL 5 MW ROSCO controller input `/home/user/Desktop/DISCON.IN`, the OpenFAST model `/home/user/Desktop/rosco_base.fst`, the ROSCO v2.10.5 Linux controller library `/home/user/Desktop/libdiscon.so`, and its rotor-performance table. Additional initialization dependencies are pre-uploaded under `/home/user/Desktop` with relative structure preserved. Only initialization inputs are included; no answer/result artifacts are preloaded. Run `/home/user/miniconda3/bin/openfast` from a terminal.\n\nComplete a two-case pitch-controller gain study from the command line: 1. Generate `/home/user/Desktop/rosco_soft.IN` and `/home/user/Desktop/rosco_stiff.IN`. Preserve `PC_GS_n=30`, `PC_GS_angles`, and every non-pitch-gain setting. In both `PC_GS_KP` and `PC_GS_KI`, multiply every one of the 30 signed baseline values by 0.5 for the soft case and by 1.5 for the stiff case; do not replace these ROSCO gain-schedule arrays with legacy scalar `PC_Kp`/`PC_Ki` fields. 2. Copy the supplied ElastoDyn and AeroDyn inputs to `/home/user/Desktop/elasto_rosco.dat` and `/home/user/Desktop/aero_rosco.dat`, changing their old `../5MW_Baseline/` references to `5MW_Baseline/`. Generate matching ServoDyn files `/home/user/Desktop/servo_soft.dat` and `/home/user/Desktop/servo_stiff.dat` that load `libdiscon.so` and the corresponding controller input. Generate `/home/user/Desktop/rosco_soft.fst` and `/home/user/Desktop/rosco_stiff.fst` from `rosco_base.fst`; reference these local module copies, use the supplied 12 m/s TurbSim wind input, set `TMax=60 s`, `DT_Out=0.1 s`, and text output (`OutFileFmt=1`). 3. Run both cases with OpenFAST 5.0.0 and save terminal logs as `/home/user/Desktop/rosco_soft.log` and `/home/user/Desktop/rosco_stiff.log`. 4. Write `/home/user/Desktop/postprocess.py` and compute population standard deviations over the inclusive `t=10.0...60.0 s` window (501 native samples) for `RotSpeed` in rpm, `BldPitch1` in degrees, and `GenPwr` in kW. 5. Save exactly one comma-separated row to `/home/user/Desktop/summary.txt` in this order: `soft_rpm_std,stiff_rpm_std,soft_pitch_std,stiff_pitch_std,soft_power_kw_std,stiff_power_kw_std`. 6. Do not use GUI tools.",
  "source": "https://github.com/openFAST/r-test",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-18/init_file/init_file.tar",
            "path": "/home/user/Desktop/init_file.tar"
          }
        ]
      }
    },
    {
      "type": "launch",
      "parameters": {
        "command": "bash -c \"mkdir -p '/home/user/Desktop/' && tar -xf '/home/user/Desktop/init_file.tar' -C '/home/user/Desktop/' && rm -f '/home/user/Desktop/init_file.tar'\"",
        "shell": true
      }
    }
  ],
  "trajectory": "trajectories/",
  "related_apps": [
    "openfast"
  ],
  "artifact_paths": [
    "/home/user/Desktop/aero_rosco.dat",
    "/home/user/Desktop/elasto_rosco.dat",
    "/home/user/Desktop/postprocess.py",
    "/home/user/Desktop/rosco_base.fst",
    "/home/user/Desktop/rosco_soft.fst",
    "/home/user/Desktop/rosco_soft.log",
    "/home/user/Desktop/rosco_stiff.fst",
    "/home/user/Desktop/rosco_stiff.log",
    "/home/user/Desktop/servo_soft.dat",
    "/home/user/Desktop/servo_stiff.dat",
    "/home/user/Desktop/summary.txt"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-18/eval.py",
              "path": "/home/user/Desktop/eval.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"
}