📄 rah.mdl
字号:
Open off
ScreenColor white
}
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [150, 100, 155, 135]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[3 6]"
}
Block {
BlockType Mux
Name "Mux1"
Ports [6, 1, 0, 0, 0]
Position [440, 62, 445, 178]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "6"
}
Block {
BlockType Gain
Name "S"
Position [75, 136, 110, 164]
FontName "Arial"
ShowName off
Gain "S"
}
Block {
BlockType Gain
Name "b"
Position [335, 123, 375, 157]
FontName "Arial"
ShowName off
Gain "b"
}
Block {
BlockType Gain
Name "b "
Position [335, 203, 375, 237]
FontName "Arial"
ShowName off
Gain "b"
}
Block {
BlockType Gain
Name "cbar"
Position [335, 160, 380, 200]
FontName "Arial"
ShowName off
Gain "cbar"
}
Block {
BlockType Fcn
Name "qdyn * S * CX"
Position [220, 20, 310, 40]
FontName "Arial"
Expr "u[4]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * CY"
Position [220, 55, 310, 75]
FontName "Arial"
Expr "u[5]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * CZ"
Position [220, 90, 310, 110]
FontName "Arial"
Expr "u[6]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * Cl"
Position [220, 130, 310, 150]
FontName "Arial"
Expr "u[7]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * Cm"
Position [220, 170, 310, 190]
FontName "Arial"
Expr "u[8]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * Cn"
Position [220, 210, 310, 230]
FontName "Arial"
Expr "u[9]*u[3]"
}
Block {
BlockType Outport
Name "Forces and\nmoments"
Position [495, 110, 515, 130]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Forces and\nmoments"
DstPort 1
}
Line {
SrcBlock "b "
SrcPort 1
Points [35, 0; 0, -50]
DstBlock "Mux1"
DstPort 6
}
Line {
SrcBlock "cbar"
SrcPort 1
Points [20, 0; 0, -30]
DstBlock "Mux1"
DstPort 5
}
Line {
SrcBlock "Force /\nmoment\ncoefficient"
"s"
SrcPort 1
DstBlock "S"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [35, 0]
Branch {
Points [0, -20]
Branch {
DstBlock "qdyn * S * CZ"
DstPort 1
}
Branch {
Points [0, -35]
Branch {
Points [0, -35]
DstBlock "qdyn * S * CX"
DstPort 1
}
Branch {
DstBlock "qdyn * S * CY"
DstPort 1
}
}
}
Branch {
Points [0, 20]
Branch {
DstBlock "qdyn * S * Cl"
DstPort 1
}
Branch {
Points [0, 40]
Branch {
DstBlock "qdyn * S * Cm"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "qdyn * S * Cn"
DstPort 1
}
}
}
}
Line {
SrcBlock "qdyn * S * Cl"
SrcPort 1
DstBlock "b"
DstPort 1
}
Line {
SrcBlock "qdyn * S * Cm"
SrcPort 1
DstBlock "cbar"
DstPort 1
}
Line {
SrcBlock "qdyn * S * Cn"
SrcPort 1
DstBlock "b "
DstPort 1
}
Line {
SrcBlock "yad1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "qdyn * S * CX"
SrcPort 1
Points [100, 0; 0, 40]
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "qdyn * S * CY"
SrcPort 1
Points [90, 0; 0, 25]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "S"
SrcPort 1
Points [15, 0; 0, -25]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "qdyn * S * CZ"
SrcPort 1
Points [75, 0; 0, 10]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "b"
SrcPort 1
Points [10, 0; 0, -10]
DstBlock "Mux1"
DstPort 4
}
}
}
Block {
BlockType Outport
Name "ydl"
Position [365, 65, 385, 85]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Caero"
Position [365, 110, 385, 130]
DropShadow on
FontName "Arial"
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "FMaero"
Position [365, 160, 385, 180]
DropShadow on
FontName "Arial"
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "aero"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Caero"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "fmdims"
DstPort 2
}
}
Line {
SrcBlock "dl"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "ydl"
DstPort 1
}
Branch {
Points [0, 60]
DstBlock "aero"
DstPort 3
}
}
Line {
SrcBlock "x"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "dl"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "aero"
DstPort 1
}
}
Line {
SrcBlock "uaero"
SrcPort 1
DstBlock "aero"
DstPort 2
}
Line {
SrcBlock "yad1"
SrcPort 1
DstBlock "fmdims"
DstPort 1
}
Line {
SrcBlock "fmdims"
SrcPort 1
DstBlock "FMaero"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "eng"
Ports [4, 3, 0, 0, 0]
Position [195, 195, 250, 260]
FontName "Arial"
ShowName off
ShowPortLabels off
System {
Name "eng"
Location [4, 42, 466, 271]
Open off
ScreenColor white
Block {
BlockType Inport
Name "x"
Position [15, 55, 35, 75]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "uprop"
Position [15, 95, 35, 115]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "yatm"
Position [15, 135, 35, 155]
DropShadow on
FontName "Arial"
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "yad1"
Position [15, 175, 35, 195]
DropShadow on
FontName "Arial"
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [15, 5, 170, 35]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp enggrp"
ShowPortLabels off
MaskDisplay "disp('ENGINE GROUP (level "
"3)\\nM.O. Rauw')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ScreenColor white
}
}
Block {
BlockType SubSystem
Name "eng"
Ports [2, 1, 0, 0, 0]
Position [230, 125, 295, 160]
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 "eng"
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\\nwith "
"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 bla
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -