singleparallelapproach.mdl
来自「parallel connected pFC controller ac to 」· MDL 代码 · 共 2,078 行 · 第 1/5 页
MDL
2,078 行
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
Ron "0.001 "
Lon "0"
Vf "0.8"
IC "0"
UseSnubber off
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType Reference
Name "Diode5"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [1280, 95, 1335, 135]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Power\nElectronics/Diode"
SourceType "Diode"
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"
Ron "0.001 "
Lon "0"
Vf "0.8"
IC "0"
UseSnubber off
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType Reference
Name "Diode6"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [1380, 230, 1420, 285]
Orientation "up"
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Power\nElectronics/Diode"
SourceType "Diode"
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"
Ron "0.001 "
Lon "0"
Vf "0.8"
IC "0"
UseSnubber off
Rs "500"
Cs "250e-9"
Measurements off
}
Block {
BlockType Reference
Name "Discrete\nPI Controller"
Ports [1, 1]
Position [370, 892, 415, 938]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discrete\nPI Controller"
SourceType "Discrete PI 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 "0.001"
Ki "0.005"
Par_Limits "[1e6 -1e6]"
Init "0"
Ts "50e-6"
}
Block {
BlockType Reference
Name "Discrete\nPI Controller1"
Ports [1, 1]
Position [670, 877, 715, 923]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discrete\nPI Controller"
SourceType "Discrete PI 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 "0.0001"
Ki "0.005"
Par_Limits "[1e6 -1e6]"
Init "0"
Ts "50e-6"
}
Block {
BlockType Reference
Name "Discrete\nPI Controller2"
Ports [1, 1]
Position [1475, 722, 1520, 768]
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Discrete \nControl Blocks/Discrete\nPI Controller"
SourceType "Discrete PI 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 "0.01"
Ki "0.001"
Par_Limits "[1e6 -1e6]"
Init "0"
Ts "50e-6"
}
Block {
BlockType Product
Name "Divide"
Ports [2, 1]
Position [520, 1047, 550, 1078]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide1"
Ports [2, 1]
Position [1465, 1022, 1495, 1053]
Inputs "*/"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
OutDataTypeStr "Inherit: Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType From
Name "From"
Position [210, 946, 250, 974]
CloseFcn "tagdialog Close"
GotoTag "Vdc"
}
Block {
BlockType From
Name "From1"
Position [415, 831, 455, 859]
CloseFcn "tagdialog Close"
GotoTag "Vdr"
}
Block {
BlockType From
Name "From2"
Position [530, 841, 570, 869]
CloseFcn "tagdialog Close"
GotoTag "Idr"
}
Block {
BlockType From
Name "From3"
Position [245, 1056, 285, 1084]
CloseFcn "tagdialog Close"
GotoTag "Vo"
}
Block {
BlockType From
Name "From4"
Position [255, 1151, 295, 1179]
CloseFcn "tagdialog Close"
GotoTag "Vdr"
}
Block {
BlockType From
Name "From5"
Position [1230, 1036, 1270, 1064]
CloseFcn "tagdialog Close"
GotoTag "Vo"
}
Block {
BlockType From
Name "From6"
Position [1230, 1036, 1270, 1064]
CloseFcn "tagdialog Close"
GotoTag "vo"
}
Block {
BlockType From
Name "From7"
Position [1245, 1136, 1285, 1164]
CloseFcn "tagdialog Close"
GotoTag "Vdc"
}
Block {
BlockType From
Name "From8"
Position [1280, 711, 1320, 739]
CloseFcn "tagdialog Close"
GotoTag "Vo"
}
Block {
BlockType Goto
Name "Goto"
Position [780, 225, 820, 255]
GotoTag "Vdc"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto1"
Position [1705, 275, 1745, 305]
GotoTag "Vo"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto2"
Position [530, 295, 570, 325]
GotoTag "Vdr"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto3"
Position [570, 40, 610, 70]
GotoTag "Idr"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto4"
Position [1675, 130, 1715, 160]
GotoTag "Io"
TagVisibility "local"
}
Block {
BlockType Reference
Name "Linear Transformer"
Ports [0, 0, 0, 0, 0, 2, 2]
Position [1130, 95, 1190, 175]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Elements/Linear Transformer"
SourceType "Linear Transformer"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a|b"
RConnTagsString "A|B"
UNITS "pu"
NominalPower "[ 190.4 37000 ] "
winding1 "[120 0.002 0.08]"
winding2 "[ 48 0.002 0.08 ]"
ThreeWindings off
winding3 "[ 315e3 0.002 0.08 ]"
RmLm "[ 500 500 ]"
Measurements "None"
DataType off
}
Block {
BlockType Reference
Name "Linear Transformer1"
Ports [0, 0, 0, 0, 0, 2, 2]
Position [1070, 505, 1130, 585]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Elements/Linear Transformer"
SourceType "Linear Transformer"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a|b"
RConnTagsString "A|B"
UNITS "pu"
NominalPower "[90.6 37000] "
winding1 "[120 4.2831e-010 0.0024349]"
winding2 "[48 1.2696e-008 0.072175]"
ThreeWindings off
winding3 "[ 315e3 0.002 0.08 ]"
RmLm "[0.00010708 15.218]"
Measurements "None"
DataType off
}
Block {
BlockType Reference
Name "Mean Value\n(linear)"
Ports [1, 1]
Position [1653, 230, 1697, 280]
Orientation "down"
DialogController "POWERSYS.PowerSysDialog"
FontName "Arial"
SourceBlock "powerlib_extras/Measurements/Mean Value\n(linear)"
SourceType "Mean Value (linear)"
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"
Freq "60"
n "3"
Vinit "0"
}
Block {
BlockType Reference
Name "Mosfet"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [1013, 690, 1057, 745]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Power\nElectronics/Mosfet"
SourceType "Mosfet"
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"
Ron "0.1"
Lon "0"
Rd "0.01"
Vfd "0"
IC "0"
Rs "1e5"
Cs "inf "
Measurements on
}
Block {
BlockType Reference
Name "Mosfet1"
Ports [1, 1, 0, 0, 0, 1, 1]
Position [1043, 315, 1087, 370]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Power\nElectronics/Mosfet"
SourceType "Mosfet"
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"
Ron "0.1"
Lon "0"
Rd "0.01"
Vfd "0"
IC "0"
Rs "1e5"
Cs "inf "
Measurements on
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [85, 466, 90, 504]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [525, 887, 555, 918]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
OutDataTypeStr "Inherit: Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product1"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?