File size: 4,166 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
75
76
77
78
79
80
81
82
83
{
  "id": "single-software-execution--cli--openfast--task-10--ubuntu",
  "snapshot": "openfast5",
  "instruction": "Work from `/home/user/Desktop/tsr_scan.fst`, `/home/user/Desktop/elasto_tsr_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 fixed-speed tip-speed-ratio sweep from the command line. 1. Write `/home/user/Desktop/run_sweep.py` to generate four ElastoDyn files under `/home/user/Desktop` from the template: `elasto_rpm6.dat`, `elasto_rpm9.dat`, `elasto_rpm12.dat`, and `elasto_rpm15.dat`, with `RotSpeed` set to 6, 9, 12, and 15 rpm respectively. 2. Generate the matching main files `case_rpm6.fst`, `case_rpm9.fst`, `case_rpm12.fst`, and `case_rpm15.fst` under `/home/user/Desktop`. In every main file set `TMax=30`, `DT_Out=0.1`, `OutFileFmt=1`, use `5MW_Baseline/NRELOffshrBsline5MW_InflowWind_Steady8mps.dat`, and reference the matching ElastoDyn file. Keep the fixed-speed structural configuration (`GenDOF=False`, `CompServo=0`). 3. Create `/home/user/Desktop/aerodyn_tsr.dat` from the supplied AeroDyn file, correct its dependency paths to `5MW_Baseline/...`, add the native AeroDyn channel `RtAeroPwr`, and reference it from all four main files. Run every case with `/home/user/miniconda3/bin/openfast`; retain `case_rpm<RPM>.out` and `case_rpm<RPM>.log` under `/home/user/Desktop`, and require normal termination. 4. Write `/home/user/Desktop/postprocess.py` to read `RtAeroPwr` in watts from each text output and average it over the final 10 seconds. Compute `TSR = (rpm*2*pi/60)*63/8` and `Cp = mean_RtAeroPwr_W/(0.5*1.225*pi*63^2*8^3)`. `RtAeroPwr` is already in W; if `GenPwr` is ever used instead, its kW values must be multiplied by 1000 before this SI calculation. 5. Save `/home/user/Desktop/summary.txt` with four rows ordered by 6, 9, 12, and 15 rpm, each formatted `rpm,tsr,cp`. Do not use GUI tools.",
  "source": "https://github.com/openFAST/r-test",
  "config": [
    {
      "type": "upload_file",
      "parameters": {
        "files": [
          {
            "local_path": "task-10/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/elasto_rpm6.dat",
    "/home/user/Desktop/elasto_rpm9.dat",
    "/home/user/Desktop/elasto_rpm12.dat",
    "/home/user/Desktop/elasto_rpm15.dat",
    "/home/user/Desktop/case_rpm6.fst",
    "/home/user/Desktop/case_rpm6.out",
    "/home/user/Desktop/case_rpm6.log",
    "/home/user/Desktop/case_rpm9.fst",
    "/home/user/Desktop/case_rpm9.out",
    "/home/user/Desktop/case_rpm9.log",
    "/home/user/Desktop/case_rpm12.fst",
    "/home/user/Desktop/case_rpm12.out",
    "/home/user/Desktop/case_rpm12.log",
    "/home/user/Desktop/case_rpm15.fst",
    "/home/user/Desktop/case_rpm15.out",
    "/home/user/Desktop/case_rpm15.log",
    "/home/user/Desktop/aerodyn_tsr.dat",
    "/home/user/Desktop/run_sweep.py",
    "/home/user/Desktop/postprocess.py",
    "/home/user/Desktop/summary.txt"
  ],
  "evaluator": {
    "postconfig": [
      {
        "type": "upload_file",
        "parameters": {
          "files": [
            {
              "local_path": "task-10/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"
}