Plecs { Name "DecentralizedInterleavedBuck" Version "4.3" CircuitModel "ContStateSpace" StartTime "0.0" StopTime "Tmax" Timeout "" Solver "dopri" MaxStep "1e-7" InitStep "-1" FixedStep "1e-3" Refine "10" ZCStepSize "1e-9" RelTol "1e-8" AbsTol "-1" TurnOnThreshold "0" SyncFixedStepTasks "2" UseSingleCommonBaseRate "2" LossVariableLimitExceededMsg "3" NegativeSwitchLossMsg "3" DivisionByZeroMsg "3" StiffnessDetectionMsg "2" MaxConsecutiveZCs "1000" AlgebraicLoopWithStateMachineMsg "2" AssertionAction "1" InitializationCommands "clear all; clc;\n\n%%% System Parameters\n\ntest_cas" "e = 1; %%%% change this line to indicate the number of active cells\n\nswit" "ch test_case\n\t\t\n\tcase 1 %% Droop Testing\n\t\t\n\t\tTmax = 0.01;\n\t\tce" "ll_enable = [1 1 1 1 1]; Vin = [40 40 40 40 40];\n\t\tRthevLoad = 1; Vload = " "5;\n\t\t\n\t\trf = .1;\n\t\tRmin = rf; Rmax = rf;\n\t\t\n\t\tLf = 100e-6;\n\t" "\tLmin = Lf; Lmax = Lf;\n\t\t\n\t\t%%% Droop control parameters\n\t\tVref = 4" "0;\n\t\tV_load_ref = 30;\n\t\tr_droop = 1.5;\n\t\tkp_droop = 0.32;\n\t\tki_dr" "oop = 0.06;\n\t\t\n\t\tduty_max = 0.95;\n\t\tduty_min = 0.05;\n\t\t\n\t\tt_ad" "d = 0.005;\nend\n\n%%% Simulation Parameters\n\n%%%%%%% Define time steps, et" "c. here\n\nVsupply = 40;\niL_init = 0;\n\n% The oscillation voltage is initia" "lized with a random value in this range:\nosc_init_min = -1;\nosc_init_max = " "1;\n\n%%% Control Parameters\n\nTsw = 1/50e3; % switching period\nomegaSw = 2" "*pi/Tsw;\n\nd = 0.25;\nkappa=12;\n\nIrPkPk = Tsw*0.5*(Vsupply - Vload)/Lf;\nI" "rRMS = IrPkPk/sqrt(3);\n\niRef = 10;\nki = 15;\nkp = 1;\n\n% Assign the scali" "ng parameters so that the virtual oscillator is in per-unit\nVoc = 1;\nVmax =" " 1.05;\nVmin = 0.95;\n\nt_settling = Tsw*5;\nDelta_Omega_Abs_Max = 2*pi*0.01/" "Tsw;\nkappaV = 1;\nkappaI = 1/IrRMS;\n\n% Derive the voltage/real-power param" "eters\nQripple = IrRMS*1;\n% sigma = Voc / Vmin * Voc^2/(Voc^2 - Vmin^2);\nsi" "gma = 90;\nalpha = 2*sigma/3;\n\nC = sigma*t_settling/6;\nDelta_Omega_Abs_Max" " = kappaV*kappaI/2/C/Vmin^2 * Qripple;\n\n% Derive the parameters required to" " hit the system parameters\nL = 1 / C / omegaSw^2;\nepsilon = sqrt(L/C);\n\nr" "_bandpass=100;\nfc1=0.98*omegaSw;\nfc2=1.02*omegaSw;\nc1_bandpass=1/(r_bandpa" "ss*fc1);\nc2_bandpass=2/(r_bandpass*fc2);\n\nR1 = 0.5;\nR2 = 0.5;\nR3 = 1.25;" "\n\t\t\nt_add1 = 0.005;\nt_add2 = 0.012;\n\nNconv = 5;\nXYidx = reshape([1:Nc" "onv;(Nconv+1):(2*Nconv)],1,[]);\nbbb = 2*ones(1,Nconv);" InitialState "1" SystemState "" CodeGenParameterInlining "2" CodeGenInliningExceptions "AAAACwAAAAAA" CodeGenFloatingPointFormat "2" CodeGenAbsTimeUsageMsg "3" CodeGenBaseName "" CodeGenOutputDir "" CodeGenExtraOpts "" CodeGenTarget "Generic" CodeGenTargetSettings "" ExtendedMatrixPrecision "1" MatrixSignificanceCheck "2" EnableStateSpaceSplitting "2" DisplayStateSpaceSplitting "1" DiscretizationMethod "2" ExternalModeSettings "" AlgebraicLoopMethod "1" AlgebraicLoopTolerance "1e-6" ScriptsDialogGeometry "" ScriptsDialogSplitterPos "0" Schematic { Location [230, 45; 948, 911] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Scope Name "Interleaving \n& Control" Show on Position [640, 255] Direction up Flipped off Location [949, 45; 1549, 581] State "AAAA/wAAAAD9AAAAAgAAAAEAAAC0AAABffwCAAAAA/sAAAAQAFoAbwBvA" "G0AQQByAGUAYQAAAAAA/////wAAAIQA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAAAcAA" "AAsgAAAGYA////+wAAAAwAVAByAGEAYwBlAHMAAAAAHAAAAX0AAABmAP///wAAAAMAAALcAAAAXfw" "BAAAAAfsAAAAUAEQAYQB0AGEAVwBpAGQAZwBlAHQAAAAAAAAAAtwAAABCAP///wAAAlgAAAH8AAAA" "BAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAA" "AAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAL/gMAAAAJAAAAA" "wAAAGQAAAACAAAAZAAAAAEAAABkAAAABwAAAGQAAAAGAAAAZAAAAAUAAABkAAAABAAAAGQAAAAJAA" "AAZAAAAAgAAABkAAAC3AAAAAsBAAABAAAAAAAAAAAAAAAAZP////8AAACBAAAAAAAAAAsAAAC1AAA" "AAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAA" "AAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAA" "AInAAAAAQAAAAAAAAPoAAAAABM=" PlotPalettes "AAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAA" "AEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" "==" Axes "3" TimeRange "0" ScrollingMode "1" SingleTimeAxis "1" Open "1" Ts "-1" SampleLimit "0" XAxisLabel "Time (s)" Axis { Name "Inductor Current" AutoScale 0 MinValue 0 MaxValue 8 Signals {} SignalTypes [ ] AxisLabel "Current (A)" Untangle 0 KeepBaseline off BaselineValue 0 } Axis { Name "Load Current" AutoScale 0 MinValue 20 MaxValue 35 Signals {} SignalTypes [ ] AxisLabel "Current (A)" Untangle 0 KeepBaseline off BaselineValue 0 } Axis { Name base64 "TGnDqW5hcmQgT3NjaWxsYXRvciBWb2x0YWdl" AutoScale 1 MinValue 0 MaxValue 1 Signals {} SignalTypes [ ] AxisLabel "Voltage (V)" Untangle 0 KeepBaseline off BaselineValue 0 } Fourier { SingleXAxis on AxisLabel "Frequency" Scaling 0 PhaseDisplay 0 Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} Untangle 0 KeepBaseline off BaselineValue 0 } Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} Untangle 0 KeepBaseline off BaselineValue 0 } Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} Untangle 0 KeepBaseline off BaselineValue 0 } } } Component { Type XYPlot Name "Phase Plot SRF" Show on Position [640, 325] Direction up Flipped off Location [949, 502; 1548, 936] State "AAAA/wAAAAD9AAAAAgAAAAEAAAAAAAAAAPwCAAAAAvsAAAAQAFoAbwBvA" "G0AQQByAGUAYQAAAAAA/////wAAADQA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAAAA//" "///wAAAGYA////AAAAAwAAAxcAAABI/AEAAAAB+wAAABIAVABpAG0AZQBSAGEAbgBnAGUAAAAAAAA" "AAxcAAAB4AP///wAAAlcAAAGWAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBv" "AGwAQgBhAHIBAAAAAP////8AAAAAAAAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "" PlotPalettes "AAAAAQAAAAUAAAABAAAABQAAAAEB//8AAMzMAAAAAAAAAAEB/////wAAA" "AAAAAAAAAEB//8AAJmZ//8AAAAAAAEB/////8zMAAAAAAAAAAEB/////wAA//8AAAAAAAUAAAABAA" "AAAAEAAAAAAQAAAAABAAAAAAEAAAAABQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAA" "AAQAAAAEAAAAFAAAAAQAAAAABAAAAAAEAAAAAAQAAAAABAAAAAAUAAAABQAAAAAAAAAAAAAABQAAA" "AAAAAAAAAAABQAAAAAAAAAAAAAABQAAAAAAAAAAAAAABQAAAAAAAAAAAAAAFAAAAAQAAAAABAAAAA" "AEAAAAAAQAAAAABAA==" TimeRange "0.0" ShownPeriods "1" Open "0" Ts "-1" SampleLimit "0" XAxisLabel "Oscillator Output Voltage" AspectRatioX "1" AspectRatioY "1" PlotStyle "2" Axis { Name "Phase Plot - Static Reference Frame" AutoScale 1 MinValue 0 MaxValue 1 Signals {} AxisLabel "Oscillator Capacitor Current" } Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} } } Component { Type Subsystem Name "Load" Show on Position [535, 145] Direction left Flipped off Frame [-45, -35; 45, 35] LabelPosition [0, -38] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Port Position [20, -50] Direction up } Terminal { Type Port Position [-20, -50] Direction up } Schematic { Location [949, 107; 1312, 341] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Port Name "V_load+" Show on Position [115, 60] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Port Name "V_load-" Show on Position [115, 175] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Resistor Name "R1" Show off Position [210, 90] Direction up Flipped off Parameter { Variable "R" Value "RthevLoad" Show on } } Component { Type DCVoltageSource Name "Vload" Show off Position [210, 145] Direction down Flipped on Parameter { Variable "V" Value "Vload" Show on } } Connection { Type Wire SrcComponent "Vload" SrcTerminal 1 DstComponent "R1" DstTerminal 2 } Connection { Type Wire SrcComponent "Vload" SrcTerminal 2 Points [210, 175] DstComponent "V_load-" DstTerminal 1 } Connection { Type Wire SrcComponent "V_load+" SrcTerminal 1 Points [210, 60] DstComponent "R1" DstTerminal 1 } } } Component { Type Step Name "Step3" Show off Position [325, 790] Direction left Flipped on Parameter { Variable "Time" Value "t_add" Show off } Parameter { Variable "Before" Value "0" Show off } Parameter { Variable "After" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Resistor Name "R2" Show off Position [410, 775] Direction right Flipped on Parameter { Variable "R" Value "5" Show off } } Component { Type Switch2 Name "S4" Show off Position [360, 765] Direction right Flipped on Parameter { Variable "s_init" Value "0" Show off } } Component { Type Switch2 Name "S5" Show off Position [380, 725] Direction right Flipped on Parameter { Variable "s_init" Value "0" Show off } } Component { Type Inductor Name "L1" Show off Position [205, 275] Direction left Flipped off Parameter { Variable "L" Value "(Lmax-Lmin)*rand+Lmin" Show off } Parameter { Variable "i_init" Value "iL_init" Show off } } Component { Type Resistor Name "R1" Show off Position [250, 275] Direction left Flipped off Parameter { Variable "R" Value "(Rmax-Rmin)*rand+Rmin" Show off } } Component { Type Ammeter Name "Am3" Show off Position [300, 275] Direction left Flipped off } Component { Type Voltmeter Name "Vm4" Show off Position [325, 295] Direction up Flipped off } Component { Type MosfetWithDiode Name "FETD2" Show off Position [170, 255] Direction up Flipped off Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type MosfetWithDiode Name "FETD3" Show off Position [170, 295] Direction up Flipped off Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type DCVoltageSource Name "V_dc1" Show off Position [80, 270] Direction up Flipped off Parameter { Variable "V" Value "40" Show off } } Component { Type SignalDemux Name "Demux1" Show off Position [125, 275] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type Inductor Name "L2" Show off Position [205, 125] Direction left Flipped off Parameter { Variable "L" Value "(Lmax-Lmin)*rand+Lmin" Show off } Parameter { Variable "i_init" Value "iL_init" Show off } } Component { Type Resistor Name "R3" Show off Position [250, 125] Direction left Flipped off Parameter { Variable "R" Value "(Rmax-Rmin)*rand+Rmin" Show off } } Component { Type Ammeter Name "Am4" Show off Position [300, 125] Direction left Flipped off } Component { Type Voltmeter Name "Vm5" Show off Position [325, 145] Direction up Flipped off } Component { Type MosfetWithDiode Name "FETD4" Show off Position [170, 105] Direction up Flipped off Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type MosfetWithDiode Name "FETD5" Show off Position [170, 145] Direction up Flipped off Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type DCVoltageSource Name "V_dc2" Show off Position [80, 120] Direction up Flipped off Parameter { Variable "V" Value "40" Show off } } Component { Type SignalDemux Name "Demux2" Show off Position [125, 125] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type Inductor Name "L3" Show off Position [205, 425] Direction left Flipped off Parameter { Variable "L" Value "(Lmax-Lmin)*rand+Lmin" Show off } Parameter { Variable "i_init" Value "iL_init" Show off } } Component { Type Resistor Name "R4" Show off Position [250, 425] Direction left Flipped off Parameter { Variable "R" Value "(Rmax-Rmin)*rand+Rmin" Show off } } Component { Type Ammeter Name "Am5" Show off Position [300, 425] Direction left Flipped off } Component { Type Voltmeter Name "Vm6" Show off Position [325, 445] Direction up Flipped off } Component { Type MosfetWithDiode Name "FETD6" Show off Position [170, 405] Direction up Flipped off Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type MosfetWithDiode Name "FETD7" Show off Position [170, 445] Direction up Flipped off Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type DCVoltageSource Name "V_dc3" Show off Position [80, 420] Direction up Flipped off Parameter { Variable "V" Value "40" Show off } } Component { Type SignalDemux Name "Demux3" Show off Position [125, 425] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type Inductor Name "L4" Show off Position [205, 575] Direction left Flipped off Parameter { Variable "L" Value "(Lmax-Lmin)*rand+Lmin" Show off } Parameter { Variable "i_init" Value "iL_init" Show off } } Component { Type Resistor Name "R5" Show off Position [250, 575] Direction left Flipped off Parameter { Variable "R" Value "(Rmax-Rmin)*rand+Rmin" Show off } } Component { Type Ammeter Name "Am6" Show off Position [300, 575] Direction left Flipped off } Component { Type Voltmeter Name "Vm7" Show off Position [325, 595] Direction up Flipped off } Component { Type MosfetWithDiode Name "FETD8" Show off Position [170, 555] Direction up Flipped off Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type MosfetWithDiode Name "FETD9" Show off Position [170, 595] Direction up Flipped off Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type DCVoltageSource Name "V_dc4" Show off Position [80, 570] Direction up Flipped off Parameter { Variable "V" Value "40" Show off } } Component { Type SignalDemux Name "Demux4" Show off Position [125, 575] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type Inductor Name "L5" Show off Position [205, 725] Direction left Flipped off Parameter { Variable "L" Value "(Lmax-Lmin)*rand+Lmin" Show off } Parameter { Variable "i_init" Value "iL_init" Show off } } Component { Type Resistor Name "R6" Show off Position [250, 725] Direction left Flipped off Parameter { Variable "R" Value "(Rmax-Rmin)*rand+Rmin" Show off } } Component { Type Ammeter Name "Am7" Show off Position [300, 725] Direction left Flipped off } Component { Type Voltmeter Name "Vm8" Show off Position [325, 745] Direction up Flipped off } Component { Type MosfetWithDiode Name "FETD10" Show off Position [170, 705] Direction up Flipped off Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type MosfetWithDiode Name "FETD11" Show off Position [170, 745] Direction up Flipped off Parameter { Variable "Ron" Value "0" Show off } Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "T_init" Value "0" Show off } } Component { Type DCVoltageSource Name "V_dc5" Show off Position [80, 720] Direction up Flipped off Parameter { Variable "V" Value "40" Show off } } Component { Type SignalDemux Name "Demux5" Show off Position [125, 725] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type Goto Name "Goto" Show off Position [90, 45] Direction left Flipped off Parameter { Variable "Tag" Value "vC_osc1" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto1" Show off Position [90, 55] Direction left Flipped off Parameter { Variable "Tag" Value "iC_osc1" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto2" Show off Position [90, 195] Direction left Flipped off Parameter { Variable "Tag" Value "vC_osc2" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto3" Show off Position [90, 205] Direction left Flipped off Parameter { Variable "Tag" Value "iC_osc2" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto4" Show off Position [90, 345] Direction left Flipped off Parameter { Variable "Tag" Value "vC_osc3" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto5" Show off Position [90, 355] Direction left Flipped off Parameter { Variable "Tag" Value "iC_osc3" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto6" Show off Position [90, 495] Direction left Flipped off Parameter { Variable "Tag" Value "vC_osc4" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto7" Show off Position [90, 505] Direction left Flipped off Parameter { Variable "Tag" Value "iC_osc4" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto8" Show off Position [90, 645] Direction left Flipped off Parameter { Variable "Tag" Value "vC_osc5" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto9" Show off Position [90, 655] Direction left Flipped off Parameter { Variable "Tag" Value "iC_osc5" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto10" Show off Position [275, 90] Direction left Flipped off Parameter { Variable "Tag" Value "iL1" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto11" Show off Position [275, 245] Direction left Flipped off Parameter { Variable "Tag" Value "iL2" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto12" Show off Position [275, 395] Direction left Flipped off Parameter { Variable "Tag" Value "iL3" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto13" Show off Position [275, 545] Direction left Flipped off Parameter { Variable "Tag" Value "iL4" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto14" Show off Position [275, 695] Direction left Flipped off Parameter { Variable "Tag" Value "iL5" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Ammeter Name "Am1" Show off Position [455, 125] Direction left Flipped off } Component { Type Goto Name "Goto15" Show off Position [480, 85] Direction right Flipped off Parameter { Variable "Tag" Value "iLoad" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Subsystem Name "Plots" Show on Position [535, 320] Direction left Flipped off Frame [-45, -90; 45, 90] LabelPosition [0, -93] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [75, 49] Direction down } Terminal { Type Output Position [0, 49] Direction down } Terminal { Type Output Position [-10, 49] Direction down } Terminal { Type Output Position [65, 49] Direction down } Terminal { Type Output Position [-60, 49] Direction down } Terminal { Type Output Position [-70, 49] Direction down } Schematic { Location [949, 389; 1708, 887] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Output Name "iL" Show on Position [225, 90] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "vC_osc" Show on Position [270, 175] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "iC_osc" Show on Position [270, 270] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type From Name "From" Show off Position [65, 165] Direction right Flipped off Parameter { Variable "Tag" Value "vC_osc2" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type SignalMux Name "Mux" Show off Position [170, 175] Direction right Flipped off Parameter { Variable "Width" Value "5" Show off } } Component { Type From Name "From1" Show off Position [65, 155] Direction right Flipped off Parameter { Variable "Tag" Value "vC_osc1" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From6" Show off Position [65, 175] Direction right Flipped off Parameter { Variable "Tag" Value "vC_osc3" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From7" Show off Position [65, 185] Direction right Flipped off Parameter { Variable "Tag" Value "vC_osc4" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From9" Show off Position [65, 195] Direction right Flipped off Parameter { Variable "Tag" Value "vC_osc5" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type SignalSwitch Name "Switch" Show off Position [115, 205] Direction left Flipped on Parameter { Variable "Criteria" Value "3" Show off } Parameter { Variable "Threshold" Value "0" Show off } } Component { Type SignalMux Name "Mux1" Show off Position [170, 90] Direction right Flipped off Parameter { Variable "Width" Value "5" Show off } } Component { Type From Name "From2" Show off Position [65, 70] Direction right Flipped off Parameter { Variable "Tag" Value "iL1" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From3" Show off Position [65, 80] Direction right Flipped off Parameter { Variable "Tag" Value "iL2" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From5" Show off Position [65, 90] Direction right Flipped off Parameter { Variable "Tag" Value "iL3" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From8" Show off Position [65, 100] Direction right Flipped off Parameter { Variable "Tag" Value "iL4" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From17" Show off Position [65, 110] Direction right Flipped off Parameter { Variable "Tag" Value "iL5" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type SignalMux Name "Mux2" Show off Position [170, 270] Direction right Flipped off Parameter { Variable "Width" Value "5" Show off } } Component { Type From Name "From11" Show off Position [65, 250] Direction right Flipped off Parameter { Variable "Tag" Value "iC_osc1" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From12" Show off Position [65, 260] Direction right Flipped off Parameter { Variable "Tag" Value "iC_osc2" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From13" Show off Position [65, 270] Direction right Flipped off Parameter { Variable "Tag" Value "iC_osc3" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From14" Show off Position [65, 280] Direction right Flipped off Parameter { Variable "Tag" Value "iC_osc4" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Step Name "Step2" Show off Position [75, 340] Direction right Flipped off Parameter { Variable "Time" Value "t_add" Show on } Parameter { Variable "Before" Value "1" Show on } Parameter { Variable "After" Value "0" Show on } Parameter { Variable "DataType" Value "10" Show off } } Component { Type SignalSwitch Name "Switch1" Show off Position [115, 120] Direction left Flipped on Parameter { Variable "Criteria" Value "3" Show off } Parameter { Variable "Threshold" Value "0" Show off } } Component { Type From Name "From15" Show off Position [65, 290] Direction right Flipped off Parameter { Variable "Tag" Value "iC_osc5" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type SignalSwitch Name "Switch2" Show off Position [115, 305] Direction left Flipped on Parameter { Variable "Criteria" Value "3" Show off } Parameter { Variable "Threshold" Value "0" Show off } } Component { Type From Name "From4" Show off Position [65, 25] Direction right Flipped off Parameter { Variable "Tag" Value "iLoad" Show on } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Output Name "iLoad" Show on Position [225, 25] Direction right Flipped off Parameter { Variable "Index" Value "4" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type SignalSelector Name "Cont\nSelector" Show off Position [295, 225] Direction right Flipped off Parameter { Variable "InputWidth" Value "Nconv*2" Show off } Parameter { Variable "OutputIndices" Value "reshape([1:Nconv;(Nconv+1):(2*Nconv)],1,[])" Show off } } Component { Type SignalMux Name "Mux4" Show off Position [255, 225] Direction right Flipped off Parameter { Variable "Width" Value "[Nconv, Nconv]" Show off } } Component { Type Gain Name "Gain" Show off Position [210, 270] Direction right Flipped off Parameter { Variable "K" Value "sqrt(L/C)" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Subsystem Name "Sub" Show off Position [425, 100] Direction up Flipped off Frame [-40, -30; 40, 30] LabelPosition [0, 33] LabelAlign up SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [44, 0] Direction right } Terminal { Type Input Position [-40, 0] Direction left } Terminal { Type Output Position [-5, 34] Direction down } Schematic { Location [960, 492; 1266, 726] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Reference SrcComponent "Components/Control/Transformations/Polar->rect" Name "Polar->rect" Show off Position [225, 90] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type Reference SrcComponent "Components/Control/Transformations/Rect->polar" Name "Rect->polar" Show off Position [80, 90] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type SignalDemux Name "Demux" Show off Position [120, 90] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type SignalMux Name "Mux3" Show off Position [185, 90] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type Output Name "rrf" Show on Position [275, 90] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "srf" Show on Position [30, 90] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "th_out" Show on Position [130, 140] Direction down Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "Mux3" SrcTerminal 1 DstComponent "Polar->rect" DstTerminal 1 } Connection { Type Signal SrcComponent "Rect->polar" SrcTerminal 2 DstComponent "Demux" DstTerminal 1 } Connection { Type Signal SrcComponent "Polar->rect" SrcTerminal 2 DstComponent "rrf" DstTerminal 1 } Connection { Type Signal SrcComponent "srf" SrcTerminal 1 DstComponent "Rect->polar" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 3 Points [130, 95] DstComponent "th_out" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 2 DstComponent "Mux3" DstTerminal 2 } } } Component { Type Subsystem Name "Sub1" Show off Position [425, 190] Direction up Flipped off Frame [-40, -30; 40, 30] LabelPosition [0, 33] LabelAlign up SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [44, 0] Direction right } Terminal { Type Input Position [-5, -30] Direction up } Terminal { Type Input Position [-40, 0] Direction left } Schematic { Location [960, 492; 1265, 726] ZoomFactor 1 SliderPosition [3, 0] ShowBrowser off BrowserWidth 100 Component { Type Reference SrcComponent "Components/Control/Transformations/Polar->rect" Name "Polar->rect" Show off Position [225, 90] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type Reference SrcComponent "Components/Control/Transformations/Rect->polar" Name "Rect->polar" Show off Position [80, 90] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type SignalDemux Name "Demux" Show off Position [120, 90] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type SignalMux Name "Mux3" Show off Position [185, 90] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type Sum Name "Sum" Show off Position [155, 95] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Output Name "rrf" Show on Position [275, 90] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "th_in" Show on Position [155, 140] Direction up Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "srf" Show on Position [30, 90] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "Mux3" SrcTerminal 1 DstComponent "Polar->rect" DstTerminal 1 } Connection { Type Signal SrcComponent "Rect->polar" SrcTerminal 2 DstComponent "Demux" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 2 DstComponent "Mux3" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum" SrcTerminal 1 DstComponent "Mux3" DstTerminal 3 } Connection { Type Signal SrcComponent "Polar->rect" SrcTerminal 2 DstComponent "rrf" DstTerminal 1 } Connection { Type Signal SrcComponent "th_in" SrcTerminal 1 DstComponent "Sum" DstTerminal 3 } Connection { Type Signal SrcComponent "srf" SrcTerminal 1 DstComponent "Rect->polar" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 3 DstComponent "Sum" DstTerminal 2 } } } Component { Type SignalDemux Name "Demux" Show off Position [335, 225] Direction right Flipped on Parameter { Variable "Width" Value "[2 2 2 2 2]" Show off } } Component { Type SignalMux Name "Mux3" Show off Position [515, 225] Direction right Flipped off Parameter { Variable "Width" Value "[2 2 2 2 2]" Show off } } Component { Type SignalSelector Name "Cont\nSelector1" Show off Position [555, 225] Direction right Flipped off Parameter { Variable "InputWidth" Value "Nconv*2" Show off } Parameter { Variable "OutputIndices" Value "[1:2:(Nconv*2),2:2:(Nconv*2)]" Show off } } Component { Type SignalDemux Name "Demux1" Show off Position [675, 225] Direction right Flipped on Parameter { Variable "Width" Value "[Nconv, Nconv]" Show off } } Component { Type Subsystem Name "Sub2" Show off Position [425, 275] Direction up Flipped off Frame [-40, -30; 40, 30] LabelPosition [0, 33] LabelAlign up SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [44, 0] Direction right } Terminal { Type Input Position [-5, -30] Direction up } Terminal { Type Input Position [-40, 0] Direction left } Schematic { Location [960, 492; 1265, 726] ZoomFactor 1 SliderPosition [3, 0] ShowBrowser off BrowserWidth 100 Component { Type Reference SrcComponent "Components/Control/Transformations/Polar->rect" Name "Polar->rect" Show off Position [225, 90] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type Reference SrcComponent "Components/Control/Transformations/Rect->polar" Name "Rect->polar" Show off Position [80, 90] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type SignalDemux Name "Demux" Show off Position [120, 90] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type SignalMux Name "Mux3" Show off Position [185, 90] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type Sum Name "Sum" Show off Position [155, 95] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Output Name "rrf" Show on Position [275, 90] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "th_in" Show on Position [155, 140] Direction up Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "srf" Show on Position [30, 90] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "Mux3" SrcTerminal 1 DstComponent "Polar->rect" DstTerminal 1 } Connection { Type Signal SrcComponent "Rect->polar" SrcTerminal 2 DstComponent "Demux" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 2 DstComponent "Mux3" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum" SrcTerminal 1 DstComponent "Mux3" DstTerminal 3 } Connection { Type Signal SrcComponent "Polar->rect" SrcTerminal 2 DstComponent "rrf" DstTerminal 1 } Connection { Type Signal SrcComponent "th_in" SrcTerminal 1 DstComponent "Sum" DstTerminal 3 } Connection { Type Signal SrcComponent "srf" SrcTerminal 1 DstComponent "Rect->polar" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 3 DstComponent "Sum" DstTerminal 2 } } } Component { Type Subsystem Name "Sub3" Show off Position [425, 365] Direction up Flipped off Frame [-40, -30; 40, 30] LabelPosition [0, 33] LabelAlign up SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [44, 0] Direction right } Terminal { Type Input Position [-5, -30] Direction up } Terminal { Type Input Position [-40, 0] Direction left } Schematic { Location [960, 492; 1266, 726] ZoomFactor 1 SliderPosition [3, 0] ShowBrowser off BrowserWidth 100 Component { Type Reference SrcComponent "Components/Control/Transformations/Polar->rect" Name "Polar->rect" Show off Position [225, 90] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type Reference SrcComponent "Components/Control/Transformations/Rect->polar" Name "Rect->polar" Show off Position [80, 90] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type SignalDemux Name "Demux" Show off Position [120, 90] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type SignalMux Name "Mux3" Show off Position [185, 90] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type Sum Name "Sum" Show off Position [155, 95] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Output Name "rrf" Show on Position [275, 90] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "th_in" Show on Position [155, 140] Direction up Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "srf" Show on Position [30, 90] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "Mux3" SrcTerminal 1 DstComponent "Polar->rect" DstTerminal 1 } Connection { Type Signal SrcComponent "Rect->polar" SrcTerminal 2 DstComponent "Demux" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 2 DstComponent "Mux3" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum" SrcTerminal 1 DstComponent "Mux3" DstTerminal 3 } Connection { Type Signal SrcComponent "Polar->rect" SrcTerminal 2 DstComponent "rrf" DstTerminal 1 } Connection { Type Signal SrcComponent "th_in" SrcTerminal 1 DstComponent "Sum" DstTerminal 3 } Connection { Type Signal SrcComponent "srf" SrcTerminal 1 DstComponent "Rect->polar" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 3 DstComponent "Sum" DstTerminal 2 } } } Component { Type Subsystem Name "Sub4" Show off Position [425, 450] Direction up Flipped off Frame [-40, -30; 40, 30] LabelPosition [0, 33] LabelAlign up SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [44, 0] Direction right } Terminal { Type Input Position [-5, -30] Direction up } Terminal { Type Input Position [-40, 0] Direction left } Schematic { Location [960, 492; 1266, 726] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Reference SrcComponent "Components/Control/Transformations/Polar->rect" Name "Polar->rect" Show off Position [225, 90] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type Reference SrcComponent "Components/Control/Transformations/Rect->polar" Name "Rect->polar" Show off Position [80, 90] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Terminal { Type Input Position [-15, 0] Direction left } Terminal { Type Output Position [19, 0] Direction right } } Component { Type SignalDemux Name "Demux" Show off Position [120, 90] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type SignalMux Name "Mux3" Show off Position [185, 90] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type Sum Name "Sum" Show off Position [155, 95] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Output Name "rrf" Show on Position [275, 90] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "th_in" Show on Position [155, 140] Direction up Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "srf" Show on Position [30, 90] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "Mux3" SrcTerminal 1 DstComponent "Polar->rect" DstTerminal 1 } Connection { Type Signal SrcComponent "Rect->polar" SrcTerminal 2 DstComponent "Demux" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 2 DstComponent "Mux3" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum" SrcTerminal 1 DstComponent "Mux3" DstTerminal 3 } Connection { Type Signal SrcComponent "Polar->rect" SrcTerminal 2 DstComponent "rrf" DstTerminal 1 } Connection { Type Signal SrcComponent "th_in" SrcTerminal 1 DstComponent "Sum" DstTerminal 3 } Connection { Type Signal SrcComponent "srf" SrcTerminal 1 DstComponent "Rect->polar" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 3 DstComponent "Sum" DstTerminal 2 } } } Component { Type TransferFunction Name "Transfer Fcn" Show on Position [620, 225] Direction right Flipped off Frame [-30, -15; 30, 15] LabelPosition [0, 18] LabelAlign up Parameter { Variable "Numerator" Value "1" Show off } Parameter { Variable "Denominator" Value "[Tsw 1]" Show off } Parameter { Variable "X0" Value "0" Show off } } Component { Type Output Name "vC_osc_rrf" Show on Position [710, 220] Direction left Flipped on Parameter { Variable "Index" Value "5" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "iC_osc_rrf" Show on Position [710, 230] Direction right Flipped off Parameter { Variable "Index" Value "6" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "From1" SrcTerminal 1 DstComponent "Mux" DstTerminal 2 } Connection { Type Signal SrcComponent "From" SrcTerminal 1 DstComponent "Mux" DstTerminal 3 } Connection { Type Signal SrcComponent "From6" SrcTerminal 1 DstComponent "Mux" DstTerminal 4 } Connection { Type Signal SrcComponent "From7" SrcTerminal 1 DstComponent "Mux" DstTerminal 5 } Connection { Type Signal SrcComponent "From9" SrcTerminal 1 Points [80, 195; 80, 200] DstComponent "Switch" DstTerminal 3 } Connection { Type Signal SrcComponent "Switch" SrcTerminal 1 Points [150, 205; 150, 195] DstComponent "Mux" DstTerminal 6 } Connection { Type Signal SrcComponent "From2" SrcTerminal 1 DstComponent "Mux1" DstTerminal 2 } Connection { Type Signal SrcComponent "From3" SrcTerminal 1 DstComponent "Mux1" DstTerminal 3 } Connection { Type Signal SrcComponent "From5" SrcTerminal 1 DstComponent "Mux1" DstTerminal 4 } Connection { Type Signal SrcComponent "From8" SrcTerminal 1 DstComponent "Mux1" DstTerminal 5 } Connection { Type Signal SrcComponent "Mux1" SrcTerminal 1 DstComponent "iL" DstTerminal 1 } Connection { Type Signal SrcComponent "From11" SrcTerminal 1 DstComponent "Mux2" DstTerminal 2 } Connection { Type Signal SrcComponent "From12" SrcTerminal 1 DstComponent "Mux2" DstTerminal 3 } Connection { Type Signal SrcComponent "From13" SrcTerminal 1 DstComponent "Mux2" DstTerminal 4 } Connection { Type Signal SrcComponent "From14" SrcTerminal 1 DstComponent "Mux2" DstTerminal 5 } Connection { Type Signal SrcComponent "From17" SrcTerminal 1 Points [80, 110; 80, 115] DstComponent "Switch1" DstTerminal 3 } Connection { Type Signal SrcComponent "Switch1" SrcTerminal 1 Points [145, 120; 145, 110] DstComponent "Mux1" DstTerminal 6 } Connection { Type Signal SrcComponent "From15" SrcTerminal 1 Points [80, 290; 80, 300] DstComponent "Switch2" DstTerminal 3 } Connection { Type Signal SrcComponent "Switch2" SrcTerminal 1 Points [150, 305; 150, 290] DstComponent "Mux2" DstTerminal 6 } Connection { Type Signal SrcComponent "From4" SrcTerminal 1 DstComponent "iLoad" DstTerminal 1 } Connection { Type Signal SrcComponent "Mux4" SrcTerminal 1 DstComponent "Cont\nSelector" DstTerminal 1 } Connection { Type Signal SrcComponent "Step2" SrcTerminal 1 Points [115, 340] Branch { DstComponent "Switch2" DstTerminal 4 } Branch { Points [140, 340; 140, 235] Branch { DstComponent "Switch" DstTerminal 4 } Branch { Points [140, 150] DstComponent "Switch1" DstTerminal 4 } } } Connection { Type Signal SrcComponent "Cont\nSelector" SrcTerminal 2 DstComponent "Demux" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 3 Points [365, 215; 365, 190] DstComponent "Sub1" DstTerminal 3 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 4 Points [365, 225; 365, 275] DstComponent "Sub2" DstTerminal 3 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 5 Points [355, 235; 355, 365] DstComponent "Sub3" DstTerminal 3 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 6 Points [345, 245; 345, 450] DstComponent "Sub4" DstTerminal 3 } Connection { Type Signal SrcComponent "Sub2" SrcTerminal 1 Points [475, 275; 475, 225] DstComponent "Mux3" DstTerminal 4 } Connection { Type Signal SrcComponent "Sub3" SrcTerminal 1 Points [485, 365; 485, 235] DstComponent "Mux3" DstTerminal 5 } Connection { Type Signal SrcComponent "Sub4" SrcTerminal 1 Points [495, 450; 495, 245] DstComponent "Mux3" DstTerminal 6 } Connection { Type Signal SrcComponent "Mux3" SrcTerminal 1 DstComponent "Cont\nSelector1" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 2 Points [355, 205; 355, 100] DstComponent "Sub" DstTerminal 2 } Connection { Type Signal SrcComponent "Sub" SrcTerminal 1 Points [485, 100; 485, 205] DstComponent "Mux3" DstTerminal 2 } Connection { Type Signal SrcComponent "Sub1" SrcTerminal 1 Points [475, 190; 475, 215] DstComponent "Mux3" DstTerminal 3 } Connection { Type Signal SrcComponent "Transfer Fcn" SrcTerminal 2 DstComponent "Demux1" DstTerminal 1 } Connection { Type Signal SrcComponent "Cont\nSelector1" SrcTerminal 2 DstComponent "Transfer Fcn" DstTerminal 1 } Connection { Type Signal SrcComponent "Mux2" SrcTerminal 1 DstComponent "Gain" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain" SrcTerminal 2 Points [235, 270] Branch { DstComponent "iC_osc" DstTerminal 1 } Branch { Points [235, 230] DstComponent "Mux4" DstTerminal 3 } } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 2 DstComponent "vC_osc_rrf" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 3 DstComponent "iC_osc_rrf" DstTerminal 1 } Connection { Type Signal SrcComponent "Mux" SrcTerminal 1 Points [235, 175] Branch { DstComponent "vC_osc" DstTerminal 1 } Branch { Points [235, 220] DstComponent "Mux4" DstTerminal 2 } } Connection { Type Signal SrcComponent "Sub" SrcTerminal 3 Points [420, 140] Branch { DstComponent "Sub1" DstTerminal 2 } Branch { Points [410, 140; 410, 230] Branch { DstComponent "Sub2" DstTerminal 2 } Branch { Points [410, 315] Branch { Points [420, 315] DstComponent "Sub3" DstTerminal 2 } Branch { Points [410, 405] DstComponent "Sub4" DstTerminal 2 } } } } } } Component { Type Subsystem Name " Local Controller 1" Show on Position [200, 55] Direction down Flipped off Frame [-80, -20; 80, 20] LabelPosition [0, 0] SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [-80, -5] Direction left } Terminal { Type Input Position [-80, 5] Direction left } Terminal { Type Output Position [84, -10] Direction right } Terminal { Type Output Position [84, 10] Direction right } Terminal { Type Output Position [84, 0] Direction right } Schematic { Location [949, 623; 1777, 911] ZoomFactor 1 SliderPosition [48, 1] ShowBrowser off BrowserWidth 100 Component { Type Input Name "iL" Show on Position [785, 80] Direction left Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "vC" Show on Position [785, 50] Direction left Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Inductor Name "L" Show on Position [280, 205] Direction down Flipped off Parameter { Variable "L" Value "L" Show off } Parameter { Variable "i_init" Value "sqrt(2)/(2*pi*L/Tsw)" Show off } } Component { Type Capacitor Name "C" Show on Position [325, 205] Direction down Flipped on Parameter { Variable "C" Value "C" Show off } Parameter { Variable "v_init" Value "(osc_init_max-osc_init_min)*rand+osc_init_min" Show off } } Component { Type Function Name base64 "zrEqdl4z" Show on Position [460, 205] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "alpha*u(1)^3" Show off } } Component { Type Voltmeter Name "Vm3" Show off Position [370, 205] Direction up Flipped off } Component { Type Resistor Name base64 "LTEvz4M=" Show on Position [220, 205] Direction down Flipped off Parameter { Variable "R" Value "-1/sigma" Show off } } Component { Type CurrentSource Name "g(v)1" Show off Position [520, 205] Direction down Flipped off Parameter { Variable "DiscretizationBehavior" Value "2" Show off } Parameter { Variable "StateSpaceInlining" Value "1" Show off } } Component { Type CurrentSource Name "i1" Show off Position [560, 205] Direction up Flipped on Parameter { Variable "DiscretizationBehavior" Value "2" Show off } Parameter { Variable "StateSpaceInlining" Value "1" Show off } } Component { Type Ammeter Name "Am4" Show off Position [325, 175] Direction up Flipped off } Component { Type Subsystem Name "Carrier Generation" Show on Position [270, 100] Direction down Flipped off Frame [-45, -15; 45, 15] LabelPosition [0, -18] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [49, 0] Direction right } Terminal { Type Input Position [-45, 5] Direction left } Terminal { Type Input Position [-45, -5] Direction left } Schematic { Location [414, 679; 1012, 924] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Comparator Name "Comparator2" Show off Position [200, 145] Direction right Flipped off } Component { Type Constant Name "constant1" Show off Position [145, 150] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Integrator Name "Integrator2" Show off Position [360, 140] Direction left Flipped on Parameter { Variable "ExternalReset" Value "2" Show off } Parameter { Variable "InitialConditionSource" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ShowStatePort" Value "1" Show off } Parameter { Variable "UpperLimit" Value "inf" Show off } Parameter { Variable "LowerLimit" Value "-inf" Show off } } Component { Type Gain Name "Gain5" Show off Position [410, 140] Direction left Flipped on Parameter { Variable "K" Value "2/Tsw" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Constant Name "Constant2" Show off Position [285, 175] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "Gain6" Show off Position [250, 145] Direction left Flipped on Parameter { Variable "K" Value "2" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum4" Show off Position [305, 145] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "Gain7" Show off Position [100, 110] Direction left Flipped on Parameter { Variable "K" Value "1e3" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum5" Show off Position [145, 110] Direction up Flipped on Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|++" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "Gain8" Show off Position [100, 70] Direction left Flipped on Parameter { Variable "K" Value "1" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Constant Name "constant2" Show off Position [420, 175] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Sum Name "Sum6" Show off Position [455, 140] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Output Name "carrier" Show on Position [550, 140] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "vC_osc" Show on Position [50, 110] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "iC_osc" Show on Position [50, 70] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Saturation Name "Saturation1" Show off Position [500, 140] Direction left Flipped on Parameter { Variable "UpperLimit" Value "1.2" Show off } Parameter { Variable "LowerLimit" Value "-1.2" Show off } } Connection { Type Signal SrcComponent "Sum5" SrcTerminal 1 Points [165, 110; 165, 140] DstComponent "Comparator2" DstTerminal 1 } Connection { Type Signal SrcComponent "constant1" SrcTerminal 1 DstComponent "Comparator2" DstTerminal 2 } Connection { Type Signal SrcComponent "Comparator2" SrcTerminal 3 DstComponent "Gain6" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum4" SrcTerminal 1 DstComponent "Integrator2" DstTerminal 1 } Connection { Type Signal SrcComponent "Integrator2" SrcTerminal 2 DstComponent "Gain5" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain5" SrcTerminal 2 DstComponent "Sum6" DstTerminal 2 } Connection { Type Signal SrcComponent "Constant2" SrcTerminal 1 Points [305, 175] DstComponent "Sum4" DstTerminal 3 } Connection { Type Signal SrcComponent "Gain6" SrcTerminal 2 Points [275, 145] Branch { DstComponent "Sum4" DstTerminal 2 } Branch { Points [275, 125; 325, 125; 325, 135] DstComponent "Integrator2" DstTerminal 3 } } Connection { Type Signal SrcComponent "Gain7" SrcTerminal 2 DstComponent "Sum5" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain8" SrcTerminal 2 Points [145, 70] DstComponent "Sum5" DstTerminal 3 } Connection { Type Signal SrcComponent "constant2" SrcTerminal 1 Points [455, 175] DstComponent "Sum6" DstTerminal 3 } Connection { Type Signal SrcComponent "vC_osc" SrcTerminal 1 DstComponent "Gain7" DstTerminal 1 } Connection { Type Signal SrcComponent "iC_osc" SrcTerminal 1 DstComponent "Gain8" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum6" SrcTerminal 1 DstComponent "Saturation1" DstTerminal 1 } Connection { Type Signal SrcComponent "Saturation1" SrcTerminal 2 DstComponent "carrier" DstTerminal 1 } } } Component { Type Comparator Name "Comparator1" Show off Position [175, 70] Direction right Flipped on } Component { Type LogicalOperator Name "Logical\nOperator2" Show off Position [115, 95] Direction down Flipped on Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "1" Show off } } Component { Type Output Name "PWM" Show on Position [30, 75] Direction left Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Subsystem Name base64 "zro=" Show on Position [615, 205] Direction up Flipped off Frame [-25, -15; 25, 15] LabelPosition [0, -18] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [25, 10] Direction right } Terminal { Type Input Position [25, -5] Direction right } Terminal { Type Output Position [-29, 0] Direction left } Schematic { Location [902, 692; 1287, 926] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Gain Name "Gain" Show off Position [270, 110] Direction left Flipped on Parameter { Variable "K" Value "-kappa*10" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Function Name "Fcn1" Show off Position [185, 110] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "(1/(sin(pi*u(1))))*u(2)" Show on } } Component { Type SignalMux Name "Mux" Show off Position [110, 110] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type Input Name "iL" Show on Position [65, 135] Direction left Flipped on Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "duty" Show on Position [65, 105] Direction left Flipped on Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "ki_iL" Show on Position [320, 110] Direction left Flipped on Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "Fcn1" SrcTerminal 2 DstComponent "Gain" DstTerminal 1 } Connection { Type Signal SrcComponent "Mux" SrcTerminal 1 DstComponent "Fcn1" DstTerminal 1 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 Points [90, 135; 90, 115] DstComponent "Mux" DstTerminal 3 } Connection { Type Signal SrcComponent "duty" SrcTerminal 1 DstComponent "Mux" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain" SrcTerminal 2 DstComponent "ki_iL" DstTerminal 1 } } } Component { Type Subsystem Name "Droop Control" Show on Position [705, 65] Direction down Flipped off Frame [-30, -25; 30, 25] LabelPosition [0, -28] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [34, 0] Direction right } Terminal { Type Input Position [-30, -15] Direction left } Terminal { Type Input Position [-30, 15] Direction left } Schematic { Location [586, 691; 1185, 926] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Constant Name "Constant1" Show off Position [375, 175] Direction left Flipped on Frame [-30, -10; 30, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "Vsupply" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Output Name "duty" Show on Position [555, 80] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "iL" Show on Position [45, 105] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Constant Name "i*1" Show off Position [45, 65] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "Value" Value "Vref" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "kp1" Show off Position [95, 105] Direction left Flipped on Parameter { Variable "K" Value "r_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum3" Show off Position [160, 70] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "-+" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Saturation Name "Saturation" Show on Position [505, 80] Direction right Flipped off Parameter { Variable "UpperLimit" Value "duty_max" Show on } Parameter { Variable "LowerLimit" Value "duty_min" Show on } } Component { Type Input Name "vC" Show on Position [45, 135] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Integrator Name "Integrator2" Show off Position [330, 140] Direction left Flipped on Parameter { Variable "ExternalReset" Value "1" Show off } Parameter { Variable "InitialConditionSource" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ShowStatePort" Value "1" Show off } Parameter { Variable "UpperLimit" Value "inf" Show off } Parameter { Variable "LowerLimit" Value "-inf" Show off } } Component { Type Gain Name "ki1" Show off Position [280, 140] Direction left Flipped on Parameter { Variable "K" Value "ki_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum5" Show off Position [395, 75] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "+++" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "kp2" Show off Position [280, 75] Direction left Flipped on Parameter { Variable "K" Value "kp_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum4" Show off Position [220, 75] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "-+" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Product Name "Divide" Show off Position [455, 80] Direction up Flipped off Parameter { Variable "Inputs" Value "*/" Show off } Parameter { Variable "DataType" Value "11" Show off } } Connection { Type Signal SrcComponent "kp1" SrcTerminal 2 Points [125, 105; 125, 75] DstComponent "Sum3" DstTerminal 2 } Connection { Type Signal SrcComponent "i*1" SrcTerminal 1 DstComponent "Sum3" DstTerminal 3 } Connection { Type Signal SrcComponent "Saturation" SrcTerminal 2 DstComponent "duty" DstTerminal 1 } Connection { Type Signal SrcComponent "ki1" SrcTerminal 2 DstComponent "Integrator2" DstTerminal 1 } Connection { Type Signal SrcComponent "Constant1" SrcTerminal 1 Points [420, 175; 420, 85] DstComponent "Divide" DstTerminal 3 } Connection { Type Signal SrcComponent "Divide" SrcTerminal 1 DstComponent "Saturation" DstTerminal 1 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 DstComponent "kp1" DstTerminal 1 } Connection { Type Signal SrcComponent "vC" SrcTerminal 1 Points [185, 135; 185, 80] DstComponent "Sum4" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum5" SrcTerminal 1 DstComponent "Divide" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum3" SrcTerminal 1 Points [185, 70] Branch { DstComponent "Sum4" DstTerminal 3 } Branch { Points [185, 40; 360, 40; 360, 65] DstComponent "Sum5" DstTerminal 4 } } Connection { Type Signal SrcComponent "kp2" SrcTerminal 2 DstComponent "Sum5" DstTerminal 3 } Connection { Type Signal SrcComponent "Integrator2" SrcTerminal 2 Points [360, 140; 360, 85] DstComponent "Sum5" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum4" SrcTerminal 1 Points [245, 75] Branch { DstComponent "kp2" DstTerminal 1 } Branch { Points [245, 140] DstComponent "ki1" DstTerminal 1 } } } } Component { Type SignalMux Name "Mux1" Show off Position [70, 75] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type Output Name "vC_osc" Show on Position [375, 140] Direction left Flipped off Parameter { Variable "Index" Value "4" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "iC_osc" Show on Position [300, 140] Direction left Flipped off Parameter { Variable "Index" Value "5" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Wire SrcComponent "L" SrcTerminal 1 Points [280, 250] Branch { Points [220, 250] DstComponent base64 "LTEvz4M=" DstTerminal 1 } Branch { Points [325, 250] Branch { DstComponent "C" DstTerminal 2 } Branch { Points [370, 250] Branch { DstComponent "Vm3" DstTerminal 2 } Branch { Points [520, 250] Branch { Points [560, 250] DstComponent "i1" DstTerminal 2 } Branch { DstComponent "g(v)1" DstTerminal 2 } } } } } Connection { Type Wire SrcComponent "L" SrcTerminal 2 Points [280, 155] Branch { Points [325, 155] Branch { Points [370, 155] Branch { DstComponent "Vm3" DstTerminal 1 } Branch { Points [520, 155] Branch { Points [560, 155] DstComponent "i1" DstTerminal 1 } Branch { DstComponent "g(v)1" DstTerminal 1 } } } Branch { DstComponent "Am4" DstTerminal 1 } } Branch { Points [220, 155] DstComponent base64 "LTEvz4M=" DstTerminal 2 } } Connection { Type Wire SrcComponent "Am4" SrcTerminal 2 DstComponent "C" DstTerminal 1 } Connection { Type Signal SrcComponent base64 "zrEqdl4z" SrcTerminal 2 DstComponent "g(v)1" DstTerminal 3 } Connection { Type Signal SrcComponent "Mux1" SrcTerminal 1 DstComponent "PWM" DstTerminal 1 } Connection { Type Signal SrcComponent "Logical\nOperator2" SrcTerminal 1 Points [90, 95; 90, 80] DstComponent "Mux1" DstTerminal 3 } Connection { Type Signal SrcComponent base64 "zro=" SrcTerminal 3 DstComponent "i1" DstTerminal 3 } Connection { Type Signal SrcComponent "vC" SrcTerminal 1 DstComponent "Droop Control" DstTerminal 3 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 Points [760, 80] Branch { DstComponent "Droop Control" DstTerminal 2 } Branch { Points [760, 215] DstComponent base64 "zro=" DstTerminal 1 } } Connection { Type Signal SrcComponent "Carrier Generation" SrcTerminal 1 Points [210, 100; 210, 75] DstComponent "Comparator1" DstTerminal 2 } Connection { Type Signal SrcComponent "Comparator1" SrcTerminal 3 Points [145, 70] Branch { DstComponent "Mux1" DstTerminal 2 } Branch { DstComponent "Logical\nOperator2" DstTerminal 2 } } Connection { Type Signal SrcComponent "Am4" SrcTerminal 3 Points [350, 175; 350, 140] Branch { Points [350, 105] DstComponent "Carrier Generation" DstTerminal 3 } Branch { DstComponent "iC_osc" DstTerminal 1 } } Connection { Type Signal SrcComponent "Vm3" SrcTerminal 3 Points [420, 205] Branch { DstComponent base64 "zrEqdl4z" DstTerminal 1 } Branch { Points [420, 140] Branch { DstComponent "vC_osc" DstTerminal 1 } Branch { Points [420, 95] DstComponent "Carrier Generation" DstTerminal 2 } } } Connection { Type Signal SrcComponent "Droop Control" SrcTerminal 1 Points [660, 65] Branch { DstComponent "Comparator1" DstTerminal 1 } Branch { Points [660, 200] DstComponent base64 "zro=" DstTerminal 2 } } } } Component { Type Subsystem Name " Local Controller 2" Show on Position [200, 205] Direction down Flipped off Frame [-80, -20; 80, 20] LabelPosition [0, 0] SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [-80, -5] Direction left } Terminal { Type Input Position [-80, 5] Direction left } Terminal { Type Output Position [84, -10] Direction right } Terminal { Type Output Position [84, 10] Direction right } Terminal { Type Output Position [84, 0] Direction right } Schematic { Location [949, 623; 1777, 911] ZoomFactor 1 SliderPosition [148, 74] ShowBrowser off BrowserWidth 100 Component { Type Input Name "iL" Show on Position [785, 80] Direction left Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "vC" Show on Position [785, 50] Direction left Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Inductor Name "L" Show on Position [280, 205] Direction down Flipped off Parameter { Variable "L" Value "L" Show off } Parameter { Variable "i_init" Value "sqrt(2)/(2*pi*L/Tsw)" Show off } } Component { Type Capacitor Name "C" Show on Position [325, 205] Direction down Flipped on Parameter { Variable "C" Value "C" Show off } Parameter { Variable "v_init" Value "(osc_init_max-osc_init_min)*rand+osc_init_min" Show off } } Component { Type Function Name base64 "zrEqdl4z" Show on Position [460, 205] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "alpha*u(1)^3" Show off } } Component { Type Voltmeter Name "Vm3" Show off Position [370, 205] Direction up Flipped off } Component { Type Resistor Name base64 "LTEvz4M=" Show on Position [220, 205] Direction down Flipped off Parameter { Variable "R" Value "-1/sigma" Show off } } Component { Type CurrentSource Name "g(v)1" Show off Position [520, 205] Direction down Flipped off Parameter { Variable "DiscretizationBehavior" Value "2" Show off } Parameter { Variable "StateSpaceInlining" Value "1" Show off } } Component { Type CurrentSource Name "i1" Show off Position [560, 205] Direction up Flipped on Parameter { Variable "DiscretizationBehavior" Value "2" Show off } Parameter { Variable "StateSpaceInlining" Value "1" Show off } } Component { Type Ammeter Name "Am4" Show off Position [325, 175] Direction up Flipped off } Component { Type Subsystem Name "Carrier Generation" Show on Position [270, 100] Direction down Flipped off Frame [-45, -15; 45, 15] LabelPosition [0, -18] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [49, 0] Direction right } Terminal { Type Input Position [-45, 5] Direction left } Terminal { Type Input Position [-45, -5] Direction left } Schematic { Location [414, 679; 1012, 923] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Comparator Name "Comparator2" Show off Position [200, 145] Direction right Flipped off } Component { Type Constant Name "constant1" Show off Position [145, 150] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Integrator Name "Integrator2" Show off Position [360, 140] Direction left Flipped on Parameter { Variable "ExternalReset" Value "2" Show off } Parameter { Variable "InitialConditionSource" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ShowStatePort" Value "1" Show off } Parameter { Variable "UpperLimit" Value "inf" Show off } Parameter { Variable "LowerLimit" Value "-inf" Show off } } Component { Type Gain Name "Gain5" Show off Position [410, 140] Direction left Flipped on Parameter { Variable "K" Value "2/Tsw" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Constant Name "Constant2" Show off Position [285, 175] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "Gain6" Show off Position [250, 145] Direction left Flipped on Parameter { Variable "K" Value "2" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum4" Show off Position [305, 145] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "Gain7" Show off Position [100, 110] Direction left Flipped on Parameter { Variable "K" Value "1e3" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum5" Show off Position [145, 110] Direction up Flipped on Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|++" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "Gain8" Show off Position [100, 70] Direction left Flipped on Parameter { Variable "K" Value "1" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Constant Name "constant2" Show off Position [420, 175] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Sum Name "Sum6" Show off Position [455, 140] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Output Name "carrier" Show on Position [550, 140] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "vC_osc" Show on Position [50, 110] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "iC_osc" Show on Position [50, 70] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Saturation Name "Saturation1" Show off Position [500, 140] Direction left Flipped on Parameter { Variable "UpperLimit" Value "1.2" Show off } Parameter { Variable "LowerLimit" Value "-1.2" Show off } } Connection { Type Signal SrcComponent "Sum5" SrcTerminal 1 Points [165, 110; 165, 140] DstComponent "Comparator2" DstTerminal 1 } Connection { Type Signal SrcComponent "constant1" SrcTerminal 1 DstComponent "Comparator2" DstTerminal 2 } Connection { Type Signal SrcComponent "Comparator2" SrcTerminal 3 DstComponent "Gain6" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum4" SrcTerminal 1 DstComponent "Integrator2" DstTerminal 1 } Connection { Type Signal SrcComponent "Integrator2" SrcTerminal 2 DstComponent "Gain5" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain5" SrcTerminal 2 DstComponent "Sum6" DstTerminal 2 } Connection { Type Signal SrcComponent "Constant2" SrcTerminal 1 Points [305, 175] DstComponent "Sum4" DstTerminal 3 } Connection { Type Signal SrcComponent "Gain6" SrcTerminal 2 Points [275, 145] Branch { DstComponent "Sum4" DstTerminal 2 } Branch { Points [275, 125; 325, 125; 325, 135] DstComponent "Integrator2" DstTerminal 3 } } Connection { Type Signal SrcComponent "Gain7" SrcTerminal 2 DstComponent "Sum5" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain8" SrcTerminal 2 Points [145, 70] DstComponent "Sum5" DstTerminal 3 } Connection { Type Signal SrcComponent "constant2" SrcTerminal 1 Points [455, 175] DstComponent "Sum6" DstTerminal 3 } Connection { Type Signal SrcComponent "vC_osc" SrcTerminal 1 DstComponent "Gain7" DstTerminal 1 } Connection { Type Signal SrcComponent "iC_osc" SrcTerminal 1 DstComponent "Gain8" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum6" SrcTerminal 1 DstComponent "Saturation1" DstTerminal 1 } Connection { Type Signal SrcComponent "Saturation1" SrcTerminal 2 DstComponent "carrier" DstTerminal 1 } } } Component { Type Comparator Name "Comparator1" Show off Position [175, 70] Direction right Flipped on } Component { Type LogicalOperator Name "Logical\nOperator2" Show off Position [115, 95] Direction down Flipped on Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "1" Show off } } Component { Type Output Name "PWM" Show on Position [30, 75] Direction left Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Subsystem Name base64 "zro=" Show on Position [615, 205] Direction up Flipped off Frame [-25, -15; 25, 15] LabelPosition [0, -18] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [25, 10] Direction right } Terminal { Type Input Position [25, -5] Direction right } Terminal { Type Output Position [-29, 0] Direction left } Schematic { Location [902, 691; 1289, 925] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Gain Name "Gain" Show off Position [270, 110] Direction left Flipped on Parameter { Variable "K" Value "-kappa*10" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Function Name "Fcn1" Show off Position [185, 110] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "(1/(sin(pi*u(1))))*u(2)" Show on } } Component { Type SignalMux Name "Mux" Show off Position [110, 110] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type Input Name "iL" Show on Position [65, 135] Direction left Flipped on Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "duty" Show on Position [65, 105] Direction left Flipped on Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "ki_iL" Show on Position [320, 110] Direction left Flipped on Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "Fcn1" SrcTerminal 2 DstComponent "Gain" DstTerminal 1 } Connection { Type Signal SrcComponent "Mux" SrcTerminal 1 DstComponent "Fcn1" DstTerminal 1 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 Points [90, 135; 90, 115] DstComponent "Mux" DstTerminal 3 } Connection { Type Signal SrcComponent "duty" SrcTerminal 1 DstComponent "Mux" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain" SrcTerminal 2 DstComponent "ki_iL" DstTerminal 1 } } } Component { Type Subsystem Name "Droop Control" Show on Position [705, 65] Direction down Flipped off Frame [-30, -25; 30, 25] LabelPosition [0, -28] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [34, 0] Direction right } Terminal { Type Input Position [-30, -15] Direction left } Terminal { Type Input Position [-30, 15] Direction left } Schematic { Location [587, 692; 1185, 926] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Constant Name "Constant1" Show off Position [375, 175] Direction left Flipped on Frame [-30, -10; 30, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "Vsupply" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Output Name "duty" Show on Position [550, 80] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "iL" Show on Position [45, 105] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Constant Name "i*1" Show off Position [45, 65] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "Value" Value "Vref" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "kp1" Show off Position [95, 105] Direction left Flipped on Parameter { Variable "K" Value "r_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum3" Show off Position [160, 70] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "-+" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Saturation Name "Saturation" Show on Position [500, 80] Direction right Flipped off Parameter { Variable "UpperLimit" Value "duty_max" Show on } Parameter { Variable "LowerLimit" Value "duty_min" Show on } } Component { Type Input Name "vC" Show on Position [45, 135] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Integrator Name "Integrator2" Show off Position [330, 140] Direction left Flipped on Parameter { Variable "ExternalReset" Value "1" Show off } Parameter { Variable "InitialConditionSource" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ShowStatePort" Value "1" Show off } Parameter { Variable "UpperLimit" Value "inf" Show off } Parameter { Variable "LowerLimit" Value "-inf" Show off } } Component { Type Gain Name "ki1" Show off Position [280, 140] Direction left Flipped on Parameter { Variable "K" Value "ki_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum5" Show off Position [390, 75] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "+++" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "kp2" Show off Position [280, 75] Direction left Flipped on Parameter { Variable "K" Value "kp_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum4" Show off Position [220, 75] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "-+" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Product Name "Divide" Show off Position [450, 80] Direction up Flipped off Parameter { Variable "Inputs" Value "*/" Show off } Parameter { Variable "DataType" Value "11" Show off } } Connection { Type Signal SrcComponent "kp1" SrcTerminal 2 Points [125, 105; 125, 75] DstComponent "Sum3" DstTerminal 2 } Connection { Type Signal SrcComponent "i*1" SrcTerminal 1 DstComponent "Sum3" DstTerminal 3 } Connection { Type Signal SrcComponent "Saturation" SrcTerminal 2 DstComponent "duty" DstTerminal 1 } Connection { Type Signal SrcComponent "ki1" SrcTerminal 2 DstComponent "Integrator2" DstTerminal 1 } Connection { Type Signal SrcComponent "Constant1" SrcTerminal 1 Points [415, 175; 415, 85] DstComponent "Divide" DstTerminal 3 } Connection { Type Signal SrcComponent "Divide" SrcTerminal 1 DstComponent "Saturation" DstTerminal 1 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 DstComponent "kp1" DstTerminal 1 } Connection { Type Signal SrcComponent "vC" SrcTerminal 1 Points [185, 135; 185, 80] DstComponent "Sum4" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum5" SrcTerminal 1 DstComponent "Divide" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum3" SrcTerminal 1 Points [185, 70] Branch { DstComponent "Sum4" DstTerminal 3 } Branch { Points [185, 40; 355, 40; 355, 65] DstComponent "Sum5" DstTerminal 4 } } Connection { Type Signal SrcComponent "kp2" SrcTerminal 2 DstComponent "Sum5" DstTerminal 3 } Connection { Type Signal SrcComponent "Integrator2" SrcTerminal 2 Points [355, 140; 355, 85] DstComponent "Sum5" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum4" SrcTerminal 1 Points [245, 75] Branch { DstComponent "kp2" DstTerminal 1 } Branch { Points [245, 140] DstComponent "ki1" DstTerminal 1 } } } } Component { Type SignalMux Name "Mux1" Show off Position [70, 75] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type Output Name "vC_osc" Show on Position [375, 140] Direction left Flipped off Parameter { Variable "Index" Value "4" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "iC_osc" Show on Position [300, 140] Direction left Flipped off Parameter { Variable "Index" Value "5" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Wire SrcComponent "L" SrcTerminal 1 Points [280, 250] Branch { Points [220, 250] DstComponent base64 "LTEvz4M=" DstTerminal 1 } Branch { Points [325, 250] Branch { DstComponent "C" DstTerminal 2 } Branch { Points [370, 250] Branch { DstComponent "Vm3" DstTerminal 2 } Branch { Points [520, 250] Branch { Points [560, 250] DstComponent "i1" DstTerminal 2 } Branch { DstComponent "g(v)1" DstTerminal 2 } } } } } Connection { Type Wire SrcComponent "L" SrcTerminal 2 Points [280, 155] Branch { Points [325, 155] Branch { Points [370, 155] Branch { DstComponent "Vm3" DstTerminal 1 } Branch { Points [520, 155] Branch { Points [560, 155] DstComponent "i1" DstTerminal 1 } Branch { DstComponent "g(v)1" DstTerminal 1 } } } Branch { DstComponent "Am4" DstTerminal 1 } } Branch { Points [220, 155] DstComponent base64 "LTEvz4M=" DstTerminal 2 } } Connection { Type Wire SrcComponent "Am4" SrcTerminal 2 DstComponent "C" DstTerminal 1 } Connection { Type Signal SrcComponent base64 "zrEqdl4z" SrcTerminal 2 DstComponent "g(v)1" DstTerminal 3 } Connection { Type Signal SrcComponent "Mux1" SrcTerminal 1 DstComponent "PWM" DstTerminal 1 } Connection { Type Signal SrcComponent "Logical\nOperator2" SrcTerminal 1 Points [90, 95; 90, 80] DstComponent "Mux1" DstTerminal 3 } Connection { Type Signal SrcComponent base64 "zro=" SrcTerminal 3 DstComponent "i1" DstTerminal 3 } Connection { Type Signal SrcComponent "vC" SrcTerminal 1 DstComponent "Droop Control" DstTerminal 3 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 Points [760, 80] Branch { DstComponent "Droop Control" DstTerminal 2 } Branch { Points [760, 215] DstComponent base64 "zro=" DstTerminal 1 } } Connection { Type Signal SrcComponent "Carrier Generation" SrcTerminal 1 Points [210, 100; 210, 75] DstComponent "Comparator1" DstTerminal 2 } Connection { Type Signal SrcComponent "Comparator1" SrcTerminal 3 Points [145, 70] Branch { DstComponent "Mux1" DstTerminal 2 } Branch { DstComponent "Logical\nOperator2" DstTerminal 2 } } Connection { Type Signal SrcComponent "Am4" SrcTerminal 3 Points [350, 175; 350, 140] Branch { Points [350, 105] DstComponent "Carrier Generation" DstTerminal 3 } Branch { DstComponent "iC_osc" DstTerminal 1 } } Connection { Type Signal SrcComponent "Vm3" SrcTerminal 3 Points [420, 205] Branch { DstComponent base64 "zrEqdl4z" DstTerminal 1 } Branch { Points [420, 140] Branch { DstComponent "vC_osc" DstTerminal 1 } Branch { Points [420, 95] DstComponent "Carrier Generation" DstTerminal 2 } } } Connection { Type Signal SrcComponent "Droop Control" SrcTerminal 1 Points [660, 65] Branch { DstComponent "Comparator1" DstTerminal 1 } Branch { Points [660, 200] DstComponent base64 "zro=" DstTerminal 2 } } } } Component { Type Subsystem Name " Local Controller 3" Show on Position [200, 355] Direction down Flipped off Frame [-80, -20; 80, 20] LabelPosition [0, 0] SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [-80, -5] Direction left } Terminal { Type Input Position [-80, 5] Direction left } Terminal { Type Output Position [84, -10] Direction right } Terminal { Type Output Position [84, 10] Direction right } Terminal { Type Output Position [84, 0] Direction right } Schematic { Location [949, 623; 1777, 911] ZoomFactor 1 SliderPosition [146, 72] ShowBrowser off BrowserWidth 100 Component { Type Input Name "iL" Show on Position [785, 80] Direction left Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "vC" Show on Position [785, 50] Direction left Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Inductor Name "L" Show on Position [280, 205] Direction down Flipped off Parameter { Variable "L" Value "L" Show off } Parameter { Variable "i_init" Value "sqrt(2)/(2*pi*L/Tsw)" Show off } } Component { Type Capacitor Name "C" Show on Position [325, 205] Direction down Flipped on Parameter { Variable "C" Value "C" Show off } Parameter { Variable "v_init" Value "(osc_init_max-osc_init_min)*rand+osc_init_min" Show off } } Component { Type Function Name base64 "zrEqdl4z" Show on Position [460, 205] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "alpha*u(1)^3" Show off } } Component { Type Voltmeter Name "Vm3" Show off Position [370, 205] Direction up Flipped off } Component { Type Resistor Name base64 "LTEvz4M=" Show on Position [220, 205] Direction down Flipped off Parameter { Variable "R" Value "-1/sigma" Show off } } Component { Type CurrentSource Name "g(v)1" Show off Position [520, 205] Direction down Flipped off Parameter { Variable "DiscretizationBehavior" Value "2" Show off } Parameter { Variable "StateSpaceInlining" Value "1" Show off } } Component { Type CurrentSource Name "i1" Show off Position [560, 205] Direction up Flipped on Parameter { Variable "DiscretizationBehavior" Value "2" Show off } Parameter { Variable "StateSpaceInlining" Value "1" Show off } } Component { Type Ammeter Name "Am4" Show off Position [325, 175] Direction up Flipped off } Component { Type Subsystem Name "Carrier Generation" Show on Position [270, 100] Direction down Flipped off Frame [-45, -15; 45, 15] LabelPosition [0, -18] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [49, 0] Direction right } Terminal { Type Input Position [-45, 5] Direction left } Terminal { Type Input Position [-45, -5] Direction left } Schematic { Location [414, 680; 1011, 926] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Comparator Name "Comparator2" Show off Position [200, 145] Direction right Flipped off } Component { Type Constant Name "constant1" Show off Position [145, 150] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Integrator Name "Integrator2" Show off Position [360, 140] Direction left Flipped on Parameter { Variable "ExternalReset" Value "2" Show off } Parameter { Variable "InitialConditionSource" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ShowStatePort" Value "1" Show off } Parameter { Variable "UpperLimit" Value "inf" Show off } Parameter { Variable "LowerLimit" Value "-inf" Show off } } Component { Type Gain Name "Gain5" Show off Position [410, 140] Direction left Flipped on Parameter { Variable "K" Value "2/Tsw" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Constant Name "Constant2" Show off Position [285, 175] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "Gain6" Show off Position [250, 145] Direction left Flipped on Parameter { Variable "K" Value "2" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum4" Show off Position [305, 145] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "Gain7" Show off Position [100, 110] Direction left Flipped on Parameter { Variable "K" Value "1e3" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum5" Show off Position [145, 110] Direction up Flipped on Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|++" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "Gain8" Show off Position [100, 70] Direction left Flipped on Parameter { Variable "K" Value "1" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Constant Name "constant2" Show off Position [420, 175] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Sum Name "Sum6" Show off Position [455, 140] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Output Name "carrier" Show on Position [550, 140] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "vC_osc" Show on Position [50, 110] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "iC_osc" Show on Position [50, 70] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Saturation Name "Saturation1" Show off Position [500, 140] Direction left Flipped on Parameter { Variable "UpperLimit" Value "1.2" Show off } Parameter { Variable "LowerLimit" Value "-1.2" Show off } } Connection { Type Signal SrcComponent "Sum5" SrcTerminal 1 Points [165, 110; 165, 140] DstComponent "Comparator2" DstTerminal 1 } Connection { Type Signal SrcComponent "constant1" SrcTerminal 1 DstComponent "Comparator2" DstTerminal 2 } Connection { Type Signal SrcComponent "Comparator2" SrcTerminal 3 DstComponent "Gain6" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum4" SrcTerminal 1 DstComponent "Integrator2" DstTerminal 1 } Connection { Type Signal SrcComponent "Integrator2" SrcTerminal 2 DstComponent "Gain5" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain5" SrcTerminal 2 DstComponent "Sum6" DstTerminal 2 } Connection { Type Signal SrcComponent "Constant2" SrcTerminal 1 Points [305, 175] DstComponent "Sum4" DstTerminal 3 } Connection { Type Signal SrcComponent "Gain6" SrcTerminal 2 Points [275, 145] Branch { DstComponent "Sum4" DstTerminal 2 } Branch { Points [275, 125; 325, 125; 325, 135] DstComponent "Integrator2" DstTerminal 3 } } Connection { Type Signal SrcComponent "Gain7" SrcTerminal 2 DstComponent "Sum5" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain8" SrcTerminal 2 Points [145, 70] DstComponent "Sum5" DstTerminal 3 } Connection { Type Signal SrcComponent "constant2" SrcTerminal 1 Points [455, 175] DstComponent "Sum6" DstTerminal 3 } Connection { Type Signal SrcComponent "vC_osc" SrcTerminal 1 DstComponent "Gain7" DstTerminal 1 } Connection { Type Signal SrcComponent "iC_osc" SrcTerminal 1 DstComponent "Gain8" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum6" SrcTerminal 1 DstComponent "Saturation1" DstTerminal 1 } Connection { Type Signal SrcComponent "Saturation1" SrcTerminal 2 DstComponent "carrier" DstTerminal 1 } } } Component { Type Comparator Name "Comparator1" Show off Position [175, 70] Direction right Flipped on } Component { Type LogicalOperator Name "Logical\nOperator2" Show off Position [115, 95] Direction down Flipped on Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "1" Show off } } Component { Type Output Name "PWM" Show on Position [30, 75] Direction left Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Subsystem Name base64 "zro=" Show on Position [615, 205] Direction up Flipped off Frame [-25, -15; 25, 15] LabelPosition [0, -18] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [25, 10] Direction right } Terminal { Type Input Position [25, -5] Direction right } Terminal { Type Output Position [-29, 0] Direction left } Schematic { Location [902, 692; 1285, 926] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Gain Name "Gain" Show off Position [270, 110] Direction left Flipped on Parameter { Variable "K" Value "-kappa*10" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Function Name "Fcn1" Show off Position [185, 110] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "(1/(sin(pi*u(1))))*u(2)" Show on } } Component { Type SignalMux Name "Mux" Show off Position [110, 110] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type Input Name "iL" Show on Position [65, 135] Direction left Flipped on Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "duty" Show on Position [65, 105] Direction left Flipped on Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "ki_iL" Show on Position [320, 110] Direction left Flipped on Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "Fcn1" SrcTerminal 2 DstComponent "Gain" DstTerminal 1 } Connection { Type Signal SrcComponent "Mux" SrcTerminal 1 DstComponent "Fcn1" DstTerminal 1 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 Points [90, 135; 90, 115] DstComponent "Mux" DstTerminal 3 } Connection { Type Signal SrcComponent "duty" SrcTerminal 1 DstComponent "Mux" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain" SrcTerminal 2 DstComponent "ki_iL" DstTerminal 1 } } } Component { Type Subsystem Name "Droop Control" Show on Position [705, 65] Direction down Flipped off Frame [-30, -25; 30, 25] LabelPosition [0, -28] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [34, 0] Direction right } Terminal { Type Input Position [-30, -15] Direction left } Terminal { Type Input Position [-30, 15] Direction left } Schematic { Location [586, 692; 1185, 926] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Constant Name "Constant1" Show off Position [375, 175] Direction left Flipped on Frame [-30, -10; 30, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "Vsupply" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Output Name "duty" Show on Position [550, 80] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "iL" Show on Position [45, 105] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Constant Name "i*1" Show off Position [45, 65] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "Value" Value "Vref" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "kp1" Show off Position [95, 105] Direction left Flipped on Parameter { Variable "K" Value "r_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum3" Show off Position [160, 70] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "-+" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Saturation Name "Saturation" Show on Position [500, 80] Direction right Flipped off Parameter { Variable "UpperLimit" Value "duty_max" Show on } Parameter { Variable "LowerLimit" Value "duty_min" Show on } } Component { Type Input Name "vC" Show on Position [45, 135] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Integrator Name "Integrator2" Show off Position [330, 140] Direction left Flipped on Parameter { Variable "ExternalReset" Value "1" Show off } Parameter { Variable "InitialConditionSource" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ShowStatePort" Value "1" Show off } Parameter { Variable "UpperLimit" Value "inf" Show off } Parameter { Variable "LowerLimit" Value "-inf" Show off } } Component { Type Gain Name "ki1" Show off Position [280, 140] Direction left Flipped on Parameter { Variable "K" Value "ki_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum5" Show off Position [390, 75] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "+++" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "kp2" Show off Position [280, 75] Direction left Flipped on Parameter { Variable "K" Value "kp_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum4" Show off Position [220, 75] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "-+" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Product Name "Divide" Show off Position [450, 80] Direction up Flipped off Parameter { Variable "Inputs" Value "*/" Show off } Parameter { Variable "DataType" Value "11" Show off } } Connection { Type Signal SrcComponent "kp1" SrcTerminal 2 Points [125, 105; 125, 75] DstComponent "Sum3" DstTerminal 2 } Connection { Type Signal SrcComponent "i*1" SrcTerminal 1 DstComponent "Sum3" DstTerminal 3 } Connection { Type Signal SrcComponent "Saturation" SrcTerminal 2 DstComponent "duty" DstTerminal 1 } Connection { Type Signal SrcComponent "ki1" SrcTerminal 2 DstComponent "Integrator2" DstTerminal 1 } Connection { Type Signal SrcComponent "Constant1" SrcTerminal 1 Points [415, 175; 415, 85] DstComponent "Divide" DstTerminal 3 } Connection { Type Signal SrcComponent "Divide" SrcTerminal 1 DstComponent "Saturation" DstTerminal 1 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 DstComponent "kp1" DstTerminal 1 } Connection { Type Signal SrcComponent "vC" SrcTerminal 1 Points [185, 135; 185, 80] DstComponent "Sum4" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum5" SrcTerminal 1 DstComponent "Divide" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum3" SrcTerminal 1 Points [185, 70] Branch { DstComponent "Sum4" DstTerminal 3 } Branch { Points [185, 40; 355, 40; 355, 65] DstComponent "Sum5" DstTerminal 4 } } Connection { Type Signal SrcComponent "kp2" SrcTerminal 2 DstComponent "Sum5" DstTerminal 3 } Connection { Type Signal SrcComponent "Integrator2" SrcTerminal 2 Points [355, 140; 355, 85] DstComponent "Sum5" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum4" SrcTerminal 1 Points [245, 75] Branch { DstComponent "kp2" DstTerminal 1 } Branch { Points [245, 140] DstComponent "ki1" DstTerminal 1 } } } } Component { Type SignalMux Name "Mux1" Show off Position [70, 75] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type Output Name "vC_osc" Show on Position [375, 140] Direction left Flipped off Parameter { Variable "Index" Value "4" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "iC_osc" Show on Position [300, 140] Direction left Flipped off Parameter { Variable "Index" Value "5" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Wire SrcComponent "L" SrcTerminal 1 Points [280, 250] Branch { Points [220, 250] DstComponent base64 "LTEvz4M=" DstTerminal 1 } Branch { Points [325, 250] Branch { DstComponent "C" DstTerminal 2 } Branch { Points [370, 250] Branch { DstComponent "Vm3" DstTerminal 2 } Branch { Points [520, 250] Branch { Points [560, 250] DstComponent "i1" DstTerminal 2 } Branch { DstComponent "g(v)1" DstTerminal 2 } } } } } Connection { Type Wire SrcComponent "L" SrcTerminal 2 Points [280, 155] Branch { Points [325, 155] Branch { Points [370, 155] Branch { DstComponent "Vm3" DstTerminal 1 } Branch { Points [520, 155] Branch { Points [560, 155] DstComponent "i1" DstTerminal 1 } Branch { DstComponent "g(v)1" DstTerminal 1 } } } Branch { DstComponent "Am4" DstTerminal 1 } } Branch { Points [220, 155] DstComponent base64 "LTEvz4M=" DstTerminal 2 } } Connection { Type Wire SrcComponent "Am4" SrcTerminal 2 DstComponent "C" DstTerminal 1 } Connection { Type Signal SrcComponent base64 "zrEqdl4z" SrcTerminal 2 DstComponent "g(v)1" DstTerminal 3 } Connection { Type Signal SrcComponent "Mux1" SrcTerminal 1 DstComponent "PWM" DstTerminal 1 } Connection { Type Signal SrcComponent "Logical\nOperator2" SrcTerminal 1 Points [90, 95; 90, 80] DstComponent "Mux1" DstTerminal 3 } Connection { Type Signal SrcComponent base64 "zro=" SrcTerminal 3 DstComponent "i1" DstTerminal 3 } Connection { Type Signal SrcComponent "vC" SrcTerminal 1 DstComponent "Droop Control" DstTerminal 3 } Connection { Type Signal SrcComponent "Carrier Generation" SrcTerminal 1 Points [210, 100; 210, 75] DstComponent "Comparator1" DstTerminal 2 } Connection { Type Signal SrcComponent "Comparator1" SrcTerminal 3 Points [145, 70] Branch { DstComponent "Mux1" DstTerminal 2 } Branch { DstComponent "Logical\nOperator2" DstTerminal 2 } } Connection { Type Signal SrcComponent "Am4" SrcTerminal 3 Points [350, 175; 350, 140] Branch { Points [350, 105] DstComponent "Carrier Generation" DstTerminal 3 } Branch { DstComponent "iC_osc" DstTerminal 1 } } Connection { Type Signal SrcComponent "Vm3" SrcTerminal 3 Points [420, 205] Branch { DstComponent base64 "zrEqdl4z" DstTerminal 1 } Branch { Points [420, 140] Branch { DstComponent "vC_osc" DstTerminal 1 } Branch { Points [420, 95] DstComponent "Carrier Generation" DstTerminal 2 } } } Connection { Type Signal SrcComponent "Droop Control" SrcTerminal 1 Points [660, 65] Branch { DstComponent "Comparator1" DstTerminal 1 } Branch { Points [660, 200] DstComponent base64 "zro=" DstTerminal 2 } } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 Points [760, 80] Branch { DstComponent "Droop Control" DstTerminal 2 } Branch { Points [760, 215] DstComponent base64 "zro=" DstTerminal 1 } } } } Component { Type Subsystem Name " Local Controller 4" Show on Position [200, 505] Direction down Flipped off Frame [-80, -20; 80, 20] LabelPosition [0, 0] SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [-80, -5] Direction left } Terminal { Type Input Position [-80, 5] Direction left } Terminal { Type Output Position [84, -10] Direction right } Terminal { Type Output Position [84, 10] Direction right } Terminal { Type Output Position [84, 0] Direction right } Schematic { Location [949, 623; 1777, 911] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Input Name "iL" Show on Position [785, 80] Direction left Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "vC" Show on Position [785, 50] Direction left Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Inductor Name "L" Show on Position [280, 205] Direction down Flipped off Parameter { Variable "L" Value "L" Show off } Parameter { Variable "i_init" Value "sqrt(2)/(2*pi*L/Tsw)" Show off } } Component { Type Capacitor Name "C" Show on Position [325, 205] Direction down Flipped on Parameter { Variable "C" Value "C" Show off } Parameter { Variable "v_init" Value "(osc_init_max-osc_init_min)*rand+osc_init_min" Show off } } Component { Type Function Name base64 "zrEqdl4z" Show on Position [460, 205] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "alpha*u(1)^3" Show off } } Component { Type Voltmeter Name "Vm3" Show off Position [370, 205] Direction up Flipped off } Component { Type Resistor Name base64 "LTEvz4M=" Show on Position [220, 205] Direction down Flipped off Parameter { Variable "R" Value "-1/sigma" Show off } } Component { Type CurrentSource Name "g(v)1" Show off Position [520, 205] Direction down Flipped off Parameter { Variable "DiscretizationBehavior" Value "2" Show off } Parameter { Variable "StateSpaceInlining" Value "1" Show off } } Component { Type CurrentSource Name "i1" Show off Position [560, 205] Direction up Flipped on Parameter { Variable "DiscretizationBehavior" Value "2" Show off } Parameter { Variable "StateSpaceInlining" Value "1" Show off } } Component { Type Ammeter Name "Am4" Show off Position [325, 175] Direction up Flipped off } Component { Type Subsystem Name "Carrier Generation" Show on Position [270, 100] Direction down Flipped off Frame [-45, -15; 45, 15] LabelPosition [0, -18] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [49, 0] Direction right } Terminal { Type Input Position [-45, 5] Direction left } Terminal { Type Input Position [-45, -5] Direction left } Schematic { Location [414, 680; 1012, 925] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Comparator Name "Comparator2" Show off Position [200, 145] Direction right Flipped off } Component { Type Constant Name "constant1" Show off Position [145, 150] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Integrator Name "Integrator2" Show off Position [360, 140] Direction left Flipped on Parameter { Variable "ExternalReset" Value "2" Show off } Parameter { Variable "InitialConditionSource" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ShowStatePort" Value "1" Show off } Parameter { Variable "UpperLimit" Value "inf" Show off } Parameter { Variable "LowerLimit" Value "-inf" Show off } } Component { Type Gain Name "Gain5" Show off Position [410, 140] Direction left Flipped on Parameter { Variable "K" Value "2/Tsw" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Constant Name "Constant2" Show off Position [285, 175] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "Gain6" Show off Position [250, 145] Direction left Flipped on Parameter { Variable "K" Value "2" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum4" Show off Position [305, 145] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "Gain7" Show off Position [100, 110] Direction left Flipped on Parameter { Variable "K" Value "1e3" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum5" Show off Position [145, 110] Direction up Flipped on Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|++" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "Gain8" Show off Position [100, 70] Direction left Flipped on Parameter { Variable "K" Value "1" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Constant Name "constant2" Show off Position [420, 175] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Sum Name "Sum6" Show off Position [455, 140] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Output Name "carrier" Show on Position [550, 140] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "vC_osc" Show on Position [50, 110] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "iC_osc" Show on Position [50, 70] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Saturation Name "Saturation1" Show off Position [500, 140] Direction left Flipped on Parameter { Variable "UpperLimit" Value "1.2" Show off } Parameter { Variable "LowerLimit" Value "-1.2" Show off } } Connection { Type Signal SrcComponent "Sum5" SrcTerminal 1 Points [165, 110; 165, 140] DstComponent "Comparator2" DstTerminal 1 } Connection { Type Signal SrcComponent "constant1" SrcTerminal 1 DstComponent "Comparator2" DstTerminal 2 } Connection { Type Signal SrcComponent "Comparator2" SrcTerminal 3 DstComponent "Gain6" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum4" SrcTerminal 1 DstComponent "Integrator2" DstTerminal 1 } Connection { Type Signal SrcComponent "Integrator2" SrcTerminal 2 DstComponent "Gain5" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain5" SrcTerminal 2 DstComponent "Sum6" DstTerminal 2 } Connection { Type Signal SrcComponent "Constant2" SrcTerminal 1 Points [305, 175] DstComponent "Sum4" DstTerminal 3 } Connection { Type Signal SrcComponent "Gain6" SrcTerminal 2 Points [275, 145] Branch { DstComponent "Sum4" DstTerminal 2 } Branch { Points [275, 125; 325, 125; 325, 135] DstComponent "Integrator2" DstTerminal 3 } } Connection { Type Signal SrcComponent "Gain7" SrcTerminal 2 DstComponent "Sum5" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain8" SrcTerminal 2 Points [145, 70] DstComponent "Sum5" DstTerminal 3 } Connection { Type Signal SrcComponent "constant2" SrcTerminal 1 Points [455, 175] DstComponent "Sum6" DstTerminal 3 } Connection { Type Signal SrcComponent "vC_osc" SrcTerminal 1 DstComponent "Gain7" DstTerminal 1 } Connection { Type Signal SrcComponent "iC_osc" SrcTerminal 1 DstComponent "Gain8" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum6" SrcTerminal 1 DstComponent "Saturation1" DstTerminal 1 } Connection { Type Signal SrcComponent "Saturation1" SrcTerminal 2 DstComponent "carrier" DstTerminal 1 } } } Component { Type Comparator Name "Comparator1" Show off Position [175, 70] Direction right Flipped on } Component { Type LogicalOperator Name "Logical\nOperator2" Show off Position [115, 95] Direction down Flipped on Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "1" Show off } } Component { Type Output Name "PWM" Show on Position [30, 75] Direction left Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Subsystem Name base64 "zro=" Show on Position [615, 205] Direction up Flipped off Frame [-25, -15; 25, 15] LabelPosition [0, -18] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [25, 10] Direction right } Terminal { Type Input Position [25, -5] Direction right } Terminal { Type Output Position [-29, 0] Direction left } Schematic { Location [903, 691; 1290, 925] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Gain Name "Gain" Show off Position [270, 110] Direction left Flipped on Parameter { Variable "K" Value "-kappa*10" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Function Name "Fcn1" Show off Position [185, 110] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "(1/(sin(pi*u(1))))*u(2)" Show on } } Component { Type SignalMux Name "Mux" Show off Position [110, 110] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type Input Name "iL" Show on Position [65, 135] Direction left Flipped on Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "duty" Show on Position [65, 105] Direction left Flipped on Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "ki_iL" Show on Position [320, 110] Direction left Flipped on Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "Fcn1" SrcTerminal 2 DstComponent "Gain" DstTerminal 1 } Connection { Type Signal SrcComponent "Mux" SrcTerminal 1 DstComponent "Fcn1" DstTerminal 1 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 Points [90, 135; 90, 115] DstComponent "Mux" DstTerminal 3 } Connection { Type Signal SrcComponent "duty" SrcTerminal 1 DstComponent "Mux" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain" SrcTerminal 2 DstComponent "ki_iL" DstTerminal 1 } } } Component { Type Subsystem Name "Droop Control" Show on Position [705, 65] Direction down Flipped off Frame [-30, -25; 30, 25] LabelPosition [0, -28] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [34, 0] Direction right } Terminal { Type Input Position [-30, -15] Direction left } Terminal { Type Input Position [-30, 15] Direction left } Schematic { Location [587, 691; 1186, 925] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Constant Name "Constant1" Show off Position [375, 175] Direction left Flipped on Frame [-30, -10; 30, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "Vsupply" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Output Name "duty" Show on Position [550, 80] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "iL" Show on Position [45, 105] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Constant Name "i*1" Show off Position [45, 65] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "Value" Value "Vref" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "kp1" Show off Position [95, 105] Direction left Flipped on Parameter { Variable "K" Value "r_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum3" Show off Position [160, 70] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "-+" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Saturation Name "Saturation" Show on Position [500, 80] Direction right Flipped off Parameter { Variable "UpperLimit" Value "duty_max" Show on } Parameter { Variable "LowerLimit" Value "duty_min" Show on } } Component { Type Input Name "vC" Show on Position [45, 135] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Integrator Name "Integrator2" Show off Position [330, 140] Direction left Flipped on Parameter { Variable "ExternalReset" Value "1" Show off } Parameter { Variable "InitialConditionSource" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ShowStatePort" Value "1" Show off } Parameter { Variable "UpperLimit" Value "inf" Show off } Parameter { Variable "LowerLimit" Value "-inf" Show off } } Component { Type Gain Name "ki1" Show off Position [280, 140] Direction left Flipped on Parameter { Variable "K" Value "ki_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum5" Show off Position [390, 75] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "+++" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "kp2" Show off Position [280, 75] Direction left Flipped on Parameter { Variable "K" Value "kp_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum4" Show off Position [220, 75] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "-+" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Product Name "Divide" Show off Position [450, 80] Direction up Flipped off Parameter { Variable "Inputs" Value "*/" Show off } Parameter { Variable "DataType" Value "11" Show off } } Connection { Type Signal SrcComponent "kp1" SrcTerminal 2 Points [125, 105; 125, 75] DstComponent "Sum3" DstTerminal 2 } Connection { Type Signal SrcComponent "i*1" SrcTerminal 1 DstComponent "Sum3" DstTerminal 3 } Connection { Type Signal SrcComponent "Saturation" SrcTerminal 2 DstComponent "duty" DstTerminal 1 } Connection { Type Signal SrcComponent "ki1" SrcTerminal 2 DstComponent "Integrator2" DstTerminal 1 } Connection { Type Signal SrcComponent "Constant1" SrcTerminal 1 Points [415, 175; 415, 85] DstComponent "Divide" DstTerminal 3 } Connection { Type Signal SrcComponent "Divide" SrcTerminal 1 DstComponent "Saturation" DstTerminal 1 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 DstComponent "kp1" DstTerminal 1 } Connection { Type Signal SrcComponent "vC" SrcTerminal 1 Points [185, 135; 185, 80] DstComponent "Sum4" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum5" SrcTerminal 1 DstComponent "Divide" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum3" SrcTerminal 1 Points [185, 70] Branch { DstComponent "Sum4" DstTerminal 3 } Branch { Points [185, 40; 355, 40; 355, 65] DstComponent "Sum5" DstTerminal 4 } } Connection { Type Signal SrcComponent "kp2" SrcTerminal 2 DstComponent "Sum5" DstTerminal 3 } Connection { Type Signal SrcComponent "Integrator2" SrcTerminal 2 Points [355, 140; 355, 85] DstComponent "Sum5" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum4" SrcTerminal 1 Points [245, 75] Branch { DstComponent "kp2" DstTerminal 1 } Branch { Points [245, 140] DstComponent "ki1" DstTerminal 1 } } } } Component { Type SignalMux Name "Mux1" Show off Position [70, 75] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type Output Name "vC_osc" Show on Position [375, 140] Direction left Flipped off Parameter { Variable "Index" Value "4" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "iC_osc" Show on Position [300, 140] Direction left Flipped off Parameter { Variable "Index" Value "5" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Wire SrcComponent "L" SrcTerminal 1 Points [280, 250] Branch { Points [220, 250] DstComponent base64 "LTEvz4M=" DstTerminal 1 } Branch { Points [325, 250] Branch { DstComponent "C" DstTerminal 2 } Branch { Points [370, 250] Branch { DstComponent "Vm3" DstTerminal 2 } Branch { Points [520, 250] Branch { Points [560, 250] DstComponent "i1" DstTerminal 2 } Branch { DstComponent "g(v)1" DstTerminal 2 } } } } } Connection { Type Wire SrcComponent "L" SrcTerminal 2 Points [280, 155] Branch { Points [325, 155] Branch { Points [370, 155] Branch { DstComponent "Vm3" DstTerminal 1 } Branch { Points [520, 155] Branch { Points [560, 155] DstComponent "i1" DstTerminal 1 } Branch { DstComponent "g(v)1" DstTerminal 1 } } } Branch { DstComponent "Am4" DstTerminal 1 } } Branch { Points [220, 155] DstComponent base64 "LTEvz4M=" DstTerminal 2 } } Connection { Type Wire SrcComponent "Am4" SrcTerminal 2 DstComponent "C" DstTerminal 1 } Connection { Type Signal SrcComponent base64 "zrEqdl4z" SrcTerminal 2 DstComponent "g(v)1" DstTerminal 3 } Connection { Type Signal SrcComponent "Mux1" SrcTerminal 1 DstComponent "PWM" DstTerminal 1 } Connection { Type Signal SrcComponent "Logical\nOperator2" SrcTerminal 1 Points [90, 95; 90, 80] DstComponent "Mux1" DstTerminal 3 } Connection { Type Signal SrcComponent base64 "zro=" SrcTerminal 3 DstComponent "i1" DstTerminal 3 } Connection { Type Signal SrcComponent "vC" SrcTerminal 1 DstComponent "Droop Control" DstTerminal 3 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 Points [760, 80] Branch { DstComponent "Droop Control" DstTerminal 2 } Branch { Points [760, 215] DstComponent base64 "zro=" DstTerminal 1 } } Connection { Type Signal SrcComponent "Carrier Generation" SrcTerminal 1 Points [210, 100; 210, 75] DstComponent "Comparator1" DstTerminal 2 } Connection { Type Signal SrcComponent "Comparator1" SrcTerminal 3 Points [145, 70] Branch { DstComponent "Mux1" DstTerminal 2 } Branch { DstComponent "Logical\nOperator2" DstTerminal 2 } } Connection { Type Signal SrcComponent "Am4" SrcTerminal 3 Points [350, 175; 350, 140] Branch { Points [350, 105] DstComponent "Carrier Generation" DstTerminal 3 } Branch { DstComponent "iC_osc" DstTerminal 1 } } Connection { Type Signal SrcComponent "Vm3" SrcTerminal 3 Points [420, 205] Branch { DstComponent base64 "zrEqdl4z" DstTerminal 1 } Branch { Points [420, 140] Branch { DstComponent "vC_osc" DstTerminal 1 } Branch { Points [420, 95] DstComponent "Carrier Generation" DstTerminal 2 } } } Connection { Type Signal SrcComponent "Droop Control" SrcTerminal 1 Points [660, 65] Branch { DstComponent "Comparator1" DstTerminal 1 } Branch { Points [660, 200] DstComponent base64 "zro=" DstTerminal 2 } } } } Component { Type Subsystem Name " Local Controller 5" Show on Position [200, 655] Direction down Flipped off Frame [-80, -20; 80, 20] LabelPosition [0, 0] SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [-80, -5] Direction left } Terminal { Type Input Position [-80, 5] Direction left } Terminal { Type Output Position [84, -10] Direction right } Terminal { Type Output Position [84, 10] Direction right } Terminal { Type Output Position [84, 0] Direction right } Schematic { Location [949, 623; 1777, 912] ZoomFactor 1 SliderPosition [90, 30] ShowBrowser off BrowserWidth 100 Component { Type Input Name "iL" Show on Position [785, 80] Direction left Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "vC" Show on Position [785, 50] Direction left Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Inductor Name "L" Show on Position [280, 205] Direction down Flipped off Parameter { Variable "L" Value "L" Show off } Parameter { Variable "i_init" Value "sqrt(2)/(2*pi*L/Tsw)" Show off } } Component { Type Capacitor Name "C" Show on Position [325, 205] Direction down Flipped on Parameter { Variable "C" Value "C" Show off } Parameter { Variable "v_init" Value "(osc_init_max-osc_init_min)*rand+osc_init_min" Show off } } Component { Type Function Name base64 "zrEqdl4z" Show on Position [460, 205] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "alpha*u(1)^3" Show off } } Component { Type Voltmeter Name "Vm3" Show off Position [370, 205] Direction up Flipped off } Component { Type Resistor Name base64 "LTEvz4M=" Show on Position [220, 205] Direction down Flipped off Parameter { Variable "R" Value "-1/sigma" Show off } } Component { Type CurrentSource Name "g(v)1" Show off Position [520, 205] Direction down Flipped off Parameter { Variable "DiscretizationBehavior" Value "2" Show off } Parameter { Variable "StateSpaceInlining" Value "1" Show off } } Component { Type CurrentSource Name "i1" Show off Position [560, 205] Direction up Flipped on Parameter { Variable "DiscretizationBehavior" Value "2" Show off } Parameter { Variable "StateSpaceInlining" Value "1" Show off } } Component { Type Ammeter Name "Am4" Show off Position [325, 175] Direction up Flipped off } Component { Type Subsystem Name "Carrier Generation" Show on Position [270, 100] Direction down Flipped off Frame [-45, -15; 45, 15] LabelPosition [0, -18] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [49, 0] Direction right } Terminal { Type Input Position [-45, 5] Direction left } Terminal { Type Input Position [-45, -5] Direction left } Schematic { Location [415, 678; 1014, 924] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Comparator Name "Comparator2" Show off Position [200, 145] Direction right Flipped off } Component { Type Constant Name "constant1" Show off Position [145, 150] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Integrator Name "Integrator2" Show off Position [360, 140] Direction left Flipped on Parameter { Variable "ExternalReset" Value "2" Show off } Parameter { Variable "InitialConditionSource" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ShowStatePort" Value "1" Show off } Parameter { Variable "UpperLimit" Value "inf" Show off } Parameter { Variable "LowerLimit" Value "-inf" Show off } } Component { Type Gain Name "Gain5" Show off Position [410, 140] Direction left Flipped on Parameter { Variable "K" Value "2/Tsw" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Constant Name "Constant2" Show off Position [285, 175] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "Gain6" Show off Position [250, 145] Direction left Flipped on Parameter { Variable "K" Value "2" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum4" Show off Position [305, 145] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "Gain7" Show off Position [100, 110] Direction left Flipped on Parameter { Variable "K" Value "1e3" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum5" Show off Position [145, 110] Direction up Flipped on Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|++" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "Gain8" Show off Position [100, 70] Direction left Flipped on Parameter { Variable "K" Value "1" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Constant Name "constant2" Show off Position [420, 175] Direction left Flipped on Frame [-10, -10; 10, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Sum Name "Sum6" Show off Position [455, 140] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Output Name "carrier" Show on Position [550, 140] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "vC_osc" Show on Position [50, 110] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "iC_osc" Show on Position [50, 70] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Saturation Name "Saturation1" Show off Position [500, 140] Direction left Flipped on Parameter { Variable "UpperLimit" Value "1.2" Show off } Parameter { Variable "LowerLimit" Value "-1.2" Show off } } Connection { Type Signal SrcComponent "Sum5" SrcTerminal 1 Points [165, 110; 165, 140] DstComponent "Comparator2" DstTerminal 1 } Connection { Type Signal SrcComponent "constant1" SrcTerminal 1 DstComponent "Comparator2" DstTerminal 2 } Connection { Type Signal SrcComponent "Comparator2" SrcTerminal 3 DstComponent "Gain6" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum4" SrcTerminal 1 DstComponent "Integrator2" DstTerminal 1 } Connection { Type Signal SrcComponent "Integrator2" SrcTerminal 2 DstComponent "Gain5" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain5" SrcTerminal 2 DstComponent "Sum6" DstTerminal 2 } Connection { Type Signal SrcComponent "Constant2" SrcTerminal 1 Points [305, 175] DstComponent "Sum4" DstTerminal 3 } Connection { Type Signal SrcComponent "Gain6" SrcTerminal 2 Points [275, 145] Branch { DstComponent "Sum4" DstTerminal 2 } Branch { Points [275, 125; 325, 125; 325, 135] DstComponent "Integrator2" DstTerminal 3 } } Connection { Type Signal SrcComponent "Gain7" SrcTerminal 2 DstComponent "Sum5" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain8" SrcTerminal 2 Points [145, 70] DstComponent "Sum5" DstTerminal 3 } Connection { Type Signal SrcComponent "constant2" SrcTerminal 1 Points [455, 175] DstComponent "Sum6" DstTerminal 3 } Connection { Type Signal SrcComponent "vC_osc" SrcTerminal 1 DstComponent "Gain7" DstTerminal 1 } Connection { Type Signal SrcComponent "iC_osc" SrcTerminal 1 DstComponent "Gain8" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum6" SrcTerminal 1 DstComponent "Saturation1" DstTerminal 1 } Connection { Type Signal SrcComponent "Saturation1" SrcTerminal 2 DstComponent "carrier" DstTerminal 1 } } } Component { Type Comparator Name "Comparator1" Show off Position [175, 70] Direction right Flipped on } Component { Type LogicalOperator Name "Logical\nOperator2" Show off Position [115, 95] Direction down Flipped on Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "1" Show off } } Component { Type Output Name "PWM" Show on Position [30, 75] Direction left Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Subsystem Name base64 "zro=" Show on Position [615, 205] Direction up Flipped off Frame [-25, -15; 25, 15] LabelPosition [0, -18] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [25, 10] Direction right } Terminal { Type Input Position [25, -5] Direction right } Terminal { Type Output Position [-29, 0] Direction left } Schematic { Location [903, 691; 1288, 925] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Gain Name "Gain" Show off Position [270, 110] Direction left Flipped on Parameter { Variable "K" Value "-kappa*10" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Function Name "Fcn1" Show off Position [185, 110] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "f(u)" Value "(1/(sin(pi*u(1))))*u(2)" Show on } } Component { Type SignalMux Name "Mux" Show off Position [110, 110] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Component { Type Input Name "iL" Show on Position [65, 135] Direction left Flipped on Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "duty" Show on Position [65, 105] Direction left Flipped on Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "ki_iL" Show on Position [320, 110] Direction left Flipped on Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "Fcn1" SrcTerminal 2 DstComponent "Gain" DstTerminal 1 } Connection { Type Signal SrcComponent "Mux" SrcTerminal 1 DstComponent "Fcn1" DstTerminal 1 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 Points [90, 135; 90, 115] DstComponent "Mux" DstTerminal 3 } Connection { Type Signal SrcComponent "duty" SrcTerminal 1 DstComponent "Mux" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain" SrcTerminal 2 DstComponent "ki_iL" DstTerminal 1 } } } Component { Type Subsystem Name "Droop Control" Show on Position [705, 65] Direction down Flipped off Frame [-30, -25; 30, 25] LabelPosition [0, -28] LabelAlign down SampleTime "-1" CodeGenTarget "Generic" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [34, 0] Direction right } Terminal { Type Input Position [-30, -15] Direction left } Terminal { Type Input Position [-30, 15] Direction left } Schematic { Location [587, 691; 1187, 925] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Constant Name "Constant1" Show off Position [375, 175] Direction left Flipped on Frame [-30, -10; 30, 10] LabelPosition [0, -13] LabelAlign down Parameter { Variable "Value" Value "Vsupply" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Output Name "duty" Show on Position [550, 80] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "iL" Show on Position [45, 105] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Constant Name "i*1" Show off Position [45, 65] Direction right Flipped off Frame [-20, -10; 20, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "Value" Value "Vref" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "kp1" Show off Position [95, 105] Direction left Flipped on Parameter { Variable "K" Value "r_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum3" Show off Position [160, 70] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "-+" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Saturation Name "Saturation" Show on Position [500, 80] Direction right Flipped off Parameter { Variable "UpperLimit" Value "duty_max" Show on } Parameter { Variable "LowerLimit" Value "duty_min" Show on } } Component { Type Input Name "vC" Show on Position [45, 135] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Integrator Name "Integrator2" Show off Position [330, 140] Direction left Flipped on Parameter { Variable "ExternalReset" Value "1" Show off } Parameter { Variable "InitialConditionSource" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ShowStatePort" Value "1" Show off } Parameter { Variable "UpperLimit" Value "inf" Show off } Parameter { Variable "LowerLimit" Value "-inf" Show off } } Component { Type Gain Name "ki1" Show off Position [280, 140] Direction left Flipped on Parameter { Variable "K" Value "ki_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum5" Show off Position [390, 75] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "+++" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Gain Name "kp2" Show off Position [280, 75] Direction left Flipped on Parameter { Variable "K" Value "kp_droop" Show on } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Sum Name "Sum4" Show off Position [220, 75] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "-+" Show off } Parameter { Variable "DataType" Value "11" Show off } } Component { Type Product Name "Divide" Show off Position [450, 80] Direction up Flipped off Parameter { Variable "Inputs" Value "*/" Show off } Parameter { Variable "DataType" Value "11" Show off } } Connection { Type Signal SrcComponent "kp1" SrcTerminal 2 Points [125, 105; 125, 75] DstComponent "Sum3" DstTerminal 2 } Connection { Type Signal SrcComponent "i*1" SrcTerminal 1 DstComponent "Sum3" DstTerminal 3 } Connection { Type Signal SrcComponent "Saturation" SrcTerminal 2 DstComponent "duty" DstTerminal 1 } Connection { Type Signal SrcComponent "ki1" SrcTerminal 2 DstComponent "Integrator2" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum4" SrcTerminal 1 Points [245, 75] Branch { DstComponent "kp2" DstTerminal 1 } Branch { Points [245, 140] DstComponent "ki1" DstTerminal 1 } } Connection { Type Signal SrcComponent "Constant1" SrcTerminal 1 Points [420, 175] DstComponent "Divide" DstTerminal 3 } Connection { Type Signal SrcComponent "Divide" SrcTerminal 1 DstComponent "Saturation" DstTerminal 1 } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 DstComponent "kp1" DstTerminal 1 } Connection { Type Signal SrcComponent "vC" SrcTerminal 1 Points [185, 135; 185, 80] DstComponent "Sum4" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum5" SrcTerminal 1 DstComponent "Divide" DstTerminal 2 } Connection { Type Signal SrcComponent "Sum3" SrcTerminal 1 Points [185, 70] Branch { DstComponent "Sum4" DstTerminal 3 } Branch { Points [185, 40; 355, 40; 355, 65] DstComponent "Sum5" DstTerminal 4 } } Connection { Type Signal SrcComponent "kp2" SrcTerminal 2 DstComponent "Sum5" DstTerminal 3 } Connection { Type Signal SrcComponent "Integrator2" SrcTerminal 2 Points [355, 140; 355, 85] DstComponent "Sum5" DstTerminal 2 } } } Component { Type SignalMux Name "Mux1" Show off Position [70, 75] Direction right Flipped on Parameter { Variable "Width" Value "2" Show off } } Component { Type Output Name "vC_osc" Show on Position [375, 140] Direction left Flipped off Parameter { Variable "Index" Value "4" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "iC_osc" Show on Position [300, 140] Direction left Flipped off Parameter { Variable "Index" Value "5" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Wire SrcComponent "L" SrcTerminal 1 Points [280, 250] Branch { Points [220, 250] DstComponent base64 "LTEvz4M=" DstTerminal 1 } Branch { Points [325, 250] Branch { DstComponent "C" DstTerminal 2 } Branch { Points [370, 250] Branch { DstComponent "Vm3" DstTerminal 2 } Branch { Points [520, 250] Branch { Points [560, 250] DstComponent "i1" DstTerminal 2 } Branch { DstComponent "g(v)1" DstTerminal 2 } } } } } Connection { Type Wire SrcComponent "L" SrcTerminal 2 Points [280, 155] Branch { Points [325, 155] Branch { Points [370, 155] Branch { DstComponent "Vm3" DstTerminal 1 } Branch { Points [520, 155] Branch { Points [560, 155] DstComponent "i1" DstTerminal 1 } Branch { DstComponent "g(v)1" DstTerminal 1 } } } Branch { DstComponent "Am4" DstTerminal 1 } } Branch { Points [220, 155] DstComponent base64 "LTEvz4M=" DstTerminal 2 } } Connection { Type Wire SrcComponent "Am4" SrcTerminal 2 DstComponent "C" DstTerminal 1 } Connection { Type Signal SrcComponent base64 "zrEqdl4z" SrcTerminal 2 DstComponent "g(v)1" DstTerminal 3 } Connection { Type Signal SrcComponent "Mux1" SrcTerminal 1 DstComponent "PWM" DstTerminal 1 } Connection { Type Signal SrcComponent "Logical\nOperator2" SrcTerminal 1 Points [90, 95; 90, 80] DstComponent "Mux1" DstTerminal 3 } Connection { Type Signal SrcComponent base64 "zro=" SrcTerminal 3 DstComponent "i1" DstTerminal 3 } Connection { Type Signal SrcComponent "vC" SrcTerminal 1 DstComponent "Droop Control" DstTerminal 3 } Connection { Type Signal SrcComponent "Carrier Generation" SrcTerminal 1 Points [210, 100; 210, 75] DstComponent "Comparator1" DstTerminal 2 } Connection { Type Signal SrcComponent "Comparator1" SrcTerminal 3 Points [145, 70] Branch { DstComponent "Mux1" DstTerminal 2 } Branch { DstComponent "Logical\nOperator2" DstTerminal 2 } } Connection { Type Signal SrcComponent "Am4" SrcTerminal 3 Points [350, 175; 350, 140] Branch { Points [350, 105] DstComponent "Carrier Generation" DstTerminal 3 } Branch { DstComponent "iC_osc" DstTerminal 1 } } Connection { Type Signal SrcComponent "Vm3" SrcTerminal 3 Points [420, 205] Branch { DstComponent base64 "zrEqdl4z" DstTerminal 1 } Branch { Points [420, 140] Branch { DstComponent "vC_osc" DstTerminal 1 } Branch { Points [420, 95] DstComponent "Carrier Generation" DstTerminal 2 } } } Connection { Type Signal SrcComponent "Droop Control" SrcTerminal 1 Points [660, 65] Branch { DstComponent "Comparator1" DstTerminal 1 } Branch { Points [660, 200] DstComponent base64 "zro=" DstTerminal 2 } } Connection { Type Signal SrcComponent "iL" SrcTerminal 1 Points [760, 80] Branch { DstComponent "Droop Control" DstTerminal 2 } Branch { Points [760, 215] DstComponent base64 "zro=" DstTerminal 1 } } } } Component { Type XYPlot Name "Phase Plot RRF" Show on Position [640, 385] Direction up Flipped off Location [1024, 503; 1623, 937] State "AAAA/wAAAAD9AAAAAgAAAAEAAAAAAAAAAPwCAAAAAvsAAAAQAFoAbwBvA" "G0AQQByAGUAYQAAAAAA/////wAAADQA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAAAA//" "///wAAAGYA////AAAAAwAAAn0AAABm/AEAAAAB+wAAABIAVABpAG0AZQBSAGEAbgBnAGUAAAAAAAA" "AAn0AAAB4AP///wAAAlcAAAGWAAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBv" "AGwAQgBhAHIBAAAAAP////8AAAAAAAAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "" PlotPalettes "AAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" TimeRange "0.0" ShownPeriods "1" Open "0" Ts "-1" SampleLimit "0" XAxisLabel "Oscillator Output Voltage" AspectRatioX "1" AspectRatioY "1" PlotStyle "2" Axis { Name "Phase Plot - Rotating Reference Frame" AutoScale 1 MinValue 0 MaxValue 1 Signals {} AxisLabel "Oscillator Capacitor Current" } Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} } } Connection { Type Wire SrcComponent "R2" SrcTerminal 1 DstComponent "S4" DstTerminal 3 } Connection { Type Wire SrcComponent "R1" SrcTerminal 1 DstComponent "L1" DstTerminal 2 } Connection { Type Wire SrcComponent "R1" SrcTerminal 2 DstComponent "Am3" DstTerminal 1 } Connection { Type Wire SrcComponent "Am3" SrcTerminal 2 Points [325, 275] Branch { Points [425, 275] Branch { Points [425, 125] Branch { Points [325, 125] Branch { DstComponent "Am4" DstTerminal 2 } Branch { DstComponent "Vm5" DstTerminal 1 } } Branch { DstComponent "Am1" DstTerminal 1 } } Branch { Points [425, 425] Branch { Points [325, 425] Branch { DstComponent "Am5" DstTerminal 2 } Branch { DstComponent "Vm6" DstTerminal 1 } } Branch { Points [425, 575] Branch { Points [325, 575] Branch { DstComponent "Am6" DstTerminal 2 } Branch { DstComponent "Vm7" DstTerminal 1 } } Branch { Points [425, 715] DstComponent "S5" DstTerminal 2 } } } } Branch { DstComponent "Vm4" DstTerminal 1 } } Connection { Type Wire SrcComponent "V_dc1" SrcTerminal 1 Points [80, 235] DstComponent "FETD2" DstTerminal 1 } Connection { Type Wire SrcComponent "L1" SrcTerminal 1 Points [170, 275] Branch { DstComponent "FETD2" DstTerminal 2 } Branch { DstComponent "FETD3" DstTerminal 1 } } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 2 Points [135, 270] DstComponent "FETD2" DstTerminal 3 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 3 Points [135, 280] DstComponent "FETD3" DstTerminal 3 } Connection { Type Signal SrcComponent "Vm4" SrcTerminal 3 Points [340, 200] DstComponent " Local Controller 2" DstTerminal 2 } Connection { Type Wire SrcComponent "FETD3" SrcTerminal 2 Points [170, 315] Branch { Points [325, 315] Branch { DstComponent "Vm4" DstTerminal 2 } Branch { Points [455, 315] Branch { Points [455, 465] Branch { Points [325, 465] Branch { Points [170, 465] Branch { DstComponent "FETD7" DstTerminal 2 } Branch { Points [80, 465] DstComponent "V_dc3" DstTerminal 2 } } Branch { DstComponent "Vm6" DstTerminal 2 } } Branch { Points [455, 615] Branch { Points [325, 615] Branch { Points [170, 615] Branch { DstComponent "FETD9" DstTerminal 2 } Branch { Points [80, 615] DstComponent "V_dc4" DstTerminal 2 } } Branch { DstComponent "Vm7" DstTerminal 2 } } Branch { Points [455, 755] DstComponent "S4" DstTerminal 2 } } } Branch { Points [455, 165] Branch { Points [325, 165] Branch { Points [170, 165] Branch { DstComponent "FETD5" DstTerminal 2 } Branch { Points [80, 165] DstComponent "V_dc2" DstTerminal 2 } } Branch { DstComponent "Vm5" DstTerminal 2 } } Branch { DstComponent "Load" DstTerminal 2 } } } } Branch { Points [80, 315] DstComponent "V_dc1" DstTerminal 2 } } Connection { Type Wire SrcComponent "R3" SrcTerminal 1 DstComponent "L2" DstTerminal 2 } Connection { Type Wire SrcComponent "R3" SrcTerminal 2 DstComponent "Am4" DstTerminal 1 } Connection { Type Wire SrcComponent "V_dc2" SrcTerminal 1 Points [80, 85] DstComponent "FETD4" DstTerminal 1 } Connection { Type Wire SrcComponent "L2" SrcTerminal 1 Points [170, 125] Branch { DstComponent "FETD4" DstTerminal 2 } Branch { DstComponent "FETD5" DstTerminal 1 } } Connection { Type Signal SrcComponent "Demux2" SrcTerminal 2 Points [135, 120] DstComponent "FETD4" DstTerminal 3 } Connection { Type Signal SrcComponent "Demux2" SrcTerminal 3 Points [135, 130] DstComponent "FETD5" DstTerminal 3 } Connection { Type Wire SrcComponent "R4" SrcTerminal 1 DstComponent "L3" DstTerminal 2 } Connection { Type Wire SrcComponent "R4" SrcTerminal 2 DstComponent "Am5" DstTerminal 1 } Connection { Type Wire SrcComponent "V_dc3" SrcTerminal 1 Points [80, 385] DstComponent "FETD6" DstTerminal 1 } Connection { Type Wire SrcComponent "L3" SrcTerminal 1 Points [170, 425] Branch { DstComponent "FETD6" DstTerminal 2 } Branch { DstComponent "FETD7" DstTerminal 1 } } Connection { Type Signal SrcComponent "Demux3" SrcTerminal 2 Points [135, 420] DstComponent "FETD6" DstTerminal 3 } Connection { Type Signal SrcComponent "Demux3" SrcTerminal 3 Points [135, 430] DstComponent "FETD7" DstTerminal 3 } Connection { Type Wire SrcComponent "R5" SrcTerminal 1 DstComponent "L4" DstTerminal 2 } Connection { Type Wire SrcComponent "R5" SrcTerminal 2 DstComponent "Am6" DstTerminal 1 } Connection { Type Wire SrcComponent "V_dc4" SrcTerminal 1 Points [80, 535] DstComponent "FETD8" DstTerminal 1 } Connection { Type Wire SrcComponent "L4" SrcTerminal 1 Points [170, 575] Branch { DstComponent "FETD8" DstTerminal 2 } Branch { DstComponent "FETD9" DstTerminal 1 } } Connection { Type Signal SrcComponent "Demux4" SrcTerminal 2 Points [135, 570] DstComponent "FETD8" DstTerminal 3 } Connection { Type Signal SrcComponent "Demux4" SrcTerminal 3 Points [135, 580] DstComponent "FETD9" DstTerminal 3 } Connection { Type Wire SrcComponent "R6" SrcTerminal 1 DstComponent "L5" DstTerminal 2 } Connection { Type Wire SrcComponent "R6" SrcTerminal 2 DstComponent "Am7" DstTerminal 1 } Connection { Type Wire SrcComponent "V_dc5" SrcTerminal 1 Points [80, 685] DstComponent "FETD10" DstTerminal 1 } Connection { Type Wire SrcComponent "L5" SrcTerminal 1 Points [170, 725] Branch { DstComponent "FETD10" DstTerminal 2 } Branch { DstComponent "FETD11" DstTerminal 1 } } Connection { Type Signal SrcComponent "Demux5" SrcTerminal 2 Points [135, 720] DstComponent "FETD10" DstTerminal 3 } Connection { Type Signal SrcComponent "Demux5" SrcTerminal 3 Points [135, 730] DstComponent "FETD11" DstTerminal 3 } Connection { Type Wire SrcComponent "FETD11" SrcTerminal 2 Points [170, 765] Branch { Points [325, 765] Branch { DstComponent "Vm8" DstTerminal 2 } Branch { DstComponent "S4" DstTerminal 1 } } Branch { Points [80, 765] DstComponent "V_dc5" DstTerminal 2 } } Connection { Type Signal SrcComponent " Local Controller 1" SrcTerminal 3 Points [105, 65] DstComponent "Demux2" DstTerminal 1 } Connection { Type Signal SrcComponent "Vm5" SrcTerminal 3 Points [340, 50] DstComponent " Local Controller 1" DstTerminal 2 } Connection { Type Signal SrcComponent " Local Controller 1" SrcTerminal 4 DstComponent "Goto" DstTerminal 1 } Connection { Type Signal SrcComponent " Local Controller 1" SrcTerminal 5 DstComponent "Goto1" DstTerminal 1 } Connection { Type Signal SrcComponent " Local Controller 2" SrcTerminal 5 DstComponent "Goto3" DstTerminal 1 } Connection { Type Signal SrcComponent " Local Controller 2" SrcTerminal 4 DstComponent "Goto2" DstTerminal 1 } Connection { Type Signal SrcComponent " Local Controller 2" SrcTerminal 3 Points [105, 215] DstComponent "Demux1" DstTerminal 1 } Connection { Type Signal SrcComponent " Local Controller 3" SrcTerminal 5 DstComponent "Goto5" DstTerminal 1 } Connection { Type Signal SrcComponent " Local Controller 3" SrcTerminal 4 DstComponent "Goto4" DstTerminal 1 } Connection { Type Signal SrcComponent "Vm6" SrcTerminal 3 Points [340, 350] DstComponent " Local Controller 3" DstTerminal 2 } Connection { Type Signal SrcComponent " Local Controller 3" SrcTerminal 3 Points [105, 365] DstComponent "Demux3" DstTerminal 1 } Connection { Type Signal SrcComponent " Local Controller 4" SrcTerminal 5 DstComponent "Goto7" DstTerminal 1 } Connection { Type Signal SrcComponent " Local Controller 4" SrcTerminal 4 DstComponent "Goto6" DstTerminal 1 } Connection { Type Signal SrcComponent "Vm7" SrcTerminal 3 Points [340, 500] DstComponent " Local Controller 4" DstTerminal 2 } Connection { Type Signal SrcComponent " Local Controller 4" SrcTerminal 3 Points [105, 515] DstComponent "Demux4" DstTerminal 1 } Connection { Type Signal SrcComponent " Local Controller 5" SrcTerminal 5 DstComponent "Goto9" DstTerminal 1 } Connection { Type Signal SrcComponent " Local Controller 5" SrcTerminal 4 DstComponent "Goto8" DstTerminal 1 } Connection { Type Signal SrcComponent "Vm8" SrcTerminal 3 Points [340, 650] DstComponent " Local Controller 5" DstTerminal 2 } Connection { Type Signal SrcComponent " Local Controller 5" SrcTerminal 3 Points [105, 665] DstComponent "Demux5" DstTerminal 1 } Connection { Type Signal SrcComponent "Am4" SrcTerminal 3 Points [300, 90] Branch { Points [300, 60] DstComponent " Local Controller 1" DstTerminal 1 } Branch { DstComponent "Goto10" DstTerminal 1 } } Connection { Type Signal SrcComponent "Am3" SrcTerminal 3 Points [300, 245] Branch { Points [300, 210] DstComponent " Local Controller 2" DstTerminal 1 } Branch { DstComponent "Goto11" DstTerminal 1 } } Connection { Type Signal SrcComponent "Am5" SrcTerminal 3 Points [300, 395] Branch { Points [300, 360] DstComponent " Local Controller 3" DstTerminal 1 } Branch { DstComponent "Goto12" DstTerminal 1 } } Connection { Type Signal SrcComponent "Am6" SrcTerminal 3 Points [300, 545] Branch { Points [300, 510] DstComponent " Local Controller 4" DstTerminal 1 } Branch { DstComponent "Goto13" DstTerminal 1 } } Connection { Type Signal SrcComponent "Am7" SrcTerminal 3 Points [300, 695] Branch { Points [300, 660] DstComponent " Local Controller 5" DstTerminal 1 } Branch { DstComponent "Goto14" DstTerminal 1 } } Connection { Type Signal SrcComponent "Am1" SrcTerminal 3 Points [455, 85] DstComponent "Goto15" DstTerminal 1 } Connection { Type Wire SrcComponent "Am1" SrcTerminal 2 DstComponent "Load" DstTerminal 1 } Connection { Type Wire SrcComponent "Am7" SrcTerminal 2 Points [325, 725] Branch { DstComponent "Vm8" DstTerminal 1 } Branch { DstComponent "S5" DstTerminal 1 } } Connection { Type Wire SrcComponent "S5" SrcTerminal 3 Points [440, 735; 440, 775] DstComponent "R2" DstTerminal 2 } Connection { Type Signal SrcComponent "Plots" SrcTerminal 1 DstComponent "Interleaving \n& Control" DstTerminal 1 } Connection { Type Signal SrcComponent "Plots" SrcTerminal 4 DstComponent "Interleaving \n& Control" DstTerminal 2 } Connection { Type Signal SrcComponent "Plots" SrcTerminal 3 DstComponent "Phase Plot SRF" DstTerminal 1 } Connection { Type Signal SrcComponent "Plots" SrcTerminal 5 DstComponent "Phase Plot RRF" DstTerminal 2 } Connection { Type Signal SrcComponent "Plots" SrcTerminal 6 DstComponent "Phase Plot RRF" DstTerminal 1 } Connection { Type Signal SrcComponent "Plots" SrcTerminal 2 Points [600, 320] Branch { Points [600, 265] DstComponent "Interleaving \n& Control" DstTerminal 3 } Branch { DstComponent "Phase Plot SRF" DstTerminal 2 } } Connection { Type Signal SrcComponent "Step3" SrcTerminal 1 Points [360, 790] Branch { DstComponent "S4" DstTerminal 4 } Branch { Points [380, 790] DstComponent "S5" DstTerminal 4 } } Annotation { Name "M. Sinha, J. Poon, B. Johnson, M. Rodriguez, S. Dhople \"" "Decentralized Interleaving of Parallel-connected Buck Converters\",\nIEEE Tra" "nsactions on Power Electronics, vol. 34, no. 5, pp. 4993-5006, 2019." Position [365, 835] } } } DemoSignature "uyAE5E/NPswYQXMGOAfOTpIK8+C4ADC0WcbQESDfPU4="