-
Notifications
You must be signed in to change notification settings - Fork 20
input_file
ina111 edited this page May 4, 2016
·
1 revision
実行ファイルのOpenTsiolkovsky以外に以下のファイルが実行ファイルを同じフォルダに必要です。
- OpenTsiolkovsky(実行ファイル)
- パラメータを記述したjsonファイル(default:params.json)
- 推力履歴を記述したcsvファイル(任意、パラメータjsonフォルダ内でファイル名指定)
- 姿勢履歴を記述したcsvファイル(任意、パラメータjsonフォルダ内でファイル名指定)
- 抗力係数を記述したcsvファイル(任意、パラメータjsonフォルダ内でファイル名指定)
- 揚力係数を記述したcsvファイル(任意、パラメータjsonフォルダ内でファイル名指定)
- 風を記述したcsvファイル(任意、パラメータjsonフォルダ内でファイル名指定)
姿勢はその時々の局所NED座標系に沿った角度を指定
1列目に時間(秒)、2列目3列目にデータを入れる。 プログラム中では間の時間は線形補間された値が代入されている。
揚力係数・抗力係数はマッハ数の関数としている。1列目にマッハ数、2列目に係数の値を入れる。プログラム中では間のマッハ数のときは線形補間された値が代入されている。
You can change input "json" file value. "json" file structure is following.
key1 | key2 | value type | Unit | Note |
---|---|---|---|---|
name | string | |||
output file name | string | |||
calculate condition | start time[s] | value | second | |
end time[s] | value | second | ||
time step[s] | value | second | ||
launch | position LLH[deg,deg,m] | |||
velocity NED[m/s] | ||||
time | [yyyy,mm,dd,hh,mm,ss] | unimplemented | ||
payload | weight | value | kg | unimplemented |
deploy time | value | second | unimplemented | |
parachute | exist | true or false | unimplemented | |
drag coefficient | value | - | unimplemented | |
diameter | value | m | unimplemented | |
deploy time | value | second | unimplemented | |
wind | file exist | true or false | compete against "const wind" | |
file name | string | compete against "const wind" | ||
const wind | [speed, direction] | m/s,deg | compete against "...exist", "...name" |
rocket stage key is following.
key2 | key3 | value type | Unit | Note |
---|---|---|---|---|
mass initial[kg] | value | kg | ||
thrust | Isp[s] | value | second | |
file exist | true or false | compete against "const thrust[N]" | ||
file name | string | compete against "const thrust[N]" | ||
const thrust[N] | value | N | compete against "file exist","file name" | |
burn start time[s] | value | second | compete against "file exist","file name" | |
burn end time[s] | value | second | compete against "file exist","file name" | |
throat diameter[m] | value | m | ||
nozzle expansion ratio | value | - | ||
nozzle exhaust pressure[Pa] | value | Pa | ||
aero | body diameter[m] | m | ||
lift coefficient file exist | true or false | compete against "lift coefficient" | ||
lift coefficient file name | string | compete against "lift coefficient" | ||
lift coefficient | value | - | compete against "...exist", "...name" | |
drag coefficient file exist | true or false | compete against "drag coefficient" | ||
drag coefficient file name | string | compete against "drag coefficient" | ||
drag coefficient | value | compete against "...exist", "...name" | ||
attitude | file exist | true or false | compete against "initial ..." | |
file naem | string | compete against "initial ..." | ||
initial elevation[deg] | value | degree | compete against "...exist", "...name" | |
initial azimth[deg] | value | degree | compete against "...exist", "...name" | |
stage | following stage exist | true or false | ||
separation time[s] | value | second |