File size: 3,672 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-03--ubuntu",
  "snapshot": "openfast5",
  "instruction": "Work from `/home/user/Desktop/pitch_step.fst`, `/home/user/Desktop/servo_step_base.dat`, and an NREL 5 MW dependency set. 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.\n\nComplete a deterministic collective-pitch maneuver from the command line. 1. Write `/home/user/Desktop/build_case.py`. Create `/home/user/Desktop/servo_step.dat` from the template and set `TPitManS(1..3)=30.0 s`, `PitManRat(1..3)=10.0 deg/s`, and `BlPitchF(1..3)=10.0 deg`. 2. Create `/home/user/Desktop/elasto_step.dat` and `/home/user/Desktop/aero_step.dat` from the supplied ElastoDyn and AeroDyn files, normalize their dependency paths to the desktop `5MW_Baseline` tree, and request `BldPitch1`, `BldPitch2`, and `BldPitch3` from ElastoDyn. Create `/home/user/Desktop/case.fst` from the main template; set `TMax=60`, `DT_Out=0.1`, `OutFileFmt=1`, and point `EDFile`, `AeroFile`, and `ServoFile` to the generated files. Keep the supplied 12 m/s inflow and controller configuration. 3. Run `/home/user/miniconda3/bin/openfast case.fst`, retain the native text output `/home/user/Desktop/case.out`, and save the console log as `/home/user/Desktop/case.log`; require normal termination. 4. Write `/home/user/Desktop/postprocess.py`. From the native `BldPitch1/2/3` and `GenPwr` channels, compute mean `GenPwr` in kW over `20 <= t < 30 s` and `40 <= t <= 50 s`. Average the three blade pitches, define the 10% and 90% thresholds between the pre-maneuver mean pitch and 10 degrees, and report the elapsed time from first crossing 10% to first crossing 90%. 5. Save `/home/user/Desktop/summary.txt` as one comma-separated row `pre_pwr_kw,post_pwr_kw,pitch_rise_time_s`. Do not use GUI tools.",
  "source": "https://github.com/openFAST/r-test",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-03/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_step.dat",
    "/home/user/Desktop/build_case.py",
    "/home/user/Desktop/case.fst",
    "/home/user/Desktop/case.log",
    "/home/user/Desktop/case.out",
    "/home/user/Desktop/elasto_step.dat",
    "/home/user/Desktop/pitch_step.fst",
    "/home/user/Desktop/postprocess.py",
    "/home/user/Desktop/servo_step.dat",
    "/home/user/Desktop/servo_step_base.dat",
    "/home/user/Desktop/summary.txt"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-03/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"
}