📄 fdclib6.mdl
字号:
Interpolate on
}
Block {
BlockType Inport
Name "yhlp"
Position [15, 148, 45, 162]
FontName "Arial"
FontSize 11
Port "3"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [10, 5, 161, 41]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse flpath"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('FLPATH\\nM.O. Rauw, September 2004')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [65, 68, 70, 172]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[12 12 11]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1, 0, 0, 0]
Position [355, 51, 360, 184]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "4"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "Phi"
Position [125, 160, 320, 180]
FontName "Arial"
FontSize 11
Expr "asin(u[34]*u[33])"
}
Block {
BlockType Fcn
Name "chi"
Position [125, 125, 320, 145]
FontName "Arial"
FontSize 11
Expr "u[3]+u[7]"
}
Block {
BlockType Fcn
Name "fpa"
Position [125, 90, 320, 110]
FontName "Arial"
FontSize 11
Expr "u[13]/9.80665"
}
Block {
BlockType Fcn
Name "gamma"
Position [125, 55, 320, 75]
FontName "Arial"
FontSize 11
Expr "asin(u[24]/u[1])"
}
Block {
BlockType Outport
Name "yfp"
Position [395, 113, 425, 127]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 15]
Branch {
DstBlock "chi"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "Phi"
DstPort 1
}
}
Branch {
Points [0, -20]
Branch {
DstBlock "fpa"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "gamma"
DstPort 1
}
}
}
Line {
SrcBlock "gamma"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "fpa"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "chi"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Phi"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "yfp"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "xdot"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "yhlp"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "uvwdot"
Ports [3, 1, 0, 0, 0]
Position [25, 134, 85, 176]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "uvwdot"
MaskDescription "Calculation of du/dt, dv/dt, and dw/dt."
MaskHelp "eval('browse uvwdot')"
MaskDisplay "disp('uvwdot')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "uvwdot"
Location [15, 48, 638, 307]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "x"
Position [20, 183, 50, 197]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "xdot"
Position [20, 223, 50, 237]
FontName "Arial"
FontSize 11
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yhlp"
Position [20, 108, 50, 122]
FontName "Arial"
FontSize 11
Port "3"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 155, 35]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse uvwdot"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('UVWDOT\\nM.O. Rauw, March 2003')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Demux
Name "DeMux"
Ports [1, 5, 0, 0, 0]
Position [75, 58, 80, 172]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Outputs "[1 1 1 1 7]"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2, 0, 0, 0]
Position [75, 179, 80, 201]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Outputs "[1 11]"
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1, 0, 0, 0]
Position [155, 59, 160, 191]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[1 1 1 1 1 12]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1, 0, 0, 0]
Position [535, 65, 540, 185]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Terminator
Name "Terminator"
Position [95, 150, 105, 160]
ShowName off
FontName "Arial"
FontSize 11
}
Block {
BlockType Terminator
Name "Terminator1"
Position [95, 190, 105, 200]
ShowName off
FontName "Arial"
FontSize 11
}
Block {
BlockType Fcn
Name "u dot"
Position [210, 75, 505, 95]
FontName "Arial"
FontSize 11
Expr "u[6]*u[1]*u[3] - u[5]*(u[7]*u[2]*u[3] + u[8"
"]*u[1]*u[4])"
}
Block {
BlockType Fcn
Name "v dot"
Position [210, 115, 505, 135]
FontName "Arial"
FontSize 11
Expr "u[6]*u[4] + u[5]*u[3]*u[8]"
}
Block {
BlockType Fcn
Name "wdot"
Position [210, 155, 505, 175]
FontName "Arial"
FontSize 11
Expr "u[6]*u[2]*u[3] + u[5]*(u[7]*u[1]*u[3] - u[8"
"]*u[2]*u[4])"
}
Block {
BlockType Outport
Name "yuvw = \n[udot;\nvdot; wdot]"
Position [570, 118, 600, 132]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [35, 0; 0, -30]
DstBlock "Mux"
DstPort 5
}
Line {
SrcBlock "DeMux"
SrcPort 4
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "DeMux"
SrcPort 3
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "yhlp"
SrcPort 1
DstBlock "DeMux"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "yuvw = \n[udot;\nvdot; wdot]"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "DeMux"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "DeMux"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "xdot"
SrcPort 1
Points [75, 0; 0, -55]
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "u dot"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "v dot"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "wdot"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "DeMux"
SrcPort 5
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -40]
DstBlock "u dot"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "wdot"
DstPort 1
}
Branch {
DstBlock "v dot"
DstPort 1
}
}
Annotation {
Position [108, 172]
VerticalAlignment "top"
Text "V"
FontName "Arial"
}
Annotation {
Position [105, 122]
VerticalAlignment "top"
Text "sin(beta)"
FontName "Arial"
}
Annotation {
Position [107, 102]
VerticalAlignment "top"
Text "cos(beta)"
FontName "Arial"
}
Annotation {
Position [112, 82]
VerticalAlignment "top"
Text "sin(alpha)"
FontName "Arial"
}
Annotation {
Position [109, 62]
VerticalAlignment "top"
Text "cos(alpha)"
FontName "Arial"
}
Annotation {
Position [466, 161]
VerticalAlignment "top"
Text "`"
FontName "Arial"
}
}
}
Annotation {
Position [162, 7]
VerticalAlignment "top"
ForegroundColor "blue"
Text "FDC Toolbox - Other (output-) equations librar"
"y"
FontName "Times New Roman"
FontSize 14
FontWeight "bold"
}
Annotation {
Position [219, 202]
VerticalAlignment "top"
Text "<-- body-axes accelerations and specific forces"
"\n(outputs of accelerometers in c.g. of aircraft)."
FontName "Arial"
FontSize 11
}
Annotation {
Position [209, 137]
VerticalAlignment "top"
Text "<-- time-derivatives of body-axes velocities\n("
"no state equations, as V, alpha, and beta\nare used as states instead of u, v"
", and w!)"
FontName "Arial"
FontSize 11
}
Annotation {
Position [308, 242]
VerticalAlignment "top"
Text "_______________________________________________"
"_______________________________________________"
FontName "Arial"
}
Annotation {
Position [217, 262]
VerticalAlignment "top"
ForegroundColor "red"
Text "Other blocks from the aircraft model, which hav"
"en't been put in a subsystem block:"
FontName "Arial"
FontSize 11
}
Annotation {
Position [159, 292]
VerticalAlignment "top"
Text "<-- summation and sorting\nof the forces and mo"
"ments"
FontName "Arial"
FontSize 11
}
Annotation {
Position [458, 292]
VerticalAlignment "top"
Text "<-- sines and cosines of alpha, beta, psi, thet"
"a, and\nphi. These (co)sines are used more than once in\nthe aircraft model. "
"The magenta color denotes\nits (intentional) use in a feedback-loop."
FontName "Arial"
FontSize 11
}
Annotation {
Position [157, 87]
VerticalAlignment "top"
Text "<-- flightpath variables"
FontName "Arial"
FontSize 11
}
Annotation {
Position [163, 49]
ForegroundColor "red"
Text "The blocks below the line are necessary to solv"
"e the equations\nof motion; the blocks above the line are optional."
FontName "Arial"
FontSize 11
}
Annotation {
Position [472, 72]
VerticalAlignment "top"
ForegroundColor "red"
Text "The blocks on the left have been grouped \nin t"
"he subsystem 'Additional Outputs' below:"
FontName "Arial"
FontSize 11
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -