📄 fdclib3.mdl
字号:
Text "ytmp = [dpt dpt^3 alpha*dpt^2 dpt*alp"
"ha^2]'"
FontName "Arial"
FontSize 11
}
Annotation {
Position [421, 147]
VerticalAlignment "top"
ForegroundColor "red"
Text "Here: Cprop = EM*ytmp"
FontName "Arial"
FontSize 11
}
}
}
Block {
BlockType SubSystem
Name "fmdims"
Ports [2, 1, 0, 0, 0]
Position [30, 163, 95, 192]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "FMdims"
MaskDescription "Calculate forces and moments from\ndimensionles"
"s coefficients."
MaskHelp "eval('browse fmdims')"
MaskPromptString "Mean aerodynamic chord [m]:|Wing span [m]:|Wing"
" surface [m^2]:"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
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 [12, 50, 568, 305]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "yad1"
Position [25, 103, 55, 117]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "Force and\nmoment\ncoefficients"
Position [25, 143, 55, 157]
FontName "Arial"
FontSize 11
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Reference
Name "0"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 155, 35]
ForegroundColor "blue"
DropShadow on
ShowName off
FontName "Arial"
FontSize 11
SourceBlock "fdclib2/fmdims/0"
SourceType "Unknown"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [155, 100, 160, 135]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[3 6]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [6, 1, 0, 0, 0]
Position [440, 62, 445, 178]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "6"
DisplayOption "none"
}
Block {
BlockType Gain
Name "S"
Position [90, 136, 125, 164]
ShowName off
FontName "Arial"
FontSize 11
Gain "S"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "b"
Position [335, 123, 375, 157]
ShowName off
FontName "Arial"
FontSize 11
Gain "b"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "b "
Position [335, 203, 375, 237]
ShowName off
FontName "Arial"
FontSize 11
Gain "b"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "cbar"
Position [335, 160, 380, 200]
ShowName off
FontName "Arial"
FontSize 11
Gain "cbar"
SaturateOnIntegerOverflow on
}
Block {
BlockType Fcn
Name "qdyn * S * CX"
Position [220, 20, 310, 40]
FontName "Arial"
FontSize 11
Expr "u[4]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * CY"
Position [220, 55, 310, 75]
FontName "Arial"
FontSize 11
Expr "u[5]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * CZ"
Position [220, 90, 310, 110]
FontName "Arial"
FontSize 11
Expr "u[6]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * Cl"
Position [220, 130, 310, 150]
FontName "Arial"
FontSize 11
Expr "u[7]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * Cm"
Position [220, 170, 310, 190]
FontName "Arial"
FontSize 11
Expr "u[8]*u[3]"
}
Block {
BlockType Fcn
Name "qdyn * S * Cn"
Position [220, 210, 310, 230]
FontName "Arial"
FontSize 11
Expr "u[9]*u[3]"
}
Block {
BlockType Outport
Name "Forces and\nmoments"
Position [495, 113, 525, 127]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
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 and\nmoment\ncoefficients"
SrcPort 1
DstBlock "S"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [30, 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 "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 "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
}
Line {
SrcBlock "yad1"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "S"
SrcPort 1
Points [10, 0]
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "power"
Ports [3, 1, 0, 0, 0]
Position [30, 49, 95, 91]
ShowName off
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "Power"
MaskDescription "Engine power and dimensionless\npressure increa"
"se across propeller\n(model for DHC-2 'Beaver')"
MaskHelp "eval('browse power')"
MaskDisplay "disp('Power\\n(Beaver)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "power"
Location [12, 46, 728, 247]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "x"
Position [15, 83, 45, 97]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "uprop"
Position [15, 123, 45, 137]
FontName "Arial"
FontSize 11
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yatm"
Position [15, 163, 45, 177]
FontName "Arial"
FontSize 11
Port "3"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [10, 8, 145, 40]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse power"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('POWER\\nM.O. Rauw, March 2003')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "0"
Location [99, 72, 274, 227]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1, 0, 0, 0]
Position [65, 71, 70, 189]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[12 2 5]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [315, 49, 320, 91]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[19 1]"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1, 0, 0, 0]
Position [630, 60, 635, 95]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "2"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "P"
Position [100, 120, 605, 140]
FontName "Arial"
FontSize 11
Expr "0.7355*(-326.5+0.00412*(u[14]+7.4)*(u[13]+2"
"010)+(408.0-0.0965*u[13])*(1.0-u[15]/1.225))"
}
Block {
BlockType Fcn
Name "dpt"
Position [340, 60, 595, 80]
FontName "Arial"
FontSize 11
Expr "0.08696 + 191.18*(u[20]/(0.5*u[15]*u[1]^3))"
}
Block {
BlockType Outport
Name "ypow"
Position [655, 73, 685, 87]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
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
}
}
}
Annotation {
Position [144, 7]
VerticalAlignment "top"
ForegroundColor "blue"
Text "FDC Toolbox - Engine library (Beaver)"
FontName "Times New Roman"
FontSize 14
FontWeight "bold"
}
Annotation {
Position [164, 232]
VerticalAlignment "top"
ForegroundColor "red"
Text "All three blocks are necessary to solve the air"
"craft equations \nof motion. Engine blocks are valid for the 'Beaver' only!"
FontName "Arial"
FontSize 11
}
Annotation {
Position [205, 112]
VerticalAlignment "top"
Text "<--- engine forces and moments model\nof the 'B"
"eaver' (gives force and mo-\nment coefficients)"
FontName "Arial"
FontSize 11
}
Annotation {
Position [209, 57]
VerticalAlignment "top"
Text "<--- computation of engine power and \ndimensio"
"nless pressure increase across\npropeller (for 'Beaver' aircraft only!)"
FontName "Arial"
FontSize 11
}
Annotation {
Position [220, 167]
VerticalAlignment "top"
Text "<--- this block converts the non-dimensional\nf"
"orce and moment coefficients into\nactual forces and moments\n(also used in A"
"eroynamics Group)"
FontName "Arial"
FontSize 11
}
Annotation {
Position [454, 62]
VerticalAlignment "top"
ForegroundColor "red"
Text "The blocks on the left have been grouped \nin t"
"he subsystem 'Engine Group' below:"
FontName "Arial"
FontSize 11
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -