Skip to content

Commit

Permalink
Add another example project file
Browse files Browse the repository at this point in the history
  • Loading branch information
marioarbras committed Jul 6, 2020
1 parent a827375 commit 6209d42
Show file tree
Hide file tree
Showing 2 changed files with 256 additions and 0 deletions.
File renamed without changes.
256 changes: 256 additions & 0 deletions examples/project_2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,256 @@
{
"$schema": "https://raw.githubusercontent.com/marioarbras/aircraft-design-tool/master/schemas/project.json",
"concept": {
"categories": {
"name": "New Concept",
"pairs": [
[1, 0.14286],
[7, 1]
],
"categories": [
{
"name": "Number of Passengers",
"pairs": [
[ 1, 0.11111, 9],
[ 9, 1, 0.11111],
[0.11111, 9, 1]
]
},
{
"name": "Powerplant",
"pairs": [
[1, 0.125],
[8, 1]
],
"categories": [
{
"name": "Max Power Installed",
"pairs": [
[ 1, 0.14286, 9],
[ 7, 1, 9],
[0.11111, 0.11111, 1]
]
},
{
"name": "Pollutant Emissions",
"pairs": [
[ 1, 4, 0.11111],
[0.25, 1, 0.11111],
[ 9, 9, 1]
]
}
]
}
]
},
"designs": [
{
"name": "Helicopter"
},
{
"name": "Aircraft"
},
{
"name": "Paper Plane"
}
]
},
"mission": {
"segments": [
{
"type": "taxi",
"propulsion_type": "Prop Engine #1",
"energy_source": "Battery #1",
"time": 120.0,
"altitude": 0.0
},
{
"type": "vertical_climb",
"propulsion_type": "Prop Engine #1",
"energy_source": "Battery #1",
"velocity": 8.0,
"altitude": [0.0, 500.0]
},
{
"type": "transition",
"propulsion_type": "Prop Engine #1",
"energy_source": "Battery #1",
"altitude": 500.0,
"transition_angle": 40.0,
"time": 120.0,
"velocity": [0.0, 40.0]
},
{
"type": "climb",
"propulsion_type": "Prop Engine #1",
"energy_source": "Fuel Tank #1",
"velocity": 40.0,
"altitude": [500.0, 2500.0],
"angle": 5
},
{
"type": "cruise",
"propulsion_type": "Prop Engine #1",
"energy_source": "Fuel Tank #1",
"velocity": 50.0,
"range": 80000.0,
"altitude": 2500.0
},
{
"type": "descent",
"propulsion_type": "Prop Engine #1",
"energy_source": "Fuel Tank #1",
"velocity": -40.0,
"altitude": [2500.0, 1000.0],
"angle": -5.0
},
{
"type": "hold",
"propulsion_type": "Prop Engine #1",
"energy_source": "Fuel Tank #1",
"velocity": 40.0,
"time": 300.0,
"altitude": 1000.0
},
{
"type": "descent",
"propulsion_type": "Prop Engine #1",
"energy_source": "Fuel Tank #1",
"velocity": -40.0,
"altitude": [1000.0, 400.0],
"angle": -5.0
},
{
"type": "vertical_descent",
"propulsion_type": "Prop Engine #1",
"energy_source": "Battery #1",
"velocity": -6.0,
"altitude": [400.0, 0.0]
},
{
"type": "landing",
"propulsion_type": "Prop Engine #1",
"energy_source": "Battery #1",
"time": 120.0,
"altitude": 0.0
}
]
},
"aircraft": {
"payload": {
"mass": 680.0
},
"structure": {
"mass": 2000.0
},
"subsystems": {
"mass": 50.0
},
"propulsion_types": [
{
"name": "Prop Engine #1",
"type": "prop",
"mass": 500.0,
"tip_velocity": 240.1,
"efficiency": 0.5,
"specific_fuel_consumption": 4.25e-5,
"ss": 0.08,
"cd": 0.02,
"k_i": 1.15,
"fm": 0.6
}
],
"energy_sources": [
{
"name": "Battery #1",
"type": "electric",
"specific_energy": 360000.0,
"efficiency": 0.9,
"reserve": 0.2
},
{
"name": "Fuel Tank #1",
"type": "fuel",
"specific_energy": 0.123,
"reserve": 0.06
}
],
"performance": {
"cd_0": 0.02,
"aspect_ratio": 5.0,
"ld_max": 8.0,
"disc_loading": 900
},
"components": [
{
"name": "Fuselage",
"type": "fuselage",
"interf_factor": 1.0,
"diameter": 1.0,
"length": 4.0,
"area_ref": 1.0,
"area_wet": 2.0
},
{
"name": "Main Wing",
"type": "wing",
"interf_factor": 1.0,
"aspect_ratio": 5.0,
"span": 10.0,
"mean_chord": 1.5,
"airfoil": {
"type": "naca0012",
"tc_max": 0.15,
"xc_max": 0.3,
"cl_aa": 6.2,
"cl_max": 2.0
},
"sweep_le": 10.0,
"sweep_c4": 15.0,
"sweep_tc_max": 20.0,
"area_ref": 15.0,
"area_wet": 30.0
},
{
"name": "Horizontal Tail",
"type": "wing",
"interf_factor": 1.0,
"aspect_ratio": 5.0,
"span": 2.0,
"mean_chord": 0.5,
"airfoil": {
"type": "naca0012",
"tc_max": 0.15,
"xc_max": 0.3,
"cl_aa": 6.2,
"cl_max": 2.0
},
"sweep_le": 10.0,
"sweep_c4": 15.0,
"sweep_tc_max": 20.0,
"area_ref": 1.0,
"area_wet": 2.0
},
{
"name": "Vertical Tail",
"type": "wing",
"interf_factor": 1.0,
"aspect_ratio": 5.0,
"span": 2.0,
"mean_chord": 1.0,
"airfoil": {
"type": "naca0012",
"tc_max": 0.15,
"xc_max": 0.3,
"cl_aa": 6.2,
"cl_max": 2.0
},
"sweep_le": 10.0,
"sweep_c4": 15.0,
"sweep_tc_max": 20.0,
"area_ref": 2.0,
"area_wet": 4.0
}
]
}
}

0 comments on commit 6209d42

Please sign in to comment.