📄 oloop2.mdl
字号:
Name "mu"
Position [80, 265, 300, 285]
FontName "Arial"
Expr "(1.458*10^(-6)*u[2]^1.5)/(u[2]+1"
"10.4)"
}
Block {
BlockType Fcn
Name "ps"
Position [80, 165, 300, 185]
FontName "Arial"
Expr "101325*(u[2]/288.15)^(u[1]/1.865"
"84)"
}
Block {
BlockType Fcn
Name "rho"
Position [80, 220, 300, 240]
FontName "Arial"
Expr "u[3]/(287.053*u[2])"
}
Block {
BlockType Outport
Name "yatm"
Position [435, 250, 455, 270]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "x"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "T"
DstPort 1
}
Branch {
Points [0, -40]
DstBlock "g"
DstPort 1
}
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [20, 0; 0, 60]
Branch {
DstBlock "Mux1"
DstPort 1
}
Branch {
Points [-350, 0; 0, 25]
Branch {
Points [0, 100]
DstBlock "mu"
DstPort 1
}
Branch {
DstBlock "ps"
DstPort 1
}
}
}
Line {
SrcBlock "ps"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Mux1"
DstPort 2
}
Branch {
Points [0, 70]
DstBlock "Mux2"
DstPort 2
}
}
Line {
SrcBlock "T"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 150]
DstBlock "Mux2"
DstPort 3
}
}
Line {
SrcBlock "g"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
Points [0, 220]
DstBlock "Mux2"
DstPort 5
}
}
Line {
SrcBlock "rho"
SrcPort 1
DstBlock "Mux2"
DstPort 1
}
Line {
SrcBlock "Mux1"
SrcPort 1
Points [15, 0; 0, 40; -385, 0; 0, 25]
DstBlock "rho"
DstPort 1
}
Line {
SrcBlock "Mux2"
SrcPort 1
DstBlock "yatm"
DstPort 1
}
Line {
SrcBlock "mu"
SrcPort 1
DstBlock "Mux2"
DstPort 4
}
}
}
Block {
BlockType Outport
Name "yatm"
Position [370, 55, 390, 75]
DropShadow on
FontName "Arial"
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "yad1"
Position [370, 100, 390, 120]
DropShadow on
FontName "Arial"
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "yad2"
Position [370, 145, 390, 165]
DropShadow on
FontName "Arial"
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "yad3"
Position [370, 190, 390, 210]
DropShadow on
FontName "Arial"
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "ad2"
SrcPort 1
DstBlock "yad2"
DstPort 1
}
Line {
SrcBlock "ad3"
SrcPort 1
DstBlock "yad3"
DstPort 1
}
Line {
SrcBlock "x"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "atm"
DstPort 1
}
Branch {
Points [0, 35]
Branch {
DstBlock "ad1"
DstPort 1
}
Branch {
Points [0, 85]
DstBlock "ad3"
DstPort 1
}
}
}
Line {
SrcBlock "atm"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "yatm"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
DstBlock "ad1"
DstPort 2
}
Branch {
Points [0, 30]
Branch {
DstBlock "ad2"
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "ad3"
DstPort 2
}
}
}
}
Line {
SrcBlock "ad1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "yad1"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
DstBlock "ad2"
DstPort 2
}
Branch {
Points [0, 55]
DstBlock "ad3"
DstPort 3
}
}
}
}
}
Block {
BlockType SubSystem
Name "ae"
Ports [3, 3, 0, 0, 0]
Position [195, 125, 250, 165]
FontName "Arial"
ShowName off
ShowPortLabels off
System {
Name "ae"
Location [4, 42, 410, 244]
Open off
ScreenColor white
Block {
BlockType Inport
Name "x"
Position [15, 65, 35, 85]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "uaero"
Position [15, 110, 35, 130]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "yad1"
Position [15, 150, 35, 170]
DropShadow on
FontName "Arial"
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [10, 10, 210, 46]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp aerogrp"
ShowPortLabels off
MaskDisplay "disp('AERODYNAMICS 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 "aero"
Ports [3, 1, 0, 0, 0]
Position [180, 97, 240, 143]
FontName "Arial"
ShowName off
ShowPortLabels off
MaskType "Aeromod"
MaskDescription "Aerodynamic model of the DHC-2 "
"'Beaver'."
MaskHelp "eval('fdchelp aeromod')"
MaskDisplay "disp('Aeromod\\n(Beaver)')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate none
MaskIconUnits autoscale
System {
Name "aero"
Location [4, 42, 620, 554]
Open off
ScreenColor white
Block {
BlockType Inport
Name "x"
Position [15, 105, 35, 125]
DropShadow on
FontName "Arial"
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "uaero"
Position [15, 285, 35, 305]
DropShadow on
FontName "Arial"
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "ydl"
Position [15, 195, 35, 215]
DropShadow on
FontName "Arial"
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType SubSystem
Name "0"
Ports [0, 0, 0, 0, 0]
Position [15, 15, 160, 45]
ForegroundColor blue
DropShadow on
FontName "Arial"
ShowName off
OpenFcn "fdchelp aeromod"
ShowPortLabels off
MaskDisplay "disp('AEROMOD\\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 Demux
Name "Demux"
Ports [1, 4, 0, 0, 0]
Position [70, 77, 75, 148]
BackgroundColor black
FontName "Arial"
ShowName off
Outputs "[1 1 1 9]"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 4, 0, 0, 0]
Position [70, 263, 75, 322]
BackgroundColor black
FontName "Arial"
ShowName off
Outputs "4"
}
Block {
BlockType Fcn
Name "Fcn"
Position [210, 95, 250, 115]
FontName "Arial"
ShowName off
Expr "u[1]^2"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [210, 115, 250, 135]
FontName "Arial"
ShowName off
Expr "u[1]^3"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [210, 155, 250, 175]
FontName "Arial"
ShowName off
Expr "u[1]^2"
}
Block {
BlockType Fcn
Name "Fcn3"
Position [210, 175, 250, 195]
FontName "Arial"
ShowName off
Expr "u[1]^3"
}
Block {
BlockType StateSpace
Name "Matrix Gain"
Position [480, 210, 540, 240]
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.\\nThe 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 "AM"
}
Block {
BlockType Mux
Name "Mux"
Ports [17, 1, 0, 0, 0]
Position [415, 48, 420, 402]
BackgroundColor black
FontName "Arial"
ShowName off
Inputs "[1 1 1 1 1 1 1 3 1 1 1 1 "
"1 1 1 1 1]"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1, 0, 0, 0]
Position [220, 330, 235, 350]
FontName "Arial"
ShowName off
Inputs "2"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1, 0, 0, 0]
Position [220, 355, 235, 375]
FontName "Arial"
ShowName off
Inputs "2"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1, 0, 0, 0]
Position [220, 380, 235, 400]
FontName "Arial"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -