📄 beaver.mdl
字号:
}
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 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 "Demux"
SrcPort 1
DstBlock "Terminator2"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Matrix Gain"
SrcPort 1
DstBlock "Cprop"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Matrix Gain"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "ypow"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Fcn1"
DstPort 1
}
Branch {
Points [0, -30]
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [0, 30]
DstBlock "Fcn2"
DstPort 1
}
}
Line {
SrcBlock "Demux1"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, -35]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "Fcn2"
SrcPort 1
DstBlock "Mux1"
DstPort 4
}
Annotation {
Position [406, 137]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "Here: Cprop = EM*ytmp"
}
Annotation {
Position [372, 172]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "ytmp = [dpt dpt^3 alpha*dpt^2 "
"dpt*alpha^2]'"
}
Annotation {
Position [117, 72]
VerticalAlignment top
FontName "Arial"
Text "dpt"
}
Annotation {
Position [118, 122]
VerticalAlignment top
FontName "Arial"
Text "alpha"
}
Annotation {
Position [351, 82]
VerticalAlignment top
FontName "Arial"
Text "ytmp"
}
}
}
Block {
BlockType SubSystem
Name "fmdims"
Ports [2, 1, 0, 0, 0]
Position [340, 179, 400, 206]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "FMdims"
MaskDescription "Calculate forces and moments from\ndimen"
"sionless coefficients."
MaskHelp "eval('fdchelp fmdims')"
MaskPromptString "Mean aerodynamic chord [m]:|Wing "
"span [m]:|Wing surface [m^2]:"
MaskStyleString "edit,edit,edit"
MaskVariables "cbar=@1;b=@2;S=@3;"
MaskDisplay "disp('FMdims')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
MaskValueString "GM1(1)|GM1(2)|GM1(3)"
System {
Name "fmdims"
Location [4, 42, 544, 294]
Open off
ScreenColor white
Block {
BlockType Inport
Name "yad1"
Position [25, 100, 45, 120]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "Force /\nmoment\ncoefficients"
Position [25, 140, 45, 160]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSyst
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -