📄 untitled23.mdl
字号:
Block {
BlockType Reference
Name "Three-Phase\nV-I Measurement"
Ports [0, 2, 0, 0, 0, 3, 3]
Position [610, 251, 645, 299]
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem"
"ent"
SourceType "Three-Phase VI Measurement"
ShowPortLabels on
VoltageMeasurement "phase-to-phase"
SetLabelV off
LabelV "Vabc"
Vpu on
Vbase "500e3"
CurrentMeasurement "yes"
SetLabelI off
LabelI "Iabc"
Ipu off
Pbase "100e6"
OutputType "Complex"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Universal Bridge"
Ports [1, 0, 0, 0, 0, 3, 2]
Position [465, 134, 520, 216]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
ShowPortLabels on
Arms "3"
SnubberResistance "1e5"
SnubberCapacitance "inf"
Device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
ForwardVoltages "[ 0 0 ]"
ForwardVoltage "0"
GTOparameters "[ 10e-6 , 20e-6 ]"
IGBTparameters "[ 1e-6 , 2e-6 ]"
Measurements "UAB UBC UCA UDC voltages"
}
Block {
BlockType Reference
Name "Voltage Measurement1"
Ports [0, 1, 0, 0, 0, 2]
Position [680, 48, 705, 72]
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "XY Graph"
Ports [2]
Position [370, 395, 405, 440]
Orientation "down"
NamePlacement "alternate"
SourceBlock "simulink/Sinks/XY Graph"
SourceType "XY scope."
ShowPortLabels on
xmin "-1"
xmax "1"
ymin "-1"
ymax "1"
st "-1"
}
Block {
BlockType Reference
Name "abc_to_dq0\nTransformation"
Ports [2, 1]
Position [745, 340, 790, 380]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib_extras/Measurements/abc_to_dq0\nTransf"
"ormation"
SourceType "abc to dq0 Transformation"
ShowPortLabels on
}
Block {
BlockType Reference
Name "abc_to_dq0\nTransformation1"
Ports [2, 1]
Position [615, 435, 660, 475]
Orientation "left"
NamePlacement "alternate"
SourceBlock "powerlib_extras/Measurements/abc_to_dq0\nTransf"
"ormation"
SourceType "abc to dq0 Transformation"
ShowPortLabels on
}
Block {
BlockType SubSystem
Name "stator u-N"
Ports [5, 3]
Position [440, 262, 520, 398]
Orientation "left"
NamePlacement "alternate"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "stator u-N"
Location [48, 140, 773, 609]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "usa"
Position [35, 38, 65, 52]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Isa"
Position [35, 73, 65, 87]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Wm"
Position [25, 143, 55, 157]
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "usb"
Position [30, 228, 60, 242]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Isb"
Position [30, 263, 60, 277]
Port "5"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Fcn
Name "Fcn"
Position [495, 350, 555, 380]
Expr "sqrt(u(1)*u(1)+u(2)*u(2))"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [440, 351, 445, 389]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [4, 2]
Position [210, 29, 325, 166]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem1"
Location [66, 449, 776, 695]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "u-sa"
Position [30, 78, 60, 92]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "I-sa"
Position [25, 113, 55, 127]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "psai-rb"
Position [30, 188, 60, 202]
NamePlacement "alternate"
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Wm"
Position [30, 208, 60, 222]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain"
Position [120, 105, 150, 135]
Gain "1.405"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [425, 70, 455, 100]
Gain "277"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [280, 70, 310, 100]
IgnoreLimit off
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [560, 180, 590, 210]
IgnoreLimit off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [125, 187, 155, 218]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [220, 77, 240, 113]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [355, 75, 375, 95]
ShowName off
IconShape "round"
Inputs "-+|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [495, 187, 515, 223]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "psai-sa"
Position [640, 28, 670, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
Name "psai-ra"
Position [655, 188, 685, 202]
Port "2"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "I-sa"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [25, 0; 0, -15]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "u-sa"
SrcPort 1
Points [140, 0]
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
DstBlock "Sum1"
DstPort 2
}
Branch {
Points [0, -50]
DstBlock "psai-sa"
DstPort 1
}
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "psai-rb"
SrcPort 1
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "Wm"
SrcPort 1
Points [0, -5]
DstBlock "Product"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [10, 0; 0, 120]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Product"
SrcPort 1
Points [320, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, 0; 35, 0]
Branch {
Points [0, -145; -265, 0]
DstBlock "Sum1"
DstPort 1
}
Branch {
DstBlock "psai-ra"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [4, 2]
Position [210, 216, 325, 359]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
System {
Name "Subsystem2"
Location [65, 240, 775, 486]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "u-sb"
Position [30, 78, 60, 92]
Port "1"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "I-sb"
Position [25, 113, 55, 127]
Port "2"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "psai-ra"
Position [30, 188, 60, 202]
NamePlacement "alternate"
Port "3"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Inport
Name "Wm"
Position [30, 208, 60, 222]
Port "4"
IconDisplay "Port number"
LatchInput off
}
Block {
BlockType Gain
Name "Gain"
Position [120, 105, 150, 135]
Gain "1.405"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [425, 70, 455, 100]
Gain "277"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [280, 70, 310, 100]
IgnoreLimit off
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [560, 180, 590, 210]
IgnoreLimit off
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [125, 187, 155, 218]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [220, 77, 240, 113]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [355, 75, 375, 95]
ShowName off
IconShape "round"
Inputs "-+|"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [495, 187, 515, 223]
ShowName off
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Outport
Name "psai-sb"
Position [640, 28, 670, 42]
IconDisplay "Port number"
BusOutputAsStruct off
}
Block {
BlockType Outport
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -