Plecs { Name "DAB-DPS" Version "4.6" CircuitModel "ContStateSpace" StartTime "0.0" TimeSpan "1.0" Timeout "" Solver "auto" MaxStep "1e-3" InitStep "-1" FixedStep "1e-3" Refine "1" ZCStepSize "1e-9" RelTol "1e-3" AbsTol "-1" TurnOnThreshold "0" SyncFixedStepTasks "2" UseSingleCommonBaseRate "2" LossVariableLimitExceededMsg "3" NegativeSwitchLossMsg "3" DivisionByZeroMsg "3" StiffnessDetectionMsg "2" MaxConsecutiveZCs "1000" AlgebraicLoopWithStateMachineMsg "3" AssertionAction "1" InitializationCommands "" InitialState "1" SystemState "" TaskingMode "1" TaskConfigurations "" CodeGenParameterInlining "2" 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 [820, 61; 1780, 975] ZoomFactor 1.3214 SliderPosition [565, 74] ShowBrowser off BrowserWidth 100 Component { Type DCVoltageSource Name "V_dc" Show off Position [245, 445] Direction down Flipped on Parameter { Variable "V" Value "100" Show off } } Component { Type IgbtWithDiode Name "IGBTD" Show off Position [345, 385] Direction up Flipped off Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "Rth" Value "0" Show off } Parameter { Variable "T_init" Value "" Show off } } Component { Type IgbtWithDiode Name "IGBTD1" Show off Position [465, 390] Direction up Flipped off Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "Rth" Value "0" Show off } Parameter { Variable "T_init" Value "" Show off } } Component { Type IgbtWithDiode Name "IGBTD2" Show off Position [345, 510] Direction up Flipped off Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "Rth" Value "0" Show off } Parameter { Variable "T_init" Value "" Show off } } Component { Type IgbtWithDiode Name "IGBTD3" Show off Position [465, 510] Direction up Flipped off Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "Rth" Value "0" Show off } Parameter { Variable "T_init" Value "" Show off } } Component { Type Inductor Name "L1" Show off Position [530, 435] Direction left Flipped off Parameter { Variable "L" Value "50e-6" Show off } Parameter { Variable "i_init" Value "0" Show off } } Component { Type IgbtWithDiode Name "IGBTD4" Show off Position [730, 380] Direction up Flipped off Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "Rth" Value "0" Show off } Parameter { Variable "T_init" Value "" Show off } } Component { Type IgbtWithDiode Name "IGBTD5" Show off Position [835, 380] Direction up Flipped off Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "Rth" Value "0" Show off } Parameter { Variable "T_init" Value "" Show off } } Component { Type IgbtWithDiode Name "IGBTD6" Show off Position [730, 510] Direction up Flipped off Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "Rth" Value "0" Show off } Parameter { Variable "T_init" Value "" Show off } } Component { Type IgbtWithDiode Name "IGBTD7" Show off Position [835, 510] Direction up Flipped off Parameter { Variable "s_init" Value "0" Show off } Parameter { Variable "thermal" Value "" Show off } Parameter { Variable "Rth" Value "0" Show off } Parameter { Variable "T_init" Value "" Show off } } Component { Type Capacitor Name "C1" Show off Position [925, 445] Direction down Flipped on Parameter { Variable "C" Value "470e-6" Show off } Parameter { Variable "v_init" Value "0" Show off } } Component { Type Resistor Name "R1" Show off Position [990, 445] Direction up Flipped off Parameter { Variable "R" Value "20" Show off } } Component { Type From Name "From" Show off Position [305, 385] Direction right Flipped off Parameter { Variable "Tag" Value "S1" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From1" Show off Position [305, 510] Direction right Flipped off Parameter { Variable "Tag" Value "S2" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From5" Show off Position [415, 390] Direction right Flipped off Parameter { Variable "Tag" Value "S4" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Voltmeter Name "Vm1" Show on Position [1050, 455] Direction up Flipped off } Component { Type Scope Name "Scope1" Show on Position [1120, 455] Direction up Flipped off Location [12, 67; 970, 1045] State "AAAA/wAAAAD9AAAAAgAAAAEAAAAAAAAAAPwCAAAAA/sAAAAQAFoAbwBvA" "G0AQQByAGUAYQAAAAAA/////wAAADQA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAAAA//" "///wAAAGYA////+wAAAAwAVAByAGEAYwBlAHMAAAAAAP////8AAABmAP///wAAAAMAAAAAAAAAAPw" "BAAAAAfsAAAAUAEQAYQB0AGEAVwBpAGQAZwBlAHQAAAAAAP////8AAABCAP///wAAA74AAAO2AAAA" "BAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBvAGwAQgBhAHIBAAAAAP////8AAAAAA" "AAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAL/gMAAAAJAAAAC" "AAAAGQAAAAJAAAAZAAAAAIAAABkAAAAAwAAAGQAAAABAAAAZAAAAAYAAABkAAAABwAAAGQAAAAEAA" "AAZAAAAAUAAABkAAAA2AAAAAsBAAABAAAAAAAAAAAAAAAAZP////8AAACBAAAAAAAAAAsAAADFAAA" "AAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAA" "AAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAA" "AATAAAAAQAAAAAAAAPoAAAAABM=" PlotPalettes "AAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" Axes "1" TimeRange "0.0" ScrollingMode "1" SingleTimeAxis "1" Open "1" Ts "-1" SampleLimit "0" XAxisLabel "" ShowLegend "1" Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} SignalTypes [ ] Untangle 0 KeepBaseline off BaselineValue 0 } Fourier { SingleXAxis on AxisLabel "Frequency" Scaling 0 PhaseDisplay 0 ShowFourierLegend off Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} Untangle 0 KeepBaseline off BaselineValue 0 } } } Component { Type Constant Name "V0 ref" Show on Position [250, 605] Direction right Flipped off Frame [-10, -10; 10, 10] LabelPosition [0, 13] LabelAlign up Parameter { Variable "Value" Value "60" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Goto Name "Goto" Show off Position [1075, 480] Direction down Flipped off Parameter { Variable "Tag" Value "U0" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From8" Show off Position [305, 640] Direction up Flipped off Parameter { Variable "Tag" Value "U0" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Sum Name "Sum" Show off Position [295, 605] Direction up Flipped off Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|+-" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type PlecsProbe Name "Probe" Show on Position [305, 730] Direction right Flipped off } Component { Type Product Name "Divide" Show off Position [415, 700] Direction up Flipped on Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "*/" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type SignalDemux Name "Demux" Show off Position [845, 655] Direction right Flipped on Parameter { Variable "Width" Value "3" Show off } } Component { Type Saturation Name "Saturation" Show on Position [575, 605] Direction right Flipped off Parameter { Variable "UpperLimit" Value "1" Show off } Parameter { Variable "LowerLimit" Value "0" Show off } } Component { Type Subsystem Name "phase shift" Show on Position [910, 650] Direction up Flipped off Frame [-40, -65; 40, 65] LabelPosition [0, 68] LabelAlign up SampleTime "-1" CodeGenDiscretizationMethod "2" CodeGenTarget "Generic" MaskDisplayLang "2" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [-40, -5] Direction left } Terminal { Type Input Position [-40, 5] Direction left } Terminal { Type Input Position [-40, 15] Direction left } Terminal { Type Output Position [44, -35] Direction right } Terminal { Type Output Position [44, 45] Direction right } Schematic { Location [977, 103; 1850, 795] ZoomFactor 1.30957 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Input Name "In1" Show on Position [105, 265] Direction down Flipped on Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type PulseGenerator Name "Pulse\nGenerator" Show on Position [40, 200] Direction right Flipped off Parameter { Variable "Hi" Value "1" Show off } Parameter { Variable "Lo" Value "0" Show off } Parameter { Variable "f" Value "1e4" Show off } Parameter { Variable "DutyCycle" Value "0.5" Show off } Parameter { Variable "Delay" Value "0" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Subsystem Name "Switch\nDelay" Show on Position [170, 205] Direction up Flipped off Frame [-20, -20; 20, 20] LabelPosition [0, 23] LabelAlign up SampleTime "-1" CodeGenDiscretizationMethod "2" CodeGenTarget "Generic" MaskDisplayLang "2" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [24, -5] Direction right } Terminal { Type Input Position [-20, 10] Direction left } Terminal { Type Input Position [-20, -5] Direction left } Schematic { Location [0, 27; 1920, 984] ZoomFactor 1.14437 SliderPosition [169, 0] ShowBrowser off BrowserWidth 100 Component { Type Reference SrcComponent "Components/Control/Delays/Turn-on Delay" Name "Turn-on Delay" Show on Position [275, 135] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Parameter { Variable "DeadTimeSource" Value "2" Show off } Parameter { Variable "T_d" Value "2e-3" Show off } Parameter { Variable "Rounding" Value "1" Show off } Terminal { Type Input Position [-15, -5] Direction left } Terminal { Type Output Position [19, 0] Direction right } Terminal { Type Input Position [-15, 5] Direction left } } Component { Type Output Name "s'" Show on Position [475, 175] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "T" Show on Position [75, 160] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "s" Show on Position [75, 130] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type LogicalOperator Name "Logical\nOperator" Show off Position [170, 210] Direction up Flipped off Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type Reference SrcComponent "Components/Control/Delays/Turn-on Delay" Name "Turn-on Delay1" Show on Position [275, 215] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Parameter { Variable "DeadTimeSource" Value "2" Show off } Parameter { Variable "T_d" Value "2e-3" Show off } Parameter { Variable "Rounding" Value "1" Show off } Terminal { Type Input Position [-15, -5] Direction left } Terminal { Type Output Position [19, 0] Direction right } Terminal { Type Input Position [-15, 5] Direction left } } Component { Type LogicalOperator Name "Logical\nOperator1" Show off Position [335, 210] Direction up Flipped off Parameter { Variable "Operator" Value "4" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type LogicalOperator Name "Logical\nOperator2" Show off Position [395, 175] Direction up Flipped off Parameter { Variable "Operator" Value "2" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Connection { Type Signal SrcComponent "T" SrcTerminal 1 Points [225, 160] Branch { Points [225, 140] DstComponent "Turn-on Delay" DstTerminal 3 } Branch { Points [225, 220] DstComponent "Turn-on Delay1" DstTerminal 3 } } Connection { Type Signal SrcComponent "s" SrcTerminal 1 Points [120, 130] Branch { Points [120, 190] Branch { Points [120, 210] DstComponent "Logical\nOperator" DstTerminal 2 } Branch { Points [305, 190] DstComponent "Logical\nOperator1" DstTerminal 2 } } Branch { DstComponent "Turn-on Delay" DstTerminal 1 } } Connection { Type Signal SrcComponent "Turn-on Delay" SrcTerminal 2 Points [355, 135; 355, 170] DstComponent "Logical\nOperator2" DstTerminal 2 } Connection { Type Signal SrcComponent "Logical\nOperator" SrcTerminal 1 DstComponent "Turn-on Delay1" DstTerminal 1 } Connection { Type Signal SrcComponent "Turn-on Delay1" SrcTerminal 2 DstComponent "Logical\nOperator1" DstTerminal 3 } Connection { Type Signal SrcComponent "Logical\nOperator1" SrcTerminal 1 Points [355, 180] DstComponent "Logical\nOperator2" DstTerminal 3 } Connection { Type Signal SrcComponent "Logical\nOperator2" SrcTerminal 1 DstComponent "s'" DstTerminal 1 } } } Component { Type Input Name "In2" Show on Position [105, 345] Direction down Flipped on Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "In3" Show on Position [105, 435] Direction down Flipped on Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Subsystem Name "Switch\nDelay1" Show on Position [175, 310] Direction up Flipped off Frame [-20, -20; 20, 20] LabelPosition [0, 23] LabelAlign up SampleTime "-1" CodeGenDiscretizationMethod "2" CodeGenTarget "Generic" MaskDisplayLang "2" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [24, -5] Direction right } Terminal { Type Input Position [-20, 10] Direction left } Terminal { Type Input Position [-20, -5] Direction left } Schematic { Location [0, 58; 1920, 1015] ZoomFactor 1.14694 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Reference SrcComponent "Components/Control/Delays/Turn-on Delay" Name "Turn-on Delay" Show on Position [275, 135] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Parameter { Variable "DeadTimeSource" Value "2" Show off } Parameter { Variable "T_d" Value "2e-3" Show off } Parameter { Variable "Rounding" Value "1" Show off } Terminal { Type Input Position [-15, -5] Direction left } Terminal { Type Output Position [19, 0] Direction right } Terminal { Type Input Position [-15, 5] Direction left } } Component { Type Output Name "s'" Show on Position [475, 175] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "T" Show on Position [75, 160] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "s" Show on Position [75, 130] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type LogicalOperator Name "Logical\nOperator" Show off Position [170, 210] Direction up Flipped off Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type Reference SrcComponent "Components/Control/Delays/Turn-on Delay" Name "Turn-on Delay1" Show on Position [275, 215] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Parameter { Variable "DeadTimeSource" Value "2" Show off } Parameter { Variable "T_d" Value "2e-3" Show off } Parameter { Variable "Rounding" Value "1" Show off } Terminal { Type Input Position [-15, -5] Direction left } Terminal { Type Output Position [19, 0] Direction right } Terminal { Type Input Position [-15, 5] Direction left } } Component { Type LogicalOperator Name "Logical\nOperator1" Show off Position [335, 210] Direction up Flipped off Parameter { Variable "Operator" Value "4" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type LogicalOperator Name "Logical\nOperator2" Show off Position [395, 175] Direction up Flipped off Parameter { Variable "Operator" Value "2" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Connection { Type Signal SrcComponent "T" SrcTerminal 1 Points [225, 160] Branch { Points [225, 140] DstComponent "Turn-on Delay" DstTerminal 3 } Branch { Points [225, 220] DstComponent "Turn-on Delay1" DstTerminal 3 } } Connection { Type Signal SrcComponent "s" SrcTerminal 1 Points [120, 130] Branch { Points [120, 190] Branch { Points [120, 210] DstComponent "Logical\nOperator" DstTerminal 2 } Branch { Points [305, 190] DstComponent "Logical\nOperator1" DstTerminal 2 } } Branch { DstComponent "Turn-on Delay" DstTerminal 1 } } Connection { Type Signal SrcComponent "Turn-on Delay" SrcTerminal 2 Points [355, 135; 355, 170] DstComponent "Logical\nOperator2" DstTerminal 2 } Connection { Type Signal SrcComponent "Logical\nOperator" SrcTerminal 1 DstComponent "Turn-on Delay1" DstTerminal 1 } Connection { Type Signal SrcComponent "Turn-on Delay1" SrcTerminal 2 DstComponent "Logical\nOperator1" DstTerminal 3 } Connection { Type Signal SrcComponent "Logical\nOperator1" SrcTerminal 1 Points [355, 180] DstComponent "Logical\nOperator2" DstTerminal 3 } Connection { Type Signal SrcComponent "Logical\nOperator2" SrcTerminal 1 DstComponent "s'" DstTerminal 1 } } } Component { Type Subsystem Name "Switch\nDelay2" Show on Position [175, 395] Direction up Flipped off Frame [-20, -20; 20, 20] LabelPosition [0, 23] LabelAlign up SampleTime "-1" CodeGenDiscretizationMethod "2" CodeGenTarget "Generic" MaskDisplayLang "2" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Output Position [24, -5] Direction right } Terminal { Type Input Position [-20, 10] Direction left } Terminal { Type Input Position [-20, -5] Direction left } Schematic { Location [0, 27; 1920, 984] ZoomFactor 1.14437 SliderPosition [169, 0] ShowBrowser off BrowserWidth 100 Component { Type Reference SrcComponent "Components/Control/Delays/Turn-on Delay" Name "Turn-on Delay" Show on Position [275, 135] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Parameter { Variable "DeadTimeSource" Value "2" Show off } Parameter { Variable "T_d" Value "2e-3" Show off } Parameter { Variable "Rounding" Value "1" Show off } Terminal { Type Input Position [-15, -5] Direction left } Terminal { Type Output Position [19, 0] Direction right } Terminal { Type Input Position [-15, 5] Direction left } } Component { Type Output Name "s'" Show on Position [475, 175] Direction right Flipped off Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "T" Show on Position [75, 160] Direction right Flipped off Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Input Name "s" Show on Position [75, 130] Direction right Flipped off Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type LogicalOperator Name "Logical\nOperator" Show off Position [170, 210] Direction up Flipped off Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type Reference SrcComponent "Components/Control/Delays/Turn-on Delay" Name "Turn-on Delay1" Show on Position [275, 215] Direction up Flipped off Frame [-15, -15; 15, 15] LabelPosition [0, 18] LabelAlign up Parameter { Variable "DeadTimeSource" Value "2" Show off } Parameter { Variable "T_d" Value "2e-3" Show off } Parameter { Variable "Rounding" Value "1" Show off } Terminal { Type Input Position [-15, -5] Direction left } Terminal { Type Output Position [19, 0] Direction right } Terminal { Type Input Position [-15, 5] Direction left } } Component { Type LogicalOperator Name "Logical\nOperator1" Show off Position [335, 210] Direction up Flipped off Parameter { Variable "Operator" Value "4" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type LogicalOperator Name "Logical\nOperator2" Show off Position [395, 175] Direction up Flipped off Parameter { Variable "Operator" Value "2" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Connection { Type Signal SrcComponent "T" SrcTerminal 1 Points [225, 160] Branch { Points [225, 140] DstComponent "Turn-on Delay" DstTerminal 3 } Branch { Points [225, 220] DstComponent "Turn-on Delay1" DstTerminal 3 } } Connection { Type Signal SrcComponent "s" SrcTerminal 1 Points [120, 130] Branch { Points [120, 190] Branch { Points [120, 210] DstComponent "Logical\nOperator" DstTerminal 2 } Branch { Points [305, 190] DstComponent "Logical\nOperator1" DstTerminal 2 } } Branch { DstComponent "Turn-on Delay" DstTerminal 1 } } Connection { Type Signal SrcComponent "Turn-on Delay" SrcTerminal 2 Points [355, 135; 355, 170] DstComponent "Logical\nOperator2" DstTerminal 2 } Connection { Type Signal SrcComponent "Logical\nOperator" SrcTerminal 1 DstComponent "Turn-on Delay1" DstTerminal 1 } Connection { Type Signal SrcComponent "Turn-on Delay1" SrcTerminal 2 DstComponent "Logical\nOperator1" DstTerminal 3 } Connection { Type Signal SrcComponent "Logical\nOperator1" SrcTerminal 1 Points [355, 180] DstComponent "Logical\nOperator2" DstTerminal 3 } Connection { Type Signal SrcComponent "Logical\nOperator2" SrcTerminal 1 DstComponent "s'" DstTerminal 1 } } } Component { Type LogicalOperator Name "Logical\nOperator" Show off Position [275, 170] Direction up Flipped off Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type LogicalOperator Name "Logical\nOperator1" Show off Position [275, 200] Direction up Flipped off Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type LogicalOperator Name "Logical\nOperator2" Show off Position [280, 360] Direction up Flipped off Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type LogicalOperator Name "Logical\nOperator3" Show off Position [280, 390] Direction up Flipped off Parameter { Variable "Operator" Value "6" Show off } Parameter { Variable "Inputs" Value "2" Show off } } Component { Type SignalMux Name "Mux" Show off Position [360, 185] Direction right Flipped off Parameter { Variable "Width" Value "4" Show off } } Component { Type Output Name "H1" Show on Position [400, 185] Direction right Flipped off Parameter { Variable "Index" Value "4" Show on } Parameter { Variable "Width" Value "4" Show off } } Component { Type SignalMux Name "Mux1" Show off Position [365, 375] Direction right Flipped off Parameter { Variable "Width" Value "4" Show off } } Component { Type Output Name "H2" Show on Position [400, 375] Direction right Flipped off Parameter { Variable "Index" Value "5" Show on } Parameter { Variable "Width" Value "-1" Show off } } Connection { Type Signal SrcComponent "In1" SrcTerminal 1 Points [105, 215] DstComponent "Switch\nDelay" DstTerminal 2 } Connection { Type Signal SrcComponent "In2" SrcTerminal 1 Points [105, 320] DstComponent "Switch\nDelay1" DstTerminal 2 } Connection { Type Signal SrcComponent "Pulse\nGenerator" SrcTerminal 1 Points [70, 200] Branch { Points [105, 200] Branch { DstComponent "Switch\nDelay" DstTerminal 3 } Branch { Points [105, 170; 235, 170] Branch { Points [235, 155; 345, 155] DstComponent "Mux" DstTerminal 2 } Branch { DstComponent "Logical\nOperator" DstTerminal 2 } } } Branch { Points [70, 305] Branch { DstComponent "Switch\nDelay1" DstTerminal 3 } Branch { Points [70, 390] DstComponent "Switch\nDelay2" DstTerminal 3 } } } Connection { Type Signal SrcComponent "In3" SrcTerminal 1 Points [105, 405] DstComponent "Switch\nDelay2" DstTerminal 2 } Connection { Type Signal SrcComponent "Switch\nDelay" SrcTerminal 1 Points [235, 200] Branch { Points [235, 185; 340, 185; 340, 190] DstComponent "Mux" DstTerminal 4 } Branch { DstComponent "Logical\nOperator1" DstTerminal 2 } } Connection { Type Signal SrcComponent "Switch\nDelay1" SrcTerminal 1 Points [235, 305; 235, 345] Branch { Points [340, 345; 340, 360] DstComponent "Mux1" DstTerminal 2 } Branch { Points [235, 360] DstComponent "Logical\nOperator2" DstTerminal 2 } } Connection { Type Signal SrcComponent "Switch\nDelay2" SrcTerminal 1 Points [235, 390] Branch { Points [235, 375; 335, 375; 335, 380] DstComponent "Mux1" DstTerminal 4 } Branch { DstComponent "Logical\nOperator3" DstTerminal 2 } } Connection { Type Signal SrcComponent "Logical\nOperator" SrcTerminal 1 Points [340, 170; 340, 180] DstComponent "Mux" DstTerminal 3 } Connection { Type Signal SrcComponent "Logical\nOperator1" SrcTerminal 1 DstComponent "Mux" DstTerminal 5 } Connection { Type Signal SrcComponent "Mux" SrcTerminal 1 DstComponent "H1" DstTerminal 1 } Connection { Type Signal SrcComponent "Logical\nOperator3" SrcTerminal 1 DstComponent "Mux1" DstTerminal 5 } Connection { Type Signal SrcComponent "Logical\nOperator2" SrcTerminal 1 Points [335, 360; 335, 370] DstComponent "Mux1" DstTerminal 3 } Connection { Type Signal SrcComponent "Mux1" SrcTerminal 1 DstComponent "H2" DstTerminal 1 } } } Component { Type From Name "From2" Show off Position [420, 510] Direction right Flipped off Parameter { Variable "Tag" Value "S3" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From3" Show off Position [685, 380] Direction right Flipped off Parameter { Variable "Tag" Value "S5" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From4" Show off Position [785, 510] Direction right Flipped off Parameter { Variable "Tag" Value "S7" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From6" Show off Position [685, 510] Direction right Flipped off Parameter { Variable "Tag" Value "S6" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type From Name "From7" Show off Position [790, 380] Direction right Flipped off Parameter { Variable "Tag" Value "S8" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type CScript Name "C-Script1" Show on Position [700, 655] Direction up Flipped off Parameter { Variable "DialogGeometry" Value "[158 231 520 465]" Show off } Parameter { Variable "NumInputs" Value "2" Show off } Parameter { Variable "NumOutputs" Value "3" Show off } Parameter { Variable "NumContStates" Value "0" Show off } Parameter { Variable "NumDiscStates" Value "0" Show off } Parameter { Variable "NumZCSignals" Value "0" Show off } Parameter { Variable "DirectFeedthrough" Value "1" Show off } Parameter { Variable "Ts" Value "0" Show off } Parameter { Variable "Parameters" Value "" Show off } Parameter { Variable "LangStandard" Value "2" Show off } Parameter { Variable "GnuExtensions" Value "1" Show off } Parameter { Variable "RuntimeCheck" Value "2" Show off } Parameter { Variable "Declarations" Value "#define p InputSignal(0,0)\n" "#define k InputSignal(0,1)" Show off } Parameter { Variable "StartFcn" Value "" Show off } Parameter { Variable "OutputFcn" Value "if((k<2.0) && (0.<=p && p<0.5))\n" "{\n" " OutputSignal(0,0) = p;\n" " OutputSignal(0,1) = p;\n" " OutputSignal(0,2) = p;\n" "}\n" "else\n" "{\n" " OutputSignal(0,0) = 1.0-p;\n" " OutputSignal(0,1) = 0.5;\n" " OutputSignal(0,2) = 0.5;\n" "}" Show off } Parameter { Variable "UpdateFcn" Value "" Show off } Parameter { Variable "DerivativeFcn" Value "" Show off } Parameter { Variable "TerminateFcn" Value "" Show off } Parameter { Variable "StoreCustomStateFcn" Value "" Show off } Parameter { Variable "RestoreCustomStateFcn" Value "" Show off } } Component { Type Gain Name "Gain" Show on Position [795, 655] Direction right Flipped off Parameter { Variable "K" Value "5e-5" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Reference SrcComponent "Components/Electrical/Transformers/Linear Trafo2" Name "Linear Trafo2" Show on Position [635, 445] Direction up Flipped off Frame [-25, -15; 25, 15] LabelPosition [0, 17] LabelAlign up Parameter { Variable "L" Value "[1e-8 1e-8]" Show off } Parameter { Variable "R" Value "[1e-3 1e-3]" Show off } Parameter { Variable "n" Value "1" Show off } Parameter { Variable "Lm" Value "366.69" Show off } Parameter { Variable "Rm" Value "1.3824e5" Show off } Parameter { Variable "i0" Value "[0 0]" Show off } Terminal { Type Port Position [-30, -10] Direction left } Terminal { Type Port Position [-30, 10] Direction left } Terminal { Type Port Position [30, -10] Direction right } Terminal { Type Port Position [30, 10] Direction right } } Component { Type SignalDemux Name "Demux1" Show off Position [985, 615] Direction right Flipped on Parameter { Variable "Width" Value "4" Show off } } Component { Type SignalDemux Name "Demux2" Show off Position [985, 695] Direction right Flipped on Parameter { Variable "Width" Value "4" Show off } } Component { Type Goto Name "Goto1" Show off Position [1050, 580] Direction right Flipped off Parameter { Variable "Tag" Value "S1" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto2" Show off Position [1050, 595] Direction right Flipped off Parameter { Variable "Tag" Value "S2" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto3" Show off Position [1050, 610] Direction right Flipped off Parameter { Variable "Tag" Value "S3" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto4" Show off Position [1050, 625] Direction right Flipped off Parameter { Variable "Tag" Value "S4" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto5" Show off Position [1050, 665] Direction right Flipped off Parameter { Variable "Tag" Value "S5" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto6" Show off Position [1050, 680] Direction right Flipped off Parameter { Variable "Tag" Value "S6" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto7" Show off Position [1050, 695] Direction right Flipped off Parameter { Variable "Tag" Value "S7" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Goto Name "Goto8" Show off Position [1050, 710] Direction right Flipped off Parameter { Variable "Tag" Value "S8" Show off } Parameter { Variable "Visibility" Value "1" Show off } } Component { Type Reference SrcComponent "Components/Control/Continuous/Continuous PID\\nController" Name "Continuous PID\nController" Show on Position [415, 605] Direction up Flipped off Frame [-40, -25; 40, 25] LabelPosition [0, 28] LabelAlign up Parameter { Variable "cont_type" Value "3" Show off } Parameter { Variable "par_source" Value "1" Show off } Parameter { Variable "kp" Value "0.2" Show off } Parameter { Variable "ki" Value "1" Show off } Parameter { Variable "kd" Value "1" Show off } Parameter { Variable "kf" Value "1" Show off } Parameter { Variable "ex_reset" Value "1" Show off } Parameter { Variable "x0_source" Value "1" Show off } Parameter { Variable "x0" Value "0" Show off } Parameter { Variable "ex_sat" Value "1" Show off } Parameter { Variable "sat_lim" Value "1" Show off } Parameter { Variable "up_limit" Value "inf" Show off } Parameter { Variable "low_limit" Value "-inf" Show off } Parameter { Variable "aw_method" Value "1" Show off } Parameter { Variable "kbc" Value "1" Show off } Terminal { Type Input Position [-40, 0] Direction left } Terminal { Type Output Position [44, 0] Direction right } Terminal { Type Input Position [-5, -25] Direction up } Terminal { Type Input Position [5, -25] Direction up } Terminal { Type Input Position [15, -25] Direction up } Terminal { Type Input Position [-40, -15] Direction left } Terminal { Type Input Position [-40, 10] Direction left } Terminal { Type Input Position [25, -25] Direction up } Terminal { Type Input Position [35, -25] Direction up } Terminal { Type Input Position [-40, -20] Direction left } Terminal { Type Input Position [-40, -10] Direction left } Terminal { Type Input Position [-40, 20] Direction left } } Component { Type ZeroOrderHold Name "Zero-Order\nHold" Show on Position [490, 605] Direction right Flipped off Parameter { Variable "Ts" Value "1e-4" Show off } } Component { Type Gain Name "Gain1" Show on Position [335, 605] Direction right Flipped off Parameter { Variable "K" Value "1" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type SignalMux Name "Mux" Show off Position [645, 655] Direction right Flipped off Parameter { Variable "Width" Value "2" Show off } } Connection { Type Wire SrcComponent "IGBTD" SrcTerminal 1 Points [345, 365] Branch { Points [245, 365] DstComponent "V_dc" DstTerminal 1 } Branch { Points [465, 365] DstComponent "IGBTD1" DstTerminal 1 } } Connection { Type Wire SrcComponent "IGBTD2" SrcTerminal 2 Points [345, 530] Branch { Points [245, 530] DstComponent "V_dc" DstTerminal 2 } Branch { DstComponent "IGBTD3" DstTerminal 2 } } Connection { Type Wire SrcComponent "IGBTD4" SrcTerminal 1 Points [835, 360] Branch { DstComponent "IGBTD5" DstTerminal 1 } Branch { Points [925, 360] Branch { DstComponent "C1" DstTerminal 1 } Branch { Points [990, 360] Branch { DstComponent "R1" DstTerminal 1 } Branch { Points [1050, 360] DstComponent "Vm1" DstTerminal 1 } } } } Connection { Type Wire SrcComponent "IGBTD6" SrcTerminal 2 Points [835, 530] Branch { DstComponent "IGBTD7" DstTerminal 2 } Branch { Points [925, 530] Branch { DstComponent "C1" DstTerminal 2 } Branch { Points [990, 530] Branch { DstComponent "R1" DstTerminal 2 } Branch { Points [1050, 530] DstComponent "Vm1" DstTerminal 2 } } } } Connection { Type Signal SrcComponent "From" SrcTerminal 1 DstComponent "IGBTD" DstTerminal 3 } Connection { Type Wire SrcComponent "IGBTD2" SrcTerminal 1 Points [345, 435] Branch { DstComponent "IGBTD" DstTerminal 2 } Branch { DstComponent "L1" DstTerminal 1 } } Connection { Type Signal SrcComponent "Vm1" SrcTerminal 3 Points [1075, 455] Branch { DstComponent "Scope1" DstTerminal 1 } Branch { DstComponent "Goto" DstTerminal 1 } } Connection { Type Signal SrcComponent "Probe" SrcTerminal 1 Points [370, 730; 370, 705] DstComponent "Divide" DstTerminal 2 } Connection { Type Signal SrcComponent "V0 ref" SrcTerminal 1 Points [270, 605] Branch { DstComponent "Sum" DstTerminal 2 } Branch { Points [270, 695] DstComponent "Divide" DstTerminal 3 } } Connection { Type Signal SrcComponent "From6" SrcTerminal 1 DstComponent "IGBTD6" DstTerminal 3 } Connection { Type Signal SrcComponent "From4" SrcTerminal 1 DstComponent "IGBTD7" DstTerminal 3 } Connection { Type Signal SrcComponent "From8" SrcTerminal 1 Points [305, 630] DstComponent "Sum" DstTerminal 3 } Connection { Type Signal SrcComponent "Gain" SrcTerminal 2 DstComponent "Demux" DstTerminal 1 } Connection { Type Signal SrcComponent "From2" SrcTerminal 1 DstComponent "IGBTD3" DstTerminal 3 } Connection { Type Signal SrcComponent "From5" SrcTerminal 1 DstComponent "IGBTD1" DstTerminal 3 } Connection { Type Signal SrcComponent "From7" SrcTerminal 1 DstComponent "IGBTD5" DstTerminal 3 } Connection { Type Signal SrcComponent "From1" SrcTerminal 1 DstComponent "IGBTD2" DstTerminal 3 } Connection { Type Signal SrcComponent "From3" SrcTerminal 1 DstComponent "IGBTD4" DstTerminal 3 } Connection { Type Wire SrcComponent "Linear Trafo2" SrcTerminal 1 DstComponent "L1" DstTerminal 2 } Connection { Type Wire SrcComponent "IGBTD3" SrcTerminal 1 Points [465, 455] Branch { DstComponent "IGBTD1" DstTerminal 2 } Branch { DstComponent "Linear Trafo2" DstTerminal 2 } } Connection { Type Wire SrcComponent "IGBTD4" SrcTerminal 2 Points [730, 435] Branch { DstComponent "IGBTD6" DstTerminal 1 } Branch { DstComponent "Linear Trafo2" DstTerminal 3 } } Connection { Type Wire SrcComponent "IGBTD5" SrcTerminal 2 Points [835, 455] Branch { DstComponent "IGBTD7" DstTerminal 1 } Branch { DstComponent "Linear Trafo2" DstTerminal 4 } } Connection { Type Signal SrcComponent "Demux2" SrcTerminal 2 Points [1000, 680; 1000, 665] DstComponent "Goto5" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux2" SrcTerminal 3 Points [1005, 690; 1005, 680] DstComponent "Goto6" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux2" SrcTerminal 4 Points [1010, 700; 1010, 695] DstComponent "Goto7" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux2" SrcTerminal 5 DstComponent "Goto8" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 2 Points [1000, 600; 1000, 580] DstComponent "Goto1" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 3 Points [1005, 610; 1005, 595] DstComponent "Goto2" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 4 Points [1010, 620; 1010, 610] DstComponent "Goto3" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 5 Points [1015, 630; 1015, 625] DstComponent "Goto4" DstTerminal 1 } Connection { Type Signal SrcComponent "phase shift" SrcTerminal 5 DstComponent "Demux2" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 2 DstComponent "phase shift" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 3 DstComponent "phase shift" DstTerminal 2 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 4 DstComponent "phase shift" DstTerminal 3 } Connection { Type Signal SrcComponent "Continuous PID\nController" SrcTerminal 2 DstComponent "Zero-Order\nHold" DstTerminal 1 } Connection { Type Signal SrcComponent "Zero-Order\nHold" SrcTerminal 2 DstComponent "Saturation" DstTerminal 1 } Connection { Type Signal SrcComponent "Sum" SrcTerminal 1 DstComponent "Gain1" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain1" SrcTerminal 2 DstComponent "Continuous PID\nController" DstTerminal 1 } Connection { Type Signal SrcComponent "Mux" SrcTerminal 1 DstComponent "C-Script1" DstTerminal 1 } Connection { Type Signal SrcComponent "Saturation" SrcTerminal 2 Points [615, 605; 615, 650] DstComponent "Mux" DstTerminal 2 } Connection { Type Signal SrcComponent "Divide" SrcTerminal 1 Points [535, 700; 535, 660] DstComponent "Mux" DstTerminal 3 } Connection { Type Signal SrcComponent "C-Script1" SrcTerminal 2 DstComponent "Gain" DstTerminal 1 } Connection { Type Signal SrcComponent "phase shift" SrcTerminal 4 DstComponent "Demux1" DstTerminal 1 } } ProbeBlock { Tag "DAB-DPS/Probe" Probe { Component "V_dc" Path "" Signals {"Source voltage"} } } } DemoSignature "U3GzlRR0F2eNNbUnYOFEoljloOB5nV56o9XWmnzB6zA="