⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 base_band_spar.mdl

📁 PLLmatlab for simulink
💻 MDL
📖 第 1 页 / 共 5 页
字号:
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		}
		Block {
		  BlockType		  SubSystem
		  Name			  "source"
		  Ports			  [0, 1]
		  Position		  [25, 124, 95, 146]
		  TreatAsAtomicUnit	  off
		  MinAlgLoopOccurrences	  off
		  RTWSystemCode		  "Auto"
		  MaskInitialization	  "Parent = get_param(gcb,'Parent');  "
"                                                                             "
"                   \npss = get_param(Parent,'UserData');                     "
"                                                                           \n"
"if isempty(pss)                                                              "
"                                                      \n    A=0;B=0;C=0;D=0;x"
"0=0;Rswitch=0;TypeSwitch=0;Ts=1;YSwitchCurrent=-1;                           "
"                                 \nelse                                      "
"                                                                             "
"            \n    A=pss.A;B=pss.B;C=pss.C;D=pss.D;x0=pss.x0;Rswitch=pss.Rswit"
"ch;TypeSwitch=pss.TypeSwitch;Ts=0;YSwitchCurrent=pss.YSwitchCurrent;\nend    "
"                                                                             "
"                                               "
		  MaskIconFrame		  on
		  MaskIconOpaque	  on
		  MaskIconRotate	  "none"
		  MaskIconUnits		  "autoscale"
		  System {
		    Name		    "source"
		    Location		    [451, 556, 1091, 812]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Mux
		    Name		    "Mux"
		    Ports		    [1, 1]
		    Position		    [275, 68, 305, 162]
		    Inputs		    "1"
		    }
		    Block {
		    BlockType		    StateSpace
		    Name		    "State-Space"
		    Position		    [370, 93, 450, 137]
		    A			    "A"
		    B			    "B"
		    C			    "C"
		    D			    "D"
		    X0			    "x0"
		    MaskIconFrame	    on
		    MaskIconOpaque	    on
		    MaskIconRotate	    "none"
		    MaskIconUnits	    "autoscale"
		    }
		    Block {
		    BlockType		    SubSystem
		    Name		    "electrical sources"
		    Ports		    [0, 1]
		    Position		    [50, 102, 75, 128]
		    TreatAsAtomicUnit	    off
		    MinAlgLoopOccurrences   off
		    RTWSystemCode	    "Auto"
		    System {
		    Name		    "electrical sources"
		    Location		    [49, 463, 473, 721]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Mux
		    Name		    "Mux"
		    Ports		    [8, 1]
		    Position		    [170, 96, 175, 184]
		    Inputs		    "8"
		    DisplayOption	    "bar"
		    }
		    Block {
		    BlockType		    From
		    Name		    "from1"
		    Position		    [20, 30, 75, 60]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132017"
		    }
		    Block {
		    BlockType		    From
		    Name		    "from2"
		    Position		    [20, 65, 75, 95]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132021"
		    }
		    Block {
		    BlockType		    From
		    Name		    "from3"
		    Position		    [20, 100, 75, 130]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132053"
		    }
		    Block {
		    BlockType		    From
		    Name		    "from4"
		    Position		    [20, 135, 75, 165]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132057"
		    }
		    Block {
		    BlockType		    From
		    Name		    "from5"
		    Position		    [20, 170, 75, 200]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132050"
		    }
		    Block {
		    BlockType		    From
		    Name		    "from6"
		    Position		    [20, 205, 75, 235]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132054"
		    }
		    Block {
		    BlockType		    From
		    Name		    "from7"
		    Position		    [20, 240, 75, 270]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132059"
		    }
		    Block {
		    BlockType		    From
		    Name		    "from8"
		    Position		    [20, 275, 75, 305]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132060"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out"
		    Position		    [200, 128, 225, 152]
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    InitialOutput	    "0"
		    }
		    Line {
		    SrcBlock		    "Mux"
		    SrcPort		    1
		    DstBlock		    "Out"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "from1"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "from2"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    2
		    }
		    Line {
		    SrcBlock		    "from3"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    3
		    }
		    Line {
		    SrcBlock		    "from4"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    4
		    }
		    Line {
		    SrcBlock		    "from5"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    5
		    }
		    Line {
		    SrcBlock		    "from6"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    6
		    }
		    Line {
		    SrcBlock		    "from7"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    7
		    }
		    Line {
		    SrcBlock		    "from8"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    8
		    }
		    }
		    }
		    Block {
		    BlockType		    SubSystem
		    Name		    "transit"
		    Ports		    [1, 1]
		    Position		    [495, 104, 555, 126]
		    TreatAsAtomicUnit	    off
		    MinAlgLoopOccurrences   off
		    RTWSystemCode	    "Auto"
		    System {
		    Name		    "transit"
		    Location		    [234, 403, 674, 843]
		    Open		    off
		    ModelBrowserVisibility  off
		    ModelBrowserWidth	    200
		    ScreenColor		    "white"
		    PaperOrientation	    "landscape"
		    PaperPositionMode	    "auto"
		    PaperType		    "usletter"
		    PaperUnits		    "inches"
		    ZoomFactor		    "100"
		    Block {
		    BlockType		    Inport
		    Name		    "In"
		    Position		    [30, 150, 50, 170]
		    Port		    "1"
		    IconDisplay		    "Port number"
		    LatchInput		    off
		    }
		    Block {
		    BlockType		    Demux
		    Name		    "Demux"
		    Ports		    [1, 8]
		    Position		    [145, 64, 180, 261]
		    Outputs		    "[1 1 1 1 1 1 1 1]"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto2"
		    Position		    [330, 115, 360, 145]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132020"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto3"
		    Position		    [330, 160, 360, 190]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp131806"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto4"
		    Position		    [330, 205, 360, 235]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp131807"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto5"
		    Position		    [330, 250, 360, 280]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp131809"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto6"
		    Position		    [330, 295, 360, 325]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132064"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto7"
		    Position		    [330, 340, 360, 370]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132051"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Goto
		    Name		    "Goto8"
		    Position		    [330, 385, 360, 415]
		    DialogController	    "Simulink.DDGSource"
		    GotoTag		    "tp132056"
		    TagVisibility	    "global"
		    }
		    Block {
		    BlockType		    Selector
		    Name		    "Selector"
		    Ports		    [1, 1]
		    Position		    [75, 145, 105, 175]
		    Elements		    "[1 2 3 4 5 6 7 8]"
		    InputPortWidth	    "8"
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out"
		    Position		    [150, 15, 170, 35]
		    Orientation		    "left"
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    InitialOutput	    "0"
		    }
		    Line {
		    SrcBlock		    "In"
		    SrcPort		    1
		    DstBlock		    "Selector"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Selector"
		    SrcPort		    1
		    Points		    [20, 0]
		    DstBlock		    "Demux"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    1
		    DstBlock		    "Out"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    2
		    DstBlock		    "Goto2"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    3
		    DstBlock		    "Goto3"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    4
		    DstBlock		    "Goto4"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    5
		    DstBlock		    "Goto5"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    6
		    DstBlock		    "Goto6"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    7
		    DstBlock		    "Goto7"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Demux"
		    SrcPort		    8
		    DstBlock		    "Goto8"
		    DstPort		    1
		    }
		    }
		    }
		    Block {
		    BlockType		    Outport
		    Name		    "Out"
		    Position		    [580, 103, 605, 127]
		    IconDisplay		    "Port number"
		    BusOutputAsStruct	    off
		    InitialOutput	    "0"
		    }
		    Line {
		    SrcBlock		    "State-Space"
		    SrcPort		    1
		    DstBlock		    "transit"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "transit"
		    SrcPort		    1
		    DstBlock		    "Out"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "Mux"
		    SrcPort		    1
		    DstBlock		    "State-Space"
		    DstPort		    1
		    }
		    Line {
		    SrcBlock		    "electrical sources"
		    SrcPort		    1
		    DstBlock		    "Mux"
		    DstPort		    1
		    }
		  }
		}
		Block {
		  BlockType		  PMIOPort
		  Name			  "+"
		  Position		  [15, 28, 45, 42]
		  Port			  "1"
		  Side			  "Left"
		}
		Block {
		  BlockType		  PMIOPort
		  Name			  "-"
		  Position		  [190, 24, 215, 46]
		  Orientation		  "left"
		  Port			  "2"
		  Side			  "Left"
		}
		Block {
		  BlockType		  Outport
		  Name			  "v"
		  Position		  [405, 139, 425, 161]
		  FontSize		  16
		  IconDisplay		  "Port number"
		  BusOutputAsStruct	  off
		  InitialOutput		  "0"
		}
		Line {
		  LineType		  "Connection"
		  SrcBlock		  "-"
		  SrcPort		  RConn1
		  Points		  [0, 0]
		  DstBlock		  "VoltageMeasurement"
		  DstPort		  RConn1
		}
		Line {
		  LineType		  "Connection"
		  SrcBlock		  "+"
		  SrcPort		  RConn1
		  Points		  [0, 0]
		  DstBlock		  "VoltageMeasurement"
		  DstPort		  LConn1
		}
		Line {
		  SrcBlock		  "Simulation method"
		  SrcPort		  1
		  DstBlock		  "Phasor Measurements"
		  DstPort		  enable
		}
		Line {
		  SrcBlock		  "Mux"
		  SrcPort		  1
		  DstBlock		  "Selector"
		  DstPort		  1
		}
		Line {
		  SrcBlock		  "Phasor Measurements"
		  SrcPort		  1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -