📄 airlib.mdl
字号:
Name "0"
Ports [0, 0, 0, 0, 0]
Position [10, 5, 175, 40]
ForegroundColor "blue"
DropShadow on
ShowName off
FontName "Arial"
ShowPortLabels off
MaskDisplay "disp('AIRDATA GROUP (level 3)\\nM.O. Ra"
"uw')"
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 SubSystem
Name "ad1"
Ports [2, 1, 0, 0, 0]
Position [180, 94, 240, 121]
ShowName off
FontName "Arial"
ShowPortLabels off
MaskType "Airdata1"
MaskDescription "Basic airdata variables"
MaskDisplay "disp('Airdata1')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "ad1"
Location [4, 74, 414, 311]
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, 150, 35, 170]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yatm"
Position [15, 65, 35, 85]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [15, 15, 165, 45]
ForegroundColor "blue"
DropShadow on
ShowName off
FontName "Arial"
ShowPortLabels off
MaskDisplay "disp('AIRDATA1\\nM.O. Rauw, October"
" 1997')"
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 Fcn
Name "M"
Position [165, 146, 285, 164]
FontName "Arial"
Expr "u[2]/u[1]"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [110, 136, 115, 169]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "[1 12]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [110, 180, 115, 215]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "[12 5]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1, 0, 0, 0]
Position [335, 85, 340, 225]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "a"
Position [165, 65, 285, 85]
FontName "Arial"
Expr "sqrt(401.8743*u[3])"
}
Block {
BlockType Fcn
Name "qdyn"
Position [165, 190, 285, 210]
FontName "Arial"
Expr "0.5*u[13]*u[1]^2"
}
Block {
BlockType Outport
Name "yad1"
Position [370, 145, 390, 165]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "yatm"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 130]
DstBlock "Mux1"
DstPort 2
}
Branch {
DstBlock "a"
DstPort 1
}
}
Line {
SrcBlock "x"
SrcPort 1
Points [50, 0]
Branch {
Points [0, 30]
DstBlock "Mux1"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "M"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "qdyn"
DstPort 1
}
Line {
SrcBlock "M"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "a"
SrcPort 1
Points [20, 0; 0, 35]
Branch {
DstBlock "Mux2"
DstPort 1
}
Branch {
Points [-220, 0; 0, 35]
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "qdyn"
SrcPort 1
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "yad1"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "ad2"
Ports [2, 1, 0, 0, 0]
Position [280, 139, 340, 166]
ShowName off
FontName "Arial"
ShowPortLabels off
MaskType "Airdata2"
MaskDescription "More airdata variables"
MaskDisplay "disp('Airdata2')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "ad2"
Location [4, 42, 480, 256]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "yatm"
Position [30, 60, 50, 80]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yad1"
Position [30, 110, 50, 130]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [15, 15, 160, 45]
ForegroundColor "blue"
DropShadow on
ShowName off
FontName "Arial"
ShowPortLabels off
MaskDisplay "disp('AIRDATA2\\nM.O. Rauw, October"
" 1997')"
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 [2, 1, 0, 0, 0]
Position [95, 80, 100, 120]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "[5 3]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1, 0, 0, 0]
Position [410, 97, 415, 143]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "Vc"
Position [140, 175, 370, 195]
FontName "Arial"
Expr "sqrt(579000*((1+u[1]/101325)^(1/3.5"
")-1))"
}
Block {
BlockType Fcn
Name "Ve"
Position [145, 110, 310, 130]
FontName "Arial"
Expr "sqrt(u[8] * 1.63265)"
}
Block {
BlockType Fcn
Name "qc"
Position [145, 70, 310, 90]
FontName "Arial"
Expr "u[2] * ((1+0.2*u[7]^2)^3.5-1)"
}
Block {
BlockType Outport
Name "yad2"
Position [440, 110, 460, 130]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "yad2"
DstPort 1
}
Line {
SrcBlock "qc"
SrcPort 1
Points [20, 0]
Branch {
Points [50, 0; 0, 25]
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [0, 70; -215, 0; 0, 35]
DstBlock "Vc"
DstPort 1
}
}
Line {
SrcBlock "Vc"
SrcPort 1
Points [10, 0; 0, -50]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Ve"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 20]
DstBlock "Ve"
DstPort 1
}
Branch {
Points [0, -20]
DstBlock "qc"
DstPort 1
}
}
Line {
SrcBlock "yatm"
SrcPort 1
Points [15, 0; 0, 20]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "yad1"
SrcPort 1
Points [15, 0; 0, -10]
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "ad3"
Ports [3, 1, 0, 0, 0]
Position [280, 176, 340, 224]
ShowName off
FontName "Arial"
ShowPortLabels off
MaskType "Airdata3"
MaskDescription "More airdata variables"
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 "ad3"
Location [4, 42, 470, 243]
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, 75, 35, 95]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yatm"
Position [15, 115, 35, 135]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yad1"
Position [15, 155, 35, 175]
DropShadow on
FontName "Arial"
Port "3"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -