📄 powerpll.mdl
字号:
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou"
"rce"
SourceType "DC Voltage Source"
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"
Amplitude "10"
Measurements "None"
}
Block {
BlockType Reference
Name "10V"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [555, 325, 575, 360]
Orientation "up"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou"
"rce"
SourceType "DC Voltage Source"
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"
Amplitude "10"
Measurements "None"
}
Block {
BlockType Reference
Name "C1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [320, 305, 350, 355]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "C"
Resistance "1"
Inductance "1e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "C1"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "C2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [255, 275, 285, 325]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "C"
Resistance "1"
Inductance "1e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "C2"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Ground"
Ports [0, 0, 0, 0, 0, 1]
Position [289, 395, 311, 420]
Orientation "down"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ground3"
Ports [0, 0, 0, 0, 0, 1]
Position [584, 255, 606, 280]
Orientation "down"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Ground"
SourceType "Ground"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
}
Block {
BlockType Reference
Name "Ideal Switch"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [135, 110, 175, 165]
Orientation "up"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Power\nElectronics/Ideal Switch"
SourceType "Ideal Switch"
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"
IC "0"
Rs "1e8"
Cs "inf"
Measurements off
}
Block {
BlockType Reference
Name "Ideal Switch1"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [145, 220, 185, 275]
Orientation "up"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Power\nElectronics/Ideal Switch"
SourceType "Ideal Switch"
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"
IC "0"
Rs "1e8"
Cs "inf"
Measurements off
}
Block {
BlockType Reference
Name "R1"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [320, 235, 350, 285]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "R"
Resistance "R1"
Inductance "1e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "C1"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "R2"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [140, 40, 170, 90]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "R"
Resistance "40e3"
Inductance "1e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "C1"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "R3"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [160, 300, 190, 350]
Orientation "down"
NamePlacement "alternate"
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "R"
Resistance "40e3"
Inductance "1e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "C1"
Setx0 off
InitialVoltage "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Voltage Measurement"
Ports [0, 1, 0, 0, 0, 2]
Position [425, 223, 450, 247]
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib/Measurements/Voltage Measurement"
SourceType "Voltage 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"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Outport
Name "contrl"
Position [475, 228, 505, 242]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
LineType "Connection"
SrcBlock "R1"
SrcPort RConn1
DstBlock "C1"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "C1"
SrcPort RConn1
Points [0, 0]
Branch {
ConnectType "DEST_DEST"
Points [300, 370; 35, 0]
Branch {
ConnectType "SRC_DEST"
SrcBlock "Ground"
SrcPort LConn1
Points [0, -10]
}
Branch {
ConnectType "SRC_DEST"
SrcBlock "C2"
SrcPort RConn1
Points [0, 30; 30, 0]
}
}
Branch {
ConnectType "DEST_SRC"
Points [60, 0; 0, -130]
DstBlock "Voltage Measurement"
DstPort LConn2
}
}
Line {
LineType "Connection"
SrcBlock "Ideal Switch1"
SrcPort RConn1
Points [0, -10]
Branch {
ConnectType "DEST_SRC"
Points [105, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "C2"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [65, 0]
Branch {
ConnectType "DEST_SRC"
DstBlock "R1"
DstPort LConn1
}
Branch {
ConnectType "DEST_DEST"
SrcBlock "Voltage Measurement"
SrcPort LConn1
Points [-15, 0; 0, -35; -60, 0]
}
}
}
Branch {
ConnectType "DEST_SRC"
DstBlock "Ideal Switch"
DstPort LConn1
}
}
Line {
LineType "Connection"
Name "-10V"
Labels [2, 0]
SrcBlock "R3"
SrcPort RConn1
Points [0, 81; 390, 0]
DstBlock "10V"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "Ideal Switch1"
SrcPort LConn1
DstBlock "R3"
DstPort LConn1
}
Line {
SrcBlock "D"
SrcPort 1
Points [50, 0]
DstBlock "Ideal Switch1"
DstPort 1
}
Line {
SrcBlock "Voltage Measurement"
SrcPort 1
DstBlock "contrl"
DstPort 1
}
Line {
LineType "Connection"
SrcBlock "Ideal Switch"
SrcPort RConn1
DstBlock "R2"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "10V"
SrcPort RConn1
Points [0, -100]
Branch {
ConnectType "DEST_SRC"
DstBlock "+10V"
DstPort LConn1
}
Branch {
ConnectType "DEST_SRC"
Points [30, 0]
DstBlock "Ground3"
DstPort LConn1
}
}
Line {
LineType "Connection"
Name "+10V"
Labels [2, 0]
SrcBlock "+10V"
SrcPort RConn1
Points [0, -30; -410, 0]
DstBlock "R2"
DstPort LConn1
}
Line {
SrcBlock "U"
SrcPort 1
DstBlock "Ideal Switch"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Continuous-Time\nVCO"
Ports [1, 1]
Position [235, 227, 325, 273]
Orientation "left"
DropShadow on
SourceBlock "commsynccomp2/Continuous-Time\nVCO"
SourceType "Continuous-Time VCO"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -