<document classification>

<title>
<subtitle>

Summary:

<summary>

Company: <company>
Authors: <authors>
Reference: <reference>
Index: <index>
Date: <date>

Distribution List: <distribution list>
Table Of Contents
1.    General Project Description
2.    Software Architecture
2.1.    Project Architecture
2.2.    Call Graph
3.    MMS Project
3.1.    Root Elements
3.1.1.    Constants
3.2.    FlightControl Package
3.2.1.    Constants
3.2.2.    CheckEnvelope Operator
3.2.2.1.    Interface
3.2.2.2.    Operator Hierarchy
3.2.2.3.    Graphical and Textual Diagrams
3.2.3.    F_FC Operator
3.2.3.1.    Interface
3.2.3.2.    Locals
3.2.3.3.    Operator Hierarchy
3.2.3.4.    Graphical and Textual Diagrams
3.2.4.    Gains Operator
3.2.4.1.    Interface
3.2.4.2.    Source File
3.2.5.    IntermediateSetPoint Operator
3.2.5.1.    Interface
3.2.5.2.    Operator Hierarchy
3.2.5.3.    Graphical and Textual Diagrams
3.2.6.    PID Operator
3.2.6.1.    Interface
3.2.6.2.    Operator Hierarchy
3.2.6.3.    Graphical and Textual Diagrams
3.2.7.    qDotComputation Operator
3.2.7.1.    Interface
3.2.7.2.    Operator Hierarchy
3.2.7.3.    Graphical and Textual Diagrams
3.3.    FlightControl::SafetyConstant Package
3.3.1.    Constants
3.4.    MissionManagement Package
3.4.1.    Types
3.4.2.    Constants
3.4.3.    F_MM Operator
3.4.3.1.    Interface
3.4.3.2.    Operator Hierarchy
3.4.3.3.    Graphical and Textual Diagrams
3.5.    Type Package
3.5.1.    Types

List Of Figures
Figure 1: View of CheckEnvelope_1 (CheckEnvelope)
Figure 2: View of F_FC_1 (F_FC)
Figure 3: View of IntermediateSetPoint_1 (IntermediateSetPoint)
Figure 4: View of PID_1 (PID)
Figure 5: View of qDotComputation_1 (qDotComputation)
Figure 6: View of F_MM_1 (F_MM)
List Of Tables
Table 1: Public Constants of MMS
Table 2: Public Constants of FlightControl
Table 3: Inputs of CheckEnvelope
Table 4: Outputs of CheckEnvelope
Table 5: Conditional Blocks of CheckEnvelope_1
Table 6: Actions of CheckEnvelope_1
Table 7: Inputs of F_FC
Table 8: Outputs of F_FC
Table 9: Locals of F_FC
Table 10: Gains (#1) hidden inputs assignment of F_FC_1
Table 11: PID (#1) hidden inputs assignment of F_FC_1
Table 12: PID (#2) hidden inputs assignment of F_FC_1
Table 13: Equation Sets of F_FC_1
Table 14: State Machines of F_FC_1
Table 15: States of F_FC_1
Table 16: Transitions of F_FC_1
Table 17: Inputs of Gains
Table 18: Outputs of Gains
Table 19: Inputs of IntermediateSetPoint
Table 20: Outputs of IntermediateSetPoint
Table 21: Generic Types of IntermediateSetPoint
Table 22: Inputs of PID
Table 23: Outputs of PID
Table 24: Inputs of qDotComputation
Table 25: Outputs of qDotComputation
Table 26: Public Constants of SafetyConstant
Table 27: Public Types of MissionManagement
Table 28: Public Constants of MissionManagement
Table 29: Inputs of F_MM
Table 30: Outputs of F_MM
Table 31: State Machines of F_MM_1
Table 32: States of F_MM_1
Table 33: Transitions of F_MM_1
Table 34: Public Types of Type
General Project Description
<description>
Software Architecture
Project Architecture
This section displays the package hierarchy of projects.
Project MMS
     FlightControl
          SafetyConstant
     MissionManagement
     Type
Call Graph
This Call Graph displays the dependency tree of model operators.
1. FlightControl::F_FC
     1.1. FlightControl::CheckEnvelope
     1.2. FlightControl::Gains
     1.3. FlightControl::IntermediateSetPoint [2]
     1.4. FlightControl::PID [2]
     1.5. FlightControl::qDotComputation
     1.6. mathext::CosR
     1.7. mathext::SinR
2. MissionManagement::F_MM
MMS Project
Root Elements
Constants
Table 1: Public Constants of MMS
Name	Type	Value	Comments and Information	
TCycle	float32	0.01		

FlightControl Package
Constants
Table 2: Public Constants of FlightControl
Name	Type	Value	Comments and Information	
ClimbGains	bool	imported		
CommutationDuration	float32	1.0	Comments: 
s	
CruiseGains	bool	imported		
DescentGains	bool	imported		
J0	float32	10.0	Comments: 
kg.m²	
L	float32	1.0	Comments: 
m	
M0	float32	1000.0	Comments: 
kg	
RecoverySpeed	float32	1.0	Comments: 
m/s	

CheckEnvelope Operator
Declared as public function
Interface
Table 3: Inputs of CheckEnvelope
Name	Type	Comments and Information	
mode	Type::te_Phase		
pdot	float32		
q	float32		
qDot	float32		

Table 4: Outputs of CheckEnvelope
Name	Type	Comments and Information	
ok	bool		

Operator Hierarchy
diagram : CheckEnvelope_1
      activate if : IfBlock1
            branch : then
            branch : else
                  branch : then
                  branch : else
Graphical and Textual Diagrams
View of CheckEnvelope_1 (CheckEnvelope)
Figure 1: View of CheckEnvelope_1 (CheckEnvelope)
Table 5: Conditional Blocks of CheckEnvelope_1
Conditional Block	Comments and Information	
IfBlock1		

Table 6: Actions of CheckEnvelope_1
Conditional Block Action	Comments and Information	
IfBlock1:then		
IfBlock1:else:then		
IfBlock1:else:else		

F_FC Operator
Declared as public node
Interface
Table 7: Inputs of F_FC
Name	Type	Comments and Information	
p	float32	Comments: 
Drives Distance	
pdot	float32	Comments: 
Drives speed	
q	float32	Comments: 
Drive altitude	
MMCmd	Type::ts_FligthControlCmd		

Table 8: Outputs of F_FC
Name	Type	Comments and Information	
FligthControlEstimated	Type::ts_FligthControl		
PropultionTorque	float32		
BrakingTorque	float32		

Locals
Table 9: Locals of F_FC
Name	Type	Properties		Comments and Information	
BrakingTorquePID	bool				
comutationTime	int32				
IntermediateSetPoint_forAltitude	bool	last	0.0		
IntermediateSetPoint_forSpeed	bool	last	0.0		
Kd	float32				
Ki	float32				
Kp	float32				
phase	Type::te_Phase				
PropultionTorquePID	bool				
qDot	float32				
ReachIntermediateSetPoint_forAltitude	bool				
ReachIntermediateSetPoint_forSpeed	bool				

Operator Hierarchy
diagram : F_FC_1
      state-machine : SM1
            state : BRAKE
            state : PROPULSION
            state : WAIT1
            state : WAIT2
Graphical and Textual Diagrams
View of F_FC_1 (F_FC)
Figure 2: View of F_FC_1 (F_FC)
Table 10: Gains (#1) hidden inputs assignment of F_FC_1
Rank	Name	Value	
1	kind	wired (_L36)	

Table 11: PID (#1) hidden inputs assignment of F_FC_1
Rank	Name	Value	
1	Kp	wired (_L31)	
2	Kd	wired (_L32)	
3	Ki	wired (_L33)	

Table 12: PID (#2) hidden inputs assignment of F_FC_1
Rank	Name	Value	
1	Kp	wired (_L31)	
2	Kd	wired (_L32)	
3	Ki	wired (_L33)	

Table 13: Equation Sets of F_FC_1
Equation Set	Comments and Information	
ReferenceTrajectoryGeneration	Traceability: 
[MMS-SW_F_FC-Req_2]	

Table 14: State Machines of F_FC_1
State Machine	Comments and Information	
SM1	Traceability: 
[MMS-SW_F_FC-Req_1]	

Table 15: States of F_FC_1
State	Comments and Information	
SM1:BRAKE		
SM1:PROPULSION		
SM1:WAIT1		
SM1:WAIT2		

Table 16: Transitions of F_FC_1
Source/Target	#	Conditions/Actions	Comments and Information	
Source:
SM1:BRAKE
Target:
SM1:WAIT2	1	Condition:
true		
Source:
SM1:PROPULSION
Target:
SM1:WAIT1	1	Condition:
true		
Source:
SM1:WAIT1
Target:
SM1:BRAKE	1	Condition:
comutationTime times true
Actions:
		
Source:
SM1:WAIT2
Target:
SM1:PROPULSION	1	Condition:
comutationTime times true
Actions:

Gains Operator
Declared as public imported function
Interface
Table 17: Inputs of Gains
Name	Type	Properties	Comments and Information	
Mass	float32			
Altitude	float32			
Speed	float32			
kind	Type::te_Phase	hidden (#1)		

Table 18: Outputs of Gains
Name	Type	Comments and Information	
Kp	float32		
Kd	float32		
Ki	float32		

Source File
No associated source file.
IntermediateSetPoint Operator
Declared as public function
Interface
Table 19: Inputs of IntermediateSetPoint
Name	Type	Comments and Information	
Current	'T		
Target	'T		

Table 20: Outputs of IntermediateSetPoint
Name	Type	Comments and Information	
IntermediateSetPoint	'T		

Table 21: Generic Types of IntermediateSetPoint
Name	Generic Type	
'T		

Operator Hierarchy
diagram : IntermediateSetPoint_1
Graphical and Textual Diagrams
View of IntermediateSetPoint_1 (IntermediateSetPoint)
Figure 3: View of IntermediateSetPoint_1 (IntermediateSetPoint)
PID Operator
Declared as public node
Interface
Table 22: Inputs of PID
Name	Type	Properties	Comments and Information	
error	float32			
Kp	float32	hidden (#1)		
Kd	float32	hidden (#2)		
Ki	float32	hidden (#3)		

Table 23: Outputs of PID
Name	Type	Comments and Information	
Val	float32		

Operator Hierarchy
diagram : PID_1
Graphical and Textual Diagrams
View of PID_1 (PID)
Figure 4: View of PID_1 (PID)
qDotComputation Operator
Declared as public node
Interface
Table 24: Inputs of qDotComputation
Name	Type	Comments and Information	
Input1	float32		

Table 25: Outputs of qDotComputation
Name	Type	Comments and Information	
Output1	float32		

Operator Hierarchy
diagram : qDotComputation_1
Graphical and Textual Diagrams
View of qDotComputation_1 (qDotComputation)
Figure 5: View of qDotComputation_1 (qDotComputation)
FlightControl::SafetyConstant Package
Constants
Table 26: Public Constants of SafetyConstant
Name	Type	Value	Comments and Information	
pDot_maxCr	float32	imported		
q_maxCl	float32	imported		
q_maxDs	float32	imported		
q_minCr	float32	imported		
qDot_maxCl	float32	imported		
qDot_maxCr	float32	imported		
qDot_maxDs	float32	imported		
qdot_minCl	float32	imported		
qDot_minCr	float32	imported		
qDot_minDs	float32	imported		

MissionManagement Package
Types
Table 27: Public Types of MissionManagement
Name	Definition	Comments and Information	
ts_Viability	{A_initial : float32, A_cruise : float32, RP_initial : float32, RP_cruise : float32}		

Constants
Table 28: Public Constants of MissionManagement
Name	Type	Value	Comments and Information	
Viability	bool	false		

F_MM Operator
Declared as public node
Interface
Table 29: Inputs of F_MM
Name	Type	Comments and Information	
NavigationGS	Type::ts_Navigation		
MissionAbortEL	bool		
ControlPanelCmd	Type::ts_ControlPanelCommad		
FligthControlEstimated	Type::ts_FligthControl		

Table 30: Outputs of F_MM
Name	Type	Comments and Information	
MissionStatus	Type::ts_MissionStatus		
EmergencyLanding	bool		
FligthControlCmd	Type::ts_FligthControlCmd		

Operator Hierarchy
diagram : F_MM_1
      state-machine : SM1
            state : OFF
            state : ON
Graphical and Textual Diagrams
View of F_MM_1 (F_MM)
Figure 6: View of F_MM_1 (F_MM)
Table 31: State Machines of F_MM_1
State Machine	Comments and Information	
SM1		

Table 32: States of F_MM_1
State	Comments and Information	
SM1:OFF		
SM1:ON		

Table 33: Transitions of F_MM_1
Source/Target	#	Conditions/Actions	Comments and Information	
Source:
SM1:OFF
Target:
SM1:ON	1	Condition:
ControlPanelCmd.ON_PushButton		
Source:
SM1:ON
Target:
SM1:OFF	1	Condition:
 not ControlPanelCmd.ON_PushButton		

Type Package
Types
Table 34: Public Types of Type
Name	Definition	Comments and Information	
te_Bay	enum {OPEN, CLOSED}		
te_NavigationMode	enum {RP, A}		
te_Option	enum {SPEED, ALTITUDE, ENERGY}		
te_Phase	enum {CRUISE, CLIMB, DESCENT}		
ts_ControlPanelCommad	{ON_PushButton : bool, Start_PusButton : bool, ModeSwitch : Type::te_NavigationMode, BaySwitch : Type::te_Bay, PayloadMass : float32, USB_Key : Type::ts_DSA}		
ts_DSA	{Distance : float32, Speed : float32, Altitude : float32}		
ts_FligthControl	{EstimatedTotalMass : float32, CurrentRange : float32, CurrentSpeed : float32, CurrentAltitude : float32, EnergyLevel : float32}		
ts_FligthControlCmd	{StartTakeOff : bool, StartLanding : bool, OperatingPointAltitude : float32, OperatingPointSpeed : float32, OperatingMode : Type::te_Option, MissionRange : float32}		
ts_MissionStatus	{MissionCANCELLED : bool, MissionCOMPLETE : bool, MissionABORTED : bool}		
ts_Navigation	{Parameters : Type::ts_DSA, Mode : Type::te_NavigationMode, Option : Type::te_Option, GO : bool, MissionAbort : bool}		

End of document.