///////////////////////////////////////////////////////
//                                                   //
//                  Dornier 228-212                  //
//                                                   //
//                                                   //
//                                                   //
//                                                   //
//       Model & panel by Jean-Pierre Brisard        //
//               Paint by Bob May                    //
//       Technical  advice by Joe Zerilli            //
// Photoreal panel and gauges by JP Langer et al     //
//                                                   //
//  All files copyright Premier Aircraft Design 2008 //
//                                                   //
///////////////////////////////////////////////////////

// 09/15/2008 Modified [Radios] section
// 09/17/2008 Modified contact points (nose wheel no more go in the runway when braking)
// 09/18/2008 Modified [Fuel] section (2200 lbs + 200 lbs per wing)
// 09/20/2008 Modified number_of_tank_selectors = 2 (instead of 1)
// 10/03/2008 Modified [Flaps] section according flaps angles of the flight manual
// 10/20/2008 Modified gear and flaps limit speeds

[fltsim.0]
title=do228_212_Air_Guadeloupe JPL
sim=do228_bg02
model=
panel=jpl
sound=
texture=guadeloupe
kb_checklists=do228_check_12
kb_reference=do228_ref
atc_id=F-OGPI
ui_manufacturer=Dornier
ui_type=Do 228-212
ui_variation=Air Guadeloupe JPL
description=Dornier 228-212 Regional turboprop commuter/utility aircraft\nLength: 54.3 ft\nSpan: 55.7 ft\n Engines: 2 Garrett TPE 331-5 turbines 750 SHP 

[fltsim.1]
title=do228_212_Air_Caraibes JPL
sim=do228_bg02
model=
panel=jpl
sound=
texture=caraibes
kb_checklists=do228_check_12
kb_reference=do228_ref
atc_id=F-OHQK
ui_manufacturer=Dornier
ui_type=Do 228-212
ui_variation=Air Caraibes JPL
description=Dornier 228-212 Regional turboprop commuter/utility aircraft\nLength: 54.3 ft\nSpan: 55.7 ft\n Engines: 2 Garrett TPE 331-5 turbines 750 SHP 

//-------------------------------------------------------------------------------------------------------------------------------------

[General]
atc_type=Dornier
atc_model=d28
editable=1
performance=Max cruise speed: 260 mph\nRange: 540-1460 nm\nCeiling: 28,000 ft\nMax weight: 13,000 lbs\nPassenger: 19
Category=airplane

[WEIGHT_AND_BALANCE]
max_gross_weight = 14110.00
empty_weight = 7183.00

reference_datum_position     = 0.00, 0.00, 0.00
empty_weight_CG_position     = 0.00, 0.00, 0.00

max_number_of_stations=12
station_load.0=170.0, 9.0, -1.35, 0.000  // Pilot - Weight (lbs), longitudinal, lateral, vertical positions from datum (feet)
station_load.1=170.0, 9.0, 1.35,  0.000  // Co-Pilot

station_load.2=170.0, 5.5, -2.00, 0.000  // Passenger
station_load.3=170.0, 5.5,  2.00, 0.000  // Passenger

station_load.4=170.0, 5.5,  2.00, 0.000  // Passenger
station_load.5=170.0, 5.5, -2.00, 0.000  // Passenger

station_load.6=170.0, 0.00,  2.00, 0.000  // Passenger
station_load.7=170.0, 0.00, -2.00, 0.000  // Passenger

station_load.8=170.0, -2.5, -2.00, 0.000  // Passenger
station_load.9=170.0, -2.5,  2.00, 0.000  // Passenger

station_load.10=000.0, -2.5,  2.0, 0.000  // Passenger
station_load.11=000.0, -2.5, -2.00, 0.000  // Passenger

station_load.12=220.00,-8.00, 000.0,000.0//Luggage


;Moments of Inertia
empty_weight_pitch_MOI  = 80000.00
empty_weight_roll_MOI   = 36000.00
empty_weight_yaw_MOI    = 75000.00
empty_weight_coupled_MOI= 0.00
CG_forward_limit= 0.00
CG_aft_limit= 1.00
station_load.0=0.00,0.00,0.00,0.00

[flight_tuning]

parasite_drag_scalar   =0.50 //0.90
induced_drag_scalar    =0.50 //1.00
elevator_effectiveness =1.00
aileron_effectiveness  =1.00
rudder_effectiveness   =1.00
pitch_stability        =1.00
roll_stability         =1.00
yaw_stability          =1.00
elevator_trim_effectiveness =1.00
aileron_trim_effectiveness  =1.00
rudder_trim_effectiveness   =1.00

[GeneralEngineData]
engine_type = 5
Engine.0 = 6.50, -8.60, 0.60
Engine.1 = 6.50,  8.60, 0.60
fuel_flow_scalar        = 0.70
min_throttle_limit=-0.250

[propeller]
thrust_scalar           =1.00
propeller_type          = 0
propeller_diameter      = 8.60
propeller_blades        = 4
propeller_moi           = 5      // 22.00
beta_max                = 45.00
beta_min                = 0
min_gov_rpm             = 40060
prop_tc                 = 0.004
gear_reduction_ratio    = 26.2287  //17.6  // 11.60
fixed_pitch_beta        = 0.00
low_speed_theory_limit  = 80.00
prop_sync_available     = 1
prop_deice_available    = 1
prop_feathering_available= 1
prop_auto_feathering_available= 1
min_rpm_for_feather     = 700.00
beta_feather            = 79.30
power_absorbed_cf       = 0.90
defeathering_accumulators_available= 0 
prop_reverse_available  = 1
minimum_on_ground_beta  = 1.00
minimum_reverse_beta    = -14.00

[TurbineEngineData]
fuel_flow_gain          = 0.1   //0.05      //0.011
inlet_area              = 1.00
rated_N2_rpm            = 30000// 42147   //41730
static_thrust           = 150   // 250.00
afterburner_available= 0


[turboprop_engine]
power_scalar            =1.00
maximum_torque          =3270.0 // 4270.00
max_rpm_mechanical_efficiency_scalar=1.00
idle_rpm_mechanical_efficiency_scalar=1.00
max_rpm_friction_scalar=1.00
idle_rpm_friction_scalar=1.00

[Reference Speeds]
flaps_up_stall_speed    = 101.00
full_flaps_stall_speed  = 84.00
cruise_speed            = 215.00	//knots indicated airspeed @ 9,000 ft
normal_cruise_speed	= 215.00
max_indicated_speed=259.00
max_mach=0.579980
max_level_speed=300

[electrical]
                ;BusType, MaxAmpLoad, MinVoltage       BusTypes:0=MainBus,1=AvionicsBus,2=BatteryBus,3=HotBatteryBus,4-7=Generator/AlternatorBus(1-4)
flap_motor         = 0, 5 , 17.0
gear_motor         = 0, 5 , 17.0
autopilot          = 0, 5 , 17.0
avionics_bus       = 0, 10, 17.0
avionics           = 1, 5 , 17.0
pitot_heat         = 0, 2 , 17.0
additional_system  = 0, 20, 17.0
marker_beacon      = 1, 2 , 17.0
gear_warning       = 0, 2 , 17.0
fuel_pump          = 0, 5 , 17.0
starter1           = 0, 20, 17.0
light_nav          = 0, 5 , 17.0
light_beacon       = 0, 5 , 17.0
light_landing      = 0, 5 , 17.0
light_taxi         = 0, 5 , 17.0
light_strobe       = 0, 5 , 17.0
light_panel        = 0, 5 , 17.0

[contact_points]
//Classes...What type of point    0=Unused or Ignore
//                                                      1=Wheel
//                                                      2=Scrape point
//                                                      4=Float
//                                                      5=Float Rudder
//0  Class
//1  Longitudinal Position        (feet)
//2  Lateral Position             (feet)
//3  Vertical Position            (feet)
//4  Impact Damage Threshold      (Feet Per Minute)
//5  Brake Map                   (0=None, 1=Left, 2=Right)
//6  Wheel Radius                (feet)
//7  Steer Angle                         (degrees)
//8  Static Compression          (feet)  (0 if rigid) 
//9  Max/Static Compression Ratio
//10 Damping Ratio / Water Rudder Effectiveness  (0=Undamped, 1=Critically Damped) / 1.0 = normal
//11 Extension Time              (seconds)
//12 Retraction Time             (seconds)
//13 Sound Type
//14 Airspeed limit for retraction (KIAS)
//15 Airspeed that gear gets damage at (KIAS)

static_pitch = 0
static_cg_height = 8.1
tailwheel_lock = 0
gear_system_type = 1     //Hydraulic
max_number_of_points = 8

point.0 = 1, 18.47, 0, -8.6, 1181, 0, 0.75, 39.9, 0.096, 2.5, 0.9516, 4.8, 4.8, 0, 184, 184
point.1 = 1.000,-2.320,-4.64,-9.06,1574, 1, 0.75,  0.0, 0.642, 2.5, 0.8152,  4.5,  5.2, 2, 184.0, 184.0
point.2 = 1.000,-2.320,4.64,-9.06,1574, 2, 0.75,  0.0, 0.642, 2.5, 0.8152,  4.8,  4.9, 3, 184.0, 184.0
point.3 = 2.000,-2.200,-29.300,3.200,2360.907127,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,5.000,0.000,0.000
point.4 = 2.000,-2.200,29.300,3.200,2360.907127,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,6.000,0.000,0.000
point.5 = 2.000,-35.000,0.000,11.000,2360.907127,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,9.000,0.000,0.000
point.6 = 2.000,23.600,-0.000,-0.500,1574.803150,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,4.000,0.000,0.000
point.7 = 5.000,23.600,-0.000,-0.500,1574.803150,0.000,0.000,0.000,0.000,0.000,0.000,0.000,0.000,4.000,0.000,0.000

[Views]
//eyepoint=13.267,-0.619,2.607
//eyepoint=13.104,-0.815,2.77
//eyepoint=13.00,-1.000,0.607
//eyepoint=11.0,-1.5,-1.9
eyepoint=11.5,-1.5,-1.4

[Radios]
// Radio Type = availiable, standby frequency, has glide slope
Audio.1       = 1
Com.1         = 1, 1
Com.2         = 1, 1
Nav.1         = 1, 1, 1
Nav.2         = 1, 1, 0
Adf.1         = 1
Transponder.1 = 1
Marker.1      = 1

[keyboard_response]
//Breakpoint speeds (knots) on the keyboard increments of control surfaces.
//Speed at which the incremenet is reduced to  1/2 and 1/8 respectively.
elevator = 150, 250
aileron  = 150, 250
rudder   = 150, 250

[direction_indicators]
//1 Type: 0=None, 1=Vacuum Gyro, 2=Electric Gyro, 3=Electro-Mag Slaved Compass, 4=Slaved to another
//2 Indicator number of slaving indicator if Type = 4
direction_indicator.0=3,0

[LIGHTS]
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit
light.0 = 3, -4.10, -27.4,  -0.05, fx_navred ,
light.1 = 3,  -4.10,  27.4,  -0.05, fx_navgre ,
'light.2 = 3, -35.00,   0.00,  11.00, fx_navwhi ,
light.3 = 2,  -4.35, -27.4, -0.35, fx_strobe ,
light.4 = 2,  -4.35,  27.4, -0.35, fx_strobe ,
light.5 = 1, -28.00,   0.00, 7.5,fx_beaconh ,
light.6 = 1,  7.10,   0.00, -6.10, fx_beaconh ,
light.7 = 4,  12.50,   -1.00, -2.10,  fx_vclightwhi ,
light.8= 4,  12.50, 1.00, -2.10,  fx_vclightwhi ,
light.9 = 4,  9.50, 0.00, -2.10,  fx_vclightwhi ,



[EFFECTS]
wake=fx_wake
water=fx_spray
dirt=fx_tchdrt
concrete=fx_sparks
touchdown=fx_tchdwn_s, 1

[fuel]      //Longitudinal (feet), Lateral (feet), Vertical (feet), Usable(gallons), Unusable (gallons)
LeftMain  = 0.00, -6.00, -1.50,  30.00, 0.00  
LeftAux   = 0.00,-14.50, -1.00, 328.00, 0.00
RightMain = 0.00,  6.00, -1.50,  30.00, 0.00
RightAux  = 0.00, 14.50, -1.00, 328.00, 0.00
fuel_type = 2                                //Fuel type: 1 = Avgas, 2 = JetA
number_of_tank_selectors = 2                    
electric_pump=2

[airplane_geometry]
wing_area               = 310.00
wing_span               = 58.00
wing_root_chord         = 6.60
wing_dihedral           = 6.00
wing_incidence          = 1.00
wing_twist              = -1.50
oswald_efficiency_factor= 0.70
wing_winglets_flag      = 1
wing_sweep              = 3.00
wing_pos_apex_lon       = 2.00
wing_pos_apex_vert      = -1.00
htail_area              = 76.00
htail_span              = 18.20
htail_pos_lon           = -27.50
htail_pos_vert          = 11.00
htail_incidence         = 0.00
htail_sweep             = 20.00
vtail_area              = 50.00
vtail_span              = 6.50
vtail_sweep             = 35.00
vtail_pos_lon           = -23.50
vtail_pos_vert          = 4.50
elevator_area           = 14.00
aileron_area            = 13.00
rudder_area             = 17.00
elevator_up_limit       = 17.00
elevator_down_limit     = 15.50
aileron_up_limit        = 18.00
aileron_down_limit      = 18.00
rudder_limit            = 30.00
elevator_trim_limit     = 15.00
spoiler_limit           = 0.00
spoilerons_available    = 0
aileron_to_spoileron_gain = 0.00
min_ailerons_for_spoilerons = 0.00
min_flaps_for_spoilerons = 0.00
auto_spoiler_available=0
spoiler_extension_time=0.000000
positive_g_limit_flaps_up=3.000000
positive_g_limit_flaps_down=2.000000
negative_g_limit_flaps_up=-2.000000
negative_g_limit_flaps_down=-2.000000

[autopilot]
autopilot_available= 1
flight_director_available= 1
default_vertical_speed= 1800.0
use_no_default_pitch=1
use_no_default_bank=1
autothrottle_available= 0
pitch_takeoff_ga=8.00
max_pitch=10.00
max_pitch_acceleration=1.00
max_pitch_velocity_lo_alt=2.00
max_pitch_velocity_hi_alt=1.50
max_pitch_velocity_lo_alt_breakpoint=20000.00
max_pitch_velocity_hi_alt_breakpoint=28000.00
max_bank=25.00
max_bank_acceleration=1.80
max_bank_velocity=3.00
max_throttle_rate=0.10
nav_proportional_control=9.00
nav_integrator_control=0.250
nav_derivative_control=0.00
nav_integrator_boundary=2.50
nav_derivative_boundary=0.00
gs_proportional_control=9.520
gs_integrator_control=0.260
gs_derivative_control=0.00
gs_integrator_boundary=0.70
gs_derivative_boundary=0.00
yaw_damper_gain=0.00
default_pitch_mode=0
default_bank_mode=0

[forcefeedback]
stick_shaker_magnitude=5000             ; 0 - 10000
stick_shaker_direction=0                ; 0 - 35999 degrees
stick_shaker_period=111111              ; in microseconds
gear_bump_nose_magnitude=3000           ; 0 - 10000
gear_bump_nose_direction=18000          ; 0 - 35999 degrees
gear_bump_nose_duration=250000          ; in microseconds
gear_bump_left_magnitude=2700           ; 0 - 10000
gear_bump_left_direction=9000           ; 0 - 35999 degrees
gear_bump_left_duration=250000          ; in microseconds
gear_bump_right_magnitude=2700          ; 0 - 10000
gear_bump_right_direction=27000         ; 0 - 35999 degrees
gear_bump_right_duration=250000         ; in microseconds
ground_bumps_magnitude1=1300            ; 0 - 10000
ground_bumps_angle1=08900               ; 0 - 35999 degrees
ground_bumps_intercept1=3.0
ground_bumps_slope1=0.20
ground_bumps_magnitude2=200             ; 0 - 10000
ground_bumps_angle2=09100               ; 0 - 35999 degrees
ground_bumps_intercept2=1.075
ground_bumps_slope2=0.035
crash_magnitude1=10000                  ; 0 - 10000
crash_direction1=01000                  ; 0 - 35999 degrees
crash_magnitude2=10000                  ; 0 - 10000
crash_direction2=9000                   ; 0 - 35999 degrees
crash_period2=75000                     ; in microseconds
crash_duration2=2500000                 ; in microseconds

[Flaps.0]
type= 1
span-outboard= 0.30
extending-time= 5.00
system_type= 0
damaging-speed= 250.00
blowout-speed= 300.00
flaps-position.0= 0.00, 0.00
flaps-position.1= 5.00, 160.00
flaps-position.2=20.00, 130.00
flaps-position.3=30.00, 130.00
drag_scalar=1.30
lift_scalar=1.20

[Flaps.1]
type= 1
span-outboard= 0.30
extending-time= 5.00
system_type= 0
damaging-speed= 250.00
blowout-speed= 300.00
flaps-position.0= 0.00, 0.00
flaps-position.1= 5.00, 160.00
flaps-position.2=20.00, 130.00
flaps-position.3=30.00, 130.00
drag_scalar=1.30
lift_scalar=1.20

[brakes]
toe_brakes_scale=1.00
parking_brake=1

[gear_warning_system]
gear_warning_available=1
pct_throttle_limit=0.099976
flap_limit_power=30.022988
flap_limit_idle=15.011494

[hydraulic_system]
electric_pumps=0
engine_map=1,1,0,0
normal_pressure=3000.00

[stall_warning]
type=1
stick_shaker=1

[attitude_indicators]
attitude_indicator.0=1

[turn_indicators]
turn_indicator.0=1,0

[exits]
number_of_exits=2
exit_rate.0=0.2                             ;Percent per second
exit_rate.1=0.5              

[pitot_static]
pitot_heat=1.000000
[vacuum_system]
max_pressure=5.150000
vacuum_type=2
electric_backup_pressure=0.000000
engine_map=0,0,0,0
[pneumatic_system]
max_pressure=18.000000
bleed_air_scalar=1.000000
[deice_system]
structural_deice_type=2