📄 s3eig.mdl
字号:
Position [285, 125, 450, 155]
Expr "sqrt(u[2]*u[2] + u[4]*u[4])"
}
Block {
BlockType Mux
Name "Mux"
Position [180, 75, 210, 260]
Inputs "4"
}
Block {
BlockType Fcn
Name "P"
Position [285, 180, 450, 210]
Expr "u[1]*u[2] + u[3]*u[4]"
}
Block {
BlockType Fcn
Name "Q"
Position [285, 230, 450, 260]
Expr "u[1]*u[4]-u[2]*u[3]"
}
Block {
BlockType Outport
Name "Out_|Vt|"
Position [510, 80, 530, 100]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Out_|It|"
Position [510, 130, 530, 150]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Pgen"
Position [510, 185, 530, 205]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Qgen"
Position [510, 235, 530, 255]
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "vqr"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "-iqr"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "vdr"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "-idr"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "P"
SrcPort 1
DstBlock "Pgen"
DstPort 1
}
Line {
SrcBlock "Q"
SrcPort 1
DstBlock "Qgen"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
Points [0, 0]
Branch {
Points [25, 0; 0, 25]
DstBlock "P"
DstPort 1
}
Branch {
Points [25, 0; 0, 75]
DstBlock "Q"
DstPort 1
}
Branch {
Points [25, 0; 0, -80]
DstBlock "Fcn"
DstPort 1
}
Branch {
Points [25, 0; 0, -30]
DstBlock "Fcn1"
DstPort 1
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
DstBlock "Out_|It|"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
DstBlock "Out_|Vt|"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Rotor"
Position [495, 183, 540, 322]
ShowPortLabels off
System {
Name "Rotor"
Location [17, 91, 821, 548]
Open off
ScreenColor white
Block {
BlockType Inport
Name "psiq"
Position [50, 290, 70, 310]
Port "1"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "psid "
Position [50, 250, 70, 270]
Port "2"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "-iqr"
Position [50, 200, 70, 220]
Port "3"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "-idr"
Position [50, 340, 70, 360]
Port "4"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Inport
Name "Tmech"
Position [50, 160, 70, 180]
Port "5"
PortWidth "-1"
SampleTime "-1"
}
Block {
BlockType Gain
Name "1/2H_mode0"
Position [245, 238, 365, 282]
Gain "1/(2*H_m(1,1))"
}
Block {
BlockType Gain
Name "Damping"
Position [230, 187, 310, 213]
Orientation left
Gain "Domega"
}
Block {
BlockType Gain
Name "Gain"
Position [815, 157, 850, 193]
Gain "k(2)"
}
Block {
BlockType Gain
Name "Gain1"
Position [810, 263, 850, 297]
Gain "k(5)"
}
Block {
BlockType Gain
Name "Gain5"
Position [325, 25, 425, 65]
Orientation left
Gain "wmi_xi_2"
}
Block {
BlockType Gain
Name "Gain6"
Position [345, 140, 445, 180]
Orientation left
Gain "wmi_wmi"
}
Block {
BlockType Demux
Name "Mass\nangle"
Position [685, 175, 730, 245]
Outputs "6"
}
Block {
BlockType StateSpace
Name "Matrix\nGain"
Position [265, 90, 295, 120]
A "[]"
B "[]"
C "[]"
D "K"
X0 "0"
MaskType "Matrix Gain"
MaskDescription "Matrix Gain."
MaskHelp "Multiplies input vector by entered "
"matrix to produce output vector (y=Au)."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskInitialization "K = @1;"
MaskDisplay "disp('K')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate off
MaskIconUnits autoscale
MaskValueString "tdisk2m"
}
Block {
BlockType StateSpace
Name "Matrix\nGain2"
Position [115, 76, 140, 104]
A "[]"
B "[]"
C "[]"
D "K"
X0 "0"
MaskType "Matrix Gain"
MaskDescription "Matrix Gain."
MaskHelp "Multiplies input vector by entered "
"matrix to produce output vector (y=Au)."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskInitialization "K = @1;"
MaskDisplay "disp('K')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate off
MaskIconUnits autoscale
MaskValueString "tmechv"
}
Block {
BlockType StateSpace
Name "Matrix\nGain3"
Position [175, 106, 200, 134]
A "[]"
B "[]"
C "[]"
D "K"
X0 "0"
MaskType "Matrix Gain"
MaskDescription "Matrix Gain."
MaskHelp "Multiplies input vector by entered "
"matrix to produce output vector (y=Au)."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskInitialization "K = @1;"
MaskDisplay "disp('K')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate off
MaskIconUnits autoscale
MaskValueString "temmask"
}
Block {
BlockType Mux
Name "Modal\nangle"
Position [595, 191, 620, 224]
Inputs "2"
}
Block {
BlockType StateSpace
Name "Modal\nspeed"
Position [510, 31, 535, 59]
A "[]"
B "[]"
C "[]"
D "K"
X0 "0"
MaskType "Matrix Gain"
MaskDescription "Matrix Gain."
MaskHelp "Multiplies input vector by entered "
"matrix to produce output vector (y=Au)."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskInitialization "K = @1;"
MaskDisplay "disp('K')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate off
MaskIconUnits autoscale
MaskValueString "omegam2to6"
}
Block {
BlockType Product
Name "Prod"
Position [100, 244, 115, 266]
Inputs "2"
}
Block {
BlockType Product
Name "Prod2"
Position [100, 295, 115, 315]
Inputs "2"
}
Block {
BlockType StateSpace
Name "Qbar"
Position [645, 196, 670, 224]
A "[]"
B "[]"
C "[]"
D "K"
X0 "0"
MaskType "Matrix Gain"
MaskDescription "Matrix Gain."
MaskHelp "Multiplies input vector by entered "
"matrix to produce output vector (y=Au)."
MaskPromptString "Gain matrix:"
MaskStyleString "edit"
MaskInitialization "K = @1;"
MaskDisplay "disp('K')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate off
MaskIconUnits autoscale
MaskValueString "Qbar"
}
Block {
BlockType Sum
Name "Sum"
Position [345, 78, 360, 132]
Inputs "-+-"
}
Block {
BlockType Sum
Name "Sum1"
Position [665, 37, 680, 68]
Inputs "++"
}
Block {
BlockType Sum
Name "Sum12"
Position [130, 231, 150, 329]
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum14"
Position [710, 76, 725, 109]
Inputs "++"
}
Block {
BlockType Sum
Name "Sum2"
Position [230, 76, 250, 134]
Inputs "++"
}
Block {
BlockType Sum
Name "Sum3"
Position [780, 260, 795, 295]
Inputs "+-"
}
Block {
BlockType Sum
Name "Sum4"
Position [785, 155, 800, 190]
Inputs "+-"
}
Block {
BlockType Terminator
Name "T"
Position [750, 120, 760, 130]
}
Block {
BlockType Terminator
Name "T1"
Position [755, 145, 765, 155]
}
Block {
BlockType Sum
Name "Tacc"
Position [210, 232, 225, 288]
Inputs "-++"
}
Block {
BlockType Integrator
Name "delta_mode0"
Position [525, 183, 555, 217]
ExternalReset none
InitialConditionSource internal
InitialCondition "delio"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Gain
Name "gain4"
Position [470, 184, 505, 216]
Gain "wb"
}
Block {
BlockType Integrator
Name "modal\nangles"
Position [480, 87, 510, 123]
ExternalReset none
InitialConditionSource internal
InitialCondition "thetam2to6o"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "modal_speed"
Position [395, 84, 425, 126]
ExternalReset none
InitialConditionSource internal
InitialCondition "[0; 0 ; 0 ;0 ;0 ]"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Integrator
Name "slip"
Position [390, 245, 420, 275]
ExternalReset none
InitialConditionSource internal
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Constant
Name "we/wb"
Position [645, 88, 675, 112]
Value "1"
}
Block {
BlockType Outport
Name "delta_gen"
Position [815, 215, 835, 235]
Port "1"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "wr/wb "
Position [765, 85, 785, 105]
Port "2"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Tem"
Position [235, 323, 260, 347]
Port "3"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "(wr-we)/wb"
Position [760, 45, 780, 65]
Port "4"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "LPA-LPB\nShaft_torque"
Position [880, 165, 900, 185]
Port "5"
OutputWhenDisabled held
InitialOutput "0"
}
Block {
BlockType Outport
Name "Gen-Exc\nShaft_torque"
Position [875, 270, 895, 290]
Port "6"
OutputWhenDisabled held
InitialOutput "0"
}
Line {
SrcBlock "Damping"
SrcPort 1
Points [-35, 0; 0, 40]
DstBlock "Tacc"
DstPort 1
}
Line {
SrcBlock "gain4"
SrcPort 1
DstBlock "delta_mode0"
DstPort 1
}
Line {
SrcBlock "Prod2"
SrcPort 1
DstBlock "Sum12"
DstPort 2
}
Line {
SrcBlock "1/2H_mode0"
SrcPort 1
DstBlock "slip"
DstPort 1
}
Line {
SrcBlock "we/wb"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -