📄 pmsm_vector.mdl
字号:
Name "Transfer Fcn"
Position [75, 14, 100, 36]
Denominator "[50e-6 1]"
}
Block {
BlockType Outport
Name "vb"
Position [240, 35, 260, 55]
IconDisplay "Port number"
InitialOutput "0"
}
Line {
SrcBlock "ibr"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "vb"
DstPort 1
}
Line {
SrcBlock "ib"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "cmp2"
Ports [2, 1]
Position [150, 125, 175, 165]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "cmp2"
Location [273, 471, 554, 614]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ic"
Position [15, 35, 35, 55]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "icr"
Position [10, 75, 30, 95]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Relay
Name "Relay1"
Position [190, 57, 215, 73]
OnSwitchValue "0.25"
OffSwitchValue "-0.25"
OnOutputValue "155"
OffOutputValue "-155"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [145, 55, 165, 75]
Inputs "-+"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [65, 28, 95, 62]
Denominator "[50e-6 1]"
}
Block {
BlockType Outport
Name "vc"
Position [245, 55, 265, 75]
IconDisplay "Port number"
InitialOutput "0"
}
Line {
SrcBlock "icr"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "vc"
DstPort 1
}
Line {
SrcBlock "ic"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "vab"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 2]
Position [250, 32, 275, 63]
SourceBlock "powerlib2/Electrical\nSources/Controlled Vo"
"ltage Source"
SourceType "Controlled Voltage Source"
ShowPortLabels on
initsrc on
srctyp "AC"
iv "0"
iph "0"
ifreq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Reference
Name "vbc"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 2]
Position [250, 82, 275, 113]
SourceBlock "powerlib2/Electrical\nSources/Controlled Vo"
"ltage Source"
SourceType "Controlled Voltage Source"
ShowPortLabels on
initsrc on
srctyp "AC"
iv "0"
iph "0"
ifreq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Outport
Name "va"
Position [330, 33, 360, 47]
IconDisplay "Port number"
InitialOutput "0"
}
Block {
BlockType Outport
Name "vb"
Position [360, 68, 390, 82]
Port "2"
IconDisplay "Port number"
InitialOutput "0"
}
Block {
BlockType Outport
Name "vc"
Position [330, 98, 360, 112]
Port "3"
IconDisplay "Port number"
InitialOutput "0"
}
Line {
SrcBlock "Demux2"
SrcPort 1
DstBlock "cmp"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [20, 0; 0, 35]
DstBlock "cmp1"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 3
Points [10, 0; 0, 70]
DstBlock "cmp2"
DstPort 1
}
Line {
SrcBlock "Demux3"
SrcPort 3
DstBlock "cmp2"
DstPort 2
}
Line {
SrcBlock "Demux3"
SrcPort 2
Points [40, 0; 0, -40]
DstBlock "cmp1"
DstPort 2
}
Line {
SrcBlock "Demux3"
SrcPort 1
Points [30, 0; 0, -75]
DstBlock "cmp"
DstPort 2
}
Line {
SrcBlock "vab"
SrcPort 1
DstBlock "va"
DstPort 1
}
Line {
SrcBlock "cmp"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "vab"
DstPort 1
}
Line {
SrcBlock "cmp1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Sum"
DstPort 2
}
Branch {
DstBlock "Sum1"
DstPort 1
}
}
Line {
SrcBlock "cmp2"
SrcPort 1
Points [10, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "vbc"
DstPort 1
}
Line {
SrcBlock "vab"
SrcPort 2
Points [35, 0]
DstBlock "Bus Bar 2"
DstPort 1
}
Line {
SrcBlock "Bus Bar 2"
SrcPort 1
DstBlock "vb"
DstPort 1
}
Line {
SrcBlock "vbc"
SrcPort 1
Points [35, 0]
DstBlock "Bus Bar 2"
DstPort 2
}
Line {
SrcBlock "vbc"
SrcPort 2
DstBlock "vc"
DstPort 1
}
Line {
SrcBlock "iabc"
SrcPort 1
DstBlock "Demux2"
DstPort 1
}
Line {
SrcBlock "iref"
SrcPort 1
DstBlock "Demux3"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Permanent Magnet\nSynchronous Machine"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 1]
Position [530, 134, 600, 206]
SourceBlock "powerlib2/Machines/Permanent Magnet\nSynchronou"
"s Machine"
SourceType "PM Synchronous Machine"
ShowPortLabels on
x1 "2.875"
x2 "[8.5e-3, 8.5e-3]"
x3 "0.175"
x4 "[ 0.8e-3, 0, 4 ]"
PSBOutputType "0"
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [390, 244, 420, 276]
Floating off
Location [1, 48, 1017, 733]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Step
Name "Step"
Position [490, 191, 505, 209]
Time "0.04"
Before "3"
After "5"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem2"
Ports [3, 1]
Position [310, 145, 350, 205]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Subsystem2"
Location [2, 78, 1013, 717]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "125"
Block {
BlockType Inport
Name "de"
Position [125, 38, 155, 52]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "2/3"
Position [125, 133, 155, 147]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "is1"
Position [125, 228, 155, 242]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Gain
Name "Gain5"
Position [205, 127, 230, 153]
ShowName off
Gain "-1"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [585, 42, 600, 208]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [510, 161, 555, 194]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [500, 106, 545, 139]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [495, 51, 540, 84]
InputSameDT off
RndMeth "Floor"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [260, 105, 280, 125]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [270, 175, 290, 195]
ShowName off
IconShape "round"
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction"
Ports [1, 1]
Position [330, 30, 360, 60]
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction1"
Ports [1, 1]
Position [340, 100, 370, 130]
Operator "cos"
}
Block {
BlockType Trigonometry
Name "Trigonometric\nFunction2"
Ports [1, 1]
Position [335, 160, 365, 190]
Operator "cos"
}
Block {
BlockType Outport
Name "i*abc"
Position [625, 118, 655, 132]
IconDisplay "Port number"
}
Line {
SrcBlock "Trigonometric\nFunction1"
SrcPort 1
DstBlock "Product1"
DstPort 1
}
Line {
SrcBlock "Trigonometric\nFunction"
SrcPort 1
Points [10, 0; 0, 15]
DstBlock "Product2"
DstPort 1
}
Line {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -