Model { Name "Umrichter" Version 7.4 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.2" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" MaxMDLFileLineLength 120 Created "Wed Jul 21 13:05:48 2010" Creator "Nutzer" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Nutzer" ModifiedDateFormat "%" LastModifiedDate "Wed Jul 21 13:15:06 2010" RTWModifiedTimeStamp 201618829 ModelVersionFormat "1.%" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off SimulationMode "normal" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on CovForceBlockReductionOff on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "Off" CovExternalEMLEnable 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 ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.6.0" Array { Type "Handle" Dimension 9 Simulink.SolverCC { $ObjectID 2 Version "1.6.0" StartTime "0.0" StopTime "2" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ZcThreshold "auto" ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-3" SolverMode "Auto" Solver "ode23tb" SolverName "ode23tb" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" } Simulink.DataIOCC { $ObjectID 3 Version "1.6.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on InspectSignalLogs off SaveTime on ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Version "1.6.0" Array { Type "Cell" Dimension 7 Cell "BooleansAsBitfields" Cell "PassReuseOutputArgsAs" Cell "PassReuseOutputArgsThreshold" Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off UseIntDivNetSlope off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off StrengthReduction off EnforceIntegerDowncast on ExpressionFolding on BooleansAsBitfields off EnableMemcpy on MemcpyThreshold 64 PassReuseOutputArgsAs "Structure reference" ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero off NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off } Simulink.DebuggingCC { $ObjectID 5 Version "1.6.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "warning" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Classic" MergeDetectMultiDrivingBlocksExec "none" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" FixptConstUnderflowMsg "none" FixptConstOverflowMsg "none" FixptConstPrecisionLossMsg "none" 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" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" SimStateInterfaceChecksumMismatchMsg "warning" StrictBusMsg "Warning" LoggingUnavailableSignals "error" BlockIODiagnostic "none" } Simulink.HardwareCC { $ObjectID 6 Version "1.6.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.6.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.SFSimCC { $ObjectID 8 Version "1.6.0" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimBlas on SimCtrlC on SimExtrinsic on SimIntegrity on SimUseLocalCustomCode off SimBuildMode "sf_incremental_build" } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 9 Version "1.6.0" Array { Type "Cell" Dimension 6 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" Cell "GenerateTraceReport" Cell "GenerateTraceReportSl" Cell "GenerateTraceReportSf" Cell "GenerateTraceReportEml" PropName "DisabledProps" } SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on 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 RTWUseLocalCustomCode off RTWUseSimCustomCode off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off RTWCompilerOptimization "Off" CheckMdlBeforeBuild "Off" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 10 Version "1.6.0" Array { Type "Cell" Dimension 19 Cell "IgnoreCustomStorageClasses" Cell "IgnoreTestpoints" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrFcnArg" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" Cell "ReqsInCode" PropName "DisabledProps" } ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrFcnArg "rt$I$N$M" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 11 Version "1.6.0" Array { Type "Cell" Dimension 17 Cell "GeneratePreprocessorConditionals" Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "CPPClassGenCompliant" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "PortableWordSizes" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" TargetFunctionLibrary "ANSI_C" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on ParMdlRefBuildCompliant on CompOptLevelCompliant on IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Disable all" CombineOutputUpdateFcns off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on SupportVariableSizeSignals off EnableShiftOperators on ParenthesesLevel "Nominal" PortableWordSizes off ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant off AutosarCompliant off UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } hdlcoderui.hdlcc { $ObjectID 12 Version "1.6.0" Description "HDL Coder custom configuration component" Name "HDL Coder" Array { Type "Cell" Dimension 1 Cell "" PropName "HDLConfigFile" } HDLCActiveTab "0" } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" ConfigPrmDlgPosition " [ 200, 85, 1080, 715 ] " } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on BlockRotation 0 BlockMirror off } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit from 'Constant value'" OutDataType "fixdt(1,16,0)" ConRadixGroup "Use specified scaling" OutScaling "[]" OutDataTypeStr "Inherit: Inherit from 'Constant value'" LockScale off SampleTime "inf" FramePeriod "inf" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType From IconDisplay "Tag" TagVisibility "local" } Block { BlockType Goto IconDisplay "Tag" } Block { BlockType Ground } Block { BlockType Inport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: auto" LockScale off SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off Interpolate on } 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" VarSizeSig "Inherit" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: auto" LockScale off SignalType "auto" SamplingMode "auto" SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType "S-Function" FunctionName "system" SFunctionModules "''" PortCounts "[]" SFunctionDeploymentMode off } 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 Sin SineType "Time based" TimeSource "Use simulation time" SampleTime "-1" VectorParams1D on } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off CheckFcnCallInpInsideContextMsg off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit via internal rule" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Inherit via internal rule" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" AllowDiffInputSizes off } Block { BlockType Terminator } } System { Name "Umrichter" Location [2, 72, 1278, 749] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" ReportName "simulink-default.rpt" SIDHighWatermark 24 Block { BlockType Reference Name "120V\n60Hz1" SID 1 Description "source block" Ports [0, 0, 0, 0, 0, 1, 1] Position [13, 265, 37, 300] BlockRotation 270 AttributesFormatString "\\n" LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Electrical\nSources/AC Voltage Source" SourceType "AC Voltage Source" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Amplitude "120" Phase "0" Frequency "60" SampleTime "0" Measurements "None" } Block { BlockType Reference Name "C" SID 24 Ports [0, 0, 0, 0, 0, 1, 1] Position [761, 240, 789, 310] BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "C" Resistance "1" Inductance "1e-3" SetiL0 off InitialCurrent "0" Capacitance "1e-6" Setx0 off InitialVoltage "0" Measurements "None" } Block { BlockType Reference Name "Diode1" SID 2 Ports [0, 1, 0, 0, 0, 1, 1] Position [383, 150, 427, 205] BlockRotation 270 AttributesFormatString "\\n" LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Ron "0.001" Lon "0" Vf "0.8" IC "0" UseSnubber off Rs "20" Cs "4e-6" Measurements on } Block { BlockType Reference Name "Diode2" SID 3 Ports [0, 1, 0, 0, 0, 1, 1] Position [383, 310, 427, 365] BlockRotation 270 AttributesFormatString "\\n" LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Ron "0.001" Lon "0" Vf "0.8" IC "0" UseSnubber off Rs "20" Cs "4e-6" Measurements on } Block { BlockType Reference Name "Diode3" SID 4 Ports [0, 1, 0, 0, 0, 1, 1] Position [568, 150, 612, 205] BlockRotation 270 AttributesFormatString "\\n" LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Ron "0.001" Lon "0" Vf "0.8" IC "0" UseSnubber off Rs "20" Cs "4e-6" Measurements on } Block { BlockType Reference Name "Diode4" SID 5 Ports [0, 1, 0, 0, 0, 1, 1] Position [568, 310, 612, 365] BlockRotation 270 AttributesFormatString "\\n" LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Ron "0.001" Lon "0" Vf "0.8" IC "0" UseSnubber off Rs "20" Cs "4e-6" Measurements on } Block { BlockType Reference Name "Gto" SID 7 Ports [1, 1, 0, 0, 0, 1, 1] Position [330, 150, 370, 205] BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/Gto" SourceType "Gto" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Ron "0.001" Lon "0" Vf "1" Tf "10e-6" Tt "20e-6" IC "0" Rs "1e5" Cs "inf" Measurements on } Block { BlockType Reference Name "Gto1" SID 8 Ports [1, 1, 0, 0, 0, 1, 1] Position [330, 310, 370, 365] BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/Gto" SourceType "Gto" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Ron "0.001" Lon "0" Vf "1" Tf "10e-6" Tt "20e-6" IC "0" Rs "1e5" Cs "inf" Measurements on } Block { BlockType Reference Name "Gto2" SID 9 Ports [1, 1, 0, 0, 0, 1, 1] Position [515, 150, 555, 205] BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/Gto" SourceType "Gto" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Ron "0.001" Lon "0" Vf "1" Tf "10e-6" Tt "20e-6" IC "0" Rs "1e5" Cs "inf" Measurements on } Block { BlockType Reference Name "Gto3" SID 10 Ports [1, 1, 0, 0, 0, 1, 1] Position [515, 310, 555, 365] BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/Gto" SourceType "Gto" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Ron "0.001" Lon "0" Vf "1" Tf "10e-6" Tt "20e-6" IC "0" Rs "1e5" Cs "inf" Measurements on } Block { BlockType SubSystem Name "Pulse\nGenerator" SID 11 Ports [0, 1] Position [115, 42, 150, 68] MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskType "Pulse Generator" MaskDescription "Pulse Generator" MaskHelp "Pulse generator which ensures pulse transitions are hit. Provides a vector of pulses when the h" "eight is entered as a vector. Unmask to see how it works." MaskPromptString "Period (secs):|Duty cycle (% of period):|Amplitude:|Start time:" MaskStyleString "edit,edit,edit,edit" MaskTunableValueString "on,on,on,on" MaskCallbackString "|||" MaskEnableString "on,on,on,on" MaskVisibilityString "on,on,on,on" MaskToolTipString "on,on,on,on" MaskVariables "period=@1;duty=@2;amplitude=@3;start=@4;" MaskInitialization "\n" MaskDisplay "plot(0,0,100,100,[95,90,90,75,75,60,60,45,45,30,30,15,15,5],[25,25,75,75,25,25,75,75,25,25,75" ",75,25,25]); \n " " \n " " " MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "1e-3|60|1|0.5e-3" System { Name "Pulse\nGenerator" Location [200, 343, 539, 534] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Constant Name "Constant1" SID 12 Position [40, 135, 60, 155] Value "0" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Sin Name "Sine Wave" SID 13 Ports [0, 1] Position [35, 83, 65, 107] Amplitude "1" Bias "0" Frequency "2*pi./period" Phase "-2*pi*(start./period + duty/200 - 1/4)" Samples "10" Offset "0" SampleTime "0" } Block { BlockType Step Name "Step" SID 14 Position [35, 27, 65, 53] Time "start" After "amplitude" SampleTime "0" } Block { BlockType Switch Name "Switch" SID 15 Position [120, 65, 155, 125] Threshold "sin(pi*(0.5 - duty/100))" } Block { BlockType Outport Name "out1" SID 16 Position [250, 88, 280, 102] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" InitialOutput "0" } Line { SrcBlock "Sine Wave" SrcPort 1 Points [5, 0; 20, 0] DstBlock "Switch" DstPort 2 } Line { SrcBlock "Switch" SrcPort 1 DstBlock "out1" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 Points [25, 0; 0, -30] DstBlock "Switch" DstPort 3 } Line { SrcBlock "Step" SrcPort 1 Points [20, 0; 0, 35] DstBlock "Switch" DstPort 1 } } } Block { BlockType Reference Name "R L" SID 17 Ports [0, 0, 0, 0, 0, 1, 1] Position [80, 226, 150, 254] LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "RL" Resistance "1" Inductance "1e-3" SetiL0 off InitialCurrent "0" Capacitance "1e-6" Setx0 off InitialVoltage "0" Measurements "None" } Block { BlockType Scope Name "Scope1" SID 18 Ports [4] Position [945, 445, 980, 500] BackgroundColor "green" Floating off Location [1, 46, 1281, 769] Open off NumInputPorts "4" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" } TimeRange "0.06" YMin "-100~-100~0~-200" YMax "200~200~150~100" DataFormat "Array" LimitDataPoints off SampleTime "0" } Block { BlockType Reference Name "U1" SID 19 Ports [0, 1, 0, 0, 0, 2] Position [840, 263, 865, 287] LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Voltage Measurement" SourceType "Voltage Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "i1" SID 22 Ports [0, 1, 0, 0, 0, 1, 1] Position [205, 228, 230, 252] LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Current Measurement" SourceType "Current Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "i2" SID 23 Ports [0, 1, 0, 0, 0, 1, 1] Position [675, 93, 700, 117] LibraryVersion "1.1845" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Current Measurement" SourceType "Current Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType SubSystem Name "powergui" SID 21 Ports [] Position [870, 40, 930, 64] AncestorBlock "powerlib/powergui" LibraryVersion "*1.1845" CopyFcn "powergui( 'Copy_Callback' , gcb , 0 , [ ] );" DeleteFcn "powergui( 'Copy_Callback' , gcb , 1 , [ ] ); \npowergui( 'CloseButton_Callback' , gcb " ", [ ] , [ ] );\n " ModelCloseFcn "powergui( 'CloseButton_Callback' , gcb , [ ] , [ ] );" PreSaveFcn "powergui( 'PreSaveFcn_Callback' , gcb , [ ] , [ ] ); \npowergui( 'CloseButton_Callback' , gcb " ", [ ] , [ ] );" InitFcn "powergui( 'InitFcn_Callback' , gcb , 0 , [ ] );" StopFcn "powergui( 'StopFcn_Callback' , gcb , 0 , [ ] );" NameChangeFcn "powergui( 'NameChangeFcn_Callback' , gcb , 0 , [ ] );" OpenFcn "powergui(gcb,'Open')" FontSize 11 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskType "PSB option menu block" MaskDescription "Set simulation type, simulation parameters, and preferences\n" MaskHelp "web(psbhelp)" MaskPromptString "Simulation type: |Sample time (s):|Phasor frequency (Hz):|Enable use of ideal switching" " devices|Disable snubbers in switching devices|Disable On resistance in switching devices (Ron=0)|Disable Forwar" "d voltage in switching devices (Vf=0)|Switch tolerance|Interpolate|Load flow frequency (Hz):|Display SimPowerSys" "tems warnings and messages|Add a hook port to the powergui block|Display circuit differential equations|Display " "internal function messages (debug mode feature)|Use TLC file when in Accelerator Simulation Mode and for RTW app" "lications|Start simulation with initial electrical states from: |Restore disabled links of SimPowerSystems bl" "ocks:|Frequency Range|Log impedance|log Frequency|grid|Save Data To Workspace|Variable Name|Structure Name (PSBF" "FTSCOPE)|ZoomFFT (PSBFFTSCOPE)|Start Time (PSBFFTSCOPE)|Cycles (PSBFFTSCOPE)|Display style (PSBFFTSCOPE)|Fundame" "ntal (PSBFFTSCOPE)|Frequency Axis (PSBFFTSCOPE)|Max Frequency (PSBFFTSCOPE)|Frequency indice (STEADYSTATE)|RMS d" "isplay (STEADYSTATE)|Display Results|Old Ts setting (OBSOLETE)|Phasor simulation (OBSOLETE)" MaskStyleString "popup(Continuous|Discrete|Phasor),edit,edit,checkbox,checkbox,checkbox,checkbox,edit,chec" "kbox,edit,checkbox,checkbox,checkbox,checkbox,checkbox,popup(blocks|steady|zero),popup(yes|warning|no),edit,chec" "kbox,checkbox,checkbox,checkbox,edit,edit,checkbox,edit,edit,edit,edit,checkbox,edit,edit,edit,checkbox,edit,che" "ckbox" 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,on,on,on,on," "on,on,on,on,on,on,on" MaskCallbackString "powergui('SimulationType',[],[],gcb);|||powergui('SPID',[],[],gcb);||||||||powergui('Ho" "okPort',[],[],gcb);||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,off,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,off,off,on,off,off,off,off,off,off,on,off,off,off,on,on,on,off,off,off,off,off,off,o" "ff,off,off,off,off,off,off,off,off,off,off,off,off" 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,on,on,on,on," "on,on,on,on,on,on,on" MaskVariables "SimulationMode=@1;SampleTime=@2;frequency=@3;SPID=@4;DisableSnubberDevices=@5;DisableRonSwi" "tches=@6;DisableVfSwitches=@7;SwTol=@8;Interpol=@9;frequencyindice=@10;echomessages=@11;HookPort=@12;DisplayEqua" "tions=@13;FunctionMessages=@14;EnableUseOfTLC=@15;x0status=@16;RestoreLinks=&17;Frange=@18;Ylog=@19;Xlog=@20;Sho" "wGrid=@21;save=@22;variable=&23;structure=&24;ZoomFFT=@25;StartTime=@26;cycles=@27;DisplayStyle=&28;fundamental=" "@29;FreqAxis=@30;MaxFrequency=@31;frequencyindicesteady=@32;RmsSteady=@33;display=@34;Ts=@35;methode=@36;" MaskInitialization "message = powergui('MaskInitialization',gcb,SimulationMode,SampleTime);" MaskDisplay "color('blue'),disp(message)" MaskSelfModifiable on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" MaskValueString "Continuous|0|60|off|off|off|off|0|off|0|off|off|off|off|off|blocks|warning|[0:2:500]|off|" "on|off|off|ZData||on|0.0|1|1|60|off|1000|1|1|off|0|off" MaskTabNameString "Solver,Solver,Solver,Solver,Solver,Solver,Solver,Solver,Solver,Preferences,Preferences," "Preferences,Solver,Solver,Preferences,Preferences,Preferences,Preferences,Preferences,Preferences,Preferences,Pr" "eferences,Preferences,Preferences,Preferences,Preferences,Preferences,Preferences,Preferences,Preferences,Prefer" "ences,Preferences,Preferences,Preferences,Solver,Solver" System { Name "powergui" Location [137, 405, 682, 583] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" SIDHighWatermark 58 SIDPrevWatermark 2 Block { BlockType SubSystem Name "EquivalentModel1" SID 3 Ports [] Position [15, 70, 143, 105] ShowName off FontName "Arial" MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off MaskInitialization "S = GetDataForEquivalentModel('Continuous',gcbh);" MaskDisplay "color('blue')\ndisp('EQUIVALENT CIRCUIT\\nContinuous')\ndisp('')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" System { Name "EquivalentModel1" Location [279, 434, 958, 675] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType SubSystem Name "Gates" SID 4 Ports [0, 1] Position [15, 112, 80, 138] FontName "Arial" FontSize 14 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Gates" Location [20, 127, 741, 886] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType From Name "From1" SID 27 Position [15, 21, 85, 49] GotoTag "tp46b860f1_8ea6_4840_b03c_3f11d0f8a095" TagVisibility "global" } Block { BlockType From Name "From2" SID 28 Position [15, 66, 85, 94] GotoTag "tp1c1326ca_ada4_4657_a7b1_e1ec7fc1b74d" TagVisibility "global" } Block { BlockType From Name "From3" SID 29 Position [15, 111, 85, 139] GotoTag "tpf0e87cf7_3132_4c7a_a0fc_70c5c2e36138" TagVisibility "global" } Block { BlockType From Name "From4" SID 30 Position [15, 156, 85, 184] GotoTag "tp3036afab_73cd_45b6_bff5_72e24d7303f0" TagVisibility "global" } Block { BlockType From Name "From5" SID 31 Position [15, 201, 85, 229] GotoTag "tpec5118a9_5f17_4694_90b5_98ac9c2f8624" TagVisibility "global" } Block { BlockType From Name "From6" SID 32 Position [15, 246, 85, 274] GotoTag "tpabf37874_0193_4de6_80dd_35a6c626e3d1" TagVisibility "global" } Block { BlockType From Name "From7" SID 33 Position [15, 291, 85, 319] GotoTag "tp5a7a363f_25fd_46c9_9328_9b207f336ac7" TagVisibility "global" } Block { BlockType From Name "From8" SID 34 Position [15, 336, 85, 364] GotoTag "tp53154c36_c77c_4ee6_9312_6d249d31ef5d" TagVisibility "global" } Block { BlockType Mux Name "Mux" SID 5 Ports [8, 1] Position [325, 270, 330, 610] ShowName off Inputs "[1 1 1 1 1 1 1 1]" DisplayOption "bar" } Block { BlockType Outport Name "gates" SID 6 Position [390, 433, 420, 447] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Mux" SrcPort 1 DstBlock "gates" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { SrcBlock "From5" SrcPort 1 DstBlock "Mux" DstPort 5 } Line { SrcBlock "From6" SrcPort 1 DstBlock "Mux" DstPort 6 } Line { SrcBlock "From7" SrcPort 1 DstBlock "Mux" DstPort 7 } Line { SrcBlock "From8" SrcPort 1 DstBlock "Mux" DstPort 8 } } } Block { BlockType SubSystem Name "Sources" SID 7 Ports [0, 1] Position [15, 52, 80, 78] FontName "Arial" FontSize 14 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Sources" Location [16, 100, 737, 762] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType From Name "From1" SID 46 Position [15, 21, 85, 49] GotoTag "tp7ca58836_cada_4037_a54d_11e2e5a10ff2" TagVisibility "global" } Block { BlockType From Name "From10" SID 55 Position [15, 426, 85, 454] GotoTag "tp132116d2_6121_4209_aebc_0093a6aca99b" TagVisibility "global" } Block { BlockType From Name "From11" SID 56 Position [15, 471, 85, 499] GotoTag "tpa8e365ee_0f32_4f5f_a3a2_45e3b34677ec" TagVisibility "global" } Block { BlockType From Name "From12" SID 57 Position [15, 516, 85, 544] GotoTag "tp4d0426c3_1ff8_4ca6_811a_cf359f25d7a5" TagVisibility "global" } Block { BlockType From Name "From13" SID 58 Position [15, 561, 85, 589] GotoTag "tp3c748d68_4df4_4be1_b0e5_2ccca745d59a" TagVisibility "global" } Block { BlockType From Name "From2" SID 47 Position [15, 66, 85, 94] GotoTag "tpe951b21c_5cdb_4b93_af1d_4e19eda5f6eb" TagVisibility "global" } Block { BlockType From Name "From3" SID 48 Position [15, 111, 85, 139] GotoTag "tp4fd67da7_c6c9_429b_8296_11af3b88fbee" TagVisibility "global" } Block { BlockType From Name "From4" SID 49 Position [15, 156, 85, 184] GotoTag "tp4998fa74_72e7_4809_9f12_0ff5166edd60" TagVisibility "global" } Block { BlockType From Name "From5" SID 50 Position [15, 201, 85, 229] GotoTag "tp1874dce8_3c47_467f_aaec_73b60723851c" TagVisibility "global" } Block { BlockType From Name "From6" SID 51 Position [15, 246, 85, 274] GotoTag "tpa07d6af2_6fda_4a29_b1c6_0d41b90f3ee2" TagVisibility "global" } Block { BlockType From Name "From7" SID 52 Position [15, 291, 85, 319] GotoTag "tp762f31e8_c195_48cb_ad04_962d396232fc" TagVisibility "global" } Block { BlockType From Name "From8" SID 53 Position [15, 336, 85, 364] GotoTag "tp38c5f7e7_c558_4a57_aca1_7d51e515eb16" TagVisibility "global" } Block { BlockType From Name "From9" SID 54 Position [15, 381, 85, 409] GotoTag "tp12739f68_dce2_4abb_9a08_3d02261fb5c4" TagVisibility "global" } Block { BlockType Mux Name "Mux" SID 8 Ports [13, 1] Position [325, 270, 330, 610] Inputs "[1 1 1 1 1 1 1 1 1 1 1 1 1]" DisplayOption "bar" } Block { BlockType Mux Name "Mux_u" SID 9 Ports [2, 1] Position [465, 374, 470, 461] Inputs "[4 13]" DisplayOption "bar" } Block { BlockType Constant Name "SwitchCurrents" SID 10 Position [350, 379, 430, 411] NamePlacement "alternate" Value "zeros(4,1)" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "u" SID 11 Position [505, 413, 535, 427] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Mux_u" DstPort 2 } Line { SrcBlock "SwitchCurrents" SrcPort 1 DstBlock "Mux_u" DstPort 1 } Line { SrcBlock "Mux_u" SrcPort 1 DstBlock "u" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { SrcBlock "From5" SrcPort 1 DstBlock "Mux" DstPort 5 } Line { SrcBlock "From6" SrcPort 1 DstBlock "Mux" DstPort 6 } Line { SrcBlock "From7" SrcPort 1 DstBlock "Mux" DstPort 7 } Line { SrcBlock "From8" SrcPort 1 DstBlock "Mux" DstPort 8 } Line { SrcBlock "From9" SrcPort 1 DstBlock "Mux" DstPort 9 } Line { SrcBlock "From10" SrcPort 1 DstBlock "Mux" DstPort 10 } Line { SrcBlock "From11" SrcPort 1 DstBlock "Mux" DstPort 11 } Line { SrcBlock "From12" SrcPort 1 DstBlock "Mux" DstPort 12 } Line { SrcBlock "From13" SrcPort 1 DstBlock "Mux" DstPort 13 } } } Block { BlockType "S-Function" Name "State-Space" SID 12 Ports [2, 2] Position [115, 35, 245, 155] FontName "Arial" FontSize 14 FunctionName "sfun_spssw_contc" Parameters "S.A, S.B, S.C, S.D, S.x0, S.EnableUseOfTLC,S.SwitchResistance ,S.SwitchType, S.SwitchGateInit" "ialValue, S.OutputsToResetToZero " EnableBusSupport off MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskPortRotate "default" MaskIconUnits "autoscale" } Block { BlockType SubSystem Name "Status" SID 13 Ports [1] Position [280, 113, 345, 137] FontName "Arial" FontSize 14 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Status" Location [124, 85, 631, 971] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "status" SID 14 Position [15, 373, 45, 387] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux" SID 15 Ports [1, 8] Position [100, 193, 105, 572] BackgroundColor "black" ShowName off Outputs "[1 1 1 1 1 1 1 1]" DisplayOption "bar" } Block { BlockType Goto Name "Goto1" SID 19 Position [325, 21, 395, 49] GotoTag "tpc23fb776_3efd_4506_8ca9_0ae006a1513e" TagVisibility "global" } Block { BlockType Goto Name "Goto2" SID 20 Position [325, 66, 395, 94] GotoTag "tp883cf00c_8c54_4ecd_b505_437a83d7c90d" TagVisibility "global" } Block { BlockType Goto Name "Goto3" SID 21 Position [325, 111, 395, 139] GotoTag "tp32f9678d_bf6c_4733_9a0f_a7f34bfaff45" TagVisibility "global" } Block { BlockType Goto Name "Goto4" SID 22 Position [325, 156, 395, 184] GotoTag "tp55503fd1_209f_4e5c_b099_c3e2d81e1f93" TagVisibility "global" } Block { BlockType Goto Name "Goto5" SID 23 Position [325, 201, 395, 229] GotoTag "tp1bf608c8_b0a8_40b0_a586_d13162522e6b" TagVisibility "global" } Block { BlockType Goto Name "Goto6" SID 24 Position [325, 246, 395, 274] GotoTag "tp3b0d9bc2_b06f_4e58_9356_eb0eeef4abd3" TagVisibility "global" } Block { BlockType Goto Name "Goto7" SID 25 Position [325, 291, 395, 319] GotoTag "tpc1fda6c9_e763_4631_9603_02bb2dbd0530" TagVisibility "global" } Block { BlockType Goto Name "Goto8" SID 26 Position [325, 336, 395, 364] GotoTag "tp8639569f_7809_46c0_a301_0bc1a4738919" TagVisibility "global" } Line { SrcBlock "status" SrcPort 1 Points [35, 0] DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Goto1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Goto2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 DstBlock "Goto3" DstPort 1 } Line { SrcBlock "Demux" SrcPort 4 DstBlock "Goto4" DstPort 1 } Line { SrcBlock "Demux" SrcPort 5 DstBlock "Goto5" DstPort 1 } Line { SrcBlock "Demux" SrcPort 6 DstBlock "Goto6" DstPort 1 } Line { SrcBlock "Demux" SrcPort 7 DstBlock "Goto7" DstPort 1 } Line { SrcBlock "Demux" SrcPort 8 DstBlock "Goto8" DstPort 1 } } } Block { BlockType SubSystem Name "Yout" SID 16 Ports [1] Position [280, 53, 345, 77] FontName "Arial" FontSize 14 MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Yout" Location [124, 85, 631, 971] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "v,i" SID 17 Position [15, 373, 45, 387] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux" SID 18 Ports [1, 11] Position [100, 191, 105, 569] BackgroundColor "black" ShowName off Outputs "[1 1 1 1 1 1 1 1 1 1 1]" DisplayOption "bar" } Block { BlockType Goto Name "Goto1" SID 35 Position [325, 21, 395, 49] GotoTag "tp4fc9da64_cddb_46f6_9014_e90d3252c369" TagVisibility "global" } Block { BlockType Goto Name "Goto10" SID 44 Position [325, 426, 395, 454] GotoTag "tpf2df9e0a_cd85_4b14_8257_4782c94cbf19" TagVisibility "global" } Block { BlockType Goto Name "Goto11" SID 45 Position [325, 471, 395, 499] GotoTag "tp1fa405df_e112_4dc2_8a73_8bf040c26d12" TagVisibility "global" } Block { BlockType Goto Name "Goto2" SID 36 Position [325, 66, 395, 94] GotoTag "tpa3f818d5_26d3_4fbe_9b57_52e84b1ab1a9" TagVisibility "global" } Block { BlockType Goto Name "Goto3" SID 37 Position [325, 111, 395, 139] GotoTag "tpfd0c9f6e_9ad5_4a0f_a508_e3e0d82102c5" TagVisibility "global" } Block { BlockType Goto Name "Goto4" SID 38 Position [325, 156, 395, 184] GotoTag "tp825d0783_0332_496d_b2b0_0616df9e8986" TagVisibility "global" } Block { BlockType Goto Name "Goto5" SID 39 Position [325, 201, 395, 229] GotoTag "tp90eb1bd0_d1b5_4fcc_ba97_139602f4a0c4" TagVisibility "global" } Block { BlockType Goto Name "Goto6" SID 40 Position [325, 246, 395, 274] GotoTag "tpe5f386ac_758b_43a5_994d_948f78e78d7b" TagVisibility "global" } Block { BlockType Goto Name "Goto7" SID 41 Position [325, 291, 395, 319] GotoTag "tp21b5472d_9b50_45f2_8f82_b64721eed880" TagVisibility "global" } Block { BlockType Goto Name "Goto8" SID 42 Position [325, 336, 395, 364] GotoTag "tp9ce2d1ac_b8ba_4444_a766_724da3dfa81b" TagVisibility "global" } Block { BlockType Goto Name "Goto9" SID 43 Position [325, 381, 395, 409] GotoTag "tpcdaf53a9_b1a9_477c_a6cb_fbf8b38b72ae" TagVisibility "global" } Line { SrcBlock "v,i" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Goto1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Goto2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 DstBlock "Goto3" DstPort 1 } Line { SrcBlock "Demux" SrcPort 4 DstBlock "Goto4" DstPort 1 } Line { SrcBlock "Demux" SrcPort 5 DstBlock "Goto5" DstPort 1 } Line { SrcBlock "Demux" SrcPort 6 DstBlock "Goto6" DstPort 1 } Line { SrcBlock "Demux" SrcPort 7 DstBlock "Goto7" DstPort 1 } Line { SrcBlock "Demux" SrcPort 8 DstBlock "Goto8" DstPort 1 } Line { SrcBlock "Demux" SrcPort 9 DstBlock "Goto9" DstPort 1 } Line { SrcBlock "Demux" SrcPort 10 DstBlock "Goto10" DstPort 1 } Line { SrcBlock "Demux" SrcPort 11 DstBlock "Goto11" DstPort 1 } } } Line { SrcBlock "Gates" SrcPort 1 DstBlock "State-Space" DstPort 2 } Line { SrcBlock "Sources" SrcPort 1 DstBlock "State-Space" DstPort 1 } Line { SrcBlock "State-Space" SrcPort 2 DstBlock "Status" DstPort 1 } Line { SrcBlock "State-Space" SrcPort 1 DstBlock "Yout" DstPort 1 } } } Block { BlockType Ground Name "Ground" SID 1 Position [315, 40, 335, 60] ShowName off } Block { BlockType Terminator Name "Terminator" SID 2 Position [355, 40, 375, 60] ShowName off } Line { SrcBlock "Ground" SrcPort 1 DstBlock "Terminator" DstPort 1 } Annotation { Name "Graphical user interface for the analysis of SimPowerSystems circuits. \nPlace the Powergui block in the" " top-level of your model and double-click\non it to open the GUI." Position [14, 29] HorizontalAlignment "left" ForegroundColor "blue" FontName "Arial" FontSize 12 } } } Line { LineType "Connection" Points [545, 105; 55, 0] Branch { ConnectType "SRC_SRC" DstBlock "Gto2" DstPort LConn1 } Branch { ConnectType "SRC_DEST" Points [415, 105; 130, 0] Branch { ConnectType "SRC_DEST" SrcBlock "Diode1" SrcPort RConn1 Points [0, -30] } Branch { ConnectType "SRC_SRC" Points [-55, 0] DstBlock "Gto" DstPort LConn1 } } Branch { ConnectType "DEST_SRC" DstBlock "Diode3" DstPort RConn1 } Branch { ConnectType "DEST_SRC" DstBlock "i2" DstPort LConn1 } } Line { LineType "Connection" SrcBlock "C" SrcPort RConn1 Points [0, 30] Branch { ConnectType "DEST_SRC" Points [0, 35; -185, 0] Branch { ConnectType "DEST_DEST" Points [545, 390; 45, 0] Branch { ConnectType "SRC_DEST" SrcBlock "Gto3" SrcPort RConn1 Points [0, 10] } Branch { ConnectType "SRC_DEST" Points [405, 390; 140, 0] Branch { ConnectType "SRC_DEST" SrcBlock "Diode2" SrcPort LConn1 Points [0, 10] } Branch { ConnectType "SRC_SRC" Points [-45, 0] DstBlock "Gto1" DstPort RConn1 } } } Branch { ConnectType "DEST_SRC" DstBlock "Diode4" DstPort LConn1 } } Branch { ConnectType "DEST_SRC" Points [50, 0] DstBlock "U1" DstPort LConn2 } } Line { LineType "Connection" Points [380, 230; 0, 10; 0, 5] Branch { ConnectType "SRC_DEST" SrcBlock "Gto" SrcPort RConn1 Points [0, 10; 20, 0] } Branch { ConnectType "SRC_SRC" Points [25, 0] DstBlock "Diode1" DstPort LConn1 } Branch { ConnectType "DEST_SRC" Points [0, 40] Branch { ConnectType "DEST_DEST" SrcBlock "Diode2" SrcPort RConn1 Points [0, -10; -35, 0] } Branch { ConnectType "DEST_SRC" Points [-20, 0] DstBlock "Gto1" DstPort LConn1 } } Branch { ConnectType "DEST_DEST" SrcBlock "i1" SrcPort RConn1 Points [135, 0] } } Line { LineType "Connection" Points [565, 265; -280, 0; 0, 55; -260, 0; 0, -5] DstBlock "120V\n60Hz1" DstPort LConn1 Branch { ConnectType "SRC_DEST" Points [565, 285; 0, -20] Branch { ConnectType "SRC_SRC" Points [-20, 0] DstBlock "Gto3" DstPort LConn1 } Branch { ConnectType "SRC_DEST" SrcBlock "Diode4" SrcPort RConn1 Points [0, -10; -35, 0] } } Branch { ConnectType "SRC_SRC" Points [0, -35] Branch { ConnectType "DEST_SRC" Points [25, 0] DstBlock "Diode3" DstPort LConn1 } Branch { ConnectType "DEST_DEST" SrcBlock "Gto2" SrcPort RConn1 Points [0, 10; 20, 0] } } } Line { LineType "Connection" SrcBlock "120V\n60Hz1" SrcPort RConn1 Points [0, -10] DstBlock "R L" DstPort LConn1 } Line { LineType "Connection" SrcBlock "i1" SrcPort LConn1 DstBlock "R L" DstPort RConn1 } Line { SrcBlock "i1" SrcPort 1 Points [20, 0; 0, 230] DstBlock "Scope1" DstPort 2 } Line { LineType "Connection" SrcBlock "i2" SrcPort RConn1 Points [60, 0; 0, 105] Branch { ConnectType "DEST_SRC" DstBlock "C" DstPort LConn1 } Branch { ConnectType "DEST_SRC" Points [50, 0] DstBlock "U1" DstPort LConn1 } } Line { SrcBlock "U1" SrcPort 1 Points [30, 0; 0, 175] DstBlock "Scope1" DstPort 1 } Line { SrcBlock "i2" SrcPort 1 Points [25, 0; 0, 385; 200, 0] DstBlock "Scope1" DstPort 3 } Line { SrcBlock "Pulse\nGenerator" SrcPort 1 Points [185, 0] DstBlock "Gto" DstPort 1 } } }