📄 fdclib1.mdl
字号:
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
}
}
}
Block {
BlockType SubSystem
Name "atm"
Ports [1, 1, 0, 0, 0]
Position [85, 53, 145, 77]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "Atmosph"
MaskDescription "Atmosphere variables"
MaskHelp "eval('fdchelp atmosph')"
MaskDisplay "disp('Atmosph')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "atm"
Location [4, 42, 477, 354]
Open off
ScreenColor white
Block {
BlockType Inport
Name "x"
Position [10, 100, 30, 120]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 155, 35]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp atmosph"
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
ScreenColor white
}
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [365, 50, 370, 130]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "2"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [420, 135, 425, 190]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[2 1]"
}
Block {
BlockType Mux
Name "Mux2"
Ports [5, 1, 0, 0, 0]
Position [365, 224, 370, 296]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "5"
}
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 "0"
}
Line {
SrcBlock "x"
SrcPort 1
Points [10, 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
}
}
}
Block {
BlockType Outport
Name "yatm"
Position [370, 55, 390, 75]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "yad1"
Position [370, 100, 390, 120]
DropShadow on
FontName "Arial"
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "yad2"
Position [370, 145, 390, 165]
DropShadow on
FontName "Arial"
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "yad3"
Position [370, 190, 390, 210]
DropShadow on
FontName "Arial"
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "ad2"
SrcPort 1
DstBlock "yad2"
DstPort 1
}
Line {
SrcBlock "ad3"
SrcPort 1
DstBlock "yad3"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "atm"
DstPort 1
}
Branch {
Points [0, 35]
Branch {
DstBlock "ad1"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "ad3"
DstPort 1
}
}
}
Line {
SrcBlock "atm"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "yatm"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
DstBlock "ad1"
DstPort 2
}
Branch {
Points [0, 30]
Branch {
DstBlock "ad2"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "ad3"
DstPort 2
}
}
}
}
Line {
SrcBlock "ad1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "yad1"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
DstBlock "ad2"
DstPort 2
}
Branch {
Points [0, 55]
DstBlock "ad3"
DstPort 3
}
}
}
}
}
Block {
BlockType SubSystem
Name "ad1"
Ports [2, 1, 0, 0, 0]
Position [20, 89, 80, 116]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "Airdata1"
MaskDescription "Basic airdata variables"
MaskHelp "eval('fdchelp airdata1')"
MaskDisplay "disp('Airdata1')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "ad1"
Location [4, 42, 414, 279]
Open off
ScreenColor white
Block {
BlockType Inport
Name "x"
Position [15, 150, 35, 170]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "yatm"
Position [15, 65, 35, 85]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [15, 15, 165, 45]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp airdata1"
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
ScreenColor white
}
}
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
FontName "Arial"
ShowName off
Inputs "[1 12]"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [110, 180, 115, 215]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[12 5]"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1, 0, 0, 0]
Position [335, 85, 340, 225]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "3"
}
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 "0"
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "yad1"
DstPort 1
}
Line {
SrcBlock "qdyn"
SrcPort 1
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "a"
SrcPort 1
Points [20, 0; 0, 35]
Branch {
Points [-220, 0; 0, 35]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "M"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "qdyn"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "M"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 30]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "yatm"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "a"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "Mux1"
DstPort 2
}
}
}
}
Block {
BlockType SubSystem
Name "ad2"
Ports [2, 1, 0, 0, 0]
Position [20, 139, 80, 166]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "Airdata2"
MaskDescription "More airdata variables"
MaskHelp "eval('fdchelp airdata2')"
MaskDisplay "disp('Airdata2')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "ad2"
Location [4, 42, 480, 256]
Open off
ScreenColor white
Block {
BlockType Inport
Name "yatm"
Position [30, 60, 50, 80]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "yad1"
Position [30, 110, 50, 130]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -