📄 suddenlyshorcircuitt22.mdl
字号:
Location [236, 82, 1440, 853]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType BusSelector
Name "Bus\nSelector"
Ports [1, 1]
Position [145, 176, 150, 214]
ShowName off
OutputSignals "dq0 components.Stator current iq (A),dq0 compo"
"nents.Stator current id (A)"
OutputAsBus on
}
Block {
BlockType BusSelector
Name "Bus\nSelector1"
Ports [1, 4]
Position [145, 87, 150, 163]
ShowName off
OutputSignals "Output active power Peo (W),Load angle delt"
"a (deg),Mechanical.Rotor speed wm (rad/s),Stator current. is_a (A)"
Port {
PortNumber 1
Name "<Output active power Peo (W)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "<Load angle delta (deg)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 3
Name "<Rotor speed wm (rad/s)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 4
Name "< is_a (A)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType BusSelector
Name "Bus\nSelector2"
Ports [1, 1]
Position [140, 16, 145, 54]
ShowName off
OutputSignals "dq0 components.Mutual flux phimq (V s),dq0 com"
"ponents.Mutual flux phimd (V s)"
OutputAsBus on
}
Block {
BlockType Constant
Name "Constant1"
Position [755, 120, 785, 150]
}
Block {
BlockType Reference
Name "Discrete\n1-phase PLL"
Ports [1, 3]
Position [555, 114, 620, 186]
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discr"
"ete\n1-phase PLL"
SourceType "Discrete 1-phase PLL"
ShowPortLabels on
Fmin "45"
Par_Init "[0 50]"
ParK "[120 2800]"
Ts "50e-6"
}
Block {
BlockType Fcn
Name "Fcn"
Position [210, 205, 270, 235]
Expr "sqrt(u[1]^2+u[2]^2)/sqrt(2)"
}
Block {
BlockType Gain
Name "Gain"
Position [310, 35, 340, 65]
Gain "0.001"
SaturateOnIntegerOverflow off
}
Block {
BlockType Gain
Name "Gain1"
Position [320, 80, 350, 110]
Gain "30/pi"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [394, 200, 416, 225]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground1"
Ports [0, 0, 0, 0, 0, 1]
Position [709, 330, 731, 355]
Orientation "down"
ShowName off
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [905, 111, 910, 149]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "Scope"
Ports [2]
Position [325, 146, 355, 179]
Floating off
Location [-207, 75, 1225, 852]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
YMin "-100~0"
YMax "100~100"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [3]
Position [510, 31, 545, 99]
Floating off
Location [6, 121, 1400, 839]
Open off
NumInputPorts "3"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
axes3 "%<SignalLabel>"
}
TimeRange "1.126774847870182"
YMin "-500~-50~1400"
YMax "450~200~1600"
SaveToWorkspace on
SaveName "ScopeData1"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope2"
Ports [2]
Position [1150, 46, 1180, 79]
Floating off
Location [51, 88, 1391, 886]
Open off
NumInputPorts "2"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "11"
YMin "-5~-4"
YMax "8~8"
SaveName "ScopeData2"
DataFormat "StructureWithTime"
SampleTime "0"
}
Block {
BlockType SubSystem
Name "Synchronous Machine\nSI Fundamental"
Ports [2, 1, 0, 0, 0, 0, 3]
Position [20, 232, 105, 308]
AncestorBlock "powerlib/Machines/Synchronous Machine\nSI Funda"
"mental"
CopyFcn "powericon('psbloadfunction',gcb,'gotofrom','Upd"
"ateGotoTag');"
OpenFcn "power_openblockproxy();"
FontSize 11
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "Synchronous Machine"
MaskDescription "Implements a 3-phase synchronous machine modell"
"ed in the dq rotor reference frame. Stator windings are connected in wye to a"
"n internal neutral point. Press help for inputs and outputs description."
MaskHelp "web(psbhelp);"
MaskPromptString "Preset model|Mechanical input:|---------------"
"-- Show detailed parameters ----------------- |Rotor type:|Nom. power, volt."
", freq. and field cur. [ Pn(VA) Vn(Vrms) fn(Hz) ifn(A) ]:|Stator [ Rs(ohm) L"
"l,Lmd,Lmq(H) ]:|Field [ Rf'(ohm) Llfd'(H) ]:|Dampers [ Rkd',Llkd' Rkq1',Llk"
"q1' Rkq2',Llkq2' ] (R=ohm,L=H):|Dampers [ Rkd',Llkd' Rkq1',Llkq1' ] (R=oh"
"m,L=H):|Inertia, friction factor and pole pairs [ J(kg.m^2) F(N.m.s) p() ]:"
"|Init. cond. [ dw(%) th(deg) ia,ib,ic(A) pha,phb,phc(deg) Vf(V) ]:|Simula"
"te saturation|Saturation parameters [ ifd1,ifd2,... (A) ; vt1,vt2,... (VLL rm"
"s) ]:|Display Vfd which produces nominal Vt|iounits|Load Flow Parameters"
MaskStyleString "popup(No|01: 50Hz 400V 8.1kVA 1500RPM|02: 50Hz "
"400V 16kVA 1500RPM|03: 50Hz 400V 31.3kVA 1500RPM|04: 50Hz 400V 42.5kVA 1500RP"
"M|05: 50Hz 400V 60kVA 1500RPM|06: 50Hz 400V 85kVA 1500RPM|07: 50Hz 400V 250kV"
"A 1500RPM|08: 50Hz 400V 325kVA 1500RPM|09: 50Hz 400V 670kVA 1500RPM|10: 50Hz "
"400V 910kVA 1500RPM|11: 50Hz 400V 1320kVA 1500RPM|12: 50Hz 400V 2000kVA 1500R"
"PM|13: 60Hz 460V 10.2kVA 1800RPM|14: 60Hz 460V 20kVA 1800RPM|15: 60Hz 460V 37"
".5kVA 1800RPM|16: 60Hz 460V 52.5kVA 1800RPM|17: 60Hz 460V 72.5kVA 1800RPM|18:"
" 60Hz 460V 100kVA 1800RPM|19: 60Hz 460V 300kVA 1800RPM|20: 60Hz 460V 406kVA 1"
"800RPM|21: 60Hz 460V 800kVA 1800RPM|22: 60Hz 460V 1075kVA 1800RPM|23: 60Hz 46"
"0V 1588kVA 1800RPM|24: 60Hz 460V 2500kVA 1800RPM),popup(Mechanical power Pm|S"
"peed w),checkbox,popup(Salient-pole|Round),edit,edit,edit,edit,edit,edit,edit"
",checkbox,edit,checkbox,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,o"
"ff"
MaskCallbackString "powericon('SynchronousMachineCback',gcb,'FUN_SI"
"');|powericon('SynchronousMachineCback',gcb,'FUN_SI');|powericon('Synchronous"
"MachineCback',gcb);|powericon('SynchronousMachineCback',gcb);||||||||powerico"
"n('SynchronousMachineCback',gcb);||powericon('SynchronousMachineVfd',gcb);||"
MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,off,o"
"n"
MaskVisibilityString "on,on,on,on,on,on,on,off,on,on,on,on,off,on,off"
",off"
MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,,,,,,,,"
MaskVariables "PresetModel=@1;MechanicalLoad=@2;ShowDetailedPa"
"rameters=@3;RotorType=&4;NominalParameters=@5;Stator=@6;Field=@7;Dampers2=@8;"
"Dampers1=@9;Mechanical=@10;InitialConditions=@11;SetSaturation=@12;Saturation"
"=@13;DisplayVfd=@14;Units=@15;LoadFlowParameters=@16;"
MaskInitialization "s1= -60;s2= -10;s3= 60;s4= 80;\nblock = gcb;\np"
"owericon('psbloadfunction',block,'gotofrom','Initialize');\n%\nswitch RotorTy"
"pe\n case 'Salient-pole'\n Dampers = [Dampers1 0 inf];"
"\n case 'Round'\n Dampers = Dampers2;\nend\n%\nif SetSa"
"turation==0\n Saturation=[];\n SetSaturation='off';\nelse\n"
" SetSaturation='on';\nend\n%\n[NominalParameters,Stator,Field,Dampers,"
"Mechanical,InitialConditions,v7,Saturation] = powericon('SynchronousMachineCo"
"nvert',NominalParameters,Stator,Field,Dampers,Mechanical,InitialConditions,Se"
"tSaturation,Saturation,'1');;\nTs = powericon('SynchronousMachineInit',block)"
";\n[Rs,Ll,Lad,Laq,Rf,Llfd,Rkd,Rkq1,Rkq2,Llkd,Llkq1,Llkq2,H,F,p,dwo,tho,phido,"
"phikdo,phifdo,phiqo,phikq1o,phikq2o,phib,Pb,Vb,Vb2,ib,ib2,Nb,N,N2,phis,a,Vfd]"
"=powericon('SynchronousMachineParam',NominalParameters,Stator,Field,Dampers,M"
"echanical,InitialConditions,Saturation,0,1,1);\n%\na5=a(1); \na4=a(2); \na3=a"
"(3); \na2=a(4); \na1=a(5); \na0=a(6);\nLmd=Stator(3); \nLmq=Stator(4);\nweb_p"
"sb=NominalParameters(3)*2*pi;\none_third=1/3; \nsqrt3=sqrt(3);\n% p.u. model "
":\nGain1 = Pb;\nexcAxis = 1;\n\n% parameters specific to the phasor model :\n"
"\n% Computation of negative sequence impedance\n% L\"d= Ll +1/(1/Lmd +1/Llfd "
"+ 1/Llkd)\nLsecd=Stator(2)+1/(1/Stator(3)+1/Field(2)+1/Dampers(2));\n% L\"q= "
"Ll +1/(1/Lmq +1/Llkq1 + 1/Llkq2)\nLsecq=Stator(2)+1/(1/Stator(4)+1/Dampers(4)"
"+1/Dampers(6));\n%L2=2(L\"d*L\"q/(L\"d+L\"q) (Kundur p881)\nL2_pu=2*(Lsecd*Ls"
"ecq/(Lsecd+Lsecq));\n% initial values of Id Iq: Idqo= mag(Ia) <( phi(Ia-)-the"
"tao))\nj=sqrt(-1);\nIdqo=InitialConditions(3)*exp(j*(InitialConditions(6)-Ini"
"tialConditions(2))*pi/180);\nIdo=real(Idqo); Iqo=imag(Idqo);\npower_initmask("
");"
MaskDisplay "plot(s1,s2,s3,s4,\n[0,9,18,24,29,30,29,24,18,9,"
"0,-9,-18,-24,-29,-30,-29,-24,-18,-9,0]*1.2,\n[30,29,24,18,9,0,-9,-18,-24,-29,"
"-30,-29,-24,-18,-9,0,9,18,24,29,30]*1.2+15,\n[23,48],[27,27]+15,[36,48],[15,1"
"5],[23,48],[-27,-27]+15,\n[0,-9,-18,-24,-16,-16,-24,-18,-9,0,9,18,24,16,16,24"
",18,9,0],\n[-30,-29,-24,-18,-18,18,18,24,29,30,29,24,18,18,-18,-18,-24,-29,-3"
"0]+15);\ncolor('blue');\nplot([0,0,40],[50,68,68])\nplot([-35,-25],[50,40])"
MaskSelfModifiable on
MaskIconFrame off
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "No|Mechanical power Pm|on|Salient-pole|[ 111.9e"
"3 440*sqrt(3) 50 0 ]|[ 0.26 1.14e-3 13.7e-3 11.0e-3 ]|[ 0.13 2.1e-3]|[ 0."
"0664, 1.387e-3, 0.0292, 6.896e-4, 7.907e-3, 2.477e-3]|[ 0.0224 1.4e-3 0.02 1e"
"-3 ]|[ 24.9 0 2 ]|[ 0 -111.483 53.9768 53.9768 53.9768 -173.297 66.703"
"3 -53.2967 17.8876 ] |off|[695.64,774.7,917.5,1001.6,1082.2,1175.9,1293.6,1"
"430.2,1583.7;9660,10623,12243,13063,13757,14437,15180,15890,16567]|off|1|[1,0"
",0,0,0]"
MaskTabNameString ",,,,,,,,,,,,,,,"
System {
Name "Synchronous Machine\nSI Fundamental"
Location [406, 74, 817, 536]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Pm"
Position [230, 385, 250, 405]
Orientation "left"
ForegroundColor "blue"
BackgroundColor "cyan"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Vf_"
Position [30, 195, 50, 215]
ForegroundColor "blue"
BackgroundColor "cyan"
Port "2"
IconDisplay "Port number"
}
Block {
BlockType From
Name "From"
Position [15, 157, 85, 183]
BackgroundColor "cyan"
NamePlacement "alternate"
CloseFcn "tagdialog Close"
GotoTag "tp041134"
}
Block {
BlockType Goto
Name "Goto"
Position [245, 168, 320, 192]
BackgroundColor "cyan"
NamePlacement "alternate"
GotoTag "tp041132"
TagVisibility "global"
}
Block {
BlockType SubSystem
Name "Measurement list"
Ports [2, 1]
Position [275, 289, 350, 311]
BackgroundColor "cyan"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Measurement list"
Location [332, 196, 935, 702]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "cyan"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "m_e"
Position [20, 173, 50, 187]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "m_m"
Position [15, 418, 45, 432]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType BusCreator
Name "Bus\nCreator1"
Ports [6, 1]
Position [470, 222, 475, 338]
ShowName off
Inputs "'Stator current','dq0 components','Mech"
"anical','Load angle delta (deg)','Output active power Peo (W)','Output r"
"eactive power Qeo (W)'"
DisplayOption "bar"
}
Block {
BlockType BusCreator
Name "Bus\nCreator2"
Ports [3, 1]
Position [330, 20, 335, 80]
ShowName off
Inputs "3"
DisplayOption "bar"
Port {
PortNumber 1
Name "Stator current"
PropagatedSignals " is_a (A), is_b (A), is_c (A)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType BusCreator
Name "Bus\nCreator3"
Ports [10, 1]
Position [330, 79, 335, 281]
ShowName off
Inputs "10"
DisplayOption "bar"
Port {
PortNumber 1
Name "dq0 components"
PropagatedSignals "Stator current iq (A), Stator curren"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -