File size: 3,718 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-20--ubuntu",
  "snapshot": "openfast5",
  "instruction": "Start from `/home/user/Desktop/fatigue_base.fst`, `/home/user/Desktop/turbsim_fatigue_base.inp`, `/home/user/Desktop/inflow_fatigue.dat`, and their version-matched dependencies. Only initialization inputs are preloaded; generate all wind, simulation, cycle, and summary artifacts yourself.\n\nBefore starting the work, the OpenFAST executable is `/home/user/miniconda3/bin/openfast` when working on `fatigue_base.fst`. Complete a fatigue DEL workflow from the command line: 1. Copy the TurbSim template to `/home/user/Desktop/fatigue_wind.inp`, retaining the supplied official seeds (`13428`, `RanLux`), 31x31 grid, `dt=0.05 s`, IEC class B, `AnalysisTime=630 s`, and `UsableTime=ALL`; confirm `HubHt=RefHt=90 m` and `URef=11.4 m/s`. Run TurbSim to generate `/home/user/Desktop/fatigue_wind.bts`, saving its console output as `/home/user/Desktop/turbsim.log`. 2. Create `/home/user/Desktop/fatigue.fst` from the supplied base, run it for 600 s with InflowWind `WindType=3` pointing to that BTS, retain `/home/user/Desktop/fatigue.out`, and save the normal-termination console output as `/home/user/Desktop/openfast.log`. 3. Write `/home/user/Desktop/fatigue_post.py`. Discard samples with `Time<60 s`. For `RootMyb1` and `TwrBsMyt`, remove consecutive duplicates, retain endpoints and local reversals, and apply ASTM E1049 four-point rainflow counting: count closed cycles as 1.0 and every residual range as a 0.5 half cycle. Use full peak-to-valley ranges `S_i`, not amplitudes. Save every range, mean, count, and endpoints to `/home/user/Desktop/cycles.csv`. 4. Compute `DEL=(sum(n_i*S_i^m)/1e6)^(1/m)` with `m=10` for `RootMyb1` and `m=4` for `TwrBsMyt`. Both source channels are kN-m; divide only the final tower DEL by 1000 to report MN-m. 5. Save `/home/user/Desktop/summary.txt` as `rootmyb1_del_knm, twrbsmyt_del_mnm`. 6. Do not use GUI tools.",
  "source": "https://github.com/openFAST/r-test",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-20/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/fatigue_wind.inp",
    "/home/user/Desktop/fatigue_wind.bts",
    "/home/user/Desktop/fatigue_wind.sum",
    "/home/user/Desktop/turbsim.log",
    "/home/user/Desktop/inflow_fatigue.dat",
    "/home/user/Desktop/fatigue.fst",
    "/home/user/Desktop/fatigue.out",
    "/home/user/Desktop/openfast.log",
    "/home/user/Desktop/fatigue_post.py",
    "/home/user/Desktop/cycles.csv",
    "/home/user/Desktop/summary.txt"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-20/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"
}