📄 beaver.mdl
字号:
Model {
Name "beaver"
Version 2.09
SimParamPage Solver
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
PaperOrientation landscape
PaperType usletter
PaperUnits inches
StartTime "0.0"
StopTime "60"
Solver ode45
RelTol "1e-8"
AbsTol "1e-8"
Refine "1"
MaxStep "10"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption RefineOutputTimes
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime off
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput off
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg warning
MinStepSizeMsg warning
UnconnectedInputMsg warning
UnconnectedOutputMsg warning
UnconnectedLineMsg warning
ConsistencyChecking off
ZeroCross on
SimulationMode normal
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_vc.tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
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 "beaver"
Location [3, 45, 727, 527]
Open on
ScreenColor white
Block {
BlockType Inport
Name "deltae"
Position [15, 145, 35, 165]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "deltaa"
Position [50, 165, 70, 185]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "deltar"
Position [15, 195, 35, 215]
DropShadow on
FontName "Arial"
Port "3"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "deltaf"
Position [50, 215, 70, 235]
DropShadow on
FontName "Arial"
Port "4"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "n"
Position [15, 255, 35, 275]
DropShadow on
FontName "Arial"
Port "5"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "pz"
Position [50, 270, 70, 290]
DropShadow on
FontName "Arial"
Port "6"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "uw"
Position [15, 305, 35, 325]
DropShadow on
FontName "Arial"
Port "7"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "vw"
Position [50, 320, 70, 340]
DropShadow on
FontName "Arial"
Port "8"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "ww"
Position [15, 350, 35, 370]
DropShadow on
FontName "Arial"
Port "9"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "uwdot"
Position [50, 370, 70, 390]
DropShadow on
FontName "Arial"
Port "10"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "vwdot"
Position [15, 400, 35, 420]
DropShadow on
FontName "Arial"
Port "11"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "wwdot"
Position [50, 420, 70, 440]
DropShadow on
FontName "Arial"
Port "12"
PortWidth "1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [15, 15, 160, 56]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp level1"
ShowPortLabels off
MaskDisplay "disp('FDC Toolbox\\nBEAVER, level 1\\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 SubSystem
Name "AC"
Ports [3, 18, 0, 0, 0]
Position [260, 178, 325, 372]
FontName "Arial"
ShowName off
ShowPortLabels off
System {
Name "AC"
Location [13, 39, 677, 595]
Open off
ScreenColor white
Block {
BlockType Inport
Name "uaero"
Position [15, 135, 35, 155]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "uprop"
Position [15, 210, 35, 230]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name " uwind"
Position [15, 420, 35, 440]
DropShadow on
FontName "Arial"
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Gain
Name " *1"
Position [502, 420, 508, 425]
Orientation down
ForegroundColor magenta
FontName "Arial"
ShowName off
Gain "1"
}
Block {
BlockType Gain
Name "*1"
Position [492, 445, 498, 450]
Orientation down
ForegroundColor magenta
FontName "Arial"
ShowName off
Gain "1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [7, 3, 157, 35]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp level2"
ShowPortLabels off
MaskDisplay "disp('BEAVER, level 2 (main level)\\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 "ad"
Ports [1, 4, 0, 0, 0]
Position [85, 47, 140, 108]
FontName "Arial"
ShowName off
ShowPortLabels off
System {
Name "ad"
Location [4, 42, 409, 280]
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 SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [10, 5, 175, 40]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp adgrp"
ShowPortLabels off
MaskDisplay "disp('AIRDATA 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 "ad1"
Ports [2, 1, 0, 0, 0]
Position [180, 94, 240, 121]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "Airdata1"
MaskDescription "Basic airdata variables"
MaskHelp "eval('fdchelp airdata1')"
MaskDisplay "disp('Airdata1')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "ad1"
Location [4, 42, 414, 279]
Open off
ScreenColor white
Block {
BlockType Inport
Name "x"
Position [15, 150, 35, 170]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "yatm"
Position [15, 65, 35, 85]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [15, 15, 165, 45]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp airdata1"
ShowPortLabels off
MaskDisplay "disp('AIRDATA1\\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 Fcn
Name "M"
Position [165, 146, 285, 164]
FontName "Arial"
Expr "u[2]/u[1]"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1, 0, 0, 0]
Position [110, 136, 115, 169]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[1 12]"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1, 0, 0, 0]
Position [110, 180, 115, 215]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[12 5]"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1, 0, 0, 0]
Position [335, 85, 340, 225]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "3"
}
Block {
BlockType Fcn
Name "a"
Position [165, 65, 285, 85]
FontName "Arial"
Expr "sqrt(401.8743*u[3])"
}
Block {
BlockType Fcn
Name "qdyn"
Position [165, 190, 285, 210]
FontName "Arial"
Expr "0.5*u[13]*u[1]^2"
}
Block {
BlockType Outport
Name "yad1"
Position [370, 145, 390, 165]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "yad1"
DstPort 1
}
Line {
SrcBlock "qdyn"
SrcPort 1
DstBlock "Mux2"
DstPort 3
}
Line {
SrcBlock "a"
SrcPort 1
Points [20, 0; 0, 35]
Branch {
Points [-220, 0; 0, 35]
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Mux2"
DstPort 1
}
}
Line {
SrcBlock "M"
SrcPort 1
DstBlock "Mux2"
DstPort 2
}
Line {
SrcBlock "Mux1"
SrcPort 1
DstBlock "qdyn"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "M"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
Points [50, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 30]
DstBlock "Mux1"
DstPort 1
}
}
Line {
SrcBlock "yatm"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "a"
DstPort 1
}
Branch {
Points [0, 130]
DstBlock "Mux1"
DstPort 2
}
}
}
}
Block {
BlockType SubSystem
Name "ad2"
Ports [2, 1, 0, 0, 0]
Position [280, 139, 340, 166]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "Airdata2"
MaskDescription "More airdata variables"
MaskHelp "eval('fdchelp airdata2')"
MaskDisplay "disp('Airdata2')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -