# Mass system setup
mtow = 660
cg_limits = [ 0.290 0.398 ]

# Mass of aircraft minus pilot and motor
mass {
   name           = fuselage_wings
   mass           = 440.0
   inertia        = [ 3000.0  1200.0 3300.0 ]
   position       = [ -0.450  0.0 0.0 ]
}

# Pilot's mass, assume no inertia (wrong)
seat {
   name           = pilot
   mass           = 85.0
   min_mass       = 60.0
   max_mass       = 125.0
   inertia        = [   0.0    0.0    0.0 ]
   position       = [    0.5    0.0    0.0 ]
}

# Motor mass, will move with motor
mass {
   name           = motor
   mass           = 35.0
   inertia        = [    0.0    0.0    0.0 ]
   position       = [    1.5    0.0    0.0 ]

   delta_position = [    1.0    0.0    0.0 ]
   pylon_mix      = [    1.0    0.0    0.0 ]
}

# water ballast inner wing
# This is mirrored so only one side will have to be defined
# The Capacity and default level indicates the sum of both (left+right)
# When mirrored the y coordinate of the tank is forced to zero. 
# use "mirror = false" to disable and define each wing individually.

water {
   name		  = inner
   position       = [    0.0    0.0    0.0 ]
   capacity       = 60.0
   valve_size     = 0.13
   y_inner        = 3.5
   y_outer        = 8.8

   default_level  = 60.0

   valve_number   = 2
   valve_position = [ 0.0 -3.5 -0.0 ]
   valve_max_flow = 25.0
}

# water ballast outer wing
water {
   name		  = outer
   position       = [    0.0    0.0    0.0 ]
   capacity       = 40.0
   valve_size     = 0.13
   y_inner        = 3.5
   y_outer        = 8.8
   
   default_level  = 40.0

   valve_number   = 1
   valve_position = [ 0.0 -6.0 -0.1 ]
   valve_max_flow = 25.0
}

