📄 d8.mdl
字号:
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 2]
Position [695, 79, 700, 121]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 2]
Position [665, 116, 670, 154]
BackgroundColor "black"
ShowName off
Outputs "2"
}
Block {
BlockType Reference
Name "IGBT Inverter1"
Tag "PoWeRsYsTeMbLoCk"
Ports [3, 3]
Position [390, 261, 435, 339]
NamePlacement "alternate"
LinkData {
BlockName "Goto"
DialogParameters {
GotoTag "tp372136"
}
}
SourceBlock "powerlib2/Power\nElectronics/Universal Bridge"
SourceType "Universal Bridge"
arms "3"
confi "ABC as output terminals"
injcc "1000"
cf "inf"
device "Ideal Switches"
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 SubSystem
Name "Machines\nMeasurement\nDemux"
Ports [1, 6]
Position [590, 80, 630, 185]
AncestorBlock "powerlib2/Machines/Machines\nMeasurement\nDemux"
TreatAsAtomicUnit off
MaskType "Machine measurements"
MaskDescription "Split specified signals of various machine mode"
"ls measurement output vector into separate signals.\nSet the \"Machine units"
"\" parameter to the units used for the machine connected to the block input."
MaskPromptString "Machine type:|Line currents [ isa isb"
" isc ]|Terminal voltages [ va vb vc ]|Internal voltages [ ea eb ec"
" ]|Rotor angle [ thetam ] rad|Rotor speed [ wm ]|Elect"
"rical power [ Pe ]|Stator currents [ isa isb isc ]|Sta"
"tor currents [ iq id ]|Field current ["
" ifd ]|Damper winding currents [ ikq1 ikq2 ikd ]|Mutual fluxes "
" [ phim_q phim_d ]|Stator voltages [ vs_q vs_d "
"]|Rotor angle deviation [ d_theta ] rad|Rotor speed "
" [ wm ]|Electrical power [ Pe ]|Rotor speed deviation "
" [ dw ]|Rotor mechanical angle [ theta ] deg|Electromagnetic torque "
" [ Te ]|Load angle [ Delta ] deg|Output active p"
"ower [ Peo ]|Output reactive power [ Qeo ]|Rotor currents ["
" ira irb irc ]|Rotor currents [ ir_q ir_d ]|Rotor fluxes [ phir"
"_q phir_d ]|Rotor voltages [ vr_q vr_d ]|Stator currents [ ia ib ic"
" ]|Stator currents [ is_q is_d ]|Stator fluxes [ phis_q phis_d ]|St"
"ator voltages [ vs_q vs_d ]|Rotor speed [ wm ]|Electromagnetic torqu"
"e [Te ] pu|Rotor angle [ thetam ] rad|Stator currents [ ia, ib, i"
"c ] A|stator currents [ is_q is_d ] A|Stator voltages [ vs_q vs_d "
"] V|Rotor speed [ wm ] rad/s|Rotor angle [ thetam ] rad|Ele"
"ctromagnetic torque [Te ] N.m|lastType:"
MaskStyleString "popup(Simplified synchronous|Synchronous|Asynch"
"ronous|Permanent magnet synchronous),checkbox,checkbox,checkbox,checkbox,chec"
"kbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,"
"checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,check"
"box,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,c"
"heckbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,checkbox,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskCallbackString "powericon('psbcbmachdemux',gcb)||||||||||||||||"
"|||||||||||||||||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,off,off,off,off,off,off,off,off,off,off,off,"
"off,off,off,off,off,off,off,off,off,off,on,on,on,on,on,on,on,on,on,on,on,off,"
"off,off,off,off,off,off"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
",on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
MaskVariables "machType=@1;ssm1=@2;ssm2=@3;ssm3=@4;ssm4=@5;ssm"
"5=@6;ssm6=@7;sm1=@8;sm2=@9;sm3=@10;sm4=@11;sm5=@12;sm6=@13;sm7=@14;sm8=@15;sm"
"9=@16;sm10=@17;sm11=@18;sm115=@19;sm12=@20;sm13=@21;sm14=@22;asm1=@23;asm2=@2"
"4;asm3=@25;asm4=@26;asm5=@27;asm6=@28;asm7=@29;asm8=@30;asm9=@31;asm10=@32;as"
"m11=@33;pmsm1=@34;pmsm2=@35;pmsm3=@36;pmsm4=@37;pmsm5=@38;pmsm6=@39;lastType="
"@40;"
MaskInitialization "t = powericon('Machines Demux Model',gcb);"
MaskDisplay "plot([0 0],[t t])"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "Asynchronous|on|on|on|on|on|on|off|off|off|off|"
"off|off|off|on|off|off|off|off|off|off|off|off|off|off|off|on|on|on|on|on|on|"
"off|on|on|on|on|on|on|1"
System {
Name "Machines\nMeasurement\nDemux"
Location [402, 74, 758, 698]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "m"
Position [20, 276, 50, 294]
NamePlacement "alternate"
Port {
PortNumber 1
Name "from machine"
TestPoint off
LinearAnalysisOutput off
LinearAnalysisInput off
RTWStorageClass "Auto"
DataLogging off
DataLoggingNameMode "SignalName"
DataLoggingDecimateData off
DataLoggingDecimation "2"
DataLoggingLimitDataPoints off
DataLoggingMaxPoints "5000"
}
}
Block {
BlockType Terminator
Name "ASM12"
Tag "port12"
Position [270, 415, 290, 435]
}
Block {
BlockType Terminator
Name "ASM13"
Tag "port13"
Position [270, 450, 290, 470]
}
Block {
BlockType Terminator
Name "ASM14"
Tag "port14"
Position [270, 485, 290, 505]
}
Block {
BlockType Terminator
Name "ASM15"
Tag "port15"
Position [270, 520, 290, 540]
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 16]
Position [230, 16, 235, 589]
BackgroundColor "black"
ShowName off
Outputs "[3 2 2 2 3 2 2 2 1 1 1 , 1 1 1 1 1]"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [205, 266, 210, 344]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Terminator
Name "Terminator"
Position [135, 35, 155, 55]
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Terminator
Name "Terminator1"
Position [270, 555, 290, 575]
}
Block {
BlockType Terminator
Name "ir_abc"
Tag "port1"
Position [270, 34, 290, 46]
}
Block {
BlockType Terminator
Name "ir_qd"
Tag "port2"
Position [270, 69, 290, 81]
}
Block {
BlockType Constant
Name "lastStatus"
Position [30, 36, 110, 54]
Value "[ 0 0 0 0 1 1 1 1 1 1 0 0 0 0 "
" 0 ]"
}
Block {
BlockType Constant
Name "padding"
Position [85, 316, 165, 334]
Value "[0 0 0 0 0]"
}
Block {
BlockType Terminator
Name "phir_qd"
Tag "port3"
Position [270, 104, 290, 116]
}
Block {
BlockType Terminator
Name "thetam"
Tag "port11"
Position [270, 380, 290, 400]
}
Block {
BlockType Terminator
Name "vr_qd"
Tag "port4"
Position [270, 139, 290, 151]
}
Block {
BlockType Outport
Name "is_abc"
Tag "port5"
Position [270, 174, 290, 186]
}
Block {
BlockType Outport
Name "is_qd"
Tag "port6"
Position [270, 209, 290, 221]
Port "2"
}
Block {
BlockType Outport
Name "phis_qd"
Tag "port7"
Position [270, 240, 290, 260]
Port "3"
}
Block {
BlockType Outport
Name "vs_qd"
Tag "port8"
Position [270, 275, 290, 295]
Port "4"
}
Block {
BlockType Outport
Name "wm"
Tag "port9"
Position [270, 310, 290, 330]
Port "5"
}
Block {
BlockType Outport
Name "Te"
Tag "port10"
Position [270, 345, 290, 365]
Port "6"
}
Line {
SrcBlock "Demux"
SrcPort 12
DstBlock "ASM12"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 13
DstBlock "ASM13"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 14
DstBlock "ASM14"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 15
DstBlock "ASM15"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 16
DstBlock "Terminator1"
DstPort 1
}
Line {
Name "from machine"
Labels [1, 0; 1, 1]
SrcBlock "m"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "lastStatus"
SrcPort 1
DstBlock "Terminator"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 11
DstBlock "thetam"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 10
DstBlock "Te"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 9
DstBlock "wm"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 8
DstBlock "vs_qd"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 7
DstBlock "phis_qd"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 6
DstBlock "is_qd"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 5
DstBlock "is_abc"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "vr_qd"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "phir_qd"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "ir_qd"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "ir_abc"
DstPort 1
}
Line {
SrcBlock "padding"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
}
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [385, 445, 390, 485]
Orientation "left"
NamePlacement "alternate"
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [315, 410, 320, 450]
Orientation "left"
NamePlacement "alternate"
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope1"
Ports [4]
Position [970, 183, 1000, 297]
Location [507, 70, 987, 709]
Open on
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
axes4 "%<SignalLabel>"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "0.16"
YMin "-0.9~-0.8~0~0"
YMax "0.9~0.8~0.8~400"
SaveName "xlx1"
DataFormat "StructureWithTime"
}
Block {
BlockType Scope
Name "Scope2"
Ports [4]
Position [970, 14, 1000, 96]
Location [41, 71, 518, 709]
Open off
NumInputPorts "4"
List {
ListType AxesTitles
axes1 "T Nm"
axes2 "Wr rad/s"
axes3 "Id A"
axes4 "Vd V"
}
List {
ListType SelectedSignals
axes1 ""
axes2 ""
axes3 ""
axes4 ""
}
TimeRange "0.16"
YMin "-20~-10~-45~-300"
YMax "20~30~45~300"
SaveName "xlx"
DataFormat "StructureWithTime"
}
Block {
BlockType Step
Name "Step"
Position [40, 205, 70, 235]
Time "0"
Before "8"
After "8"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [2, 1]
Position [935, 338, 980, 382]
TreatAsAtomicUnit off
System {
Name "Subsystem"
Location [2, 74, 1014, 724]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "beta"
Position [240, 293, 270, 307]
}
Block {
BlockType Inport
Name "alfa"
Position [235, 323, 265, 337]
Port "2"
}
Block {
BlockType Constant
Name "Constant2"
Position [475, 360, 505, 390]
Value "2*pi"
}
Block {
BlockType Constant
Name "Constant3"
Position [550, 355, 580, 385]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -