📄 fdclib3.mdl
字号:
Library {
Name "fdclib3"
Version 2.09
PaperOrientation landscape
PaperType usletter
PaperUnits inches
BlockDefaults {
Orientation right
ForegroundColor black
BackgroundColor white
DropShadow off
NamePlacement normal
FontName "Helvetica"
FontSize 10
FontWeight normal
FontAngle normal
ShowName on
}
AnnotationDefaults {
HorizontalAlignment center
VerticalAlignment middle
ForegroundColor black
BackgroundColor white
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight normal
FontAngle normal
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight normal
FontAngle normal
}
System {
Name "fdclib3"
Location [10, 45, 588, 290]
Open on
ScreenColor white
Block {
BlockType SubSystem
Name "eng"
Ports [4, 3, 0, 0, 0]
Position [430, 110, 485, 175]
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.\\n"
"The 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 "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
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "Matrix Gain"
DstPort 1
}
Line {
SrcBlock "Matrix Gain"
SrcPort 1
DstBlock "Cprop"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Terminator1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Terminator2"
DstPort 1
}
Annotation {
Position [351, 82]
VerticalAlignment top
FontName "Arial"
Text "ytmp"
}
Annotation {
Position [118, 122]
VerticalAlignment top
FontName "Arial"
Text "alpha"
}
Annotation {
Position [117, 72]
VerticalAlignment top
FontName "Arial"
Text "dpt"
}
Annotation {
Position [372, 172]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "ytmp = [dpt dpt^3 alpha*dpt^2 "
"dpt*alpha^2]'"
}
Annotation {
Position [406, 137]
VerticalAlignment top
ForegroundColor red
FontName "Arial"
Text "Here: Cprop = EM*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\ndimension"
"less 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 SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 155, 35]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp fmdims"
ShowPortLabels off
MaskDisplay "disp('FMDIMS\\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 [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 "b"
SrcPort 1
Points [10, 0; 0, -10]
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "qdyn * S * CZ"
SrcPort 1
Points [75, 0; 0, 10]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "S"
SrcPort 1
Points [15, 0; 0, -25]
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "qdyn * S * CY"
SrcPort 1
Points [90, 0; 0, 25]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "qdyn * S * CX"
SrcPort 1
Points [100, 0; 0, 40]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -