<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE eds SYSTEM "DTDFILE_FULLPATH">
<schematic version="1.2.0" sx="1700" sy="1600" connector-status="allshowed" >

	<grid enabled="true" snap="false" hspacing="16" vspacing="16" colorMain="255,255,255" colorSecondary="255,255,255" numberCells="5" />

	<layers>
			<layer id="1" name="Layer_1" isVisible="true" isActive="true" elPosition="1" />
	</layers>
	
	<component id="Frame1" library="SATELLITE" type="Frame" layer="1" elPosition="0" >
	
		<symbol cx="350.521" cy="307.139" sx="195.637" sy="174.919" dx="398.188" dy="77.2177" />
	
		<label cx="26" cy="12" dx="660.5" dy="466" />
	
			<instanceData>
					<datum id="nTanks" value="4" />
					<datum id="DDMMYYYYHHMMSS" value="&#34;21032012123045&#34;" />
					<datum id="COMaccuracy" value="1" />
			</instanceData>
	</component>

	<connector id="Connector_1" sShape="Frame1" sPort="S" eShape="SolarArrays1" ePort="S" elPosition="0" lineColor="0,255,0"   />

	<connector id="Connector_2" sShape="Thrusters1" sPort="f" eShape="Frame1" ePort="f" elPosition="1" lineColor="170,85,255"   />

	<connector id="Connector_3" sShape="SolarArrays1" sPort="f" eShape="Frame1" ePort="f" elPosition="2" lineColor="170,85,255"   />

	<connector id="Connector_4" sShape="ReactionWheels1" sPort="f" eShape="Frame1" ePort="f" elPosition="3" lineColor="170,85,255"   />

	<connector id="Connector_5" sShape="TC_AocsRW" sPort="s_out" eShape="Cntrl_PID1" ePort="s_set" elPosition="6" lineColor="255,85,0"   />

	<connector id="Connector_6" sShape="Cntrl_PID1" sPort="s_out" eShape="GainRW" ePort="s_in" elPosition="7" lineColor="255,85,0"   />

	<connector id="Connector_7" sShape="GainRW" sPort="s_out" eShape="ReactionWheels1" ePort="s" points="1238.31,482.137" elPosition="8" lineColor="255,85,0"   />

	<connector id="Connector_8" sShape="Frame1" sPort="S" eShape="SensorAttitude1" ePort="s" points="704.937,654.196" elPosition="9" lineColor="0,255,0"   />

	<connector id="Connector_9" sShape="SensorAttitude1" sPort="s_out" eShape="Cntrl_PID1" ePort="s_var" elPosition="10" lineColor="255,85,0"   />

	<connector id="Connector_10" sShape="GainThr" sPort="s_out" eShape="Thrusters1" ePort="OnOff" elPosition="11" lineColor="255,85,0"   />

	<connector id="Connector_11" sShape="TC_AocsThrusters" sPort="s_out" eShape="GainThr" ePort="s_in" elPosition="12" lineColor="255,85,0"   />

	<component id="Thrusters1" library="SATELLITE" type="Thrusters" layer="1" elPosition="1" >
	
		<symbol cx="351.75" cy="300" sx="87.82" sy="111.317" dx="619.401" dy="-60.229" />
	
		<label cx="34.5" cy="12" dx="968.241" dy="176.182" />
	
			<instanceData>
					<datum id="n" value="17" />
					<datum id="Floc" value="{ { 0,0,0} ,{ 0,1,0} ,{ 0,-1,0} ,{ 0,1,0} ,{ 0,-1,0} ,{ 1,1,0} ,{ -1,1,0} ,{ 0,1,0} ,{ 0,-1,0} ,{ 1,1,0.5} ,{ -1,1,0.5} ,{ 1,-1,0.5} ,{ -1,-1,0.5} ,{ 1,1,1} ,{ 1,-1,1} ,{ -1,-1,1} ,{ -1,1,1} } " />
					<datum id="Forient" value="{ { 0,0,1} ,{ 0,0,1} ,{ 0,0,-1} ,{ 0,0,-1} ,{ 0,0,1} ,{ -1,0,0} ,{ 1,0,0} ,{ 0,-1,1} ,{ 0,1,1} ,{ 0,-1,0} ,{ 0,-1,0} ,{ 0,1,0} ,{ 0,1,0} ,{ -1,0,0} ,{ -1,0,0} ,{ 1,0,0} ,{ 1,0,0} } " />
			</instanceData>
	</component>

	<component id="ReactionWheels1" library="SATELLITE" type="ReactionWheels" layer="1" elPosition="2" >
	
		<symbol cx="334.213" cy="306.5" sx="76.343" sy="50.899" dx="630.59" dy="176.592" />
	
		<label cx="55" cy="12" dx="894.669" dy="501.013" />
	
			<instanceData>
					<datum id="n" value="3" />
					<datum id="Inertia" value=" 0.1" />
			</instanceData>
	</component>

	<component id="SolarArrays1" library="SATELLITE" type="SolarArrays" layer="1" elPosition="3" >
	
		<symbol cx="351.365" cy="297.877" sx="100.605" sy="338.824" xScale="0.847077" yScale="0.847077" dx="371.327" dy="-108.451" />
	
		<label cx="41.5" cy="12" dx="698.524" dy="299.176" />
	
	</component>

	<component id="Cntrl_PID1" library="CONTROL" type="Cntrl_PID" layer="1" elPosition="5" >
	
		<symbol cx="120" cy="96" sx="89" sy="74" dx="978.263" dy="537.584" rotation="180" flipX="true" />
	
		<label cx="35" cy="12" dx="1065.35" dy="585.947" />
	
			<instanceData>
					<datum id="n" value="3" />
					<datum id="k" value="{ 1,1,1} " />
					<datum id="u_min" value="{ -10,-10,-10} " />
					<datum id="u_max" value="{ 10,10,10} " />
					<datum id="Ti" value="{ 1,1,1} " />
					<datum id="gamma" value="{ 0.1,0.1,0.1} " />
					<datum id="beta" value="{ 1,1,1} " />
					<datum id="Td" value="{ 0.1,0.1,0.1} " />
					<datum id="alpha" value="{ 0.1,0.1,0.1} " />
			</instanceData>
	</component>

	<component id="TC_AocsRW" library="CONTROL" type="AnalogSource" layer="1" elPosition="6" >
	
		<symbol cx="114" cy="104" sx="69" sy="49" xScale="0.500111" yScale="0.539337" dx="919.221" dy="525.118" rotation="-180" />
	
		<label cx="41.5" cy="12" dx="912.65" dy="612.251" />
	
			<instanceData>
					<datum id="n_out" value="3" />
					<datum id="Amp" value="0" />
			</instanceData>
	</component>

	<component id="GainRW" library="CONTROL" type="Gain" layer="1" elPosition="7" >
	
		<symbol cx="120" cy="79.9736" sx="89" sy="48.9472" dx="1078.31" dy="555.422" />
	
		<label cx="28.5" cy="12" dx="1167.89" dy="592.318" />
	
			<instanceData>
					<datum id="n" value="3" />
					<datum id="k" value="{ 10,10,10} " />
			</instanceData>
	</component>

	<component id="TC_AocsThrusters" library="CONTROL" type="BooleanToReal" layer="1" elPosition="8" >
	
		<symbol cx="120" cy="80" sx="89" sy="49" xScale="0.637389" yScale="0.726858" dx="1090.82" dy="209.289" rotation="-90" />
	
		<label cx="57.5" cy="12" dx="1200.32" dy="296.778" />
	
			<instanceData>
					<datum id="n" value="17" />
			</instanceData>
	</component>

	<component id="SensorAttitude1" library="SATELLITE" type="SensorAttitude" layer="1" elPosition="9" >
	
		<symbol cx="346.664" cy="195.099" sx="80" sy="42.454" dx="669.641" dy="462.87" rotation="180" flipY="true" />
	
		<label cx="50.5" cy="12" dx="972.132" dy="671.87" />
	
	</component>

	<component id="GainThr" library="CONTROL" type="Gain" layer="1" elPosition="10" >
	
		<symbol cx="120" cy="79.9736" sx="89" sy="48.9472" dx="961.521" dy="176.518" rotation="180" />
	
		<label cx="26.5" cy="12" dx="1061.77" dy="213.465" />
	
			<instanceData>
					<datum id="n" value="17" />
					<datum id="k" value="{ 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} " />
			</instanceData>
	</component>

	<component id="Tanks1" library="SATELLITE" type="Tanks" layer="1" elPosition="11" >
	
		<symbol cx="277.182" cy="146.193" sx="56.123" sy="141.561" xScale="1.11773" yScale="1.2679" dx="710.392" dy="223.141" rotation="-90" />
	
		<label cx="24.5" cy="12" dx="985.74" dy="416.165" />
	
			<instanceData>
					<datum id="n4" value="4" />
					<datum id="Nodes" value="10" />
					<datum id="VolumeFluid_o" value="{ 0.15,0.08,0.12,0.04} " />
					<datum id="OTankCentreLoc" value="{ { 1,1,1} ,{ 1,-1,1} ,{ -1,-1,1} ,{ -1,1,1} } " />
			</instanceData>
	</component>

	<connector id="Connector_12" sShape="Frame1" sPort="S" eShape="Tanks1" ePort="S" points="896,362" elPosition="13" lineColor="0,255,0"   />

	<connector id="Connector_13" sShape="Tanks1" sPort="if" eShape="Frame1" ePort="if" elPosition="14" lineColor="170,0,0"   />

	<component id="GravityBoom1" library="SATELLITE" type="GravityBooms" layer="1" elPosition="-1" >
	
		<symbol cx="374.567" cy="325.399" sx="300.815" sy="30.169" dx="118.57" dy="92.0256" rotation="180" flipX="true" />
	
		<label cx="44.5" cy="12" dx="441.638" dy="430.01" />
	
	</component>

	<connector id="Connector_14" sShape="Frame1" sPort="S" eShape="GravityBoom1" ePort="S" elPosition="15" lineColor="0,255,0"   />

	<connector id="Connector_15" sShape="GravityBoom1" sPort="f" eShape="Frame1" ePort="f" elPosition="-1" lineColor="170,85,255"   />

	<text id="Text_1" cx="123.5" cy="36" sx="247" sy="72" lineWidth="0" lineType="0"  color="255,255,220" dx="356.066" dy="580.058" layer="1"  >
		<![CDATA[<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Arial'; font-size:10pt; font-weight:400; font-style:normal;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> LIBRARY: SATELLITE</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> FILE: <span style=" font-family:'MS Shell Dlg 2'; font-size:8pt;">testSat</span></p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> AUTHOR: KopooS</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"> CREATION DATE: Friday, August 5 2012</p></body></html>]]>
	</text>

	<bodyEL>
	<![CDATA[COMPONENT %NAME%

END COMPONENT]]>
	</bodyEL>

	<usedLibrary name="CONTROL" version="3.2" auto="false" />
</schematic>