📄 navlib2.mdl
字号:
DstBlock "1 = to, 0 = from"
DstPort 1
}
Line {
SrcBlock "psi"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "CD (const.)"
SrcPort 1
Points [10, 0; 0, -25]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "1 = to, 0 = from"
SrcPort 1
DstBlock "yvor4"
DstPort 1
}
Line {
SrcBlock "uvor=\n[xe ye H]'"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "QDR"
DstPort 1
}
Branch {
Points [0, 95]
Branch {
Points [0, 70]
Branch {
DstBlock "Cone of silence flag"
DstPort 2
}
Branch {
Points [0, 50]
DstBlock "VOR-Range approximation"
DstPort 1
}
}
Branch {
DstBlock "R_VOR"
DstPort 1
}
}
}
}
}
Block {
BlockType SubSystem
Name "VOR example"
Ports [1, 1, 0, 0, 0]
Position [200, 99, 260, 151]
BackgroundColor "lightBlue"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "plot(0,0,100,100,[86,85,90,86,80,85,0],[16,80,2"
"0,16,20,80,62],[22,18,25,28,22,19],[36,32,29,33,36,45],[17,15,12,18,16,19],[3"
"7,37,34,32,44,46],[22,31,47,52,19,15,28,22],[36,44,39,44,55,50,45,38],[31,28]"
",[44,45],[20,18,17],[31,30,32],[36,35,36,37,36,35,35,35,33,31,25],[41,38,33,3"
"2,30,30,32,33,37,35,34],[85,42],[80,50],[86,87,87,86,84,83,84,85],[83,81,78,7"
"6,76,79,82,83])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "VOR example"
Location [22, 58, 547, 239]
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, 93, 45, 107]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2, 0, 0, 0]
Position [130, 69, 135, 131]
BackgroundColor "black"
ShowName off
FontName "Arial"
Outputs "[3 1]"
Port {
PortNumber 1
Name "[xe ye H]'"
TestPoint off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "psi"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1, 0, 0, 0]
Position [425, 123, 430, 167]
BackgroundColor "black"
ShowName off
FontName "Arial"
Inputs "[1 1 2 1]"
DisplayOption "none"
}
Block {
BlockType Selector
Name "Selector"
Position [70, 59, 110, 141]
ShowName off
Elements "[10 11 12 7]"
InputPortWidth "12"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [455, 135, 505, 155]
BackgroundColor "yellow"
FontName "Arial"
FontSize 11
VariableName "yvor"
Buffer "5000"
Decimation "1"
SampleTime "0"
SaveFormat "Matrix"
}
Block {
BlockType Reference
Name "VOR"
Ports [2, 4, 0, 0, 0]
Position [200, 69, 260, 126]
FontName "Arial"
FontSize 11
SourceBlock "navlib2/VOR"
SourceType "VOR"
xVOR "10000"
yVOR "5000"
HVOR "0"
CD "0"
}
Block {
BlockType Reference
Name "VORerr"
Ports [1, 1, 0, 0, 0]
Position [310, 60, 390, 90]
FontName "Arial"
FontSize 11
SourceBlock "navlib2/VORerr"
SourceType "VOR error"
MaskParam1 "5"
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [10, 5, 156, 42]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse vorxmpl"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('VOR example\\nMarc Rauw, January 2005"
"')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "t"
Location [22, 190, 132, 275]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Outport
Name "Gamma_VOR"
Position [465, 68, 495, 82]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "VOR"
SrcPort 1
DstBlock "VORerr"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "To Workspace"
DstPort 1
}
Line {
SrcBlock "VOR"
SrcPort 2
Points [25, 0; 0, 50]
DstBlock "Mux1"
DstPort 2
}
Line {
SrcBlock "VOR"
SrcPort 3
Points [15, 0; 0, 45]
DstBlock "Mux1"
DstPort 3
}
Line {
SrcBlock "VOR"
SrcPort 4
Points [5, 0; 0, 40]
DstBlock "Mux1"
DstPort 4
}
Line {
SrcBlock "VORerr"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Gamma_VOR"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "x"
SrcPort 1
DstBlock "Selector"
DstPort 1
}
Line {
SrcBlock "Selector"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
Name "[xe ye H]'"
Labels [0, 1]
SrcBlock "Demux"
SrcPort 1
DstBlock "VOR"
DstPort 1
}
Line {
Name "psi"
Labels [1, 0]
SrcBlock "Demux"
SrcPort 2
DstBlock "VOR"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "VORerr"
Ports [1, 1, 0, 0, 0]
Position [25, 125, 105, 155]
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskType "VOR error"
MaskDescription "Steady-state error VOR"
MaskHelp "eval('browse vorerr')"
MaskPromptString "Overall VOR system error [%]:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskInitialization "KVORerr = 1 + (@1/100);"
MaskDisplay "disp('VOR Steady-\\nstate error')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "5"
System {
Name "VORerr"
Location [19, 54, 326, 215]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Block {
BlockType Inport
Name "Gamma_VOR\n(nominal value)"
Position [30, 93, 60, 107]
FontName "Arial"
FontSize 11
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Gain
Name "KVORerr"
Position [115, 73, 200, 127]
FontName "Arial"
FontSize 11
Gain "KVORerr"
SaturateOnIntegerOverflow on
}
Block {
BlockType SubSystem
Name "t"
Ports [0, 0, 0, 0, 0]
Position [5, 5, 150, 40]
ForegroundColor "blue"
DropShadow on
ShowName off
OpenFcn "browse vorerr"
FontName "Arial"
FontSize 11
ShowPortLabels off
MaskDisplay "disp('VOR steady-state error\\nMarc Rauw, A"
"pril 2003')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "t"
Location [-14, 88, 81, 173]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
}
}
Block {
BlockType Outport
Name "Gamma_VOR\n(actual value)"
Position [250, 93, 280, 107]
FontName "Arial"
FontSize 11
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "KVORerr"
SrcPort 1
DstBlock "Gamma_VOR\n(actual value)"
DstPort 1
}
Line {
SrcBlock "Gamma_VOR\n(nominal value)"
SrcPort 1
DstBlock "KVORerr"
DstPort 1
}
}
}
Annotation {
Position [161, 7]
VerticalAlignment "top"
ForegroundColor "blue"
Text "FDC Toolbox - VOR sublibrary of NAVLIB"
FontName "Times New Roman"
FontSize 14
FontWeight "bold"
}
Annotation {
Position [234, 42]
VerticalAlignment "top"
ForegroundColor "red"
Text "The blocks on the left have been \ngrouped in t"
"he subsystem \n'VOR example' below:"
FontName "Arial"
FontSize 11
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -