📄 vcimd_hybrid.mdl
字号:
NamePlacement "alternate"
SourceBlock "powerlib2/Machines/Machines\nMeasurement\nDemux"
SourceType "Machine measurements"
machType "Asynchronous"
ssm1 on
ssm2 on
ssm3 on
ssm4 on
ssm5 on
ssm6 on
sm1 on
sm2 on
sm3 on
sm4 on
sm5 on
sm6 on
sm7 on
sm8 on
sm9 on
sm10 on
sm11 on
sm115 off
sm12 off
sm13 off
sm14 off
asm1 off
asm2 off
asm3 off
asm4 off
asm5 on
asm6 off
asm7 off
asm8 off
asm9 on
asm10 on
asm11 off
pmsm1 on
pmsm2 on
pmsm3 on
pmsm4 on
pmsm5 on
pmsm6 on
lastType "3"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [415, 245, 420, 345]
Orientation "left"
BackgroundColor "black"
NamePlacement "alternate"
ShowName off
Outputs "3"
}
Block {
BlockType Gain
Name "Gain"
Position [154, 225, 176, 245]
Orientation "up"
BackgroundColor "gray"
ShowName off
Gain "10"
}
Block {
BlockType Gain
Name "Gain1"
Position [194, 225, 216, 245]
Orientation "up"
BackgroundColor "gray"
ShowName off
Gain "10"
}
Block {
BlockType Gain
Name "Gain2"
Position [234, 225, 256, 245]
Orientation "up"
BackgroundColor "gray"
ShowName off
Gain "10"
}
Block {
BlockType Reference
Name "IGBT Inverter"
Tag "PoWeRsYsTeMbLoCk"
Ports [3, 3]
Position [155, 53, 210, 137]
BackgroundColor "red"
NamePlacement "alternate"
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "3"
confi "ABC as output terminals"
injcc "1000"
cf "inf"
device "IGBT / Diodes"
Ron "1e-3"
Lon "0"
VFs "[ 0.8 0.8 ]"
Vf ".8"
gtoparameters "[ 1e-6 , 1e-6 ]"
igbtparameters "[ 1e-6 , 2e-6 ]"
mesure "None"
PSBOutputType "111"
}
Block {
BlockType Reference
Name "Induction Motor\n1 HP / 420 V"
Tag "PoWeRsYsTeMbLoCk"
Ports [4, 1]
Position [435, 52, 510, 168]
BackgroundColor "magenta"
NamePlacement "alternate"
SourceBlock "powerlib2/Machines/Asynchronous Machine\nSI Uni"
"ts"
SourceType "Asynchronous Machine"
rotType "Squirrel-cage"
ctrl "Stationary"
x1 "[ 1*746, 420, 50 ]"
x2 "[ 11.124 33.36e-3 ]"
x3 "[ 8.9838 33.36e-3 ]"
x4 "490.45e-3"
x5 "[0.0018 0 1 ]"
x6 "[ 1, 0 , 0 , 0 , 0 , 0 , 0 , 0 ]"
PSBOutputType "1110"
iounits "1"
LoadFlowParameters "0"
}
Block {
BlockType Mux
Name "Mux"
Ports [3, 1]
Position [65, 284, 80, 356]
Orientation "left"
NamePlacement "alternate"
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [660, 381, 665, 419]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [2, 1]
Position [650, 161, 655, 199]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Gain
Name "P/2"
Position [605, 335, 635, 365]
Orientation "down"
BackgroundColor "gray"
NamePlacement "alternate"
}
Block {
BlockType Scope
Name "Scope"
Ports [4]
Position [710, 20, 760, 165]
BackgroundColor "green"
NamePlacement "alternate"
ShowName off
Location [6, 60, 798, 565]
Open off
NumInputPorts "4"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "Reference Currents"
axes2 "Actual Currents"
axes3 "Speed"
axes4 "Torque"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "3"
YMin "-5~-5~249.98~2.35"
YMax "5~5~250.025~2.65"
DataFormat "StructureWithTime"
LimitDataPoints off
Decimation "20"
SampleTime "5e-6"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [375, 19, 405, 51]
BackgroundColor "green"
ShowName off
Location [5, 60, 805, 573]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
}
YMin "-1200"
YMax "1200"
SaveName "ScopeData1"
DataFormat "StructureWithTime"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [161, 600, 279, 650]
Orientation "up"
BackgroundColor "lightBlue"
ShowName off
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [2, 82, 790, 554]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Wre"
Position [15, 67, 45, 83]
}
Block {
BlockType SubSystem
Name " Fuzzy \nController"
Ports [1, 1]
Position [185, 95, 245, 145]
BackgroundColor "lightBlue"
ShowName off
TreatAsAtomicUnit off
System {
Name " Fuzzy \nController"
Location [6, 82, 794, 546]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Wre"
Position [15, 43, 45, 57]
}
Block {
BlockType SubSystem
Name "Fuzzy Logic \nController"
Ports [1, 1]
Position [430, 49, 480, 101]
AncestorBlock "fuzblock/Fuzzy Logic \nController"
FontName "Arial"
TreatAsAtomicUnit off
MaskType "FIS"
MaskDescription "FIS"
MaskHelp "web(['file:///' docroot '/toolbox/fuzzy"
"/fuzzylogiccontroller.html']);"
MaskPromptString "FIS File or Structure:"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "fis=@1;"
MaskInitialization "fis = fuzblockmask(gcb,fis);"
MaskDisplay "plot(0, -0.3, 6, -0.3, 0, 1.2, 6, 1.2, "
"[0 6], [0 0], [1 2 3],[0 1 0],[2 3 4],[0 1 0],[3 4 5],[0 1 0])"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "FL30_49"
System {
Name "Fuzzy Logic \nController"
Location [251, 557, 620, 673]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 43, 55, 57]
}
Block {
BlockType Reference
Name "FIS Wizard"
Ports [1, 1]
Position [135, 24, 205, 76]
FontName "Arial"
SourceBlock "fuzwiz/FIS Wizard"
SourceType "FIS Wizard"
fis "fis"
}
Block {
BlockType Outport
Name "Out1"
Position [305, 43, 335, 57]
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "FIS Wizard"
DstPort 1
}
Line {
SrcBlock "FIS Wizard"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
}
}
Block {
BlockType Gain
Name "Gain"
Position [235, 34, 260, 66]
ShowName off
Gain "0.002"
}
Block {
BlockType Gain
Name "Gain1"
Position [235, 85, 260, 115]
ShowName off
Gain "0.004"
}
Block {
BlockType Gain
Name "Gain2"
Position [520, 59, 545, 91]
ShowName off
Gain "1200"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [345, 24, 355, 126]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Saturate
Name "Saturation1"
Position [595, 52, 630, 98]
UpperLimit "5.00"
LowerLimit "-5.00"
}
Block {
BlockType Saturate
Name "Saturation2"
Position [280, 27, 315, 73]
UpperLimit "1"
LowerLimit "-1"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [175, 85, 205, 115]
ShowName off
IconShape "round"
Inputs "|+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [145, 146, 170, 184]
ShowName off
SampleTime "0.0001"
}
Block {
BlockType Outport
Name "Tfl*"
Position [695, 68, 725, 82]
}
Line {
SrcBlock "Wre"
SrcPort 1
Points [70, 0]
Branch {
DstBlock "Gain"
DstPort 1
}
Branch {
Points [0, 50]
Branch {
Points [0, 65]
DstBlock "Unit Delay"
DstPort 1
}
Branch {
DstBlock "Sum1"
DstPort 1
}
}
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
Points [15, 0]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Gain1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fuzzy Logic \nController"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Saturation2"
DstPort 1
}
Line {
SrcBlock "Gain1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Fuzzy Logic \nController"
SrcPort 1
DstBlock "Gain2"
DstPort 1
}
Line {
SrcBlock "Gain2"
SrcPort 1
DstBlock "Saturation1"
DstPort 1
}
Line {
SrcBlock "Saturation1"
SrcPort 1
DstBlock "Tfl*"
DstPort 1
}
Line {
SrcBlock "Saturation2"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
}
}
Block {
BlockType Gain
Name "Gain"
Position [130, 10, 160, 30]
Orientation "up"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -