Plecs { Name "TPI_demo_example_plecs" Version "4.7" CircuitModel "ContStateSpace" StartTime "0.0" TimeSpan "0.1" Timeout "" Solver "radau" MaxStep "1e-3" InitStep "-1" FixedStep "1e-3" Refine "1" ZCStepSize "1e-9" RelTol "1e-3" AbsTol "-1" TurnOnThreshold "0" SyncFixedStepTasks "2" UseSingleCommonBaseRate "1" LossVariableLimitExceededMsg "3" NegativeSwitchLossMsg "3" DivisionByZeroMsg "1" StiffnessDetectionMsg "2" MaxConsecutiveZCs "1000" AlgebraicLoopWithStateMachineMsg "3" AssertionAction "1" InitializationCommands "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" "%%%%%%%%%%%%%%%%%%%%%%%\n% Product Note PN?\n% Parameters for the 'TPI8032 op" "en-loop test'\n% Copyright imperix ltd, 2023\n% dev@imperix.ch\n%%%%%%%%%%%%%" "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n\n%%%%%%%%%%%" "%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n%% SYSTEM P" "ARAMETERS\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%" "%%%%%%%%%\n\nSwitchingFreq = 50e3; % Switching frequency [Hz]\nDead" "time = 500e-9; % Deadtime [s]\n\nf_clk0 = SwitchingFreq;\n\nCont" "rolFreq = SwitchingFreq; % Control frequency [Hz]\nControlPeriod = 1/Contr" "olFreq; % Control period [s]\n\nSamplingPhase = 0.5; % Sampling p" "hase [-]\n" 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 "[1084 579 446 243]" ScriptsDialogSplitterPos "95" Schematic { Location [15, 95; 501, 307] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Subsystem Name "Plant" Show on Position [315, 80] Direction up Flipped off LabelPosition south Frame [-60, -40; 60, 40] TreatAsAtomicUnit on SampleTime "-1" CodeGenDiscretizationMethod "2" CodeGenTarget "PLECS RT Box 1" CodeGenTargetSettings "AAAAfwAAAAAlUU1hcDxRU3RyaW5nLFFNYXA8UVN0cmluZyxRU" "3RyaW5nPiA+AAAAAAEAAAAcAFAATABFAEMAUwAgAFIAVAAgAEIAbwB4ACAAMQAAABYAAAAeAHMAeQ" "BuAGMAaAByAG8AbgBpAHoAZQBUAGkAbQBlAAAAAgAwAAAAGABzAHQAYQByAHQAdQBwAFMARgBQAF8" "ARAAAAAIAMAAAABgAcwB0AGEAcgB0AHUAcABTAEYAUABfAEMAAAACADAAAAAYAHMAdABhAHIAdAB1" "AHAAUwBGAFAAXwBCAAAAAgAwAAAAGABzAHQAYQByAHQAdQBwAFMARgBQAF8AQQAAAAIAMAAAABoAc" "wBhAG0AcABsAGkAbgBnAEQAZQBsAGEAeQAAAAIAMAAAABgAbQBhAHgAXwBvAHYAZQByAHIAdQBuAH" "MAAAACADUAAAASAG0AYQBzAHQAZQByAFMARgBQAAAAAgAxAAAAJABkAGkAZwBpAHQAYQBsAE8AdQB" "0AHAAdQB0AEwAZQB2AGUAbAAAAAIAMQAAABAAYwBhAG4AMgBUAHgAUgB4AAAAAgAxAAAAHgBjAGEA" "bgAyAFQAZQByAG0AaQBuAGEAdABpAG8AbgAAAAIAMgAAABQAYwBhAG4AMgBFAG4AYQBiAGwAZQAAA" "AIAMAAAABAAYwBhAG4AMgBCAGEAdQBkAAAADAA1ADAAMAAwADAAMAAAABAAYwBhAG4AMQBUAHgAUg" "B4AAAAAgAxAAAAHgBjAGEAbgAxAFQAZQByAG0AaQBuAGEAdABpAG8AbgAAAAIAMgAAABQAYwBhAG4" "AMQBFAG4AYQBiAGwAZQAAAAIAMAAAABAAYwBhAG4AMQBCAGEAdQBkAAAADAA1ADAAMAAwADAAMAAA" "ABwAYQBuAGEAbABvAGcAUwBhAG0AcABsAGkAbgBnAAAAAgAxAAAAIgBhAG4AYQBsAG8AZwBPAHUAd" "ABwAHUAdABSAGEAbgBnAGUAAAACADQAAAAgAGEAbgBhAGwAbwBnAEkAbgBwAHUAdABSAGEAbgBnAG" "UAAAACADEAAAAaAFQAQQBSAEcARQBUAF8ARABFAFYASQBDAEUAAAAwAHIAdABiAG8AeAAtADIAMAB" "iADAAZgA3ADAANAA1AGIAOQAyAC4AbABvAGMAYQBsAAAAGgBFAFgAVABFAFIATgBBAEwAXwBNAE8A" "RABFAAAAAgAx" CodeGenOutputDir "C:/Imperix/Workspaces/AN006_PV3/plant" ExternalModeSettings "AAAAfwAAAAAWUU1hcDxRU3RyaW5nLFFTdHJpbmc+AAAAAAcAAA" "AYAFQAcgBpAGcAZwBlAHIAVgBhAGwAdQBlAAAABAAxADIAAAAYAFQAcgBpAGcAZwBlAHIARABlAGw" "AYQB5AAAACgAtADIAMAAwADAAAAAcAFQAcgBpAGcAZwBlAHIAQwBoAGEAbgBuAGUAbAAAAAIANwAA" "ABYAUwBlAG4AcwBpAHQAaQB2AGkAdAB5AAAAAgAwAAAAFgBSAGUAZgByAGUAcwBoAFIAYQB0AGUAA" "AAEADIAMAAAABQATgB1AG0AUwBhAG0AcABsAGUAcwAAAAgANAAwADAAMAAAABQARABlAGMAaQBtAG" "EAdABpAG8AbgAAAAIAMg==" MaskDisplayLang "2" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [-60, 0] Direction left Index "1" } Terminal { Type Output Position [64, -10] Direction right Index "1" } Terminal { Type Output Position [64, 10] Direction right Index "2" } Terminal { Type Output Position [64, 0] Direction right Index "3" } Schematic { Location [113, 152; 896, 469] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type Input Name "PWM" Show on Position [115, 20] Direction right Flipped off LabelPosition south Parameter { Variable "Index" Value "1" Show on } Parameter { Variable "DataType" Value "10" Show off } Parameter { Variable "Width" Value "-1" Show off } } Component { Type SignalDemux Name "Demux5" Show off Position [155, 20] Direction right Flipped on LabelPosition south Parameter { Variable "Width" Value "[2 2 2]" Show off } } Component { Type DCVoltageSource Name "Vdc" Show on Position [15, 150] Direction down Flipped on LabelPosition east Parameter { Variable "V" Value "200" Show off } } Component { Type ThreePhaseMeter Name "3ph Meter" Show off Position [610, 220] Direction up Flipped off LabelPosition southSoutheast Parameter { Variable "voltage" Value "1" Show off } } Component { Type Goto Name "Goto1" Show off Position [105, 150] Direction right Flipped off LabelPosition south Parameter { Variable "Tag" Value "Vdc_meas" Show off } Parameter { Variable "Visibility" Value "2" Show off } } Component { Type Capacitor Name "C1" Show off Position [50, 85] Direction down Flipped on LabelPosition west Parameter { Variable "C" Value "3e-3" Show off } Parameter { Variable "v_init" Value "100" Show off } } Component { Type Capacitor Name "C2" Show off Position [50, 215] Direction down Flipped on LabelPosition west Parameter { Variable "C" Value "3e-3" Show off } Parameter { Variable "v_init" Value "100" Show off } } Component { Type Goto Name "Goto2" Show off Position [650, 160] Direction right Flipped off LabelPosition south Parameter { Variable "Tag" Value "V_meas" Show off } Parameter { Variable "Visibility" Value "2" Show off } } Component { Type Goto Name "Goto3" Show off Position [650, 180] Direction right Flipped off LabelPosition south Parameter { Variable "Tag" Value "I_meas" Show off } Parameter { Variable "Visibility" Value "2" Show off } } Component { Type From Name "From" Show off Position [610, 40] Direction right Flipped off LabelPosition south Parameter { Variable "Tag" Value "Vdc_meas" Show off } Parameter { Variable "Visibility" Value "2" Show off } } Component { Type From Name "From1" Show off Position [610, 100] Direction right Flipped off LabelPosition south Parameter { Variable "Tag" Value "V_meas" Show off } Parameter { Variable "Visibility" Value "2" Show off } } Component { Type From Name "From2" Show off Position [610, 70] Direction right Flipped off LabelPosition south Parameter { Variable "Tag" Value "I_meas" Show off } Parameter { Variable "Visibility" Value "2" Show off } } Component { Type Scope Name "Scope" Show on Position [510, 60] Direction up Flipped off LabelPosition south Location [286, 147; 1952, 1152] State "AAAA/wAAAAD9AAAAAgAAAAEAAAAAAAAAAPwCAAAAA/sAAAAQAFoAb" "wBvAG0AQQByAGUAYQAAAAAA/////wAAAIQA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAA" "AA/////wAAAGYA////+wAAAAwAVAByAGEAYwBlAHMAAAAAAP////8AAABmAP///wAAAAMAAAAAAAA" "AAPwBAAAAAfsAAAAUAEQAYQB0AGEAVwBpAGQAZwBlAHQAAAAAAP////8AAABQAP///wAABoIAAAPS" "AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBvAGwAQgBhAHIBAAAAAP////8AA" "AAAAAAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAL/gMAAAAJA" "AAACQAAAGQAAAAIAAAAZAAAAAUAAABkAAAABAAAAGQAAAAHAAAAZAAAAAYAAABkAAAAAQAAAGQAAA" "ADAAAAZAAAAAIAAABkAAABAQAAAAsBAAABAAAAAAAAAAAAAAAAZP////8AAACBAAAAAAAAAAsAAAD" "dAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAA" "AAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAA" "AAAAAAkAAAAAQAAAAAAAAPoAAAAACQ=" PlotPalettes "AAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" "QAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAA" "AAAA==" Axes "3" TimeRange "0" ScrollingMode "1" SingleTimeAxis "1" Open "0" Ts "-1" SampleLimit "0" XAxisLabel "" ShowLegend "1" Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} SignalTypes [ ] Untangle 0 KeepBaseline off BaselineValue 0 } Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} SignalTypes [ ] Untangle 0 KeepBaseline off BaselineValue 0 } 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 } 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 Resistor Name "Rg3" Show off Position [50, 120] Direction up Flipped on LabelPosition east Parameter { Variable "R" Value "0.2" Show off } } Component { Type Resistor Name "Rg4" Show off Position [50, 185] Direction up Flipped on LabelPosition east Parameter { Variable "R" Value "0.2" Show off } } Component { Type Output Name "Vdc_meas" Show on Position [705, 40] Direction right Flipped off LabelPosition south Parameter { Variable "Index" Value "2" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "V_meas" Show on Position [705, 100] Direction right Flipped off LabelPosition south Parameter { Variable "Index" Value "3" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type Output Name "I_meas" Show on Position [705, 70] Direction right Flipped off LabelPosition south Parameter { Variable "Index" Value "4" Show on } Parameter { Variable "Width" Value "-1" Show off } } Component { Type From Name "From3" Show off Position [470, 45] Direction right Flipped off LabelPosition south Parameter { Variable "Tag" Value "Vdc_meas" Show off } Parameter { Variable "Visibility" Value "2" Show off } } Component { Type From Name "From4" Show off Position [470, 60] Direction right Flipped off LabelPosition south Parameter { Variable "Tag" Value "V_meas" Show off } Parameter { Variable "Visibility" Value "2" Show off } } Component { Type From Name "From5" Show off Position [470, 75] Direction right Flipped off LabelPosition south Parameter { Variable "Tag" Value "I_meas" Show off } Parameter { Variable "Visibility" Value "2" Show off } } Component { Type Voltmeter Name "Vm1" Show off Position [75, 150] Direction up Flipped off LabelPosition west } Component { Type Reference SrcComponent "Components/Electrical/Power Modules/HB1" Name "Phase A" Show on Position [220, 150] Direction up Flipped off LabelPosition west Frame [-20, -50; 20, 50] LabelFrame [-10, -50; 23, 50] Parameter { Variable "semiSymbol" Value "2" Show off } Parameter { Variable "assert" Value "2" Show off } Parameter { Variable "Configuration" Value "2" Show off } Terminal { Type Input Position [-20, -30] Direction left } Terminal { Type Port Position [0, -55] Direction up } Terminal { Type Port Position [0, 55] Direction down } Terminal { Type Port Position [25, 0] Direction right } Terminal { Type Input Position [-20, 30] Direction left } } Component { Type SignalDemux Name "Demux6" Show off Position [175, 95] Direction down Flipped on LabelPosition west Parameter { Variable "Width" Value "2" Show off } } Component { Type Reference SrcComponent "Components/Electrical/Power Modules/HB1" Name "Phase B" Show on Position [310, 150] Direction up Flipped off LabelPosition west Frame [-20, -50; 20, 50] LabelFrame [-10, -50; 23, 50] Parameter { Variable "semiSymbol" Value "2" Show off } Parameter { Variable "assert" Value "2" Show off } Parameter { Variable "Configuration" Value "2" Show off } Terminal { Type Input Position [-20, -30] Direction left } Terminal { Type Port Position [0, -55] Direction up } Terminal { Type Port Position [0, 55] Direction down } Terminal { Type Port Position [25, 0] Direction right } Terminal { Type Input Position [-20, 30] Direction left } } Component { Type SignalDemux Name "Demux7" Show off Position [265, 95] Direction down Flipped on LabelPosition west Parameter { Variable "Width" Value "2" Show off } } Component { Type Reference SrcComponent "Components/Electrical/Power Modules/HB1" Name "Phase C" Show on Position [400, 150] Direction up Flipped off LabelPosition west Frame [-20, -50; 20, 50] LabelFrame [-10, -50; 23, 50] Parameter { Variable "semiSymbol" Value "2" Show off } Parameter { Variable "assert" Value "2" Show off } Parameter { Variable "Configuration" Value "2" Show off } Terminal { Type Input Position [-20, -30] Direction left } Terminal { Type Port Position [0, -55] Direction up } Terminal { Type Port Position [0, 55] Direction down } Terminal { Type Port Position [25, 0] Direction right } Terminal { Type Input Position [-20, 30] Direction left } } Component { Type SignalDemux Name "Demux8" Show off Position [355, 95] Direction down Flipped on LabelPosition west Parameter { Variable "Width" Value "2" Show off } } Component { Type Resistor Name "R1" Show off Position [455, 210] Direction left Flipped off LabelPosition north Parameter { Variable "R" Value "2.2e-3" Show off } } Component { Type Resistor Name "R2" Show off Position [455, 220] Direction left Flipped off LabelPosition north Parameter { Variable "R" Value "2.2e-3" Show off } } Component { Type Resistor Name "R3" Show off Position [455, 230] Direction left Flipped off LabelPosition north Parameter { Variable "R" Value "2.2e-3" Show off } } Component { Type Inductor Name "L1" Show off Position [505, 210] Direction left Flipped off LabelPosition north Parameter { Variable "L" Value "0.95e-3" Show off } Parameter { Variable "i_init" Value "0" Show off } } Component { Type Inductor Name "L2" Show off Position [505, 220] Direction left Flipped off LabelPosition north Parameter { Variable "L" Value "0.95e-3" Show off } Parameter { Variable "i_init" Value "0" Show off } } Component { Type Inductor Name "L3" Show off Position [505, 230] Direction left Flipped off LabelPosition north Parameter { Variable "L" Value "0.95e-3" Show off } Parameter { Variable "i_init" Value "0" Show off } } Component { Type Resistor Name "R4" Show off Position [670, 205] Direction left Flipped off LabelPosition north Parameter { Variable "R" Value "8.5" Show off } } Component { Type Resistor Name "R5" Show off Position [670, 220] Direction left Flipped off LabelPosition north Parameter { Variable "R" Value "8.5" Show off } } Component { Type Resistor Name "R6" Show off Position [670, 235] Direction left Flipped off LabelPosition north Parameter { Variable "R" Value "8.5" Show off } } Component { Type Resistor Name "R7" Show off Position [540, 255] Direction up Flipped off LabelPosition east Parameter { Variable "R" Value "1.2e6" Show off } } Component { Type Resistor Name "R8" Show off Position [550, 255] Direction up Flipped off LabelPosition east Parameter { Variable "R" Value "1.2e6" Show off } } Component { Type Resistor Name "R9" Show off Position [560, 255] Direction up Flipped off LabelPosition east Parameter { Variable "R" Value "1.2e6" Show off } } Component { Type Gain Name "Gain" Show off Position [650, 40] Direction right Flipped off LabelPosition south Parameter { Variable "K" Value "0.00499" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "Gain1" Show off Position [650, 70] Direction right Flipped off LabelPosition south Parameter { Variable "K" Value "0.0390625" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "Gain2" Show off Position [650, 100] Direction right Flipped off LabelPosition south Parameter { Variable "K" Value "0.0025452" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Connection { Type Wire SrcComponent "Vm1" SrcTerminal 1 Points [75, 65] Branch { Points [220, 65] Branch { Points [310, 65] Branch { Points [400, 65] DstComponent "Phase C" DstTerminal 2 } Branch { DstComponent "Phase B" DstTerminal 2 } } Branch { DstComponent "Phase A" DstTerminal 2 } } Branch { Points [50, 65] Branch { Points [15, 65] DstComponent "Vdc" DstTerminal 1 } Branch { DstComponent "C1" DstTerminal 1 } } } Connection { Type Signal SrcComponent "PWM" SrcTerminal 1 DstComponent "Demux5" DstTerminal 1 } Connection { Type Signal SrcComponent "Vm1" SrcTerminal 3 DstComponent "Goto1" DstTerminal 1 } Connection { Type Signal SrcComponent "3ph Meter" SrcTerminal 7 Points [605, 160] DstComponent "Goto2" DstTerminal 1 } Connection { Type Signal SrcComponent "3ph Meter" SrcTerminal 8 Points [615, 180] DstComponent "Goto3" DstTerminal 1 } Connection { Type Wire SrcComponent "3ph Meter" SrcTerminal 5 DstComponent "R5" DstTerminal 1 } Connection { Type Wire SrcComponent "3ph Meter" SrcTerminal 4 Points [640, 210; 640, 205] DstComponent "R4" DstTerminal 1 } Connection { Type Wire SrcComponent "3ph Meter" SrcTerminal 6 Points [640, 230; 640, 235] DstComponent "R6" DstTerminal 1 } Connection { Type Signal SrcComponent "From3" SrcTerminal 1 Points [480, 45] DstComponent "Scope" DstTerminal 1 } Connection { Type Signal SrcComponent "From4" SrcTerminal 1 DstComponent "Scope" DstTerminal 2 } Connection { Type Signal SrcComponent "From5" SrcTerminal 1 Points [480, 75] DstComponent "Scope" DstTerminal 3 } Connection { Type Wire SrcComponent "C1" SrcTerminal 2 DstComponent "Rg3" DstTerminal 2 } Connection { Type Wire SrcComponent "Rg4" SrcTerminal 1 DstComponent "C2" DstTerminal 1 } Connection { Type Wire SrcComponent "Rg3" SrcTerminal 1 DstComponent "Rg4" DstTerminal 2 } Connection { Type Wire SrcComponent "R5" SrcTerminal 2 Points [705, 220] Branch { Points [705, 235] DstComponent "R6" DstTerminal 2 } Branch { Points [705, 205] DstComponent "R4" DstTerminal 2 } } Connection { Type Signal SrcComponent "Demux6" SrcTerminal 2 Points [180, 120] DstComponent "Phase A" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux6" SrcTerminal 3 Points [170, 180] DstComponent "Phase A" DstTerminal 5 } Connection { Type Signal SrcComponent "Demux7" SrcTerminal 2 Points [270, 120] DstComponent "Phase B" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux7" SrcTerminal 3 Points [260, 180] DstComponent "Phase B" DstTerminal 5 } Connection { Type Signal SrcComponent "Demux8" SrcTerminal 2 Points [360, 120] DstComponent "Phase C" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux8" SrcTerminal 3 Points [350, 180] DstComponent "Phase C" DstTerminal 5 } Connection { Type Signal SrcComponent "Demux5" SrcTerminal 2 Points [175, 10] DstComponent "Demux6" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux5" SrcTerminal 3 Points [265, 20] DstComponent "Demux7" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux5" SrcTerminal 4 Points [355, 30] DstComponent "Demux8" DstTerminal 1 } Connection { Type Wire SrcComponent "R1" SrcTerminal 1 Points [245, 210] DstComponent "Phase A" DstTerminal 4 } Connection { Type Wire SrcComponent "R2" SrcTerminal 1 Points [335, 220] DstComponent "Phase B" DstTerminal 4 } Connection { Type Wire SrcComponent "R3" SrcTerminal 1 Points [425, 230] DstComponent "Phase C" DstTerminal 4 } Connection { Type Wire SrcComponent "R1" SrcTerminal 2 DstComponent "L1" DstTerminal 1 } Connection { Type Wire SrcComponent "R2" SrcTerminal 2 DstComponent "L2" DstTerminal 1 } Connection { Type Wire SrcComponent "R3" SrcTerminal 2 DstComponent "L3" DstTerminal 1 } Connection { Type Wire SrcComponent "Phase B" SrcTerminal 3 Points [310, 230] Branch { Points [220, 230] Branch { DstComponent "Phase A" DstTerminal 3 } Branch { Points [75, 230] Branch { Points [50, 230] Branch { Points [15, 230] DstComponent "Vdc" DstTerminal 2 } Branch { DstComponent "C2" DstTerminal 2 } } Branch { DstComponent "Vm1" DstTerminal 2 } } } Branch { Points [400, 230] DstComponent "Phase C" DstTerminal 3 } } Connection { Type Wire SrcComponent "L1" SrcTerminal 2 Points [540, 210] Branch { DstComponent "3ph Meter" DstTerminal 1 } Branch { DstComponent "R7" DstTerminal 1 } } Connection { Type Wire SrcComponent "L2" SrcTerminal 2 Points [550, 220] Branch { DstComponent "3ph Meter" DstTerminal 2 } Branch { DstComponent "R8" DstTerminal 1 } } Connection { Type Wire SrcComponent "L3" SrcTerminal 2 Points [560, 230] Branch { DstComponent "3ph Meter" DstTerminal 3 } Branch { DstComponent "R9" DstTerminal 1 } } Connection { Type Wire SrcComponent "R7" SrcTerminal 2 Points [540, 285; 550, 285] Branch { Points [560, 285] Branch { DstComponent "R9" DstTerminal 2 } Branch { Points [610, 285] DstComponent "3ph Meter" DstTerminal 9 } } Branch { DstComponent "R8" DstTerminal 2 } } Connection { Type Signal SrcComponent "From" SrcTerminal 1 DstComponent "Gain" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain" SrcTerminal 2 DstComponent "Vdc_meas" DstTerminal 1 } Connection { Type Signal SrcComponent "From2" SrcTerminal 1 DstComponent "Gain1" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain1" SrcTerminal 2 DstComponent "I_meas" DstTerminal 1 } Connection { Type Signal SrcComponent "From1" SrcTerminal 1 DstComponent "Gain2" DstTerminal 1 } Connection { Type Signal SrcComponent "Gain2" SrcTerminal 2 DstComponent "V_meas" DstTerminal 1 } Annotation { Name "Three-phase voltage source inverter built with TPI803" "2 (open-loop)\n(c) Imperix Switzerland 2023" Position [255, 265] } Annotation { Name "sensor gains" Position [650, 125] } } } Component { Type Subsystem Name "Controller" Show on Position [170, 80] Direction up Flipped off LabelPosition south Frame [-50, -40; 50, 40] TreatAsAtomicUnit on SampleTime "-1" TaskingMode "2" TaskConfigurations "AAAACQAAAAABAAAACAAAAAAEAAAAFABTAGEAbQBwAGwAZQBUAGkA" "bQBlAAAACgAAAAACADAAAAAIAE4AYQBtAGUAAAAKAAAAABIAQgBhAHMAZQAgAHQAYQBzAGsAAAAOA" "EQAZQBmAGEAdQBsAHQAAAABAAEAAAAIAEMAbwByAGUAAAACAAAAAAA=" CodeGenEnable on CodeGenSampleTime "1/f_clk0" CodeGenDiscretizationMethod "2" CodeGenTarget "Imperix Controllers" CodeGenTargetSettings "AAAAfwAAAAAlUU1hcDxRU3RyaW5nLFFNYXA8UVN0cmluZyxRU" "3RyaW5nPiA+AAAAAAEAAAAmAEkAbQBwAGUAcgBpAHgAIABDAG8AbgB0AHIAbwBsAGwAZQByAHMAAA" "AHAAAAEABlAHQAaABfAGkAcABfADMAAAAAAAAAEABlAHQAaABfAGkAcABfADIAAAAAAAAAEABlAHQ" "AaABfAGkAcABfADEAAAAAAAAAEABlAHQAaABfAGkAcABfADAAAAAAAAAASABlAG4AYQBiAGwAZQBf" "AHMAdQBiAHQAYQBzAGsAXwB6AGUAcgBvAF8AbwByAGQAZQByAF8AaABvAGwAZABfAGQAZQBsAGEAe" "QAAAAIAMQAAABoAYwBhAG4AXwBiAGEAdQBkAF8AcgBhAHQAZQAAAA4AMQAwADAAMAAwADAAMAAAAD" "QAVQBTAEUAXwBTAFQAQQBSAFQAXwBUAEkATQBFAF8ASQBOAF8ASQBOAEkAVABfAEYAQwBOAAAAAgA" "x" ExternalModeSettings "AAAAfwAAAAAWUU1hcDxRU3RyaW5nLFFTdHJpbmc+AAAAAAYAAA" "AYAFQAcgBpAGcAZwBlAHIAVgBhAGwAdQBlAAAAAgAwAAAAGABUAHIAaQBnAGcAZQByAEQAZQBsAGE" "AeQAAAAIAMAAAABYAUwBlAG4AcwBpAHQAaQB2AGkAdAB5AAAAAgAwAAAAFgBSAGUAZgByAGUAcwBo" "AFIAYQB0AGUAAAAEADIAMAAAABQATgB1AG0AUwBhAG0AcABsAGUAcwAAAAgAOAAxADkAMgAAABQAR" "ABlAGMAaQBtAGEAdABpAG8AbgAAAAIAMQ==" MaskDisplayLang "2" MaskIconFrame on MaskIconOpaque off MaskIconRotates on Terminal { Type Input Position [-50, -30] Direction left Index "1" } Terminal { Type Output Position [54, 0] Direction right Index "1" } Terminal { Type Input Position [-50, -20] Direction left Index "2" } Terminal { Type Input Position [-50, -10] Direction left Index "3" } Terminal { Type Input Position [-50, 0] Direction left Index "4" } Terminal { Type Input Position [-50, 10] Direction left Index "5" } Terminal { Type Input Position [-50, 20] Direction left Index "6" } Terminal { Type Input Position [-50, 30] Direction left Index "7" } Terminal { Type Output Position [54, -20] Direction right Index "2" } Schematic { Location [49, 164; 1024, 640] ZoomFactor 1 SliderPosition [0, 0] ShowBrowser off BrowserWidth 100 Component { Type ControlTaskTrigger Name "Control Task Trigger" Show on Position [130, 25] Direction left Flipped on LabelPosition north Parameter { Variable "CodeFcn" Value "if (Target.Family ~= \"Imperix Controllers\") then" "\n" " return 'This block is not compatible with the selected target family (\"%s" "\")' % {Target.Family}\n" "end\n" "local Require = ResourceList:new()\n" "\n" "Require:add(Target.Coder.GetCtrlTaskTrigResource(0))\n" "\n" "return {\n" "\tRequire = Require\n" "}" Show off } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable13" Show off Position [190, 60] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "Vdc" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/Config/Configuration" Name "Configuration" Show on Position [40, 40] Direction up Flipped off LabelPosition south Frame [-30, -30; 30, 30] Parameter { Variable "clock_freq" Value "f_clk0" Show off } Parameter { Variable "phase" Value "0.5" Show off } Parameter { Variable "postscaler" Value "0" Show off } Parameter { Variable "oversampling_conf" Value "1" Show off } Parameter { Variable "oversampling_phases" Value "[0.2 0.8]" Show off } Parameter { Variable "nbr_of_oversamples" Value "3" Show off } Parameter { Variable "adc_acq_delay" Value "1" Show off } Parameter { Variable "cycle_delay" Value "5e-6" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type EventOutput Position [34, -15] Direction right } Terminal { Type EventOutput Position [34, 5] Direction right } Terminal { Type EventOutput Position [34, -5] Direction right } } Component { Type SineGenerator Name "Sine Wave A" Show on Position [350, 175] Direction right Flipped off LabelPosition south Parameter { Variable "Amplitude" Value "1" Show off } Parameter { Variable "Bias" Value "0" Show off } Parameter { Variable "Frequency" Value "50" Show off } Parameter { Variable "Phase" Value "0" Show off } Parameter { Variable "Units" Value "3" Show off } } Component { Type SineGenerator Name "Sine Wave B" Show on Position [350, 220] Direction right Flipped off LabelPosition south Parameter { Variable "Amplitude" Value "1" Show off } Parameter { Variable "Bias" Value "0" Show off } Parameter { Variable "Frequency" Value "50" Show off } Parameter { Variable "Phase" Value "240" Show off } Parameter { Variable "Units" Value "3" Show off } } Component { Type SineGenerator Name "Sine Wave C" Show on Position [350, 265] Direction right Flipped off LabelPosition south Parameter { Variable "Amplitude" Value "1" Show off } Parameter { Variable "Bias" Value "0" Show off } Parameter { Variable "Frequency" Value "50" Show off } Parameter { Variable "Phase" Value "120" Show off } Parameter { Variable "Units" Value "3" Show off } } Component { Type SignalMux Name "Mux" Show off Position [400, 220] Direction right Flipped off LabelPosition south Parameter { Variable "Width" Value "3" Show off } } Component { Type Product Name "Product" Show off Position [440, 215] Direction up Flipped off LabelPosition south Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "2" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Tunable parameter" Name "Tunable parameter4" Show off Position [355, 140] Direction up Flipped off LabelPosition south Frame [-10, -10; 10, 10] Parameter { Variable "name" Value "M" Show off Evaluate off } Parameter { Variable "initial_value" Value "0.5" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "max_value" Value "inf" Show off } Parameter { Variable "min_value" Value "-inf" Show off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "access_write" Value "1" Show off } Parameter { Variable "sim_output" Value "1" Show off } Parameter { Variable "step_time" Value "[1 2]" Show off } Parameter { Variable "step_data" Value "[0 1]" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Output Position [14, 0] Direction right } } Component { Type Gain Name "Gain" Show off Position [530, 215] Direction right Flipped off LabelPosition south Parameter { Variable "K" Value "0.5" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Reference SrcComponent "Imperix_Control/TPI/TPI ADC" Name "Vdc" Show off Position [130, 75] Direction up Flipped off LabelPosition south Frame [-30, -25; 30, 25] Parameter { Variable "device" Value "0" Show off } Parameter { Variable "measurement" Value "1" Show off } Parameter { Variable "sync_avg" Value "2" Show off } Parameter { Variable "adc_hist" Value "1" Show off } Parameter { Variable "adc_hist_depth" Value "3" Show off } Parameter { Variable "sensor" Value "1" Show off } Parameter { Variable "sensor_gain" Value "0.00499" Show off } Parameter { Variable "sensor_offset" Value "0.0" Show off } Parameter { Variable "TargetPortIndices" Value "1" Show off } Terminal { Type Output Position [34, 0] Direction right } Terminal { Type EventInput Position [-30, 15] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/TPI/TPI CB PWM" Name "TPI CB PWM" Show on Position [800, 225] Direction up Flipped off LabelPosition south Frame [-30, -30; 30, 30] Parameter { Variable "nb_bbx" Value "0" Show off } Parameter { Variable "carrier" Value "1" Show off } Parameter { Variable "block_input_activate" Value "1" Show off } Parameter { Variable "rate" Value "1" Show off } Parameter { Variable "dead_time" Value "124e-9" Show off } Parameter { Variable "sim_dead_time" Value "1" Show off } Parameter { Variable "TargetPortIndices" Value "2" Show off } Terminal { Type Input Position [-30, -10] Direction left } Terminal { Type Input Position [-30, 5] Direction left } Terminal { Type Input Position [-30, 0] Direction left } Terminal { Type EventInput Position [-30, 20] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/TPI/TPI ADC" Name "I_a" Show off Position [130, 130] Direction up Flipped off LabelPosition south Frame [-30, -25; 30, 25] Parameter { Variable "device" Value "0" Show off } Parameter { Variable "measurement" Value "2" Show off } Parameter { Variable "sync_avg" Value "2" Show off } Parameter { Variable "adc_hist" Value "1" Show off } Parameter { Variable "adc_hist_depth" Value "3" Show off } Parameter { Variable "sensor" Value "1" Show off } Parameter { Variable "sensor_gain" Value "0.0390625" Show off } Parameter { Variable "sensor_offset" Value "0.0" Show off } Parameter { Variable "TargetPortIndices" Value "3" Show off } Terminal { Type Output Position [34, 0] Direction right } Terminal { Type EventInput Position [-30, 15] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/TPI/TPI ADC" Name "I_b" Show off Position [130, 185] Direction up Flipped off LabelPosition south Frame [-30, -25; 30, 25] Parameter { Variable "device" Value "0" Show off } Parameter { Variable "measurement" Value "3" Show off } Parameter { Variable "sync_avg" Value "2" Show off } Parameter { Variable "adc_hist" Value "1" Show off } Parameter { Variable "adc_hist_depth" Value "3" Show off } Parameter { Variable "sensor" Value "1" Show off } Parameter { Variable "sensor_gain" Value "0.0390625" Show off } Parameter { Variable "sensor_offset" Value "0.0" Show off } Parameter { Variable "TargetPortIndices" Value "4" Show off } Terminal { Type Output Position [34, 0] Direction right } Terminal { Type EventInput Position [-30, 15] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/TPI/TPI ADC" Name "I_c" Show off Position [130, 240] Direction up Flipped off LabelPosition south Frame [-30, -25; 30, 25] Parameter { Variable "device" Value "0" Show off } Parameter { Variable "measurement" Value "4" Show off } Parameter { Variable "sync_avg" Value "2" Show off } Parameter { Variable "adc_hist" Value "1" Show off } Parameter { Variable "adc_hist_depth" Value "3" Show off } Parameter { Variable "sensor" Value "1" Show off } Parameter { Variable "sensor_gain" Value "0.0390625" Show off } Parameter { Variable "sensor_offset" Value "0.0" Show off } Parameter { Variable "TargetPortIndices" Value "5" Show off } Terminal { Type Output Position [34, 0] Direction right } Terminal { Type EventInput Position [-30, 15] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/TPI/TPI ADC" Name "V_a" Show off Position [130, 295] Direction up Flipped off LabelPosition south Frame [-30, -25; 30, 25] Parameter { Variable "device" Value "0" Show off } Parameter { Variable "measurement" Value "5" Show off } Parameter { Variable "sync_avg" Value "2" Show off } Parameter { Variable "adc_hist" Value "1" Show off } Parameter { Variable "adc_hist_depth" Value "3" Show off } Parameter { Variable "sensor" Value "1" Show off } Parameter { Variable "sensor_gain" Value "0.0025451768897938" Show off } Parameter { Variable "sensor_offset" Value "0.0" Show off } Parameter { Variable "TargetPortIndices" Value "6" Show off } Terminal { Type Output Position [34, 0] Direction right } Terminal { Type EventInput Position [-30, 15] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/TPI/TPI ADC" Name "V_b" Show off Position [130, 350] Direction up Flipped off LabelPosition south Frame [-30, -25; 30, 25] Parameter { Variable "device" Value "0" Show off } Parameter { Variable "measurement" Value "6" Show off } Parameter { Variable "sync_avg" Value "2" Show off } Parameter { Variable "adc_hist" Value "1" Show off } Parameter { Variable "adc_hist_depth" Value "3" Show off } Parameter { Variable "sensor" Value "1" Show off } Parameter { Variable "sensor_gain" Value "0.0025451768897938" Show off } Parameter { Variable "sensor_offset" Value "0.0" Show off } Parameter { Variable "TargetPortIndices" Value "7" Show off } Terminal { Type Output Position [34, 0] Direction right } Terminal { Type EventInput Position [-30, 15] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/TPI/TPI ADC" Name "V_c" Show off Position [130, 405] Direction up Flipped off LabelPosition south Frame [-30, -25; 30, 25] Parameter { Variable "device" Value "0" Show off } Parameter { Variable "measurement" Value "7" Show off } Parameter { Variable "sync_avg" Value "2" Show off } Parameter { Variable "adc_hist" Value "1" Show off } Parameter { Variable "adc_hist_depth" Value "3" Show off } Parameter { Variable "sensor" Value "1" Show off } Parameter { Variable "sensor_gain" Value "0.0025451768897938" Show off } Parameter { Variable "sensor_offset" Value "0.0" Show off } Parameter { Variable "TargetPortIndices" Value "8" Show off } Terminal { Type Output Position [34, 0] Direction right } Terminal { Type EventInput Position [-30, 15] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable14" Show off Position [190, 115] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "I_a" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable15" Show off Position [190, 170] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "I_b" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable16" Show off Position [190, 225] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "I_c" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable17" Show off Position [190, 280] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "V_a" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable18" Show off Position [190, 335] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "V_b" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable19" Show off Position [190, 390] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "V_c" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type SignalMux Name "Mux1" Show off Position [245, 185] Direction right Flipped off LabelPosition south Parameter { Variable "Width" Value "3" Show off } } Component { Type SignalMux Name "Mux2" Show off Position [245, 350] Direction right Flipped off LabelPosition south Parameter { Variable "Width" Value "3" Show off } } Component { Type Scope Name "DC bus voltage" Show on Position [285, 105] Direction up Flipped off LabelPosition south Location [674, 460; 1024, 687] State "AAAA/wAAAAD9AAAAAgAAAAEAAAAAAAAAAPwCAAAAA/sAAAAQAFoAb" "wBvAG0AQQByAGUAYQAAAAAA/////wAAADQA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAA" "AA/////wAAAGYA////+wAAAAwAVAByAGEAYwBlAHMAAAAAAP////8AAABmAP///wAAAAMAAAAAAAA" "AAPwBAAAAAfsAAAAUAEQAYQB0AGEAVwBpAGQAZwBlAHQAAAAAAP////8AAABQAP///wAAAV4AAADI" "AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBvAGwAQgBhAHIBAAAAAP////8AA" "AAAAAAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAL/gMAAAAJA" "AAACQAAAGQAAAAIAAAAZAAAAAUAAABkAAAABAAAAGQAAAAHAAAAZAAAAAYAAABkAAAAAQAAAGQAAA" "ADAAAAZAAAAAIAAABkAAAAZAAAAAsBAAABAAAAAAAAAAAAAAAAZP////8AAACBAAAAAAAAAAsAAAB" "AAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAA" "AAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAA" "AAAAAAkAAAAAQAAAAAAAAPoAAAAACQ=" PlotPalettes "AAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" Axes "1" TimeRange "0" ScrollingMode "1" SingleTimeAxis "1" Open "0" Ts "-1" SampleLimit "0" XAxisLabel "" ShowLegend "1" Axis { Name "DC bus voltage" 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 ShowFourierLegend off Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} Untangle 0 KeepBaseline off BaselineValue 0 } } } Component { Type Scope Name "Phase currents" Show on Position [285, 185] Direction up Flipped off LabelPosition south Location [0, 27; 1028, 756] State "AAAA/wAAAAD9AAAAAgAAAAEAAAAAAAAAAPwCAAAAA/sAAAAQAFoAb" "wBvAG0AQQByAGUAYQAAAAAA/////wAAADQA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAA" "AA/////wAAAGYA////+wAAAAwAVAByAGEAYwBlAHMAAAAAAP////8AAABmAP///wAAAAMAAAAAAAA" "AAPwBAAAAAfsAAAAUAEQAYQB0AGEAVwBpAGQAZwBlAHQAAAAAAP////8AAABQAP///wAABAQAAAK+" "AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBvAGwAQgBhAHIBAAAAAP////8AA" "AAAAAAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAL/gMAAAAJA" "AAACQAAAGQAAAAIAAAAZAAAAAUAAABkAAAABAAAAGQAAAAHAAAAZAAAAAYAAABkAAAAAQAAAGQAAA" "ADAAAAZAAAAAIAAABkAAAAZAAAAAsBAAABAAAAAAAAAAAAAAAAZP////8AAACBAAAAAAAAAAsAAAB" "AAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAA" "AAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAA" "AAAAAAkAAAAAQAAAAAAAAPoAAAAACQ=" PlotPalettes "AAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" Axes "1" TimeRange "0" ScrollingMode "1" SingleTimeAxis "1" Open "0" Ts "-1" SampleLimit "0" XAxisLabel "" ShowLegend "1" Axis { Name "Phase currents" AutoScale 1 MinValue 0 MaxValue 1 Signals {} SignalTypes [ ] AxisLabel "Current [A]" 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 Scope Name "Phase voltages" Show on Position [285, 350] Direction up Flipped off LabelPosition south Location [1217, 583; 1567, 810] State "AAAA/wAAAAD9AAAAAgAAAAEAAAAAAAAAAPwCAAAAA/sAAAAQAFoAb" "wBvAG0AQQByAGUAYQAAAAAA/////wAAADQA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAA" "AA/////wAAAGYA////+wAAAAwAVAByAGEAYwBlAHMAAAAAAP////8AAABmAP///wAAAAMAAAAAAAA" "AAPwBAAAAAfsAAAAUAEQAYQB0AGEAVwBpAGQAZwBlAHQAAAAAAP////8AAABQAP///wAAAV4AAADI" "AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBvAGwAQgBhAHIBAAAAAP////8AA" "AAAAAAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAL/gMAAAAJA" "AAACQAAAGQAAAAIAAAAZAAAAAUAAABkAAAABAAAAGQAAAAHAAAAZAAAAAYAAABkAAAAAQAAAGQAAA" "ADAAAAZAAAAAIAAABkAAAAkwAAAAsBAAABAAAAAAAAAAAAAAAAZP////8AAACBAAAAAAAAAAsAAAB" "vAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAA" "AAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAA" "AAAAAAkAAAAAQAAAAAAAAPoAAAAACQ=" PlotPalettes "AAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" Axes "1" TimeRange "0" ScrollingMode "1" SingleTimeAxis "1" Open "0" Ts "-1" SampleLimit "0" XAxisLabel "" ShowLegend "1" Axis { Name "Phase voltages" 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 ShowFourierLegend off Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} Untangle 0 KeepBaseline off BaselineValue 0 } } } Component { Type Reference SrcComponent "Imperix_Control/TPI/TPI RLY" Name "TPI RLY" Show on Position [800, 345] Direction up Flipped off LabelPosition south Frame [-30, -25; 30, 25] Parameter { Variable "device" Value "0" Show off } Parameter { Variable "manual_control" Value "1" Show off } Parameter { Variable "sim_port" Value "1" Show off } Parameter { Variable "TargetPortIndices" Value "9" Show off } Terminal { Type Input Position [-30, 0] Direction left } Terminal { Type Input Position [-30, -10] Direction left } Terminal { Type Input Position [-30, 10] Direction left } Terminal { Type Output Position [34, 0] Direction right } } Component { Type Sum Name "Sum" Show off Position [575, 215] Direction up Flipped off LabelPosition south Parameter { Variable "IconShape" Value "2" Show off } Parameter { Variable "Inputs" Value "|++" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Constant Name "Constant" Show off Position [530, 250] Direction right Flipped off LabelPosition south Frame [-15, -10; 15, 10] Parameter { Variable "Value" Value "0.5" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Gain Name "Gain1" Show off Position [495, 290] Direction right Flipped off LabelPosition south Parameter { Variable "K" Value "0.5" Show off } Parameter { Variable "Multiplication" Value "1" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Scope Name "Reference phase\nvoltages" Show on Position [640, 285] Direction up Flipped off LabelPosition south Location [960, 460; 1310, 687] State "AAAA/wAAAAD9AAAAAgAAAAEAAAAAAAAAAPwCAAAAA/sAAAAQAFoAb" "wBvAG0AQQByAGUAYQAAAAAA/////wAAADQA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAA" "AA/////wAAAGYA////+wAAAAwAVAByAGEAYwBlAHMAAAAAAP////8AAABmAP///wAAAAMAAAAAAAA" "AAPwBAAAAAfsAAAAUAEQAYQB0AGEAVwBpAGQAZwBlAHQAAAAAAP////8AAABQAP///wAAAV4AAADI" "AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBvAGwAQgBhAHIBAAAAAP////8AA" "AAAAAAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAL/gMAAAAJA" "AAAAwAAAGQAAAACAAAAZAAAAAEAAABkAAAABwAAAGQAAAAGAAAAZAAAAAUAAABkAAAABAAAAGQAAA" "AJAAAAZAAAAAgAAABkAAAAZAAAAAsBAAABAAAAAAAAAAAAAAAAZP////8AAACBAAAAAAAAAAsAAAB" "AAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAA" "AAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAA" "AAAAAAkAAAAAQAAAAAAAAPoAAAAACQ=" PlotPalettes "AAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" Axes "1" TimeRange "0" ScrollingMode "1" SingleTimeAxis "1" Open "0" Ts "-1" SampleLimit "0" XAxisLabel "" ShowLegend "1" Axis { Name "Reference phase voltages" 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 ShowFourierLegend off Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} Untangle 0 KeepBaseline off BaselineValue 0 } } } Component { Type Product Name "Product1" Show off Position [545, 285] Direction up Flipped off LabelPosition south Parameter { Variable "IconShape" Value "1" Show off } Parameter { Variable "Inputs" Value "2" Show off } Parameter { Variable "DataType" Value "10" Show off } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable20" Show off Position [625, 340] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "V_a_ref" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable21" Show off Position [625, 365] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "V_b_ref" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable22" Show off Position [625, 390] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "V_c_ref" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type SignalDemux Name "Demux" Show off Position [590, 365] Direction right Flipped on LabelPosition south Parameter { Variable "Width" Value "3" Show off } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Tunable parameter" Name "Tunable parameter5" Show off Position [740, 345] Direction up Flipped off LabelPosition south Frame [-10, -10; 10, 10] Parameter { Variable "name" Value "RLY_Close" Show off Evaluate off } Parameter { Variable "initial_value" Value "0" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "max_value" Value "inf" Show off } Parameter { Variable "min_value" Value "-inf" Show off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "access_write" Value "1" Show off } Parameter { Variable "sim_output" Value "1" Show off } Parameter { Variable "step_time" Value "[1 2]" Show off } Parameter { Variable "step_data" Value "[0 1]" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Output Position [14, 0] Direction right } } Component { Type Reference SrcComponent "Imperix_Control/State and variables/Probe variable" Name "Probe variable23" Show off Position [860, 345] Direction up Flipped off LabelPosition south Frame [-10, -15; 10, 15] Parameter { Variable "name" Value "RLY_Ready" Show off Evaluate off } Parameter { Variable "access_read" Value "1" Show off } Parameter { Variable "signal_type" Value "1" Show off } Parameter { Variable "can_enabled" Value "1" Show off } Parameter { Variable "can_address" Value "0" Show off } Parameter { Variable "can_endianness" Value "2" Show off } Parameter { Variable "can_tx_freq" Value "10" Show off } Parameter { Variable "eth_enabled" Value "1" Show off } Parameter { Variable "eth_port" Value "2000" Show off } Parameter { Variable "selected_ip_address" Value "1" Show off } Parameter { Variable "eth_endianness" Value "2" Show off } Parameter { Variable "eth_tx_freq" Value "10" Show off } Parameter { Variable "TargetPortIndices" Value "" Show off } Terminal { Type Input Position [-10, 0] Direction left } } Component { Type Scope Name "Modulation signals\nand duty cycles" Show on Position [650, 170] Direction up Flipped off LabelPosition south Location [266, 197; 760, 597] State "AAAA/wAAAAD9AAAAAgAAAAEAAAAAAAAAAPwCAAAAA/sAAAAQAFoAb" "wBvAG0AQQByAGUAYQAAAAAA/////wAAAFwA////+wAAABQAUwBhAHYAZQBkAFYAaQBlAHcAcwAAAA" "AA/////wAAAGYA////+wAAAAwAVAByAGEAYwBlAHMAAAAAAP////8AAABmAP///wAAAAMAAAAAAAA" "AAPwBAAAAAfsAAAAUAEQAYQB0AGEAVwBpAGQAZwBlAHQAAAAAAP////8AAABQAP///wAAAe4AAAF1" "AAAABAAAAAQAAAAIAAAACPwAAAABAAAAAgAAAAEAAAAOAFQAbwBvAGwAQgBhAHIBAAAAAP////8AA" "AAAAAAAAA==" SavedViews "AAAAAgAAAAA=" HeaderState "AAAA/wAAAAAAAAABAAAAAQAAAAAAAAAAAAAAAAAAAAAL/gMAAAAJA" "AAABAAAAGQAAAAFAAAAZAAAAAYAAABkAAAABwAAAGQAAAAIAAAAZAAAAAkAAABkAAAAAQAAAGQAAA" "ACAAAAZAAAAAMAAABkAAAAZAAAAAsBAAABAAAAAAAAAAAAAAAAZP////8AAACBAAAAAAAAAAsAAAB" "AAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAA" "AAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAQAAA" "AAAAAAkAAAAAQAAAAAAAAPoAAAAACQ=" PlotPalettes "AAAAAQAAAAEAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" "QAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=" Axes "2" TimeRange "0" ScrollingMode "1" SingleTimeAxis "1" Open "0" Ts "-1" SampleLimit "0" XAxisLabel "" ShowLegend "1" Axis { Name "Modulation signals" AutoScale 1 MinValue 0 MaxValue 1 Signals {} SignalTypes [ ] Untangle 0 KeepBaseline off BaselineValue 0 } Axis { Name "Duty cycles" 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 } Axis { Name "" AutoScale 1 MinValue 0 MaxValue 1 Signals {} Untangle 0 KeepBaseline off BaselineValue 0 } } } Connection { Type Event SrcComponent "Configuration" SrcTerminal 1 DstComponent "Control Task Trigger" DstTerminal 1 } Connection { Type Event SrcComponent "Configuration" SrcTerminal 3 Points [715, 35; 715, 245] DstComponent "TPI CB PWM" DstTerminal 4 } Connection { Type Signal SrcComponent "Sine Wave C" SrcTerminal 1 Points [385, 265] DstComponent "Mux" DstTerminal 4 } Connection { Type Signal SrcComponent "Sine Wave B" SrcTerminal 1 DstComponent "Mux" DstTerminal 3 } Connection { Type Signal SrcComponent "Sine Wave A" SrcTerminal 1 Points [385, 175] DstComponent "Mux" DstTerminal 2 } Connection { Type Signal SrcComponent "Mux" SrcTerminal 1 DstComponent "Product" DstTerminal 3 } Connection { Type Signal SrcComponent "Tunable parameter4" SrcTerminal 1 Points [410, 140] DstComponent "Product" DstTerminal 2 } Connection { Type Signal SrcComponent "Gain" SrcTerminal 2 DstComponent "Sum" DstTerminal 2 } Connection { Type Event SrcComponent "Configuration" SrcTerminal 2 Points [80, 45; 80, 90] Branch { Points [80, 145] Branch { Points [80, 200] Branch { Points [80, 255] Branch { Points [80, 310] Branch { Points [80, 365] Branch { Points [80, 420] DstComponent "V_c" DstTerminal 2 } Branch { DstComponent "V_b" DstTerminal 2 } } Branch { DstComponent "V_a" DstTerminal 2 } } Branch { DstComponent "I_c" DstTerminal 2 } } Branch { DstComponent "I_b" DstTerminal 2 } } Branch { DstComponent "I_a" DstTerminal 2 } } Branch { DstComponent "Vdc" DstTerminal 2 } } Connection { Type Signal SrcComponent "V_c" SrcTerminal 1 Points [165, 405] Branch { Points [225, 405; 225, 360] DstComponent "Mux2" DstTerminal 4 } Branch { DstComponent "Probe variable19" DstTerminal 1 } } Connection { Type Signal SrcComponent "V_b" SrcTerminal 1 Points [165, 350] Branch { DstComponent "Mux2" DstTerminal 3 } Branch { DstComponent "Probe variable18" DstTerminal 1 } } Connection { Type Signal SrcComponent "V_a" SrcTerminal 1 Points [165, 295] Branch { Points [225, 295; 225, 340] DstComponent "Mux2" DstTerminal 2 } Branch { DstComponent "Probe variable17" DstTerminal 1 } } Connection { Type Signal SrcComponent "I_c" SrcTerminal 1 Points [165, 240] Branch { Points [225, 240; 225, 195] DstComponent "Mux1" DstTerminal 4 } Branch { DstComponent "Probe variable16" DstTerminal 1 } } Connection { Type Signal SrcComponent "I_b" SrcTerminal 1 Points [165, 185] Branch { DstComponent "Mux1" DstTerminal 3 } Branch { DstComponent "Probe variable15" DstTerminal 1 } } Connection { Type Signal SrcComponent "I_a" SrcTerminal 1 Points [165, 130] Branch { Points [225, 130; 225, 175] DstComponent "Mux1" DstTerminal 2 } Branch { DstComponent "Probe variable14" DstTerminal 1 } } Connection { Type Signal SrcComponent "Mux1" SrcTerminal 1 DstComponent "Phase currents" DstTerminal 1 } Connection { Type Signal SrcComponent "Vdc" SrcTerminal 1 Points [165, 75] Branch { Points [210, 75] Branch { Points [210, 105] DstComponent "DC bus voltage" DstTerminal 1 } Branch { Points [465, 75] DstComponent "Gain1" DstTerminal 1 } } Branch { DstComponent "Probe variable13" DstTerminal 1 } } Connection { Type Signal SrcComponent "Mux2" SrcTerminal 1 DstComponent "Phase voltages" DstTerminal 1 } Connection { Type Signal SrcComponent "Constant" SrcTerminal 1 Points [575, 250] DstComponent "Sum" DstTerminal 3 } Connection { Type Signal SrcComponent "Gain1" SrcTerminal 2 DstComponent "Product1" DstTerminal 3 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 2 Points [600, 355] DstComponent "Probe variable20" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 3 DstComponent "Probe variable21" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux" SrcTerminal 4 Points [600, 375] DstComponent "Probe variable22" DstTerminal 1 } Connection { Type Signal SrcComponent "Product1" SrcTerminal 1 Points [565, 285] Branch { DstComponent "Reference phase\nvoltages" DstTerminal 1 } Branch { Points [565, 365] DstComponent "Demux" DstTerminal 1 } } Connection { Type Signal SrcComponent "Tunable parameter5" SrcTerminal 1 DstComponent "TPI RLY" DstTerminal 1 } Connection { Type Signal SrcComponent "TPI RLY" SrcTerminal 4 DstComponent "Probe variable23" DstTerminal 1 } Connection { Type Signal SrcComponent "Product" SrcTerminal 1 Points [480, 215] Branch { Points [500, 215] Branch { DstComponent "Gain" DstTerminal 1 } Branch { Points [500, 280] DstComponent "Product1" DstTerminal 2 } } Branch { Points [480, 165] DstComponent "Modulation signals\nand duty cycles" DstTerminal 1 } } Connection { Type Signal SrcComponent "Sum" SrcTerminal 1 Points [595, 215] Branch { DstComponent "TPI CB PWM" DstTerminal 1 } Branch { Points [595, 175] DstComponent "Modulation signals\nand duty cycles" DstTerminal 2 } } Annotation { Name "
\nThree-phase voltage" " source inverter built with TPI 8032 (open-loop)
\n(c)" " Imperix Switzerland 2023
" Position [415, 420] } Annotation { Name "\nADC aquisition bloc" "ks
" Position [130, 445] } Annotation { Name "\nPWM modulators with" "
\ntriangular carrier
" Position [805, 285] } Annotation { Name "\nAC precharge circui" "t control
" Position [805, 400] } } } Component { Type SignalDemux Name "Demux1" Show off Position [100, 80] Direction right Flipped on LabelPosition south Parameter { Variable "Width" Value "7" Show off } } Component { Type SignalMux Name "Mux" Show off Position [395, 80] Direction right Flipped off LabelPosition south Parameter { Variable "Width" Value "[1 3 3]" Show off } } Connection { Type Signal SrcComponent "Mux" SrcTerminal 1 Points [410, 80; 410, 140; 75, 140; 75, 80] DstComponent "Demux1" DstTerminal 1 } Connection { Type Signal SrcComponent "Plant" SrcTerminal 2 DstComponent "Mux" DstTerminal 2 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 2 DstComponent "Controller" DstTerminal 1 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 3 DstComponent "Controller" DstTerminal 3 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 4 DstComponent "Controller" DstTerminal 4 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 5 DstComponent "Controller" DstTerminal 5 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 6 DstComponent "Controller" DstTerminal 6 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 7 DstComponent "Controller" DstTerminal 7 } Connection { Type Signal SrcComponent "Demux1" SrcTerminal 8 DstComponent "Controller" DstTerminal 8 } Connection { Type Signal SrcComponent "Controller" SrcTerminal 2 DstComponent "Plant" DstTerminal 1 } Connection { Type Signal SrcComponent "Plant" SrcTerminal 4 DstComponent "Mux" DstTerminal 3 } Connection { Type Signal SrcComponent "Plant" SrcTerminal 3 DstComponent "Mux" DstTerminal 4 } Annotation { Name "\nThree-phase voltage sou" "rce inverter built with TPI 8032 (open-loop)
\n(c) Imp" "erix Switzerland 2023
" Position [245, 160] } } } DemoSignature "kGgGTdNf6+jmci+GMPUqQuz5zZcaTyf9waC+osoR2cw="