📄 fdclib3.mdl
字号:
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "yad1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "qdyn * S * Cn"
SrcPort 1
DstBlock "b "
DstPort 1
}
Line {
SrcBlock "qdyn * S * Cm"
SrcPort 1
DstBlock "cbar"
DstPort 1
}
Line {
SrcBlock "qdyn * S * Cl"
SrcPort 1
DstBlock "b"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [35, 0]
Branch {
Points [0, 20]
Branch {
Points [0, 40]
Branch {
Points [0, 40]
DstBlock "qdyn * S * Cn"
DstPort 1
}
Branch {
DstBlock "qdyn * S * Cm"
DstPort 1
}
}
Branch {
DstBlock "qdyn * S * Cl"
DstPort 1
}
}
Branch {
Points [0, -20]
Branch {
Points [0, -35]
Branch {
DstBlock "qdyn * S * CY"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "qdyn * S * CX"
DstPort 1
}
}
Branch {
DstBlock "qdyn * S * CZ"
DstPort 1
}
}
}
Line {
SrcBlock "Force /\nmoment\ncoefficients"
SrcPort 1
DstBlock "S"
DstPort 1
}
Line {
SrcBlock "cbar"
SrcPort 1
Points [20, 0; 0, -30]
DstBlock "Mux1"
DstPort 5
}
Line {
SrcBlock "b "
SrcPort 1
Points [35, 0; 0, -50]
DstBlock "Mux1"
DstPort 6
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Forces and\nmoments"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "pow"
Ports [3, 1, 0, 0, 0]
Position [120, 59, 185, 101]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "Power"
MaskDescription "Engine power and dimensionless\npressure "
"increase across propeller\n(model for "
"DHC-2 'Beaver')"
MaskHelp "eval('fdchelp power')"
MaskDisplay "disp('Power\\n(Beaver)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "pow"
Location [8, 40, 679, 239]
Open off
ScreenColor white
Block {
BlockType Inport
Name "x"
Position [10, 75, 30, 95]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "uprop"
Position [10, 115, 30, 135]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "yatm"
Position [10, 155, 30, 175]
DropShadow on
FontName "Arial"
Port "3"
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 power"
ShowPortLabels off
MaskDisplay "disp('POWER\\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 [3, 1, 0, 0, 0]
Position [50, 66, 55, 184]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[12 2 5]"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [300, 44, 305, 86]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[19 1]"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1, 0, 0, 0]
Position [615, 55, 620, 90]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "2"
}
Block {
BlockType Fcn
Name "P"
Position [85, 115, 590, 135]
FontName "Arial"
Expr "0.7355*(-326.5+0.00412*(u[14]+7.4)*(u[13"
"]+2010)+(408.0-0.0965*u[13])*(1.0-u[15]/"
"1.225))"
}
Block {
BlockType Fcn
Name "dpt"
Position [325, 55, 580, 75]
FontName "Arial"
Expr "0.08696 + 191.18*(u[20]/(0.5*u[15]*u[1]^"
"3))"
}
Block {
BlockType Outport
Name "ypow"
Position [640, 65, 660, 85]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "dpt"
DstPort 1
}
Line {
SrcBlock "P"
SrcPort 1
Points [5, 0; 0, -30]
Branch {
Points [-320, 0; 0, -20]
DstBlock "Mux1"
DstPort 2
}
Branch {
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [10, 0]
Branch {
Points [0, -70]
DstBlock "Mux1"
DstPort 1
}
Branch {
DstBlock "P"
DstPort 1
}
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "uprop"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "yatm"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "dpt"
SrcPort 1
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "ypow"
DstPort 1
}
}
}
Block {
BlockType Outport
Name "ypow"
Position [425, 70, 445, 90]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Cprop"
Position [425, 135, 445, 155]
DropShadow on
FontName "Arial"
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "FMprop"
Position [425, 185, 445, 205]
DropShadow on
FontName "Arial"
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "yatm"
SrcPort 1
Points [30, 0; 0, -50]
DstBlock "pow"
DstPort 3
}
Line {
SrcBlock "x"
SrcPort 1
Points [55, 0]
Branch {
Points [0, 70]
DstBlock "eng"
DstPort 1
}
Branch {
DstBlock "pow"
DstPort 1
}
}
Line {
SrcBlock "yad1"
SrcPort 1
DstBlock "fmdims"
DstPort 1
}
Line {
SrcBlock "eng"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 55]
DstBlock "fmdims"
DstPort 2
}
Branch {
DstBlock "Cprop"
DstPort 1
}
}
Line {
SrcBlock "fmdims"
SrcPort 1
DstBlock "FMprop"
DstPort 1
}
Line {
SrcBlock "uprop"
SrcPort 1
Points [15, 0; 0, -25]
DstBlock "pow"
DstPort 2
}
Line {
SrcBlock "pow"
SrcPort 1
Points [15, 0]
Branch {
Points [0, 70]
DstBlock "eng"
DstPort 2
}
Branch {
DstBlock "ypow"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "eng1"
Ports [2, 1, 0, 0, 0]
Position [30, 100, 95, 135]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "Engmod"
MaskDescription "Engine model for the DHC-2 'Beaver'"
MaskHelp "eval('fdchelp engmod')"
MaskDisplay "disp('Engmod\\n(Beaver)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "eng1"
Location [4, 42, 519, 237]
Open off
ScreenColor white
Block {
BlockType Inport
Name "x"
Position [15, 125, 35, 145]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "ypow"
Position [15, 85, 35, 105]
DropShadow on
FontName "Arial"
Port "2"
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 engmod"
ShowPortLabels off
MaskDisplay "disp('ENGMOD\\nM.O. Rauw, Dec. 1996')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ScreenColor white
}
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 3, 0, 0, 0]
Position [55, 118, 60, 152]
BackgroundColor black
FontName "Arial"
ShowName off
Outputs "[1 1 10]"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2, 0, 0, 0]
Position [55, 77, 60, 108]
BackgroundColor black
FontName "Arial"
ShowName off
Outputs "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [205, 70, 290, 90]
FontName "Arial"
ShowName off
Expr "u[1]^3"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [205, 100, 290, 120]
FontName "Arial"
ShowName off
Expr "u[2]*u[1]^2"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [205, 130, 290, 150]
FontName "Arial"
ShowName off
Expr "u[1]*u[2]^2"
}
Block {
BlockType StateSpace
Name "Matrix Gain"
Position [385, 80, 445, 110]
FontName "Arial"
A "A"
B "B"
C "C"
D "D"
X0 "0"
MaskType "Matrix Gain"
MaskDescription "Matrix Gain"
MaskHelp "This block implements an matrix gain.\\nThe "
"matrix dimensions must be in accordance\\nwi"
"th the dimension of the inputvector."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskInitialization "A = []; B = []; C = []; D = @1;"
MaskDisplay "disp('y = A*u')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
MaskValueString "EM"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [145, 61, 150, 159]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "2"
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1, 0, 0, 0]
Position [315, 38, 320, 152]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "4"
}
Block {
BlockType Terminator
Name "Terminator"
Position [75, 93, 90, 107]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator1"
Position [75, 138, 90, 152]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator2"
Position [75, 118, 90, 132]
ShowName off
}
Block {
BlockType Outport
Name "Cprop"
Position [475, 85, 495, 105]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -35]
DstBlock "Mux1"
DstPort 1
}
Branch {
DstBlock "Mux"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 30]
DstBlock "Fcn2"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "Fcn"
DstPort 1
}
Branch {
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "ypow"
SrcPort 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -