📄 airlib.mdl
字号:
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
FontName "Arial"
ShowPortLabels off
MaskDisplay "disp('AIRDATA3\\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 [3, 1, 0, 0, 0]
Position [395, 65, 400, 185]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [3, 1, 0, 0, 0]
Position [65, 64, 70, 186]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "[12 5 3]"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "Re"
Position [115, 115, 270, 135]
FontName "Arial"
Expr "(u[13]*u[1])/u[16]"
}
Block {
BlockType Fcn
Name "Tt"
Position [115, 75, 270, 95]
FontName "Arial"
Expr "u[15] * (1+0.2*u[19]^2)"
}
Block {
BlockType Gain
Name "cbar"
Position [315, 147, 365, 183]
ShowName off
FontName "Arial"
Gain "cbar"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "yad3"
Position [430, 115, 450, 135]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "cbar"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Tt"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "yad3"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [20, 0]
Branch {
Points [0, -40]
DstBlock "Tt"
DstPort 1
}
Branch {
DstBlock "Re"
DstPort 1
}
}
Line {
SrcBlock "Re"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 40]
DstBlock "cbar"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 2
}
}
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 "atm"
Ports [1, 1, 0, 0, 0]
Position [85, 53, 145, 77]
ShowName off
FontName "Arial"
ShowPortLabels off
MaskType "Atmosph"
MaskDescription "Atmosphere variables"
MaskDisplay "disp('Atmosph')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "atm"
Location [154, 152, 627, 464]
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 [10, 100, 30, 120]
DropShadow on
FontName "Arial"
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
FontName "Arial"
ShowPortLabels off
MaskDisplay "disp('ATMOSPH\\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 [365, 50, 370, 130]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "2"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [420, 135, 425, 190]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "[2 1]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux2"
Ports [5, 1, 0, 0, 0]
Position [365, 224, 370, 296]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "5"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "T"
Position [75, 100, 300, 120]
FontName "Arial"
Expr "288.15 - 0.0065*u[12]"
}
Block {
BlockType Fcn
Name "g"
Position [75, 60, 300, 80]
FontName "Arial"
Expr "9.80665*(6371020/(6371020+u[12]))^2"
}
Block {
BlockType Fcn
Name "mu"
Position [80, 265, 300, 285]
FontName "Arial"
Expr "(1.458*10^(-6)*u[2]^1.5)/(u[2]+110."
"4)"
}
Block {
BlockType Fcn
Name "ps"
Position [80, 165, 300, 185]
FontName "Arial"
Expr "101325*(u[2]/288.15)^(u[1]/1.86584)"
}
Block {
BlockType Fcn
Name "rho"
Position [80, 220, 300, 240]
FontName "Arial"
Expr "u[3]/(287.053*u[2])"
}
Block {
BlockType Outport
Name "yatm"
Position [435, 250, 455, 270]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "mu"
SrcPort 1
DstBlock "Mux2"
DstPort 4
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "yatm"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [15, 0; 0, 40; -385, 0; 0, 25]
DstBlock "rho"
DstPort 1
}
Line {
SrcBlock "rho"
SrcPort 1
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "g"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 220]
DstBlock "Mux2"
DstPort 5
}
Branch {
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "T"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 150]
DstBlock "Mux2"
DstPort 3
}
Branch {
DstBlock "Mux"
DstPort 2
}
}
Line {
SrcBlock "ps"
SrcPort 1
Points [35, 0]
Branch {
Points [0, 70]
DstBlock "Mux2"
DstPort 2
}
Branch {
DstBlock "Mux1"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [20, 0; 0, 60]
Branch {
Points [-350, 0; 0, 25]
Branch {
DstBlock "ps"
DstPort 1
}
Branch {
Points [0, 100]
DstBlock "mu"
DstPort 1
}
}
Branch {
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "x"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -40]
DstBlock "g"
DstPort 1
}
Branch {
DstBlock "T"
DstPort 1
}
}
}
}
Block {
BlockType Outport
Name "yatm"
Position [370, 55, 390, 75]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "yad1"
Position [370, 100, 390, 120]
DropShadow on
FontName "Arial"
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "yad2"
Position [370, 145, 390, 165]
DropShadow on
FontName "Arial"
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "yad3"
Position [370, 190, 390, 210]
DropShadow on
FontName "Arial"
Port "4"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "ad1"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 50]
Branch {
Points [0, 55]
DstBlock "ad3"
DstPort 3
}
Branch {
DstBlock "ad2"
DstPort 2
}
}
Branch {
DstBlock "yad1"
DstPort 1
}
}
Line {
SrcBlock "atm"
SrcPort 1
Points [10, 0]
Branch {
Points [0, 50]
Branch {
Points [0, 30]
Branch {
Points [0, 55]
DstBlock "ad3"
DstPort 2
}
Branch {
DstBlock "ad2"
DstPort 1
}
}
Branch {
DstBlock "ad1"
DstPort 2
}
}
Branch {
DstBlock "yatm"
DstPort 1
}
}
Line {
SrcBlock "x"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 35]
Branch {
Points [0, 85]
DstBlock "ad3"
DstPort 1
}
Branch {
DstBlock "ad1"
DstPort 1
}
}
Branch {
DstBlock "atm"
DstPort 1
}
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -