📄 fdclib1.mdl
字号:
FontSize 11
Expr "sqrt(579000*((1+u[1]/101325)^(1/3.5)-1))"
}
Block {
BlockType Fcn
Name "Ve"
Position [125, 110, 290, 130]
FontName "Arial"
FontSize 11
Expr "sqrt(u[8] * 1.63265)"
}
Block {
BlockType Fcn
Name "qc"
Position [125, 70, 290, 90]
FontName "Arial"
FontSize 11
Expr "u[2] * ((1+0.2*u[7]^2)^3.5-1)"
}
Block {
BlockType Outport
Name "yad2"
Position [415, 113, 445, 127]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [15, 0]
Branch {
Points [0, -20]
DstBlock "qc"
DstPort 1
}
Branch {
Points [0, 20]
DstBlock "Ve"
DstPort 1
}
}
Line {
SrcBlock "Ve"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Vc"
SrcPort 1
Points [10, 0; 0, -50]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "qc"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 70; -215, 0; 0, 35]
DstBlock "Vc"
DstPort 1
}
Branch {
Points [50, 0; 0, 25]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "yad2"
DstPort 1
}
Line {
SrcBlock "yad1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "yatm"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "airdata3"
Ports [3, 1, 0, 0, 0]
Position [20, 174, 80, 216]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "Airdata3"
MaskDescription "More airdata variables"
MaskHelp "eval('browse airdata3')"
MaskPromptString "Mean aerodynamic chord [m]:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskVariables "cbar=@1;"
MaskDisplay "disp('Airdata3')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "GM1(1)"
System {
Name "airdata3"
Location [10, 48, 475, 249]
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 [15, 88, 45, 102]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yatm"
Position [15, 118, 45, 132]
FontName "Arial"
FontSize 11
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yad1"
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, 10, 160, 40]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse airdata3"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('AIRDATA3\\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 Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [385, 65, 390, 185]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1, 0, 0, 0]
Position [65, 80, 70, 170]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[12 5 3]"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "Re"
Position [115, 115, 270, 135]
FontName "Arial"
FontSize 11
Expr "(u[13]*u[1])/u[16]"
}
Block {
BlockType Fcn
Name "Tt"
Position [115, 75, 270, 95]
FontName "Arial"
FontSize 11
Expr "u[15] * (1+0.2*u[19]^2)"
}
Block {
BlockType Gain
Name "cbar"
Position [315, 147, 365, 183]
ShowName off
FontName "Arial"
FontSize 11
Gain "cbar"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "yad3"
Position [420, 118, 450, 132]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Re"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 40]
DstBlock "cbar"
DstPort 1
}
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Re"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Tt"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "yad3"
DstPort 1
}
Line {
SrcBlock "Tt"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "cbar"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "yatm"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "yad1"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
}
}
Block {
BlockType SubSystem
Name "atmosphere"
Ports [1, 1, 0, 0, 0]
Position [20, 43, 80, 67]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "Atmosph"
MaskDescription "Atmosphere variables"
MaskHelp "eval('browse atmosph')"
MaskDisplay "disp('Atmosph')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "atmosphere"
Location [8, 46, 498, 358]
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 [15, 103, 45, 117]
FontName "Arial"
FontSize 11
Port "1"
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 atmosph"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('ATMOSPH\\nM.O. Rauw, March 2003')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "0"
Location [101, 74, 276, 229]
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 [2, 1, 0, 0, 0]
Position [385, 50, 390, 130]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "2"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [440, 135, 445, 190]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[2 1]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux2"
Ports [5, 1, 0, 0, 0]
Position [385, 224, 390, 296]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "5"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "T"
Position [95, 100, 320, 120]
FontName "Arial"
FontSize 11
Expr "288.15 - 0.0065*u[12]"
}
Block {
BlockType Fcn
Name "g"
Position [95, 60, 320, 80]
FontName "Arial"
FontSize 11
Expr "9.80665*(6371020/(6371020+u[12]))^2"
}
Block {
BlockType Fcn
Name "mu"
Position [100, 265, 320, 285]
FontName "Arial"
FontSize 11
Expr "(1.458*10^(-6)*u[2]^1.5)/(u[2]+110.4)"
}
Block {
BlockType Fcn
Name "ps"
Position [100, 165, 320, 185]
FontName "Arial"
FontSize 11
Expr "101325*(u[2]/288.15)^(u[1]/1.86584)"
}
Block {
BlockType Fcn
Name "rho"
Position [100, 220, 320, 240]
FontName "Arial"
FontSize 11
Expr "u[3]/(287.053*u[2])"
}
Block {
BlockType Outport
Name "yatm"
Position [435, 253, 465, 267]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "x"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "T"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "g"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [20, 0; 0, 60]
Branch {
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [-350, 0; 0, 25]
Branch {
Points [0, 100]
DstBlock "mu"
DstPort 1
}
Branch {
DstBlock "ps"
DstPort 1
}
}
}
Line {
SrcBlock "ps"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [0, 70]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "T"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 150]
DstBlock "Mux2"
DstPort 3
}
}
Line {
SrcBlock "g"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 220]
DstBlock "Mux2"
DstPort 5
}
}
Line {
SrcBlock "rho"
SrcPort 1
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [15, 0; 0, 40; -385, 0; 0, 25]
DstBlock "rho"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "yatm"
DstPort 1
}
Line {
SrcBlock "mu"
SrcPort 1
DstBlock "Mux2"
DstPort 4
}
}
}
Annotation {
Position [416, 42]
VerticalAlignment "top"
ForegroundColor "red"
Text "The blocks on the left have been grouped \nin t"
"he subsystem 'Airdata Group' below:"
FontName "Arial"
FontSize 11
}
Annotation {
Position [197, 187]
VerticalAlignment "top"
Text "<--- additional airdata variables 2"
FontName "Arial"
FontSize 11
}
Annotation {
Position [192, 142]
VerticalAlignment "top"
Text "<--- additional airdata variables 1"
FontName "Arial"
FontSize 11
}
Annotation {
Position [172, 47]
VerticalAlignment "top"
Text "<--- atmosphere variables"
FontName "Arial"
FontSize 11
}
Annotation {
Position [177, 97]
VerticalAlignment "top"
Text "<--- basic airdata variables"
FontName "Arial"
FontSize 11
}
Annotation {
Position [111, 7]
VerticalAlignment "top"
ForegroundColor "blue"
Text "FDC Toolbox - Airdata library"
FontName "Times New Roman"
FontSize 14
FontWeight "bold"
}
Annotation {
Position [138, 255]
ForegroundColor "red"
Text "Atmosph and Airdata1 are necessary to solve the"
"\nequations of motion. Airdata2 and Airdata3 are\noptional (at least for the "
"Beaver aircraft)"
FontName "Arial"
FontSize 11
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -