📄 imrotfluxstart.mdl
字号:
DstBlock "Mux"
DstPort 2
}
Line {
Name "iqs"
SrcBlock "Demux"
SrcPort 2
Points [10, 0]
Branch {
Labels [1, 0]
DstBlock "Rr*Lm/(Lm+Lrl)"
DstPort 1
}
Branch {
Labels [-1, 1]
Points [0, -85]
DstBlock "Product1"
DstPort 1
}
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Integrator2"
DstPort 1
}
Line {
Name "fdr"
SrcBlock "Integrator2"
SrcPort 1
Points [20, 0]
Branch {
Labels [1, 0]
Points [0, 50]
Branch {
Points [0, 85; -190, 0]
Branch {
Points [0, 60; -90, 0]
DstBlock "divide"
DstPort 2
}
Branch {
Points [-370, 0; 0, -80]
DstBlock "Mux"
DstPort 1
}
}
Branch {
Points [-235, 0]
DstBlock "Sum1"
DstPort 2
}
}
Branch {
Points [0, -50]
DstBlock "Product1"
DstPort 2
}
}
Line {
SrcBlock "Product1"
SrcPort 1
DstBlock "Gain5"
DstPort 1
}
Line {
SrcBlock "Gain5"
SrcPort 1
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "flux-current"
DstPort 2
}
Line {
SrcBlock "flux-current"
SrcPort 2
DstBlock "Terminator"
DstPort 1
}
Annotation {
Name "STATOR"
Position [238, 96]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "fs"
Position [337, 89]
}
Annotation {
Name "is"
Position [490, 130]
}
}
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [575, 255, 605, 285]
ShowName off
Port {
PortNumber 1
Name "thetaf"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType SubSystem
Name "Mechanical \nsystem"
Ports [2, 1]
Position [675, 106, 775, 204]
BackgroundColor "yellow"
NamePlacement "alternate"
ShowName off
TreatAsAtomicUnit off
MaskPromptString "Inertia constant [s]|Damping coefficient [pu]"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskToolTipString "on,on"
MaskVarAliasString ","
MaskVariables "H=@1;Bm=@2;"
MaskDisplay "disp('MECHANICAL\\nSYSTEM')"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.30|1e-5"
Port {
PortNumber 1
Name "wm"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "Mechanical \nsystem"
Location [535, 102, 1013, 301]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "155"
Block {
BlockType Inport
Name "Te"
Position [15, 48, 45, 62]
}
Block {
BlockType Inport
Name "Tl"
Position [15, 13, 45, 27]
Port "2"
}
Block {
BlockType Gain
Name "1/2H"
Position [115, 37, 175, 73]
ShowName off
Gain "1/(2*H)"
}
Block {
BlockType Gain
Name "Bm"
Position [145, 80, 175, 110]
Orientation "left"
ShowName off
Gain "Bm"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [195, 39, 225, 71]
ShowName off
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [70, 45, 90, 65]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Outport
Name "wm"
Position [270, 48, 300, 62]
}
Line {
SrcBlock "1/2H"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "1/2H"
DstPort 1
}
Line {
SrcBlock "Bm"
SrcPort 1
Points [-60, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [20, 0]
Branch {
Points [0, 40]
DstBlock "Bm"
DstPort 1
}
Branch {
DstBlock "wm"
DstPort 1
}
}
Line {
SrcBlock "Te"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Tl"
SrcPort 1
Points [30, 0]
DstBlock "Sum"
DstPort 1
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [680, 289, 685, 351]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux4"
Ports [3, 1]
Position [100, 100, 105, 210]
BackgroundColor "black"
ShowName off
Inputs "3"
DisplayOption "bar"
Port {
PortNumber 1
Name "v_ABC"
PropagatedSignals ", , "
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1]
Position [715, 31, 720, 84]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux7"
Ports [2, 1]
Position [790, 251, 795, 304]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Sin
Name "Sine Wave"
Position [35, 105, 65, 135]
ForegroundColor "red"
ShowName off
Frequency "2*pi*60"
Phase "pi"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave1"
Position [35, 140, 65, 170]
ForegroundColor "red"
ShowName off
Frequency "2*pi*60"
Phase "pi-2*pi/3"
SampleTime "0"
}
Block {
BlockType Sin
Name "Sine Wave2"
Position [35, 175, 65, 205]
ForegroundColor "red"
ShowName off
Frequency "2*pi*60"
Phase "pi+2*pi/3"
SampleTime "0"
}
Block {
BlockType Step
Name "Step load"
Position [560, 27, 595, 63]
ForegroundColor "red"
NamePlacement "alternate"
Time "1.5"
Before "0.0"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "ab2dq"
Ports [2, 1]
Position [240, 138, 300, 207]
TreatAsAtomicUnit off
Port {
PortNumber 1
Name "v_dq"
PropagatedSignals ", "
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
System {
Name "ab2dq"
Location [608, 268, 962, 478]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "85"
Block {
BlockType Inport
Name "ab"
Position [20, 77, 50, 93]
}
Block {
BlockType Inport
Name "thetak"
Position [20, 112, 50, 128]
Port "2"
}
Block {
BlockType Fcn
Name "Fcn"
Position [150, 16, 300, 64]
ShowName off
Expr "u(1)*cos(u(3))+u(2)*sin(u(3))"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [150, 185, 310, 225]
ShowName off
Expr "-u(1)*sin(u(3))+u(2)*cos(u(3))"
}
Block {
BlockType Mux
Name "Mux3"
Ports [2, 1]
Position [125, 12, 130, 63]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux4"
Ports [2, 1]
Position [125, 177, 130, 228]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux5"
Ports [2, 1]
Position [340, 106, 345, 139]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Outport
Name "dq"
Position [370, 118, 400, 132]
}
Line {
SrcBlock "Mux3"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Mux4"
SrcPort 1
DstBlock "Fcn1"
DstPort 1
}
Line {
SrcBlock "ab"
SrcPort 1
Points [15, 0; 0, 0]
Branch {
Points [0, -60]
DstBlock "Mux3"
DstPort 1
}
Branch {
Points [0, 105]
DstBlock "Mux4"
DstPort 1
}
}
Line {
SrcBlock "thetak"
SrcPort 1
Points [125, 0]
Branch {
Points [0, -35; -80, 0; 0, -35]
DstBlock "Mux3"
DstPort 2
}
Branch {
Points [0, 40; -80, 0; 0, 55]
DstBlock "Mux4"
DstPort 2
}
}
Line {
SrcBlock "Fcn1"
SrcPort 1
Points [10, 0]
DstBlock "Mux5"
DstPort 2
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [20, 0]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -