📄 kalamn.mdl
字号:
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ib"
Position [25, 10, 45, 30]
}
Block {
BlockType Inport
Name "ibr"
Position [30, 65, 50, 85]
Port "2"
}
Block {
BlockType Relay
Name "Relay1"
Position [185, 37, 210, 53]
OnSwitchValue "0.25"
OffSwitchValue "-0.25"
OnOutputValue "155"
OffOutputValue "-155"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [140, 35, 160, 55]
Inputs "-+"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [75, 14, 100, 36]
Denominator "[50e-6 1]"
}
Block {
BlockType Outport
Name "vb"
Position [240, 35, 260, 55]
InitialOutput "0"
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "ib"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "vb"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "ibr"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
}
}
Block {
BlockType SubSystem
Name "compar2"
Ports [2, 1]
Position [150, 125, 175, 165]
TreatAsAtomicUnit off
System {
Name "compar2"
Location [260, 83, 541, 226]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ic"
Position [10, 25, 30, 45]
}
Block {
BlockType Inport
Name "icr"
Position [10, 75, 30, 95]
Port "2"
}
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, 24, 90, 46]
Denominator "[50e-6 1]"
}
Block {
BlockType Outport
Name "vc"
Position [245, 55, 265, 75]
InitialOutput "0"
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "ic"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Relay1"
SrcPort 1
DstBlock "vc"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "icr"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
}
}
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"
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"
initsrc "on"
srctyp "AC"
iv "0"
iph "0"
ifreq "0"
mesure "None"
PSBOutputType "11"
}
Block {
BlockType Outport
Name "va"
Position [330, 33, 360, 47]
InitialOutput "0"
}
Block {
BlockType Outport
Name "vb"
Position [330, 68, 360, 82]
Port "2"
InitialOutput "0"
}
Block {
BlockType Outport
Name "vc"
Position [330, 98, 360, 112]
Port "3"
InitialOutput "0"
}
Line {
SrcBlock "iref"
SrcPort 1
DstBlock "Demux3"
DstPort 1
}
Line {
SrcBlock "iabc"
SrcPort 1
DstBlock "Demux2"
DstPort 1
}
Line {
SrcBlock "vbc"
SrcPort 2
DstBlock "vc"
DstPort 1
}
Line {
SrcBlock "vbc"
SrcPort 1
Points [5, 0]
DstBlock "Bus Bar 2"
DstPort 2
}
Line {
SrcBlock "Bus Bar 2"
SrcPort 1
DstBlock "vb"
DstPort 1
}
Line {
SrcBlock "vab"
SrcPort 2
Points [5, 0]
DstBlock "Bus Bar 2"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "vbc"
DstPort 1
}
Line {
SrcBlock "compar2"
SrcPort 1
Points [10, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "compar1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Sum1"
DstPort 1
}
Branch {
DstBlock "Sum"
DstPort 2
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "vab"
DstPort 1
}
Line {
SrcBlock "compar"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "vab"
SrcPort 1
DstBlock "va"
DstPort 1
}
Line {
SrcBlock "Demux3"
SrcPort 1
Points [30, 0; 0, -75]
DstBlock "compar"
DstPort 2
}
Line {
SrcBlock "Demux3"
SrcPort 2
Points [40, 0; 0, -40]
DstBlock "compar1"
DstPort 2
}
Line {
SrcBlock "Demux3"
SrcPort 3
DstBlock "compar2"
DstPort 2
}
Line {
SrcBlock "Demux2"
SrcPort 3
Points [10, 0; 0, 70]
DstBlock "compar2"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [20, 0; 0, 35]
DstBlock "compar1"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 1
DstBlock "compar"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Permanent Magnet\nSynchronous Machine"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 1]
Position [305, 39, 375, 111]
SourceBlock "powerlib2/Machines/Permanent Magnet\nSynchronou"
"s Machine"
SourceType "PM Synchronous Machine"
x1 "2.875"
x2 "[8.5e-3, 8.5e-3]"
x3 "0.175"
x4 "[ 0.8e-3, 0, 4 ]"
PSBOutputType "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [3, 2]
Position [205, 149, 260, 221]
Orientation "left"
ErrorFcn "park"
TreatAsAtomicUnit off
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Subsystem"
Location [114, 63, 678, 357]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Ia"
Position [25, 33, 55, 47]
}
Block {
BlockType Inport
Name "Ib"
Position [25, 78, 55, 92]
Port "2"
}
Block {
BlockType Inport
Name "Ic"
Position [25, 153, 55, 167]
Port "3"
}
Block {
BlockType Gain
Name "Gain"
Position [115, 25, 145, 55]
}
Block {
BlockType Gain
Name "Gain1"
Position [115, 145, 145, 175]
Gain "-1/2"
}
Block {
BlockType Gain
Name "Gain2"
Position [115, 70, 145, 100]
Gain "-1/2"
}
Block {
BlockType Gain
Name "Gain3"
Position [115, 110, 145, 140]
Gain "sqrt(3)/2"
}
Block {
BlockType Gain
Name "Gain4"
Position [115, 185, 145, 215]
Gain "-sqrt(3)/2"
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [250, 27, 275, 63]
ShowName off
Inputs "|+++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [250, 165, 275, 205]
ShowName off
Inputs "|++"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "Out1"
Position [300, 38, 330, 52]
}
Block {
BlockType Outport
Name "Out2"
Position [305, 178, 335, 192]
Port "2"
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
Points [60, 0; 0, -35]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Gain1"
SrcPort 1
Points [85, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Gain4"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Gain3"
SrcPort 1
Points [65, 0; 0, 60]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Out2"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "Ic"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Gain1"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Gain4"
DstPort 1
}
}
Line {
SrcBlock "Ib"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
DstBlock "Gain2"
DstPort 1
}
Branch {
Points [0, 40]
DstBlock "Gain3"
DstPort 1
}
}
Line {
SrcBlock "Ia"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Subsystem1"
Ports [3, 2]
Position [90, 155, 130, 215]
TreatAsAtomicUnit off
System {
Name "Subsystem1"
Location [214, 164, 689, 462]
Open off
ModelBrowserVisibility on
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
}
Block {
BlockType Inport
Name "In2"
Position [25, 73, 55, 87]
Port "2"
}
Block {
BlockType Inport
Name "In3"
Position [30, 158, 60, 172]
Port "3"
}
Block {
BlockType Fcn
Name "Fcn"
Position [120, 35, 180, 65]
Expr "cos"
}
Block {
BlockType Fcn
Name "Fcn1"
Position [120, 115, 180, 145]
Expr "sin"
}
Block {
BlockType Fcn
Name "Fcn2"
Position [120, 180, 180, 210]
Expr "cos"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -