Sei sulla pagina 1di 48

Model { Name "lavi" Version 6.3 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.

3" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Thu Feb 01 15:07:08 2007" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%<Auto>" LastModifiedBy "eee" ModifiedDateFormat "%<Auto>" LastModifiedDate "Tue Feb 06 14:50:16 2007" ModelVersionFormat "1.%<AutoIncrement:3>" ConfigurationManager "None" LinearizationMsg "none"

Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on StrictBusMsg "Warning" ProdHWDeviceType "32-bit Generic" ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.1.0" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.1.0" StartTime "0.2" StopTime "1" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" RelTol "1e-3" SolverMode "Auto" Solver "ode23tb" SolverName "ode23tb" ZeroCrossControl "UseLocalSettings"

AlgebraicLoopSolver SolverResetMethod PositivePriorityOrder AutoInsertRateTranBlk SampleTimeConstraint RateTranMode

"TrustRegion" "Fast" off off "Unconstrained" "Deterministic"

} Simulink.DataIOCC { $ObjectID 3 Version "1.1.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on InspectSignalLogs off SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Array { Type "Cell" Dimension 5 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "InitFltsAndDblsToZero" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } Version "1.1.0" BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnforceIntegerDowncast on ExpressionFolding on FoldNonRolledExpr on LocalBlockOutputs on ParameterPooling on RollThreshold 5 SystemCodeInlineAuto off

StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off EfficientFloat2IntCast off OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on } Simulink.DebuggingCC { $ObjectID 5 Version "1.1.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off

ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" } Simulink.HardwareCC { $ObjectID 6 Version "1.1.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.1.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Array { Type "Cell" Dimension 1 Cell "IncludeHyperlinkInReport" PropName "DisabledProps" } Version "1.1.0" SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" TemplateMakefile "grt_default_tmf"

GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Array { Type "Cell" Dimension 9 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" PropName "DisabledProps" } Version "1.1.0" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on CustomSymbolStr "$R$N$M" MangleLength 1 DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC"

$ObjectID 10 Array { Type "Cell" Dimension 12 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" PropName "DisabledProps" } Version "1.1.0" TargetFcnLib "ansi_tfl_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off IsPILTarget off ModelReferenceCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName } } PropName } Name SimulationMode "Components" "Configuration" "normal" "Components"

"ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "arial" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Clock DisplayTime off } Block { BlockType ComplexToMagnitudeAngle Output "Magnitude and angle" SampleTime "-1" } Block { BlockType Constant Value "1" VectorParams1D on OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" SampleTime "inf" } Block { BlockType DataTypeConversion OutDataTypeMode "Inherit via back propagation" OutDataType "sfix(16)" OutScaling "2^0" LockScale off ConvertRealWorld "Real World Value (RWV)" RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType Derivative LinearizePole "inf"

CurrentDlgPage } PropName

"Solver"

} Block { BlockType DigitalClock SampleTime "1" } Block { BlockType DiscreteIntegrator IntegratorMethod "Integration: Forward Euler" gainval "1.0" ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" InitialConditionMode "State and output" SampleTime "1" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow off LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off IgnoreLimit off StateMustResolveToSignalObject off RTWStateStorageClass "Auto" } Block { BlockType EnablePort StatesWhenEnabling "held" ShowOutputPort off ZeroCross on } Block { BlockType From IconDisplay "Tag" } Block { BlockType Fcn Expr "sin(u[1])" SampleTime "-1" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" }

Block { BlockType Goto IconDisplay "Tag" } Block { BlockType Ground } Block { BlockType SignalConversion OverrideOpt off } Block { BlockType HitCross HitCrossingOffset "0" HitCrossingDirection "either" ShowOutputPort on ZeroCross on SampleTime "-1" } Block { BlockType InitialCondition Value "1" SampleTime "-1" } Block { BlockType Inport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on } Block { BlockType Logic Operator "AND" Inputs "2" AllPortsSameDT on

OutDataTypeMode "Logical (see Configuration Parameters: Optimiza" "tion)" LogicDataType "uint(8)" SampleTime "-1" } Block { BlockType Lookup InputValues "[-4:5]" OutputValues " rand(1,10)-0.5" LookUpMeth "Interpolation-Extrapolation" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" LUTDesignTableMode "Redesign Table" LUTDesignDataSource "Block Dialog" LUTDesignFunctionName "sqrt(x)" LUTDesignUseExistingBP on LUTDesignRelError "0.01" LUTDesignAbsError "1e-6" } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType PMComponent SubClassName "unknown" } Block { BlockType PMIOPort } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" InputSameDT on

OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType RealImagToComplex Input "Real and imag" ConstantPart "0" SampleTime "-1" } Block { BlockType Relay OnSwitchValue "eps" OffSwitchValue "eps" OnOutputValue "1" OffOutputValue "0" OutputDataTypeScalingMode "All ports same datatype" OutDataType "sfix(16)" OutScaling "2^0" ConRadixGroup "Use specified scaling" ZeroCross on SampleTime "-1" } Block { BlockType RelationalOperator Operator ">=" InputSameDT on LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza" "tion)" LogicDataType "uint(8)" ZeroCross on SampleTime "-1" } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on SampleTime "-1" } Block { BlockType Scope ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off

SampleTime "-1" } Block { BlockType Selector InputType "Vector" IndexMode "One-based" ElementSrc "Internal" Elements "1" RowSrc "Internal" Rows "1" ColumnSrc "Internal" Columns "1" InputPortWidth "-1" IndexIsStartValue off OutputPortSize "1" } Block { BlockType "S-Function" FunctionName "system" SFunctionModules "''" PortCounts "[]" } Block { BlockType Sin SineType "Time based" TimeSource "Use simulation time" Amplitude "1" Bias "0" Frequency "1" Phase "0" Samples "10" Offset "0" SampleTime "-1" VectorParams1D on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" }

Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" InputSameDT on OutDataTypeMode "Inherit via internal rule" RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" } Block { BlockType Terminator } Block { BlockType TransportDelay DelayTime "1" InitialOutput "0" BufferSize "1024" FixedBuffer off TransDelayFeedthrough off PadeOrder "0" } Block { BlockType Trigonometry Operator "sin" OutputSignalType "auto" SampleTime "-1" } Block { BlockType UnitDelay X0 "0" SampleTime "1" StateMustResolveToSignalObject off RTWStateStorageClass "Auto" } } AnnotationDefaults { HorizontalAlignment VerticalAlignment ForegroundColor BackgroundColor DropShadow FontName FontSize FontWeight FontAngle } LineDefaults { FontName FontSize FontWeight FontAngle } System { Name Location Open ModelBrowserVisibility ModelBrowserWidth "center" "middle" "black" "white" off "arial" 10 "normal" "normal" "arial" 9 "normal" "normal" "lavi" [2, 82, 773, 550] on off 200

ScreenColor PaperOrientation PaperPositionMode PaperType PaperUnits ZoomFactor ReportName Block { BlockType Name Ports Position Orientation NamePlacement SourceBlock "ete\nPI Controller" SourceType ShowPortLabels Kp Ki Par_Limits Init Ts } Block { BlockType Name Ports Position Orientation NamePlacement SourceBlock "Analyzer" SourceType ShowPortLabels f1 n seq } Block { BlockType Name Ports Position SourceBlock "Analyzer" SourceType ShowPortLabels f1 n seq } Block { BlockType Name Position Orientation } Block { BlockType

"white" "landscape" "auto" "usletter" "inches" "100" "simulink-default.rpt" Reference "\n" [1, 1] [285, 516, 320, 554] "left" "alternate" "powerlib_extras/Discrete \nControl Blocks/Discr" "Discrete PI Controller" on "0.5" "500" "[1e6 -1e6]" "0" "50e-6" Reference "3-P" [1, 2] [460, 464, 515, 511] "left" "alternate" "powerlib_extras/Measurements/3-Phase\nSequence " "3-Phase Sequence analyzer" on "50" "1" "Positive" Reference "3-P1" [1, 2] [425, 274, 480, 321] "powerlib_extras/Measurements/3-Phase\nSequence " "3-Phase Sequence analyzer" on "50" "1" "Positive" Constant "Constant" [365, 555, 395, 585] "up" Reference

Name Ports Position Orientation SourceBlock SourceType ShowPortLabels Amplitude Measurements } Block { BlockType Name Ports Position Orientation NamePlacement SourceBlock "ete\nPWM Generator" SourceType ShowPortLabels GeneratorMode Fc Ts Internal mIndex Freq Phase } Block { BlockType Name Ports Position Orientation ShowName SourceBlock SourceType PhysicalDomain SubClassName LeftPortType RightPortType LConnTagsString } Block { BlockType Name Ports Position Orientation ShowName SourceBlock SourceType PhysicalDomain SubClassName LeftPortType RightPortType LConnTagsString } Block {

"D" [0, 0, 0, 0, 0, 1, 1] [15, 390, 35, 425] "up" "powerlib/Electrical\nSources/DC Voltage Source" "DC Voltage Source" on "19e3" "None" Reference "Dis2" [1, 1] [305, 452, 365, 478] "left" "alternate" "powerlib_extras/Discrete \nControl Blocks/Discr" "Discrete PWM Generator" on "3-arm bridge (6 pulses)" "50" "5e-6" off "1" "50" "90" Reference "Ground1" [0, 0, 0, 0, 0, 1] [749, 70, 771, 95] "down" off "powerlib/Elements/Ground" "Ground" "powersysdomain" "unknown" "p1" "p1" "a" Reference "Ground2" [0, 0, 0, 0, 0, 1] [749, 210, 771, 235] "down" off "powerlib/Elements/Ground" "Ground" "powersysdomain" "unknown" "p1" "p1" "a"

BlockType Name Ports Position Orientation NamePlacement AttributesFormatString SourceBlock SourceType PhysicalDomain SubClassName LeftPortType RightPortType LConnTagsString RConnTagsString BranchType Resistance Inductance SetiL0 InitialCurrent Capacitance Setx0 InitialVoltage Measurements } Block { BlockType Name Ports Position SourceBlock SourceType PhysicalDomain SubClassName LeftPortType RightPortType LConnTagsString RConnTagsString BranchType Resistance Inductance SetiL0 InitialCurrent Capacitance Setx0 InitialVoltage Measurements } Block { BlockType Name Ports Position Floating Location Open NumInputPorts List { ListType axes1

Reference "P" [0, 0, 0, 0, 0, 1, 1] [144, 380, 166, 415] "down" "alternate" "\\n" "powerlib/Elements/Parallel RLC Branch" "Parallel RLC Branch" "powersysdomain" "unknown" "p1" "p1" "a" "__new0" "C" "[]" "[]" off "0" "750e-6" on "19e3" "None" Reference "S" [0, 0, 0, 0, 0, 1, 1] [70, 371, 85, 399] "powerlib/Elements/Series RLC Branch" "Series RLC Branch" "powersysdomain" "unknown" "p1" "p1" "__new0" "__new0" "R" "5e-2" "1e-3" off "0" "1e-6" off "0" "None" Scope "Scope1" [2] [520, 381, 550, 414] off [5, 44, 797, 549] off "2" AxesTitles "%<SignalLabel>"

axes2 } TimeRange YMin YMax DataFormat SampleTime

"%<SignalLabel>" "0.7 " "0.3~0.3" "1.05~1.05" "StructureWithTime" "0"

} Block { BlockType SubSystem Name "Subsystem1" Ports [1, 1] Position [175, 506, 250, 564] Orientation "left" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "Subsystem1" Location [-1, 89, 739, 425] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "dlata" Position [55, 228, 85, 242] IconDisplay "Port number" } Block { BlockType Constant Name "-120*(pi/180)" Position [260, 210, 290, 240] Value "-120*(pi/180)" } Block { BlockType Constant Name "120*(pi/180)" Position [260, 275, 290, 305] Value "120*(pi/180)" } Block { BlockType Gain Name "2pi50" Position [140, 270, 170, 300] Gain "2*pi*50" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType DigitalClock

Name Position SampleTime

"Digital Clock" [25, 288, 90, 312] "5e-6"

} Block { BlockType Mux Name "Mux" Ports [3, 1] Position [660, 186, 665, 224] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Product Name "Product" Ports [2, 1] Position [575, 112, 605, 143] InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [575, 187, 605, 218] InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" Ports [2, 1] Position [575, 262, 605, 293] InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Scope Name "Scope2" Ports [1] Position [355, 49, 385, 81] Floating off Location [5, 89, 797, 594] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%<SignalLabel>" } YMin "0" YMax "25" SaveName "ScopeData2" DataFormat "StructureWithTime" SampleTime "0" } Block {

BlockType Sum Name "Sum1" Ports [2, 1] Position [355, 265, 375, 285] ShowName off IconShape "round" Inputs " ++" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [200, 160, 220, 180] ShowName off IconShape "round" Inputs " ++" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [365, 185, 385, 205] ShowName off IconShape "round" Inputs " ++" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Tn" Ports [1, 1] Position [460, 120, 490, 150] } Block { BlockType Trigonometry Name "Tn1" Ports [1, 1] Position [465, 185, 495, 215] } Block { BlockType Trigonometry Name "Tn2" Ports [1, 1] Position [470, 270, 500, 300] } Block { BlockType Constant Name "mag" Position [575, 30, 605, 60] Orientation "left" NamePlacement "alternate" }

Block { BlockType Gain Name "pi/180" Position [130, 200, 160, 230] Gain "pi/180" ParameterDataTypeMode "Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "vinv_ref" Position [685, 198, 715, 212] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Tn1" SrcPort 1 Points [55, 0; 0, 10] DstBlock "Product1" DstPort 2 } Line { SrcBlock "Tn" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "vinv_ref" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [15, 0; 0, -65] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [15, 0; 0, 65] DstBlock "Mux" DstPort 1 } Line { SrcBlock "dlata" SrcPort 1 Points [10, 0; 0, -20] DstBlock "pi/180"

DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { Points DstBlock DstPort }

1 "Digital Clock" 1 [15, 0; 0, -15] "2pi50" 1 "2pi50" 1 [35, 0] "Sum2" 2 "pi/180" 1 [10, 0; 0, -45] "Sum2" 1 "120*(pi/180)" 1 [0, 10] "Sum1" 2 "Sum1" 1 [35, 0; 0, 5; 40, 0] "Tn2" 1 "-120*(pi/180)" 1 [0, -5] "Sum4" 2 "Sum4" 1 [30, 0; 0, 5] "Tn1" 1 "Sum2" 1 [0, 0; 90, 0] [0, 105] "Sum1" 1

Branch { Points Branch { Points Branch { Points DstBlock DstPort } Branch { Points DstBlock DstPort } } Branch { DstBlock DstPort } } } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { Points DstBlock DstPort } Branch { Points Branch { DstBlock DstPort } Branch { Points DstBlock DstPort } } } } } Block { BlockType Name Ports Position Orientation NamePlacement ShowName

[35, 0] [10, 0; 0, -30; 20, 0] [-40, 0] "Scope2" 1 [65, 0] "Tn" 1

"Sum4" 1

"Tn2" 1 [15, 0; 0, -5; 15, 0; 0, 5] "Product2" 2 "mag" 1 [-20, 0; 0, 70] [0, 5] "Product" 1 [0, 80] "Product1" 1 [0, 75] "Product2" 1

Sum "Sum" [2, 1] [370, 500, 390, 520] "left" "alternate" off

IconShape "round" Inputs " -+" InputSameDT off OutDataTypeMode "Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Name Position Orientation NamePlacement } Block { BlockType Name Ports Position AttributesFormatString SourceBlock "h" SourceType PhysicalDomain SubClassName LeftPortType RightPortType LConnTagsString RConnTagsString BranchType Resistance Inductance Capacitance Measurements } Block { BlockType Name Ports Position AttributesFormatString SourceBlock "h" SourceType PhysicalDomain SubClassName LeftPortType RightPortType LConnTagsString RConnTagsString BranchType Resistance Inductance Capacitance Measurements } Block { BlockType Name Ports Position "Three-Phase Series RLC Branch" "powersysdomain" "unknown" "p1" "p1" "A B C" "A B C" "RL" "0.05" "25e-3" "1e-6" "None" Reference "Three-Phase\nTransformer\n(Three Windings)" [0, 0, 0, 0, 0, 3, 6] [185, 100, 260, 195] "Three-Phase Series RLC Branch" "powersysdomain" "unknown" "p1" "p1" "A B C" "A B C" "RL" "25.1" "300e-3" "1e-6" "None" Reference "Three-Phase\nSeries RLC Branch2" [0, 0, 0, 0, 0, 3, 3] [610, 192, 680, 238] "\\n" "powerlib/Elements/Three-Phase\nSeries RLC Branc" Terminator "Te" [425, 524, 435, 536] "left" "alternate" Reference "Three-Phase\nSeries RLC Branch1" [0, 0, 0, 0, 0, 3, 3] [655, 52, 725, 98] "\\n" "powerlib/Elements/Three-Phase\nSeries RLC Branc"

SourceBlock "ree Windings)" SourceType ShowPortLabels NominalPower Winding1Connection Winding1 Winding2Connection Winding2 Winding3Connection Winding3 SetSaturation Rm Lm Saturation Hysteresis DataFile SetInitialFlux InitialFluxes Measurements TransfoNumber MoreParameters BreakLoop } Block { BlockType Name Ports Position BackgroundColor SourceBlock "ent" SourceType ShowPortLabels VoltageMeasurement SetLabelV LabelV Vpu CurrentMeasurement SetLabelI LabelI Ipu Pbase Vbase OutputType PhasorSimulation PSBequivalent } Block { BlockType Name Ports Position Orientation BackgroundColor SourceBlock "ent" SourceType ShowPortLabels VoltageMeasurement

"powerlib/Elements/Three-Phase\nTransformer\n(Th" "Three-Phase Transformer (Three Windings)" on "[ 100e6 , 50 ]" "Yg" "[230e3 , 0.002 , 0.08 ]" "Yg" "[11e3 , 0.002 , 0.08 ]" "Yg" "[11e3 , 0.002 , 0.08 ]" off "500" "500" "[ 0,0 ; 0.0024,1.2 ; 1.0,1.52 ]" off "'hysteresis'" off "[0.8 -0.8 0.7]" "None" "0" off off Reference "Three-Phase\nV-I Measurement" [0, 1, 0, 0, 0, 3, 3] [360, 107, 370, 208] "black" "powerlib/Measurements/Three-Phase\nV-I Measurem" "Three-Phase VI Measurement" on "phase-to-ground" off "Vabc" on "no" off "Iabc" on "100e6" "11e3" "Complex" off "0" Reference "Three-Phase\nV-I Measurement1" [0, 1, 0, 0, 0, 3, 3] [269, 340, 341, 350] "up" "black" "powerlib/Measurements/Three-Phase\nV-I Measurem" "Three-Phase VI Measurement" on "phase-to-ground"

SetLabelV LabelV Vpu CurrentMeasurement SetLabelI LabelI Ipu Pbase Vbase OutputType PhasorSimulation PSBequivalent } Block { BlockType Name Ports Position Orientation NamePlacement SourceBlock SourceType ShowPortLabels InitialState SwitchA SwitchB SwitchC SwitchTimes External BreakerResistance SnubberResistance SnubberCapacitance Measurements } Block { BlockType Name Ports Position Orientation NamePlacement SourceBlock SourceType ShowPortLabels InitialState SwitchA SwitchB SwitchC SwitchTimes External BreakerResistance SnubberResistance SnubberCapacitance Measurements } Block { BlockType Name Ports Position

off "Vabc" on "no" off "Iabc" on "100e6" "11e3" "Complex" off "0" Reference "Three-Phase Breaker1" [0, 0, 0, 0, 0, 3, 3] [510, 189, 565, 251] "left" "alternate" "powerlib/Elements/Three-Phase Breaker" "Three-Phase Breaker" on "open" on on on "[0.4 0.6]" off "0.001" "1e6" "inf" "None" Reference "Three-Phase Breaker2" [0, 0, 0, 0, 0, 3, 3] [284, 235, 346, 290] "down" "alternate" "powerlib/Elements/Three-Phase Breaker" "Three-Phase Breaker" on "closed" off off off "[0.4 0.6]" off "0.001" "1e6" "inf" "None" Reference "Three-Phase Source" [0, 0, 0, 0, 0, 0, 3] [15, 106, 100, 164]

SourceBlock SourceType ShowPortLabels Voltage PhaseAngle Frequency InternalConnection SpecifyImpedance Resistance Inductance ShortCircuitLevel BaseVoltage XRratio

"powerlib/Electrical\nSources/Three-Phase Source" "Three-Phase Source" on "230e3" "0" "50" "Yg" off "0.1" "758e-3" "100e6" "25e3" "7"

} Block { BlockType Reference Name "Universal B" Ports [1, 0, 0, 0, 0, 3, 2] Position [195, 362, 250, 438] Orientation "left" NamePlacement "alternate" LinkData { BlockName "Uswitch" DialogParameters { GotoTag "tp182559" } } SourceBlock "powerlib/Power\nElectronics/Universal Bridge" SourceType "Universal Bridge" ShowPortLabels on Arms "3" SnubberResistance "1e5" SnubberCapacitance "inf" Device "IGBT / Diodes" Ron "1e-3" Lon "0" ForwardVoltages "[ 0 0 ]" ForwardVoltage "0" GTOparameters "[ 10e-6 , 20e-6 ]" IGBTparameters "[ 1e-6 , 2e-6 ]" Measurements "None" converterType "Rectifier" } Block { BlockType SubSystem Name "powergui" Ports [] Position [15, 15, 75, 39] AncestorBlock "powerlib/powergui" CopyFcn "powergui('Copy_Callback',gcb,0,[]);" DeleteFcn "powergui('Copy_Callback',gcb,1,[]);powergui('Cl" "ose_Callback',gcb,[],[]);\n " " " ModelCloseFcn "powergui('Close_Callback',gcb,[],[]);" PreSaveFcn "try \nclose(get_pa" "ram(gcbh,'userdata'))\nend " NameChangeFcn "handles = get_param(gcb,'UserData');if ~isempty" "(handles);delete(handles.powergui);end" OpenFcn "if (power_openblockproxy ('secondary'))\npowerg" "ui(gcb,'PM')\nend;"

FontSize 11 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off MaskType "PSB option menu block" MaskHelp "web(psbhelp)" MaskPromptString "General parameter: Simulation Mode General par" "ameter: Sample Time General parameter: Echo Messages Initial electrical stat" "es status Impedance tool: Frequency Range Impedance tool: Log impedance Imped" "ance tool: log Frequency Impedance tool: grid Impedance tool: Save Data To Wo" "rkspace Impedance tool: Variable Name Structure Name (PSBFFTSCOPE) ZoomFFT (P" "SBFFTSCOPE) Start Time (PSBFFTSCOPE) Cycles (PSBFFTSCOPE) Display style (PSBF" "FTSCOPE) Fundamental (PSBFFTSCOPE) Frequency Axis (PSBFFTSCOPE) Max Frequency" " (PSBFFTSCOPE) Frequency indice (PSBLOADFLOW) Frequency indice (STEADYSTATE)" " RMS display (STEADYSTATE) Display Results Sample time (s): General paramet" "er: phasor frequency Phasor simulation" MaskStyleString "popup(Continuous Discrete Phasor),edit,checkbox" ",popup(blocks steady zero),edit,checkbox,checkbox,checkbox,checkbox,edit,edit" ",checkbox,edit,edit,edit,edit,checkbox,edit,edit,edit,edit,checkbox,edit,edit" ",checkbox" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on" MaskCallbackString " " MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,,,,,,,,,,,,,,,,," MaskVariables "SimulationMode=@1;SampleTime=@2;echomessages=@3" ";x0status=@4;Frange=@5;Ylog=@6;Xlog=@7;ShowGrid=@8;save=@9;variable=&10;struc" "ture=&11;ZoomFFT=@12;StartTime=@13;cycles=@14;DisplayStyle=&15;fundamental=@1" "6;FreqAxis=@17;MaxFrequency=@18;frequencyindice=@19;frequencyindicesteady=@20" ";RmsSteady=@21;display=@22;Ts=@23;frequency=@24;methode=@25;" MaskInitialization "powerlibroot = which('powersysdomain');\nPSBroo" "t = powerlibroot(1:end-16);\n%\nswitch SimulationMode\n case 1\n" " message=sprintf('Continuous');\n case 2\n messa" "ge=sprintf('Discrete,\\nTs = %.4g s.',SampleTime);\n case 3\n " " message=sprintf('Phasors');\nend\nif strcmp(bdroot,'powerlib')\n mes" "sage='powergui';\nend\npower_initmask();" MaskDisplay "disp(message)" MaskSelfModifiable on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "Discrete 1e-5 off blocks [0:2:500] off on off o" "ff ZData on 0.0 1 1 60 off 1000 1 1 1 off 0 60 off" MaskTabNameString ",,,,,,,,,,,,,,,,,,,,,,,," System { Name "powergui" Location [137, 405, 682, 583] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto"

PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "EquivalentModel1" Ports [] Position [15, 70, 143, 105] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off MaskInitialization "SPS = get_param(gcbh,'UserData');\nif isemp" "ty(SPS)\n Ts=1;\n A=0;\n B=0;\n C=0;\n D=0;\n x0=0;\n " " SwitchResistance=1;\n SwitchType=1;\n SwitchGateInitialValue=1;\n " "OutputsToResetToZero=1;\nelse\n Ts=SPS.fixedstep;\n A=SPS.Adisc" "rete;\n B=SPS.Bdiscrete;\n C=SPS.Cdiscrete;\n D=SPS.Ddiscrete;\n " "x0=SPS.x0discrete;\n SwitchResistance=SPS.SwitchResistance;\n SwitchTyp" "e=SPS.SwitchType;\n SwitchGateInitialValue=SPS.SwitchGateInitialValue;\n " " OutputsToResetToZero=SPS.YSwitchCurrent;\nend" MaskDisplay "color('orange')\ndisp('EQUIVALENT CIRCUIT')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "EquivalentModel1" Location [279, 434, 958, 675] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Gates" Ports [0, 1] Position [15, 112, 80, 138] FontName "Arial" FontSize 14 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "Gates" Location [20, 127, 741, 886] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100"

Block { BlockType Name Position GotoTag } Block { BlockType Name Position GotoTag } Block { BlockType Name Position GotoTag } Block { BlockType Name Position GotoTag } Block { BlockType Name Position GotoTag } Block { BlockType Name Position GotoTag } Block { BlockType Name Position GotoTag } Block { BlockType Name Ports Position ShowName Inputs DisplayOption } Block { BlockType Name Position IconDisplay BusOutputAsStruct } Line { SrcBlock

From "From1" [15, 21, 85, 49] "tp325192" From "From2" [15, 66, 85, 94] "tp325198" From "From3" [15, 111, 85, 139] "tp325173" From "From4" [15, 156, 85, 184] "tp325179" From "From5" [15, 201, 85, 229] "tp325185" From "From6" [15, 246, 85, 274] "tp325167" From "From7" [15, 291, 85, 319] "tp324479" Mux "Mux" [7, 1] [325, 270, 330, 610] off "[1 1 1 1 1 1 6]" "bar" Outport "gates" [390, 433, 420, 447] "Port number" off "Mux"

SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } } } Block { BlockType Name Ports Position FontName FontSize TreatAsAtomicUnit MinAlgLoopOccurrences RTWSystemCode MaskHideContents System {

1 "gates" 1 "From1" 1 "Mux" 1 "From2" 1 "Mux" 2 "From3" 1 "Mux" 3 "From4" 1 "Mux" 4 "From5" 1 "Mux" 5 "From6" 1 "Mux" 6 "From7" 1 "Mux" 7

SubSystem "Sources" [0, 1] [15, 51, 80, 79] "Arial" 14 off off "Auto" off

Name Location Open ModelBrowserVisibility ModelBrowserWidth ScreenColor PaperOrientation PaperPositionMode PaperType PaperUnits ZoomFactor Block { BlockType Name Position GotoTag } Block { BlockType Name Position GotoTag } Block { BlockType Name Position GotoTag } Block { BlockType Name Ports Position ShowName Inputs DisplayOption } Block { BlockType Name Ports Position Inputs DisplayOption } Block { BlockType Name Position NamePlacement Value } Block { BlockType Name Position IconDisplay BusOutputAsStruct }

"Sources" [20, 127, 741, 789] off off 200 "white" "landscape" "auto" "usletter" "inches" "100" From "From1" [15, 21, 85, 49] "tp324478" From "From2" [15, 66, 85, 94] "tp324501" From "From3" [15, 111, 85, 139] "tp324482" Mux "Mux" [3, 1] [325, 270, 330, 610] off "[6 1 3]" "bar" Mux "Mux_u" [2, 1] [465, 374, 470, 461] "[6 10]" "bar" Constant "SwitchCurrents" [350, 379, 430, 411] "alternate" "zeros(6,1)" Outport "u" [505, 413, 535, 427] "Port number" off

Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort }

"Mux" 1 "Mux_u" 2 "SwitchCurrents" 1 "Mux_u" 1 "Mux_u" 1 "u" 1 "From1" 1 "Mux" 1 "From2" 1 "Mux" 2 "From3" 1 "Mux" 3

} } Block { BlockType "S-Function" Name "State-Space" Ports [2, 2] Position [115, 35, 245, 155] FontName "Arial" FontSize 14 FunctionName "sfun_spssw_discc" Parameters "Ts,A, B, C, D, x0, SwitchResistance ,Sw" "itchType, SwitchGateInitialValue, OutputsToResetToZero " MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType SubSystem Name "Status" Ports [1] Position [280, 113, 345, 137] FontName "Arial" FontSize 14

TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "Status" Location [124, 85, 631, 971] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "status" Position [15, 373, 45, 387] IconDisplay "Port number" } Block { BlockType Demux Name "Demux" Ports [1, 7] Position [100, 191, 105, 569] BackgroundColor "black" ShowName off Outputs "[1 1 1 1 1 1 6]" DisplayOption "bar" } Block { BlockType Goto Name "Goto1" Position [325, 21, 395, 49] GotoTag "tp325193" TagVisibility "global" } Block { BlockType Goto Name "Goto2" Position [325, 66, 395, 94] GotoTag "tp325200" TagVisibility "global" } Block { BlockType Goto Name "Goto3" Position [325, 111, 395, 139] GotoTag "tp325175" TagVisibility "global" } Block { BlockType Goto Name "Goto4" Position [325, 156, 395, 184] GotoTag "tp325181" TagVisibility "global" }

Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort

Goto "Goto5" [325, 201, 395, 229] "tp325187" "global" Goto "Goto6" [325, 246, 395, 274] "tp325168" "global" Goto "Goto7" [325, 291, 395, 319] "tp324481" "global" "status" 1 "Demux" 1 "Demux" 1 "Goto1" 1 "Demux" 2 "Goto2" 1 "Demux" 3 "Goto3" 1 "Demux" 4 "Goto4" 1 "Demux" 5 "Goto5" 1 "Demux" 6

DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort }

"Goto6" 1 "Demux" 7 "Goto7" 1

} } Block { BlockType SubSystem Name "Yout" Ports [1] Position [280, 53, 345, 77] FontName "Arial" FontSize 14 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "Yout" Location [124, 85, 631, 971] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "v,i" Position [15, 373, 45, 387] IconDisplay "Port number" } Block { BlockType Demux Name "Demux" Ports [1, 19] Position [100, 191, 105, 569] BackgroundColor "black" ShowName off Outputs "[1 1 1 1 1 1 6 1 1 1 1 1 1 1 1 1 1 " "1 1]" DisplayOption } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType "bar" Goto "Goto1" [325, 21, 395, 49] "tp325190" "global" Goto

Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility

"Goto10" [325, 426, 395, 454] "tp324509" "global" Goto "Goto11" [325, 471, 395, 499] "tp324515" "global" Goto "Goto12" [325, 516, 395, 544] "tp324517" "global" Goto "Goto13" [325, 561, 395, 589] "tp324518" "global" Goto "Goto14" [325, 606, 395, 634] "tp324510" "global" Goto "Goto15" [325, 651, 395, 679] "tp324512" "global" Goto "Goto16" [325, 696, 395, 724] "tp324514" "global" Goto "Goto17" [325, 741, 395, 769] "tp324520" "global" Goto "Goto18" [325, 786, 395, 814] "tp324521" "global"

} Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name Position GotoTag TagVisibility } Block { BlockType Name

Goto "Goto19" [325, 831, 395, 859] "tp324523" "global" Goto "Goto2" [325, 66, 395, 94] "tp325196" "global" Goto "Goto3" [325, 111, 395, 139] "tp325171" "global" Goto "Goto4" [325, 156, 395, 184] "tp325178" "global" Goto "Goto5" [325, 201, 395, 229] "tp325184" "global" Goto "Goto6" [325, 246, 395, 274] "tp325165" "global" Goto "Goto7" [325, 291, 395, 319] "tp182559" "global" Goto "Goto8" [325, 336, 395, 364] "tp324506" "global" Goto "Goto9"

Position GotoTag TagVisibility } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock

[325, 381, 395, 409] "tp324507" "global" "v,i" 1 "Demux" 1 "Demux" 1 "Goto1" 1 "Demux" 2 "Goto2" 1 "Demux" 3 "Goto3" 1 "Demux" 4 "Goto4" 1 "Demux" 5 "Goto5" 1 "Demux" 6 "Goto6" 1 "Demux" 7 "Goto7" 1 "Demux" 8 "Goto8" 1 "Demux"

SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock

9 "Goto9" 1 "Demux" 10 "Goto10" 1 "Demux" 11 "Goto11" 1 "Demux" 12 "Goto12" 1 "Demux" 13 "Goto13" 1 "Demux" 14 "Goto14" 1 "Demux" 15 "Goto15" 1 "Demux" 16 "Goto16" 1 "Demux" 17 "Goto17" 1 "Demux" 18 "Goto18" 1 "Demux"

SrcPort DstBlock DstPort } } } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort }

19 "Goto19" 1

"State-Space" 1 "Yout" 1 "State-Space" 2 "Status" 1 "Sources" 1 "State-Space" 1 "Gates" 1 "State-Space" 2

} } Block { BlockType Ground Name "Ground" Position [315, 40, 335, 60] ShowName off } Block { BlockType Terminator Name "Terminator" Position [355, 40, 375, 60] ShowName off } Line { SrcBlock "Ground" SrcPort 1 DstBlock "Terminator" DstPort 1 } Annotation { Name "Graphical user interface for the analysis o" "f SimPowerSystems circuits. \nPlace the Powergui block in the top-level of y" "our model and double-click\non it to open the GUI." Position [14, 29] HorizontalAlignment "left" ForegroundColor "blue" UseDisplayTextAsClickCallback off FontSize 12 }

} } Line { LineType SrcBlock SrcPort Points Branch { ConnectType SrcBlock SrcPort Points } Branch { ConnectType Points DstBlock DstPort } } Line { LineType SrcBlock SrcPort Points Branch { ConnectType Points DstBlock DstPort } Branch { ConnectType Points Branch { ConnectType SrcBlock SrcPort Points } Branch { ConnectType SrcBlock SrcPort Points } } } Line { LineType Points DstBlock DstPort Branch { ConnectType SrcBlock SrcPort Points } Branch {

"Connection" "Three-Phase\nV-I Measurement" RConn1 [0, -30; 80, 0] "DEST_DEST" "Three-Phase Breaker1" RConn1 [-30, 0; 0, -85] "DEST_SRC" [50, 0; 0, -55] "Three-Phase\nSeries RLC Branch1" LConn1

"Connection" "Three-Phase\nSeries RLC Branch2" RConn3 [40, 0; 0, -30] "DEST_SRC" [25, 0] "Ground2" LConn1 "DEST_DEST" [720, 200; 15, 0] "SRC_DEST" "Three-Phase\nSeries RLC Branch2" RConn2 [25, -15] "SRC_DEST" "Three-Phase\nSeries RLC Branch2" RConn1 [0, 0; 25, 0]

"Connection" [170, 365; -15, 0] "P" LConn1 "SRC_DEST" "S" RConn1 [0, -35; 70, 0; 0, 15]

ConnectType SrcBlock SrcPort Points } } Line { LineType Points DstBlock DstPort Branch { ConnectType DstBlock DstPort } Branch { ConnectType SrcBlock SrcPort Points } } Line { LineType SrcBlock SrcPort Points Branch { ConnectType Points DstBlock DstPort } Branch { ConnectType Points Branch { ConnectType SrcBlock SrcPort Points } Branch { ConnectType SrcBlock SrcPort Points } } } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line {

"SRC_DEST" "Universal B" RConn1 [0, -15; -10, 0]

"Connection" [165, 440; -10, 0; 0, -10] "P" RConn1 "SRC_SRC" "D" LConn1 "SRC_DEST" "Universal B" RConn2 [-5, 0; 0, 20; -10, 0]

"Connection" "Three-Phase\nSeries RLC Branch1" RConn3 [10, 0; 0, -45] "DEST_SRC" [10, 0] "Ground1" LConn1 "DEST_DEST" [740, 45; 10, 0] "SRC_DEST" "Three-Phase\nSeries RLC Branch1" RConn2 [0, 0; 0, -30] "SRC_DEST" "Three-Phase\nSeries RLC Branch1" RConn1 [0, 0; 0, -15]

"Connection" "Three-Phase\nTransformer\n(Three Windings)" LConn1 [0, -5] "Three-Phase Source" RConn1

LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock

"Connection" "Three-Phase\nSeries RLC Branch2" LConn1 [0, 0] "Three-Phase Breaker1" LConn1 "Connection" "Three-Phase Breaker1" LConn2 [10, 0; 0, -5] "Three-Phase\nSeries RLC Branch2" LConn2 "Connection" "Three-Phase\nTransformer\n(Three Windings)" RConn5 [25, 0] "Three-Phase\nV-I Measurement" LConn2 "Connection" "Three-Phase\nTransformer\n(Three Windings)" RConn6 "Three-Phase\nV-I Measurement" LConn3 "Connection" "Three-Phase\nTransformer\n(Three Windings)" RConn4 [25, 0; 0, -10] "Three-Phase\nV-I Measurement" LConn1 "Connection" "Three-Phase\nTransformer\n(Three Windings)" LConn3 [-25, 0; 0, -25] "Three-Phase Source" RConn3 "Connection" "Three-Phase\nTransformer\n(Three Windings)" LConn2 [-25, 0; 0, -15] "Three-Phase Source" RConn2 "Connection" "Three-Phase Breaker1" LConn3 [5, 0; 0, -10] "Three-Phase\nSeries RLC Branch2"

DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points Branch { Points DstBlock DstPort } Branch { Points DstBlock

LConn3 "Connection" "Universal B" LConn1 [15, 0] "Three-Phase\nV-I Measurement1" LConn1 "Connection" "Universal B" LConn2 [40, 0] "Three-Phase\nV-I Measurement1" LConn2 "Connection" "Universal B" LConn3 [65, 0] "Three-Phase\nV-I Measurement1" LConn3 "Connection" "S" LConn1 [0, -15; -30, 0] "D" RConn1 "Dis2" 1 [-30, 0; 0, -95] "Universal B" 1 "3-P" 2 [0, 35] "Te" 1 "3-P" 1 [0, -10; -20, 0] [-10, 0; 0, 45] "Sum" 1 [0, -75] "Scope1"

DstPort } } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort Points DstBlock DstPort

"Constant" 1 [0, -15] "Sum" 2 "Sum" 1 [-20, 0; 0, 25] "\n" 1 "Subsystem1" 1 [0, -40; 210, 0] "Dis2" 1 "Three-Phase\nV-I Measurement1" 1 [0, -25; 135, 0] "3-P1" 1 "Three-Phase\nV-I Measurement" 1 [0, -90; 200, 0; 0, 460] "3-P" 1 "3-P1" 1 [15, 0; 0, 120] "Scope1" 2 "Connection" "Three-Phase\nTransformer\n(Three Windings)" RConn1 [20, 0] "Three-Phase Breaker2" LConn1 "Connection" "Three-Phase\nTransformer\n(Three Windings)" RConn2 [40, 0] "Three-Phase Breaker2" LConn2

} Line { LineType SrcBlock SrcPort Points DstBlock DstPort } Line { LineType SrcBlock SrcPort DstBlock DstPort } Line { LineType SrcBlock SrcPort DstBlock DstPort } Line { LineType SrcBlock SrcPort DstBlock DstPort } Line { SrcBlock SrcPort DstBlock DstPort } Line { LineType SrcBlock SrcPort Points Branch { ConnectType Points DstBlock DstPort } Branch { ConnectType SrcBlock SrcPort Points } } Line { LineType SrcBlock SrcPort Points Branch {

"Connection" "Three-Phase\nTransformer\n(Three Windings)" RConn3 [60, 0] "Three-Phase Breaker2" LConn3 "Connection" "Three-Phase\nV-I Measurement1" RConn1 "Three-Phase Breaker2" RConn1 "Connection" "Three-Phase\nV-I Measurement1" RConn2 "Three-Phase Breaker2" RConn2 "Connection" "Three-Phase\nV-I Measurement1" RConn3 "Three-Phase Breaker2" RConn3 "\n" 1 "Subsystem1" 1 "Connection" "Three-Phase\nV-I Measurement" RConn2 [0, -10; 50, 0] "DEST_SRC" [0, -25; 200, 0; 0, -60] "Three-Phase\nSeries RLC Branch1" LConn2 "DEST_DEST" "Three-Phase Breaker1" RConn2 [-60, 0; 0, -60]

"Connection" "Three-Phase\nV-I Measurement" RConn3 [0, 0; 30, 0]

ConnectType Points DstBlock DstPort } Branch { ConnectType SrcBlock SrcPort Points } } } }

"DEST_SRC" [65, 0; 0, -105] "Three-Phase\nSeries RLC Branch1" LConn3 "DEST_DEST" "Three-Phase Breaker1" RConn3 [-80, 0; 0, -45]

Potrebbero piacerti anche