Model { Name "tc" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime ".0010" SolverMode "Auto" Solver "ode45" RelTol "1e-4" AbsTol "auto" Refine "5" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "StructureWithTime" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off Created "Sun Oct 20 15:58:17 2002" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "dad" ModifiedDateFormat "%" LastModifiedDate "Fri May 30 18:00:29 2003" ModelVersionFormat "1.%" ConfigurationManager "none" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "tc" Location [4, 42, 1284, 898] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom off ReportName "simulink-default.rpt" Block { BlockType Inport Name "In1" Position [240, 128, 270, 142] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Gain Name "Gain2" Position [590, 530, 635, 570] Gain "1/l2e" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain3" Position [595, 665, 645, 705] Orientation "left" Gain "1/c2" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain4" Position [595, 610, 645, 650] Orientation "left" Gain "600" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain5" Position [605, 445, 650, 485] Gain "n" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gainc1" Position [485, 400, 530, 440] Orientation "left" Gain "1/c1e" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gainc2" Position [210, 570, 255, 610] Orientation "left" Gain "300*n" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [470, 47, 500, 78] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [830, 497, 860, 528] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product2" Ports [2, 1, 0, 0, 0] Position [775, 322, 805, 353] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product3" Ports [2, 1, 0, 0, 0] Position [30, 97, 60, 128] Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Saturate Name "Saturation" Position [495, 260, 525, 290] Orientation "left" UpperLimit "vd" LowerLimit "-vd" } Block { BlockType Signum Name "Sign" Position [290, 575, 320, 605] Orientation "left" } Block { BlockType SignalGenerator Name "Signal\nGenerator1" Position [15, 275, 45, 305] WaveForm "square" Amplitude "drv" Frequency "f" Units "rad/sec" } Block { BlockType Step Name "Step" Position [65, 465, 95, 495] Time ".00005" Before "1" After "0" SampleTime "-1" } Block { BlockType Sum Name "Sum" Ports [4, 1, 0, 0, 0] Position [290, 145, 320, 175] ShowName off IconShape "round" Inputs "|+--+" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [625, 395, 645, 415] Orientation "down" NamePlacement "alternate" ShowName off IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum2" Ports [3, 1, 0, 0, 0] Position [440, 540, 460, 560] ShowName off IconShape "round" Inputs "|---" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum4" Ports [2, 1, 0, 0, 0] Position [400, 165, 420, 185] Orientation "up" ShowName off IconShape "round" Inputs "++|" SaturateOnIntegerOverflow on } Block { BlockType ToWorkspace Name "To Workspace" Position [510, 735, 570, 765] VariableName "v2" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace1" Position [185, 405, 245, 435] Orientation "left" VariableName "v1" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace10" Position [150, 140, 210, 170] VariableName "drive" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace11" Position [975, 500, 1035, 530] VariableName "loss2" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace12" Position [690, 450, 750, 480] VariableName "icurrent" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace13" Position [600, 15, 660, 45] VariableName "igbtp" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace14" Position [310, 105, 370, 135] Orientation "left" VariableName "igbtdrop2" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace3" Position [800, 245, 860, 275] VariableName "current" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace4" Position [115, 40, 175, 70] Orientation "left" VariableName "igbtdrop" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace5" Position [880, 405, 940, 435] VariableName "current2" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace6" Position [200, 265, 260, 295] VariableName "vdrive" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace7" Position [1060, 265, 1120, 295] VariableName "ip" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace8" Position [1125, 315, 1185, 345] VariableName "ie" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType ToWorkspace Name "To Workspace9" Position [605, 80, 665, 110] VariableName "loss" Buffer "inf" Decimation "1" SampleTime "-1" SaveFormat "Matrix" } Block { BlockType Integrator Name "c1\n" Ports [1, 1, 0, 0, 0] Position [395, 405, 425, 435] Orientation "left" ExternalReset "none" InitialConditionSource "internal" InitialCondition "n*foffline" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "c2\n" Ports [1, 1, 0, 0, 0] Position [515, 675, 545, 705] Orientation "left" ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Gain Name "gainl1\n" Position [430, 303, 480, 347] Gain "1/l1e" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "gainl1\n1" Position [70, 198, 120, 242] Gain "1" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "gainl1\n3" Position [650, 238, 700, 282] Gain "n" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "gainl1\n4" Position [445, 183, 495, 227] Orientation "left" Gain "r" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "gainl1\n5" Position [300, 33, 350, 77] Orientation "left" Gain "1/n" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "l1\n" Ports [1, 1, 0, 0, 0] Position [545, 310, 575, 340] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "l1\n1" Ports [1, 1, 0, 0, 0] Position [1045, 315, 1075, 345] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "l1\n3" Ports [1, 1, 0, 0, 0] Position [550, 50, 580, 80] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "l1\n4" Ports [1, 1, 0, 0, 0] Position [910, 500, 940, 530] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Integrator Name "l2" Ports [1, 1, 0, 0, 0] Position [705, 535, 735, 565] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Outport Name "Out1" Position [700, 418, 730, 432] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "Out2" Position [855, 593, 885, 607] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "gainl1\n" SrcPort 1 DstBlock "l1\n" DstPort 1 } Line { SrcBlock "l1\n3" SrcPort 1 DstBlock "To Workspace9" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "l2" SrcPort 1 Points [20, 0] Branch { Points [0, -145] DstBlock "Sum1" DstPort 2 } Branch { Points [35, 0] Branch { Points [0, 50] Branch { Points [0, 85] DstBlock "Gain3" DstPort 1 } Branch { Points [0, 30] DstBlock "Gain4" DstPort 1 } } Branch { Points [20, 0] DstBlock "Product1" DstPort 2 } Branch { Points [0, -130] DstBlock "To Workspace5" DstPort 1 } Branch { Points [45, 0] DstBlock "Out2" DstPort 1 } } } Line { SrcBlock "Gain2" SrcPort 1 Points [25, 0] Branch { Points [0, 40] DstBlock "Sign" DstPort 1 } Branch { DstBlock "l2" DstPort 1 } } Line { SrcBlock "Gain3" SrcPort 1 Points [0, 5] DstBlock "c2\n" DstPort 1 } Line { SrcBlock "Sign" SrcPort 1 DstBlock "Gainc2" DstPort 1 } Line { SrcBlock "c2\n" SrcPort 1 Points [0, -45; -15, 0] Branch { Points [-66, 0] DstBlock "Sum2" DstPort 2 } Branch { DstBlock "To Workspace" DstPort 1 } } Line { SrcBlock "Gain4" SrcPort 1 Points [0, -5; -85, 0] Branch { Points [-55, 0] DstBlock "Sum2" DstPort 3 } Branch { Points [0, -120] DstBlock "Product1" DstPort 1 } } Line { SrcBlock "Product1" SrcPort 1 DstBlock "l1\n4" DstPort 1 } Line { SrcBlock "l1\n4" SrcPort 1 DstBlock "To Workspace11" DstPort 1 } Line { SrcBlock "gainl1\n5" SrcPort 1 DstBlock "To Workspace4" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [0, 0] Branch { Points [-65, 0; 0, 35; -61, 0] DstBlock "Sum" DstPort 3 } Branch { Points [0, -105] Branch { DstBlock "Product" DstPort 1 } Branch { DstBlock "gainl1\n5" DstPort 1 } } } Line { SrcBlock "In1" SrcPort 1 Points [9, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [0, -20; 220, 0] Branch { Points [0, -40] DstBlock "To Workspace7" DstPort 1 } Branch { DstBlock "l1\n1" DstPort 1 } } Line { SrcBlock "l1\n1" SrcPort 1 DstBlock "To Workspace8" DstPort 1 } Line { SrcBlock "c1\n" SrcPort 1 Points [-115, 0] Branch { DstBlock "To Workspace1" DstPort 1 } Branch { DstBlock "Sum" DstPort 2 } } Line { SrcBlock "Sum" SrcPort 1 Points [0, 165; 40, 0] Branch { DstBlock "gainl1\n" DstPort 1 } Branch { Points [0, 213] DstBlock "Sum2" DstPort 1 } } Line { SrcBlock "Sum1" SrcPort 1 Points [-45, 0] Branch { DstBlock "Gainc1" DstPort 1 } Branch { DstBlock "Gain5" DstPort 1 } Branch { Points [0, -90; 15, 0] Branch { DstBlock "Product2" DstPort 1 } Branch { Points [0, -125; -55, 0] Branch { Points [0, 70] DstBlock "Saturation" DstPort 1 } Branch { Points [-15, 0] Branch { DstBlock "gainl1\n4" DstPort 1 } Branch { Points [0, -70; -80, 0] DstBlock "Product" DstPort 2 } } } } } Line { SrcBlock "gainl1\n1" SrcPort 1 Points [10, 0] Branch { DstBlock "To Workspace10" DstPort 1 } Branch { Points [0, 60] DstBlock "To Workspace6" DstPort 1 } Branch { Points [-10, 0; 0, 140; 635, 0] DstBlock "Product2" DstPort 2 } Branch { Points [0, -30] DstBlock "Sum" DstPort 4 } } Line { SrcBlock "Step" SrcPort 1 Points [0, -375] DstBlock "Product3" DstPort 1 } Line { SrcBlock "Signal\nGenerator1" SrcPort 1 Points [0, -70] Branch { Points [0, -100] DstBlock "Product3" DstPort 2 } Branch { DstBlock "gainl1\n1" DstPort 1 } } Line { SrcBlock "gainl1\n3" SrcPort 1 DstBlock "To Workspace3" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0] Branch { DstBlock "l1\n3" DstPort 1 } Branch { Points [0, -35] DstBlock "To Workspace13" DstPort 1 } } Line { SrcBlock "Saturation" SrcPort 1 Points [-105, 0] DstBlock "Sum4" DstPort 1 } Line { SrcBlock "gainl1\n4" SrcPort 1 Points [-5, 0] Branch { Points [-25, 0] DstBlock "Sum4" DstPort 2 } Branch { Points [0, -85] DstBlock "To Workspace14" DstPort 1 } } Line { SrcBlock "l1\n" SrcPort 1 Points [0, -65; 50, 0; 0, 5] Branch { Points [0, -5] DstBlock "gainl1\n3" DstPort 1 } Branch { Points [0, 115] DstBlock "Sum1" DstPort 1 } } Line { SrcBlock "Gain5" SrcPort 1 Points [15, 0] Branch { DstBlock "To Workspace12" DstPort 1 } Branch { Points [0, -40] DstBlock "Out1" DstPort 1 } } Line { SrcBlock "Gainc1" SrcPort 1 DstBlock "c1\n" DstPort 1 } } }