File size: 3,532 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
{
  "id": "single-software-execution--cli--openfast--task-17--ubuntu",
  "snapshot": "openfast5",
  "instruction": "Work from `/home/user/Desktop/drivetrain.fst`, `/home/user/Desktop/elasto_drivetrain_base.dat`, a controller template, and the supplied 12 m/s TurbSim full-field wind record. 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 drivetrain torque fatigue analysis from the command line. 1. Write `/home/user/Desktop/build_case.py`. Create normalized `/home/user/Desktop/elasto_drivetrain.dat`, `/home/user/Desktop/aero_drivetrain.dat`, and `/home/user/Desktop/servo_drivetrain.dat`; retain native ElastoDyn outputs `RotTorq` and `RotSpeed`. Create `/home/user/Desktop/drivetrain_case.fst` with `TMax=60`, `DT_Out=0.1`, `OutFileFmt=1`, the supplied `5MW_Baseline/NRELOffshrBsline5MW_InflowWind_12mps.dat`, and the generated module files. 2. Run `/home/user/miniconda3/bin/openfast drivetrain_case.fst`, retain `/home/user/Desktop/drivetrain_case.out`, and save the console output as `/home/user/Desktop/drivetrain_case.log`; require normal termination. 3. Write `/home/user/Desktop/postprocess.py`. Discard `t < 10 s`, convert `RotTorq` from kN-m to MN-m, and compute its mean and population standard deviation. Extract turning points after removing consecutive duplicates. Perform ASTM-style four-point rainflow counting using full peak-to-peak ranges: count closed cycles as 1.0 and residual ranges as 0.5. With Woehler exponent `m=4` and `N_eq=50` equivalent cycles (1 Hz over the analyzed 50 s), calculate `DEL=(sum(n_i*range_i^m)/N_eq)^(1/m)`. 4. Save `/home/user/Desktop/summary.txt` as `mean_tq_mnm,std_tq_mnm,del_tq_mnm`. Do not use GUI tools.",
  "source": "https://github.com/openFAST/r-test",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-17/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/build_case.py",
    "/home/user/Desktop/elasto_drivetrain.dat",
    "/home/user/Desktop/aero_drivetrain.dat",
    "/home/user/Desktop/servo_drivetrain.dat",
    "/home/user/Desktop/drivetrain_case.fst",
    "/home/user/Desktop/drivetrain_case.out",
    "/home/user/Desktop/drivetrain_case.log",
    "/home/user/Desktop/postprocess.py",
    "/home/user/Desktop/summary.txt"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-17/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"
}