📄 kishore_disssertation.mdl
字号:
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "m"
Position [300, 73, 330, 87]
Orientation "left"
IconDisplay "Port number"
}
Block {
BlockType BusSelector
Name "Bus\nSelector1"
Ports [1, 2]
Position [265, 54, 270, 101]
Orientation "left"
NamePlacement "alternate"
ShowName off
OutputSignals "dq0 components.Stator voltage vd (pu),dq0 "
"components.Stator voltage vq (pu)"
Port {
PortNumber 1
Name "<Stator voltage vd (pu)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "<Stator voltage vq (pu)>"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Constant
Name "Constant3"
Position [165, 15, 185, 35]
Orientation "left"
NamePlacement "alternate"
ShowName off
}
Block {
BlockType Reference
Name "Excitation\nSystem"
Ports [4, 1]
Position [75, 31, 130, 124]
Orientation "left"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Machines/Excitation\nSystem"
SourceType "Excitation System"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
tr "20e-3"
reg "[ 300, 0.001 ]"
exc "[ 1, 0 ]"
tgr "[ 0, 0 ]"
damp "[ 0.001, 0.1 ]"
sat "[ 0, 0 ]"
lim "[ -11.5, 11.5, 0 ]"
v0 "[1,2.71455]"
}
Block {
BlockType Ground
Name "Ground"
Position [170, 107, 185, 123]
Orientation "left"
ShowName off
}
Block {
BlockType Outport
Name "Vf"
Position [25, 73, 55, 87]
Orientation "left"
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Constant3"
SrcPort 1
Points [0, 15]
DstBlock "Excitation\nSystem"
DstPort 1
}
Line {
SrcBlock "Ground"
SrcPort 1
DstBlock "Excitation\nSystem"
DstPort 4
}
Line {
SrcBlock "m"
SrcPort 1
DstBlock "Bus\nSelector1"
DstPort 1
}
Line {
SrcBlock "Excitation\nSystem"
SrcPort 1
DstBlock "Vf"
DstPort 1
}
Line {
Name "<Stator voltage vd (pu)>"
Labels [0, 0]
SrcBlock "Bus\nSelector1"
SrcPort 1
DstBlock "Excitation\nSystem"
DstPort 2
}
Line {
Name "<Stator voltage vq (pu)>"
Labels [0, 0]
SrcBlock "Bus\nSelector1"
SrcPort 2
DstBlock "Excitation\nSystem"
DstPort 3
}
}
}
Block {
BlockType From
Name "From1"
Position [685, 882, 745, 898]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Freq"
TagVisibility "global"
Port {
PortNumber 1
Name "Frequency (Hz)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From2"
Position [900, 1092, 960, 1108]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Iabc_Load"
TagVisibility "global"
Port {
PortNumber 1
Name "Iabc_load."
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From3"
Position [650, 1197, 710, 1213]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Vabc_Load"
TagVisibility "global"
Port {
PortNumber 1
Name "Vabc (pu)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType From
Name "From5"
Position [900, 1177, 960, 1193]
ShowName off
CloseFcn "tagdialog Close"
GotoTag "w_ASM"
TagVisibility "global"
Port {
PortNumber 1
Name "ASM speed (pu)"
PropagatedSignals "Rotor speed (wm)"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Reference
Name "Load"
Ports [0, 0, 0, 0, 0, 3, 3]
Position [412, 750, 458, 755]
Orientation "down"
BackgroundColor "black"
NamePlacement "alternate"
LinkData {
BlockName "Iabc"
DialogParameters {
GotoTag "Iabc_SMD"
TagVisibility "global"
}
BlockName "Vabc"
DialogParameters {
GotoTag "Vabc_SMD"
TagVisibility "global"
}
}
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem"
"ent"
SourceType "Three-Phase VI Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
VoltageMeasurement "phase-to-ground"
SetLabelV on
LabelV "Vabc_Load"
Vpu on
CurrentMeasurement "yes"
SetLabelI on
LabelI "Iabc_Load"
Ipu on
Pbase "275e3"
Vbase "480"
OutputType "Magnitude"
PhasorSimulation off
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Load\n100"
Ports [0, 0, 0, 0, 0, 3]
Position [217, 1025, 263, 1095]
Orientation "down"
AttributesFormatString "\\n"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Three-Phase\nParallel RLC Loa"
"d"
SourceType "Three-Phase Parallel RLC Load"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "A|B|C"
Configuration "Y (grounded)"
NominalVoltage "480"
NominalFrequency "60"
ActivePower "100e3"
InductivePower "0"
CapacitivePower "0"
Measurements "None"
}
Block {
BlockType SubSystem
Name "Load1"
Ports [0, 0, 0, 0, 0, 3]
Position [527, 865, 593, 935]
Orientation "down"
DropShadow on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "8-step Variable Load"
MaskDescription "This block implements a variable, three-phase r"
"esistive load. The load variation uses an eight-bit binary progression so tha"
"t the load power can be varied by steps from 0 to 255*Pstep.\n\nThe eight thr"
"ee-phase resistors are connected in series with ideal switches simulating for"
"ced-commutated power electronic switches.\n\nThe Pulses input is a vector con"
"taining the eight bits (0/1) controlling the eight three-phase switches. Firs"
"t value is the less significant bit."
MaskPromptString "Nominal L-L voltage (Vrms):|Nominal frequency ("
"Hz):|Power per step Pstep (W):|Initial power (W) :"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "Vphase_phase_lissage=@1;Freq=@2;P_lissage_min=@"
"3;Pin_3phase=@4;"
MaskInitialization "Ron_switch=1e-6;\nRs_snubber=inf;\nCs_snubber=0"
";\nn_niveaux=8;\nPmax=((2^n_niveaux)-1)*P_lissage_min;\nPin_normalise=min([(P"
"in_3phase/Pmax)*((2^n_niveaux)-1) ((2^n_niveaux)-1)]);\ndiscret1=pow2(0:-1:-("
"n_niveaux-1))*Pin_normalise;\ndiscret2=floor(discret1);\nStatus=rem(discret2,"
"2);"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "480|60|1.75e3|50e3"
MaskTabNameString ",,,"
System {
Name "Load1"
Location [19, 115, 587, 706]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType SubSystem
Name " "
Ports [1, 1]
Position [100, 20, 170, 60]
Orientation "left"
DropShadow on
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "Discrete Frequency Regulator"
MaskDescription "Input : phase to ground voltages\n\nOutput "
": 24 logical signals for the control of the dump load"
MaskPromptString "Reference frequency (Hz):|Regulator gains "
"[Kp Kd]:|Phase to phase voltage (Vrms):|Sample time (s):"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVarAliasString ",,,"
MaskVariables "Freq_ref=@1;gains_regulator=@2;Vpp_nom=@3;T"
"s=@4;"
MaskInitialization "Vbase=Vpp_nom/sqrt(3);\nKp=gains_regulator("
"1);\nKd=gains_regulator(2);\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "60|[255 30]|480|200e-6"
MaskTabNameString ",,,"
System {
Name " "
Location [119, 161, 937, 402]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "Vabc"
Position [30, 98, 60, 112]
IconDisplay "Port number"
}
Block {
BlockType DeadZone
Name "+/- 0.005 Hz"
Position [320, 70, 350, 100]
LowerValue "-0.005"
UpperValue "0.005"
}
Block {
BlockType Reference
Name "Discrete\n3-phase PLL"
Ports [1, 3]
Position [80, 74, 140, 136]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Bloc"
"ks/Discrete\n3-phase PLL"
SourceType "Discrete 3-phase PLL"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Fmin "45"
Par_Init "[0 Freq_ref]"
ParK "[60 1400]"
Ts "Ts"
}
Block {
BlockType Reference
Name "Discrete\nPID Controller"
Ports [1, 1]
Position [470, 70, 500, 100]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Bloc"
"ks/Discrete\nPID Controller"
SourceType "Discrete PID Controller"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Kp "Kp"
Ki "0"
Kd "Kd"
TcD "0.5e-3"
Par_Limits "[255 0]"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -