<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSim.xsl"?>

<fdm_config name="Arcus" version="2.0" release="ALPHA"
	    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	    xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">
	
	<fileheader>
		<author> Aeromatic v 3.3.10 </author>
		<filecreationdate> 25 Feb 2020 </filecreationdate>
		<version>$Revision: 1.80 $</version>
		<description> Models a Arcus. </description>
	</fileheader>
	
	<!--
	References:
	[1]	Flight Manual (Arcus M)		https://flugplatz-schaenis.ch/wp-content/uploads/2019/04/Arcus_M_Flughandbuch_Deutsch_HB_2480.pdf
	[2]	Maintenance Manual (Arcus M)	https://flugplatz-schaenis.ch/wp-content/uploads/2019/04/Arcus_M_Wartungs_HB_DEU.pdf
	[3]	Manufacturer's Website		https://www.schempp-hirth.com/flugzeuge/arcus.html
	[4]	Brochure			https://www.schempp-hirth.com/fileadmin/schempp-hirth/Resources/Documents/Prospekte/Arcus_Version_2020pdf.pdf
	-->
	
	<metrics>
		<wingarea  unit="FT2">   167.81 </wingarea>
		<wingspan  unit="FT" >    65.62 </wingspan>
		<wing_incidence unit="DEG"> 1.16 </wing_incidence> <!-- ref. 2, p. 2.1.2 -->
		<chord     unit="FT" >     2.15 </chord>
		<htailarea unit="FT2">    16.15 </htailarea>
		<htailarm  unit="FT" >    19.69 </htailarm>
		<vtailarea  unit="FT2">   14.85 </vtailarea>
		<vtailarm  unit="FT" >    19.69 </vtailarm>
		<location name="AERORP" unit="M">
			<x>    -1.272 </x>
			<y>     0.00 </y>
			<z>     0.10 </z>
		</location>
		<location name="EYEPOINT" unit="M">
			<x>    -2.68 </x>
			<y>     0.00 </y>
			<z>     0.15 </z>
		</location>
		<location name="VRP" unit="M">
			<x>     0.0 </x>
			<y>     0.0 </y>
			<z>     0.0 </z>
		</location>
	</metrics>
	
	<!-- CG according to [1]:
	max. forward:	0.05m behind RP		-1.51602m
	max. rearward:	0.29m behind RP		-1.27602m
	-->
	<mass_balance>
		<ixx unit="SLUG*FT2">      1000 </ixx>
		<iyy unit="SLUG*FT2">       300 </iyy>
		<izz unit="SLUG*FT2">      2355 </izz>
		<emptywt unit="KG" >   530 </emptywt>	<!-- [4] page 8 -->
		<location name="CG" unit="M"> <!-- for empty aircraft -->
			<x>    -1.17 </x>
			<y>     0.00 </y>
			<z>    -0.30 </z>
		</location>
		<pointmass name="Pilot">
			<weight unit="KG"> 80.0 </weight>
			<location name="POINTMASS" unit="M">
				<x>  -2.65 </x>
				<y>   0.00 </y>
				<z>  -0.30 </z>
			</location>
		</pointmass>
		<pointmass name="Copilot">
			<weight unit="KG"> 80.0 </weight>
			<location name="POINTMASS" unit="M">
				<x>  -1.60 </x>
				<y>   0.00 </y>
				<z>  -0.30 </z>
			</location>
		</pointmass>
		<pointmass name="Wing Ballast Left">
			<weight unit="KG"> 0.0 </weight>
			<location name="POINTMASS" unit="M">
				<x>    -1.583 </x> <!-- [1] page 114 -->
				<y>    -1.50 </y>
				<z>     0.00 </z>
			</location>
		</pointmass>
		<pointmass name="Wing Ballast Right">
			<weight unit="KG"> 0.0 </weight>
			<location name="POINTMASS" unit="M">
				<x>    -1.583 </x> <!-- [1] page 114 -->
				<y>     1.50 </y>
				<z>     0.00 </z>
			</location>
		</pointmass>
		<pointmass name="Tail Ballast">
			<weight unit="KG"> 0.0 </weight>
			<location name="POINTMASS" unit="M">
				<x>  3.80 </x>
				<y>  0.00 </y>
				<z>  0.00 </z>
			</location>
		</pointmass>
	</mass_balance>
	
	<ground_reactions>
		
		<contact type="BOGEY" name="NOSE WHEEL">
			<location unit="M">
				<x>   -3.54 </x>
				<y>    0.00 </y>
				<z>   -0.70 </z>
			</location>
			<static_friction>  0.80 </static_friction>
			<dynamic_friction> 0.50 </dynamic_friction>
			<rolling_friction> 0.50 </rolling_friction>
			<spring_coeff  unit="LBS/FT">     1800 </spring_coeff>
			<damping_coeff unit="LBS/FT/SEC">  400 </damping_coeff>
			<max_steer unit="DEG"> 0.00 </max_steer>
			<brake_group> NONE </brake_group>
			<retractable> 0 </retractable>
		</contact>
		
		<contact type="BOGEY" name="MAIN WHEEL">
			<location unit="M">
				<x>   -1.522 </x>
				<y>    0.0   </y>
				<z>   -0.965 </z>
			</location>
			<static_friction>  0.60 </static_friction>
			<dynamic_friction> 0.40 </dynamic_friction>
			<rolling_friction> 0.02 </rolling_friction>
			<spring_coeff  unit="LBS/FT">    15000 </spring_coeff>
			<damping_coeff unit="LBS/FT/SEC"> 1500 </damping_coeff>
			<max_steer unit="DEG">0</max_steer>
			<brake_group> LEFT </brake_group>
			<retractable> 1 </retractable>
		</contact>
		
		<contact type="BOGEY" name="TAIL WHEEL">
			<location unit="M">
				<x>    3.93 </x>
				<y>    0.00 </y>
				<z>   -0.39 </z>
			</location>
			<static_friction>  0.80 </static_friction>
			<dynamic_friction> 0.50 </dynamic_friction>
			<rolling_friction> 0.50 </rolling_friction>
			<spring_coeff  unit="LBS/FT">     800 </spring_coeff>
			<damping_coeff unit="LBS/FT/SEC"> 200 </damping_coeff>
			<max_steer unit="DEG">0</max_steer>
			<brake_group> NONE </brake_group>
			<retractable> 0 </retractable>
		</contact>
		
		<contact type="STRUCTURE" name="LEFT_WING">
			<location unit="M">
				<x>   -1.5 </x>
				<y>   -8.4 </y>
				<z>    0.5 </z>
			</location>
			<static_friction>  1 </static_friction>
			<dynamic_friction> 1 </dynamic_friction>
			<spring_coeff unit="LBS/FT">        800 </spring_coeff>
			<damping_coeff unit="LBS/FT/SEC">   100 </damping_coeff>
		</contact>
		
		<contact type="STRUCTURE" name="RIGHT_WING">
			<location unit="M">
				<x>   -1.5 </x>
				<y>    8.4 </y>
				<z>    0.5 </z>
			</location>
			<static_friction>  1 </static_friction>
			<dynamic_friction> 1 </dynamic_friction>
			<spring_coeff unit="LBS/FT">        800 </spring_coeff>
			<damping_coeff unit="LBS/FT/SEC">   100 </damping_coeff>
		</contact>
		
		<contact type="STRUCTURE" name="BELLY"> <!-- when the main gear is retracted -->
			<location unit="M">
				<x>   -2.00 </x>
				<y>    0.00 </y>
				<z>   -0.69 </z>
			</location>
			<static_friction>  1 </static_friction>
			<dynamic_friction> 1 </dynamic_friction>
			<spring_coeff unit="LBS/FT">        800 </spring_coeff>
			<damping_coeff unit="LBS/FT/SEC">   100 </damping_coeff>
		</contact>
		
	</ground_reactions>
	
	
	<propulsion>
		<engine file="SOLO-2625-02i">
			<feed> 0 </feed>
			
			<thruster file="KS-1G-160-R-120">
				<sense> 1 </sense>
				<location unit="M">
					<x> -0.52 </x>
					<y>  0.00 </y>
					<z>  0.99 </z>
				</location>
				<orient unit="DEG">
					<pitch> -12.0 </pitch>
					<roll>    0.0 </roll>
					<yaw>     0.0 </yaw>
				</orient>
			</thruster>
		</engine>
		
		<tank type="FUEL" number="0">
			<location unit="M">
				<x>  -1.05 </x>
				<y>   0.00 </y>
				<z>  -0.10 </z>
			</location>
			<capacity unit="LBS"> 10.426 </capacity> <!-- 14.5l-->
			<contents unit="LBS"> 10.0 </contents>
			<type>AVGAS</type> <!-- either AVGAS 100LL or Super Benzin EN228 -->
		</tank>
		
		<!-- optional wing fuel tanks not yet included -->
	</propulsion>
	
	<system file="ground_handling"/>
	<system file="arcus-animations"/>
	<system file="arcus-waterballast"/>
	<system file="arcus-m-engine"/>
	<system file="arcus-m-fcs"/>
	<flight_control file="Systems/arcus-fcs"/>
	<aerodynamics file="Systems/arcus-aero"/>
	<external_reactions file="Systems/arcus-external_reactions"/>
	
</fdm_config>
