📄 imvecstline1.mdl
字号:
}
Line {
SrcBlock "Div"
SrcPort 1
Points [25, 0]
Branch {
DstBlock "flux-current1"
DstPort 1
}
Branch {
Points [0, -65]
DstBlock "-rot"
DstPort 1
}
}
Line {
SrcBlock "-rot"
SrcPort 1
DstBlock "Dot Product"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "rot2"
DstPort 1
}
Line {
SrcBlock "vs"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [-110, 0]
DstBlock "Sum2"
DstPort 2
}
Annotation {
Name "ROTOR"
Position [243, 292]
ForegroundColor "red"
FontSize 12
}
Annotation {
Name "fs"
Position [332, 109]
}
Annotation {
Name "fr"
Position [335, 289]
}
Annotation {
Name "is"
Position [520, 80]
}
Annotation {
Name "is"
Position [490, 115]
}
Annotation {
Position [87, 9]
}
Annotation {
Name "INDUCTION MACHINE SUBSYSTEM IN SYNCHRONOUS "
"REFERENCE FRAME"
Position [327, 426]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "ir"
Position [489, 191]
}
Annotation {
Name "STATOR TRANSIENTS\nIGNORED\n"
Position [238, 57]
ForegroundColor "red"
FontSize 12
}
}
}
Block {
BlockType Integrator
Name "Integrator2"
Ports [1, 1]
Position [505, 195, 535, 225]
ShowName off
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"
}
}
Block {
BlockType Integrator
Name "Integrator3"
Ports [1, 1]
Position [205, 385, 235, 415]
ShowName off
}
Block {
BlockType SubSystem
Name "Line drop"
Ports [1, 1]
Position [180, 87, 260, 143]
Orientation "left"
BackgroundColor "orange"
NamePlacement "alternate"
TreatAsAtomicUnit off
MaskPromptString "Rline [ pu]|Lline [pu]|wo [rad/s]"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "Rline=@1;Lline=@2;wo=@3;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.01|0.05|2*pi*60"
System {
Name "Line drop"
Location [531, 534, 924, 735]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "108"
Block {
BlockType Inport
Name "i_in"
Position [285, 70, 315, 90]
Orientation "left"
}
Block {
BlockType Derivative
Name "Derivative"
Position [115, 65, 145, 95]
Orientation "left"
ShowName off
}
Block {
BlockType Gain
Name "Lline"
Position [140, 15, 170, 45]
Orientation "left"
Gain "Lline"
}
Block {
BlockType Gain
Name "Lline/wo"
Position [195, 65, 225, 95]
Orientation "left"
Gain "Lline/wo"
}
Block {
BlockType Gain
Name "Rline"
Position [205, 115, 235, 145]
Orientation "left"
Gain "Rline"
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [70, 70, 90, 90]
Orientation "left"
ShowName off
IconShape "round"
Inputs "+++"
}
Block {
BlockType Gain
Name "rot"
Position [205, 15, 235, 45]
Orientation "left"
Gain "[0 -1;1 0]"
Multiplication "Matrix(K*u)"
}
Block {
BlockType Outport
Name "v_out"
Position [15, 73, 45, 87]
Orientation "left"
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "v_out"
DstPort 1
}
Line {
SrcBlock "Lline/wo"
SrcPort 1
DstBlock "Derivative"
DstPort 1
}
Line {
SrcBlock "i_in"
SrcPort 1
Points [-15, 0]
Branch {
DstBlock "Lline/wo"
DstPort 1
}
Branch {
Points [0, -50]
DstBlock "rot"
DstPort 1
}
Branch {
Points [0, 50]
DstBlock "Rline"
DstPort 1
}
}
Line {
SrcBlock "rot"
SrcPort 1
DstBlock "Lline"
DstPort 1
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Lline"
SrcPort 1
Points [-55, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Rline"
SrcPort 1
Points [-120, 0]
DstBlock "Sum2"
DstPort 3
}
Annotation {
Name "Polyphase RL load in synchronous frame"
Position [185, 168]
ForegroundColor "blue"
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [400, 349, 405, 411]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1]
Position [440, 106, 445, 159]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux7"
Ports [2, 1]
Position [525, 311, 530, 364]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Step
Name "Step load"
Position [340, 102, 375, 138]
ForegroundColor "red"
NamePlacement "alternate"
Time "2"
Before "0.0"
SampleTime "0"
Port {
PortNumber 1
Name "Tl"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [70, 185, 90, 205]
NamePlacement "alternate"
ShowName off
IconShape "round"
Inputs "-+|"
Port {
PortNumber 1
Name "vt"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Sum
Name "Sum2"
Ports [3, 1]
Position [380, 200, 400, 220]
ShowName off
IconShape "round"
Inputs "-+-"
}
Block {
BlockType Scope
Name "currents"
Ports [1]
Position [560, 318, 590, 362]
ForegroundColor "green"
NamePlacement "alternate"
Location [528, 70, 1000, 359]
Open on
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "Stator current [pu]"
}
List {
ListType SelectedSignals
axes1 ""
}
TimeRange "2.5"
YMin "-6"
YMax "8"
DataFormat "StructureWithTime"
MaxDataPoints "8000"
}
Block {
BlockType Constant
Name "frequency"
Position [15, 230, 45, 260]
ForegroundColor "red"
}
Block {
BlockType Fcn
Name "ias"
Position [430, 365, 470, 395]
Expr "u(1)*cos(u(3))-u(2)*sin(u(3))"
Port {
PortNumber 1
Name "ias"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType SubSystem
Name "info"
Ports []
Position [17, 439, 89, 508]
ForegroundColor "darkGreen"
DropShadow on
ShowName off
TreatAsAtomicUnit off
MaskDisplay "plot(-1.5,-1.5,1.5,1.5,cos(0:.01:7),sin(0:.01:7"
") )\ndisp('Info')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "info"
Location [74, 147, 522, 305]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Annotation {
Name "Starting of an induction motor"
Position [218, 17]
FontSize 12
FontWeight "bold"
}
Annotation {
Name "This demonstration illustrates the line "
"starting of an induction motor \nat no load in the presence of a line impedan"
"ce between the source and\nthe motor.You will be able to observe the voltage"
" dip associated with\nthe high initial inrush current.\n\nTo modify the machi"
"ne parameters, double click the induction motor block. "
Position [15, 35]
HorizontalAlignment "left"
VerticalAlignment "top"
FontSize 12
}
}
}
Block {
BlockType Fcn
Name "mag"
Position [425, 269, 465, 301]
Expr "sqrt(u(1)^2+u(2)^2)"
Port {
PortNumber 1
Name "Is_mag"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -