📄 fdclib4.mdl
字号:
Library {
Name "fdclib4"
Version 3.00
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar off
StatusBar off
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Tue Mar 18 15:18:22 2003"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Dutchroll"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sat Apr 05 22:28:31 2003"
ModelVersionFormat "1.%<AutoIncrement:9>"
ConfigurationManager "none"
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 "fdclib4"
Location [20, 56, 341, 251]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Gravity forces"
Ports [2, 1, 0, 0, 0]
Position [35, 37, 90, 68]
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "Gravity"
MaskDescription "Gravity forces."
MaskHelp "eval('browse gravity')"
MaskPromptString "Mass of the aircraft [kg]:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskVariables "m=@1;"
MaskDisplay "disp('Gravity')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "GM1(10)"
System {
Name "Gravity forces"
Location [6, 44, 460, 229]
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, 88, 45, 102]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "yatm"
Position [15, 118, 45, 132]
FontName "Arial"
FontSize 11
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [12, 10, 154, 42]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse gravity"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('GRAVITY\\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 [370, 88, 375, 132]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [70, 79, 75, 141]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[12 5]"
DisplayOption "none"
}
Block {
BlockType Fcn
Name "Xgr"
Position [135, 60, 320, 80]
FontName "Arial"
FontSize 11
Expr "-m*u[17]*sin(u[8])"
}
Block {
BlockType Fcn
Name "Ygr"
Position [135, 100, 320, 120]
FontName "Arial"
FontSize 11
Expr "m*u[17]*cos(u[8])*sin(u[9])"
}
Block {
BlockType Fcn
Name "Zgr"
Position [135, 140, 320, 160]
FontName "Arial"
FontSize 11
Expr "m*u[17]*cos(u[8])*cos(u[9])"
}
Block {
BlockType Outport
Name "Fgrav"
Position [405, 103, 435, 117]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "yatm"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "Zgr"
SrcPort 1
Points [25, 0; 0, -25]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [25, 0]
Branch {
Points [0, 40]
DstBlock "Zgr"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "Xgr"
DstPort 1
}
Branch {
DstBlock "Ygr"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fgrav"
DstPort 1
}
Line {
SrcBlock "Ygr"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Xgr"
SrcPort 1
Points [25, 0; 0, 25]
DstBlock "Mux"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Wind forces"
Ports [2, 1, 0, 0, 0]
Position [35, 92, 90, 123]
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "fwind"
MaskDescription "Forces due to non-steady atmosphere."
MaskHelp "eval('browse fwind')"
MaskPromptString "Mass of the aircraft [kg]:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskVariables "m=@1;"
MaskDisplay "disp('Fwind')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "GM1(10)"
System {
Name "Wind forces"
Location [6, 44, 508, 214]
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, 78, 45, 92]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "uwind"
Position [15, 108, 45, 122]
FontName "Arial"
FontSize 11
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Fcn
Name "-Xw/m"
Position [125, 55, 320, 75]
FontName "Arial"
FontSize 11
Expr "u[16] + u[5]*u[15] - u[6]*u[14]"
}
Block {
BlockType Fcn
Name "-Yw/m"
Position [125, 90, 320, 110]
FontName "Arial"
FontSize 11
Expr "u[17] - u[4]*u[15] + u[6]*u[13]"
}
Block {
BlockType Fcn
Name "-Zw/m"
Position [125, 125, 320, 145]
FontName "Arial"
FontSize 11
Expr "u[18] + u[4]*u[14] - u[5]*u[13]"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [10, 5, 155, 35]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse fwind"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('FWIND\\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 [360, 76, 365, 124]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "3"
DisplayOption "none"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [65, 72, 70, 128]
BackgroundColor "black"
ShowName off
FontName "Arial"
FontSize 11
Inputs "[12 6]"
DisplayOption "none"
}
Block {
BlockType Gain
Name "gain"
Position [390, 85, 425, 115]
ShowName off
FontName "Arial"
FontSize 11
Gain "-m"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Fwind"
Position [450, 93, 480, 107]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "-Zw/m"
SrcPort 1
Points [20, 0]
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "-Xw/m"
SrcPort 1
Points [20, 0]
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "-Yw/m"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [25, 0]
Branch {
Points [0, -35]
DstBlock "-Xw/m"
DstPort 1
}
Branch {
Points [0, 35]
DstBlock "-Zw/m"
DstPort 1
}
Branch {
DstBlock "-Yw/m"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "gain"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Mux1"
DstPort 1
}
Line {
SrcBlock "uwind"
SrcPort 1
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "gain"
SrcPort 1
DstBlock "Fwind"
DstPort 1
}
}
}
Annotation {
Position [161, 7]
VerticalAlignment "top"
ForegroundColor "blue"
Text "FDC Toolbox - Gravity and wind forces library"
FontName "Times New Roman"
FontSize 14
FontWeight "bold"
}
Annotation {
Position [164, 157]
VerticalAlignment "top"
ForegroundColor "red"
Text "The gravity block is always needed to solve \ne"
"quations of motion; the wind block is optional."
FontName "Arial"
FontSize 11
}
Annotation {
Position [200, 47]
VerticalAlignment "top"
Text "<--- block which computes forces in\naircraft's"
" body-axes due to gravity"
FontName "Arial"
FontSize 11
}
Annotation {
Position [199, 92]
VerticalAlignment "top"
Text "<--- block which computes forces in\naircraft's"
" body-axes due to nonsteady\natmosphere (wind and turbulence)"
FontName "Arial"
FontSize 11
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -