📄 power_wind_dfig.mdl
字号:
Ports [2, 1]
Position [220, 139, 275, 201]
SourceBlock "powerlib_extras/Phasor\nLibrary/3-Phase\nAc"
"tive & Reactive Power\n(Phasor Type)"
SourceType "3-Phase Active & Reactive Power (Phasor Typ"
"e)"
ShowPortLabels on
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle "
Ports [1, 1]
Position [175, 29, 195, 51]
ShowName off
Output "Magnitude"
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle 1"
Ports [1, 1]
Position [175, 59, 195, 81]
ShowName off
Output "Magnitude"
}
Block {
BlockType ComplexToMagnitudeAngle
Name "Complex to\nMagnitude-Angle 2"
Ports [1, 1]
Position [175, 89, 195, 111]
ShowName off
Output "Magnitude"
}
Block {
BlockType Constant
Name "Constant"
Position [370, 245, 400, 265]
ShowName off
Value "0"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 2]
Position [365, 134, 370, 201]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType From
Name "From"
Position [50, 31, 120, 49]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_B120"
}
Block {
BlockType From
Name "From1"
Position [50, 61, 120, 79]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_B25"
}
Block {
BlockType From
Name "From2"
Position [60, 176, 130, 194]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Iabc_B25"
}
Block {
BlockType From
Name "From3"
Position [65, 334, 140, 356]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_B2300"
}
Block {
BlockType From
Name "From4"
Position [70, 419, 145, 441]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Iabc_B2300"
}
Block {
BlockType From
Name "From8"
Position [50, 91, 120, 109]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_B575"
}
Block {
BlockType Gain
Name "MW"
Position [295, 146, 345, 194]
Gain "1/1e6"
}
Block {
BlockType SubSystem
Name "Mean Value1"
Ports [2, 1]
Position [435, 144, 490, 171]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "Mean value"
MaskDescription "This block uses the running window averagin"
"g technique to compute the mean value of the input signal over the specified "
"period.\n"
MaskPromptString "Averaging period (s):"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Period=@1;"
MaskInitialization "\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1/60"
System {
Name "Mean Value1"
Location [220, 282, 763, 473]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [20, 73, 50, 87]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Init"
Position [380, 143, 410, 157]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [310, 73, 385, 117]
Gain "1/Period"
}
Block {
BlockType Step
Name "Step"
Position [370, 25, 400, 55]
Time "Period+eps"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [250, 69, 270, 116]
Inputs "+-"
}
Block {
BlockType Switch
Name "Switch"
Position [435, 90, 465, 120]
Threshold "0.5"
InputSameDT off
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [175, 90, 205, 120]
DelayTime "Period"
}
Block {
BlockType Integrator
Name "integrator"
Ports [1, 1]
Position [85, 59, 115, 101]
IgnoreLimit off
}
Block {
BlockType Outport
Name "Mean"
Position [490, 98, 520, 112]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "integrator"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 25]
DstBlock "Transport\nDelay"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 1
}
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "integrator"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Mean"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
Points [10, 0; 0, 65]
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Init"
SrcPort 1
Points [0, -35]
DstBlock "Switch"
DstPort 3
}
Annotation {
Name "Mean value"
Position [48, 26]
UseDisplayTextAsClickCallback off
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType SubSystem
Name "Mean Value2"
Ports [2, 1]
Position [435, 199, 490, 226]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "Mean value"
MaskDescription "This block uses the running window averagin"
"g technique to compute the mean value of the input signal over the specified "
"period.\n"
MaskPromptString "Averaging period (s):"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "Period=@1;"
MaskInitialization "\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "1/60"
System {
Name "Mean Value2"
Location [220, 282, 763, 473]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In"
Position [20, 73, 50, 87]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Init"
Position [380, 143, 410, 157]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain"
Position [310, 73, 385, 117]
Gain "1/Period"
}
Block {
BlockType Step
Name "Step"
Position [370, 25, 400, 55]
Time "Period+eps"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [250, 69, 270, 116]
Inputs "+-"
}
Block {
BlockType Switch
Name "Switch"
Position [435, 90, 465, 120]
Threshold "0.5"
InputSameDT off
}
Block {
BlockType TransportDelay
Name "Transport\nDelay"
Position [175, 90, 205, 120]
DelayTime "Period"
}
Block {
BlockType Integrator
Name "integrator"
Ports [1, 1]
Position [85, 59, 115, 101]
IgnoreLimit off
}
Block {
BlockType Outport
Name "Mean"
Position [490, 98, 520, 112]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Init"
SrcPort 1
Points [0, -35]
DstBlock "Switch"
DstPort 3
}
Line {
SrcBlock "Step"
SrcPort 1
Points [10, 0; 0, 65]
DstBlock "Switch"
DstPort 2
}
Line {
SrcBlock "Switch"
SrcPort 1
DstBlock "Mean"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Switch"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "In"
SrcPort 1
DstBlock "integrator"
DstPort 1
}
Line {
SrcBlock "integrator"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
DstBlock "Sum"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Transport\nDelay"
DstPort 1
}
}
Line {
SrcBlock "Transport\nDelay"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
Annotation {
Name "Mean value"
Position [48, 26]
UseDisplayTextAsClickCallback off
FontSize 12
FontWeight "bold"
}
}
}
Block {
BlockType Reference
Name "Sequence Analyzer\n(Phasor Type)"
Ports [1, 2]
Position [195, 316, 245, 369]
SourceBlock "powerlib_extras/Phasor\nLibrary/Sequence An"
"alyzer\n(Phasor Type)"
SourceType "Sequence Analyzer (Phasor Type)"
ShowPortLabels on
seq "Positive"
}
Block {
BlockType Reference
Name "Sequence Analyzer\n(Phasor Type)1"
Ports [1, 2]
Position [195, 401, 245, 454]
SourceBlock "powerlib_extras/Phasor\nLibrary/Sequence An"
"alyzer\n(Phasor Type)"
SourceType "Sequence Analyzer (Phasor Type)"
ShowPortLabels on
seq "Positive"
}
Block {
BlockType Terminator
Name "Terminator"
Position [265, 347, 280, 363]
ShowName off
}
Block {
BlockType Terminator
Name "Terminator1"
Position [265, 432, 280, 448]
ShowName off
}
Block {
BlockType From
Name "m_load "
Position [60, 270, 135, 290]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -