Model { Name "SPWM_3Phase_3Level" Version 8.4 MdlSubVersion 0 SavedCharacterEncoding "windows-1252" GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.71" NumModelReferences 0 NumTestPointedSignals 0 } slprops.hdlmdlprops { $PropName "HDLParams" $ObjectID 1 Array { Type "Cell" Dimension 2 Cell "HDLSubsystem" Cell "SPWM_3Phase_3Level" PropName "mdlProps" } } ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" FPTRunName "Run 1" MaxMDLFileLineLength 120 UserBdParams "PhysicalModelingChecksum;PhysicalModelingParameterChecksum;PhysicalModelingProducts" Object { $PropName "BdWindowsInfo" $ObjectID 2 $ClassName "Simulink.BDWindowsInfo" Object { $PropName "WindowsInfo" $ObjectID 3 $ClassName "Simulink.WindowInfo" IsActive [1] Location [-8.0, 0.0, 1378.0, 744.0] Object { $PropName "ModelBrowserInfo" $ObjectID 4 $ClassName "Simulink.ModelBrowserInfo" Visible [0] DockPosition "Left" Width [50] Height [50] Filter [9] } Object { $PropName "ExplorerBarInfo" $ObjectID 5 $ClassName "Simulink.ExplorerBarInfo" Visible [1] } Object { $PropName "EditorsInfo" $ObjectID 6 $ClassName "Simulink.EditorInfo" IsActive [1] ViewObjType "SimulinkTopLevel" LoadSaveID "0" Extents [1328.0, 570.0] ZoomFactor [1.25] Offset [18.666666666666135, 115.59999999999992] } } } PhysicalModelingChecksum "1831550843" PhysicalModelingParameterChecksum "1898090652" PhysicalModelingProducts "Power_System_Blocks" Created "Sat Sep 06 23:30:18 2014" Creator "CuongDoanPhu" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Trong Thang" ModifiedDateFormat "%" LastModifiedDate "Sun Dec 09 17:30:54 2018" RTWModifiedTimeStamp 466277248 ModelVersionFormat "1.%" ConfigurationManager "none" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines on ShowLineDimensions off ShowPortDataTypes off ShowDesignRanges off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on ShowMarkup on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off SimulationMode "normal" PauseTimes "5" NumberOfSteps 1 SnapshotBufferSize 10 SnapshotInterval 10 NumberOfLastSnapshots 0 LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off Object { $PropName "DataLoggingOverride" $ObjectID 7 $ClassName "Simulink.SimulationData.ModelLoggingInfo" model_ "SPWM_3Phase_3Level" Array { Type "Cell" Dimension 1 Cell "SPWM_3Phase_3Level" PropName "logAsSpecifiedByModels_" } Array { Type "Cell" Dimension 1 Cell "" PropName "logAsSpecifiedByModelsSSIDs_" } } RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on CovForceBlockReductionOff on CovEnableCumulative on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "Off" CovExternalEMLEnable off CovSFcnEnable off CovBoundaryAbsTol 0.000010 CovBoundaryRelTol 0.010000 CovUseTimeInterval off CovStartTime 0 CovStopTime 0 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 8 Version "1.14.3" Array { Type "Handle" Dimension 10 Simulink.SolverCC { $ObjectID 9 Version "1.14.3" StartTime "0.0" StopTime "0.1" 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-4" SolverMode "Auto" EnableConcurrentExecution off ConcurrentTasks off Solver "ode23tb" SolverName "ode23tb" SolverJacobianMethodControl "auto" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" } Simulink.DataIOCC { $ObjectID 10 Version "1.14.3" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Array" SignalLoggingSaveFormat "ModelDataLogs" SaveOutput on SaveState off SignalLogging on DSMLogging on InspectSignalLogs off VisualizeSimOutput on SaveTime on ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" DSMLoggingName "dsmout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" } Simulink.OptimizationCC { $ObjectID 11 Version "1.14.3" Array { Type "Cell" Dimension 4 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off UseDivisionForNetSlopeComputation "Off" UseFloatMulNetSlope off DefaultUnderspecifiedDataType "double" UseSpecifiedMinMax off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off CachingGlobalReferences off GlobalBufferReuse on StrengthReduction off ExpressionFolding on BooleansAsBitfields off BitfieldContainerType "uint_T" EnableMemcpy on MemcpyThreshold 64 PassReuseOutputArgsAs "Structure reference" ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off ActiveStateOutputEnumStorageType "Native Integer" UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero off NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode off LifeSpan "inf" MaxStackSize "Inherit from target" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off ParallelExecutionInRapidAccelerator on } Simulink.DebuggingCC { $ObjectID 12 Version "1.14.3" 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" MaskedZcDiagnostic "warning" IgnoredZcDiagnostic "warning" 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 "UseLocalSettings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" FrameProcessingCompatibilityMsg "warning" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" SimStateInterfaceChecksumMismatchMsg "warning" SimStateOlderReleaseMsg "error" InitInArrayFormatMsg "warning" StrictBusMsg "Warning" BusNameAdapt "WarnAndRepair" NonBusSignalsTreatedAsBus "none" LoggingUnavailableSignals "error" BlockIODiagnostic "none" SFUnusedDataAndEventsDiag "warning" SFUnexpectedBacktrackingDiag "warning" SFInvalidInputDataAccessInChartInitDiag "warning" SFNoUnconditionalDefaultTransitionDiag "warning" SFTransitionOutsideNaturalParentDiag "warning" SFUnconditionalTransitionShadowingDiag "warning" SFUndirectedBroadcastEventsDiag "warning" SFTransitionActionBeforeConditionDiag "warning" IntegerSaturationMsg "warning" } Simulink.HardwareCC { $ObjectID 13 Version "1.14.3" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdBitPerLongLong 64 ProdBitPerFloat 32 ProdBitPerDouble 64 ProdBitPerPointer 32 ProdLargestAtomicInteger "Char" ProdLargestAtomicFloat "None" ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdLongLongMode off ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetBitPerLongLong 64 TargetBitPerFloat 32 TargetBitPerDouble 64 TargetBitPerPointer 32 TargetLargestAtomicInteger "Char" TargetLargestAtomicFloat "None" TargetShiftRightIntArith on TargetLongLongMode off TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 14 Version "1.14.3" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" EnableParallelModelReferenceBuilds off ParallelModelReferenceErrorOnInvalidPool on ParallelModelReferenceMATLABWorkerInit "None" ModelReferenceNumInstancesAllowed "Multi" PropagateVarSize "Infer from blocks in model" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off PropagateSignalLabelsOutOfModel off SupportModelReferenceSimTargetCustomCode off } Simulink.SFSimCC { $ObjectID 15 Version "1.14.3" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimBlas on SimCtrlC on SimExtrinsic on SimIntegrity on SimUseLocalCustomCode off SimParseCustomCode on SimBuildMode "sf_incremental_build" SimGenImportedTypeDefs off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 16 Version "1.14.3" Array { Type "Cell" Dimension 6 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" Cell "GenerateTraceReport" Cell "GenerateTraceReportSl" Cell "GenerateTraceReportSf" Cell "GenerateTraceReportEml" PropName "DisabledProps" } SystemTargetFile "grt.tlc" TLCOptions "" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on PackageGeneratedCodeAndArtifacts off PackageName "" TemplateMakefile "grt_default_tmf" PostCodeGenCommand "" Description "" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ProcessScript "" ConfigurationScript "" ConfigAtBuild off RTWUseLocalCustomCode off RTWUseSimCustomCode off CustomSourceCode "" CustomHeaderCode "" CustomInclude "" CustomSource "" CustomLibrary "" CustomInitializer "" CustomTerminator "" Toolchain "Automatically locate an installed toolchain" BuildConfiguration "Faster Builds" IncludeHyperlinkInReport off LaunchReport off PortableWordSizes off CreateSILPILBlock "None" CodeExecutionProfiling off CodeExecutionProfileVariable "executionProfile" CodeProfilingSaveOptions "SummaryOnly" CodeProfilingInstrumentation off SILDebugging off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off GenerateWebview off GenerateCodeMetricsReport off GenerateCodeReplacementReport off RTWCompilerOptimization "Off" RTWCustomCompilerOptimizations "" CheckMdlBeforeBuild "Off" CustomRebuildMode "OnUpdate" DataInitializer "" SharedConstantsCachingThreshold 1024 Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 17 Version "1.14.3" Array { Type "Cell" Dimension 17 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 "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" PropName "DisabledProps" } ForceParamTrailComments off GenerateComments on CommentStyle "Auto" IgnoreCustomStorageClasses on IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off OperatorAnnotations off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off MATLABFcnDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M_T" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrFcnArg "rt$I$N$M" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" CustomSymbolStrUtil "$N$C" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off InsertPolySpaceComments off SimulinkBlockComments on MATLABSourceComments off EnableCustomComments off InternalIdentifier "Shortened" InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 18 Version "1.14.3" Array { Type "Cell" Dimension 14 Cell "IncludeMdlTerminateFcn" Cell "SupportNonInlinedSFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "CPPClassGenCompliant" Cell "SupportContinuousTime" Cell "PurelyIntegerCode" Cell "PortableWordSizes" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "GenerateAllocFcn" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "NOT IN USE" TargetLangStandard "C89/C90 (ANSI)" CodeReplacementLibrary "None" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off ModelReferenceCompliant on ParMdlRefBuildCompliant on CompOptLevelCompliant on ConcurrentExecutionCompliant on IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Disable all" CombineOutputUpdateFcns off CombineSignalStateStructs off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off CodeInterfacePackaging "Nonreusable function" SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on SupportVariableSizeSignals off EnableShiftOperators on ParenthesesLevel "Nominal" CastingMode "Nominal" MATLABClassNameForMDSCustomization "Simulink.SoftwareTarget.GRTCustomization" ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant on AutosarCompliant off GRTInterface on GenerateAllocFcn off GenerateSharedConstants on UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off RTWCAPIRootIO off GenerateASAP2 off MultiInstanceErrorCode "Error" } PropName "Components" } } hdlcoderui.hdlcc { $ObjectID 19 Version "1.14.3" Description "HDL Coder custom configuration component" Name "HDL Coder" Array { Type "Cell" Dimension 1 Cell "" PropName "HDLConfigFile" } HDLCActiveTab "0" } SSC.SimscapeCC { $ObjectID 20 Version "1.0" Array { Type "Cell" Dimension 1 Cell "Name" PropName "DisabledProps" } Name "Simscape" EditingMode "Full" ExplicitSolverDiagnosticOptions "warning" GlobalZcOffDiagnosticOptions "warning" SimscapeLogType "none" SimscapeLogSimulationStatistics off SimscapeLogOpenViewer off SimscapeLogName "simlog" SimscapeLogDecimation 1 SimscapeLogLimitData on SimscapeLogDataHistory 5000 } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" ConfigPrmDlgPosition [ 228, 39, 1324, 717 ] } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 8 } Object { $PropName "DataTransfer" $ObjectID 21 $ClassName "Simulink.GlobalDataTransfer" DefaultTransitionBetweenSyncTasks "Ensure deterministic transfer (maximum delay)" DefaultTransitionBetweenAsyncTasks "Ensure data integrity only" DefaultTransitionBetweenContTasks "Ensure deterministic transfer (minimum delay)" DefaultExtrapolationMethodBetweenContTasks "None" AutoInsertRateTranBlk [0] } ExplicitPartitioning off 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" } MaskDefaults { SelfModifiable "off" IconFrame "on" IconOpaque "on" RunInitForIconRedraw "off" IconRotate "none" PortRotate "default" IconUnits "autoscale" } MaskParameterDefaults { Evaluate "on" Tunable "on" NeverSave "off" Internal "off" ReadOnly "off" Enabled "on" Visible "on" ToolTip "on" } BlockParameterDefaults { Block { BlockType BusCreator Inputs "4" DisplayOption "none" OutDataTypeStr "Inherit: auto" NonVirtualBus off InheritFromInputs on } Block { BlockType Clock DisplayTime off Decimation "10" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType Fcn Expr "sin(u[1])" SampleTime "-1" } Block { BlockType From GotoTag "A" IconDisplay "Tag" TagVisibility "local" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParamDataTypeStr "Inherit: Same as input" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Goto GotoTag "A" IconDisplay "Tag" TagVisibility "local" } Block { BlockType Inport Port "1" OutputFunctionCall off OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchInputForFeedbackSignals off Interpolate on } Block { BlockType Logic Operator "AND" Inputs "2" IconShape "rectangular" AllPortsSameDT on OutDataTypeStr "Inherit: Logical (see Configuration Parameters: Optimization)" SampleTime "-1" } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType PMIOPort } Block { BlockType RelationalOperator Operator ">=" InputSameDT on OutDataTypeStr "Inherit: Logical (see Configuration Parameters: Optimization)" 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" DataFormat "Array" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "-1" } 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 "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off CheckFcnCallInpInsideContextMsg off SystemSampleTime "-1" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" FunctionInterfaceSpec "void_void" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" Opaque off MaskHideContents off SFBlockType "NONE" Variant off GeneratePreprocessorConditionals off ContentPreviewEnabled off } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } } System { Name "SPWM_3Phase_3Level" Location [-8, 0, 1370, 744] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "125" ReportName "simulink-default.rpt" SIDHighWatermark "369" Block { BlockType SubSystem Name "180 degree pulses" SID "1" Ports [0, 3] Position [110, 147, 185, 293] ZOrder -1 ShowName off RequestExecContextInheritance off Object { $PropName "MaskObject" $ObjectID 22 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 3 Object { $ObjectID 23 Type "edit" Name "fc" Prompt "Carrier frequency" Value "3000" } Object { $ObjectID 24 Type "edit" Name "fr" Prompt "Reference frequency" Value "50" } Object { $ObjectID 25 Type "edit" Name "m" Prompt "Modulation index" Value "0.95" } PropName "Parameters" } } System { Name "180 degree pulses" Location [-8, 0, 1370, 744] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "125" Block { BlockType BusCreator Name "Bus\nCreator1" SID "2" Ports [2, 1] Position [385, 133, 390, 197] ZOrder -1 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType BusCreator Name "Bus\nCreator3" SID "3" Ports [2, 1] Position [385, 373, 390, 437] ZOrder -2 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType BusCreator Name "Bus\nCreator4" SID "4" Ports [2, 1] Position [385, 291, 390, 349] ZOrder -3 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType SubSystem Name "Control of A-Phase" SID "20" Ports [3, 2] Position [230, 137, 355, 193] ZOrder -19 RequestExecContextInheritance off System { Name "Control of A-Phase" Location [-8, 0, 1370, 744] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "175" Block { BlockType Inport Name "Reference" SID "21" Position [270, 238, 300, 252] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "Carrier 1" SID "22" Position [270, 303, 300, 317] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Carrier2" SID "23" Position [270, 363, 300, 377] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType BusCreator Name "Bus\nCreator1" SID "24" Ports [2, 1] Position [495, 236, 500, 309] ZOrder -4 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType BusCreator Name "Bus\nCreator2" SID "25" Ports [2, 1] Position [495, 346, 500, 419] ZOrder -5 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Logic Name "Logical\nOperator1" SID "27" Ports [1, 1] Position [440, 388, 465, 412] ZOrder -7 ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator4" SID "28" Ports [1, 1] Position [440, 353, 465, 377] ZOrder -8 ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "31" Ports [2, 1] Position [350, 237, 380, 268] ZOrder -11 ShowName off Operator ">" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator1" SID "32" Ports [2, 1] Position [340, 347, 370, 378] ZOrder -12 ShowName off Operator ">" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType Outport Name "Control positive " SID "33" Position [540, 268, 570, 282] ZOrder -13 IconDisplay "Port number" } Block { BlockType Outport Name "Control negative" SID "34" Position [550, 378, 580, 392] ZOrder -14 Port "2" IconDisplay "Port number" } Line { ZOrder 1 SrcBlock "Carrier2" SrcPort 1 DstBlock "Relational\nOperator1" DstPort 2 } Line { ZOrder 4 SrcBlock "Carrier 1" SrcPort 1 Points [29, 0; 0, -50] DstBlock "Relational\nOperator" DstPort 2 } Line { ZOrder 7 SrcBlock "Reference" SrcPort 1 Points [15, 0] Branch { ZOrder 9 DstBlock "Relational\nOperator" DstPort 1 } Branch { ZOrder 10 Points [0, 110] DstBlock "Relational\nOperator1" DstPort 1 } } Line { ZOrder 12 SrcBlock "Relational\nOperator" SrcPort 1 Points [26, 0] Branch { ZOrder 13 Points [0, 110] DstBlock "Logical\nOperator4" DstPort 1 } Branch { ZOrder 14 DstBlock "Bus\nCreator1" DstPort 1 } } Line { ZOrder 17 SrcBlock "Relational\nOperator1" SrcPort 1 Points [16, 0] Branch { ZOrder 18 Points [0, 35] DstBlock "Logical\nOperator1" DstPort 1 } Branch { ZOrder 19 Points [0, -75] DstBlock "Bus\nCreator1" DstPort 2 } } Line { ZOrder 22 SrcBlock "Logical\nOperator1" SrcPort 1 DstBlock "Bus\nCreator2" DstPort 2 } Line { ZOrder 23 SrcBlock "Logical\nOperator4" SrcPort 1 DstBlock "Bus\nCreator2" DstPort 1 } Line { ZOrder 25 SrcBlock "Bus\nCreator1" SrcPort 1 DstBlock "Control positive " DstPort 1 } Line { ZOrder 26 SrcBlock "Bus\nCreator2" SrcPort 1 DstBlock "Control negative" DstPort 1 } } } Block { BlockType SubSystem Name "Control of B-Phase" SID "35" Ports [3, 2] Position [230, 292, 355, 348] ZOrder -20 RequestExecContextInheritance off System { Name "Control of B-Phase" Location [-8, 0, 1370, 744] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Reference" SID "36" Position [45, 208, 75, 222] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "Carrier 1" SID "37" Position [45, 273, 75, 287] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Carrier 2" SID "38" Position [45, 333, 75, 347] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType BusCreator Name "Bus\nCreator1" SID "39" Ports [2, 1] Position [500, 206, 505, 279] ZOrder -4 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType BusCreator Name "Bus\nCreator2" SID "40" Ports [2, 1] Position [500, 316, 505, 389] ZOrder -5 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Logic Name "Logical\nOperator1" SID "42" Ports [1, 1] Position [415, 358, 440, 382] ZOrder -7 ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator4" SID "43" Ports [1, 1] Position [415, 323, 440, 347] ZOrder -8 ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "46" Ports [2, 1] Position [260, 207, 290, 238] ZOrder -11 ShowName off Operator ">" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator1" SID "47" Ports [2, 1] Position [260, 317, 290, 348] ZOrder -12 ShowName off Operator ">" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType Outport Name "Control positive" SID "48" Position [565, 238, 595, 252] ZOrder -13 IconDisplay "Port number" } Block { BlockType Outport Name "Control negative" SID "49" Position [565, 348, 595, 362] ZOrder -14 Port "2" IconDisplay "Port number" } Line { ZOrder 1 SrcBlock "Bus\nCreator2" SrcPort 1 DstBlock "Control negative" DstPort 1 } Line { ZOrder 2 SrcBlock "Bus\nCreator1" SrcPort 1 DstBlock "Control positive" DstPort 1 } Line { ZOrder 3 SrcBlock "Reference" SrcPort 1 Points [130, 0] Branch { ZOrder 5 Points [0, 110] DstBlock "Relational\nOperator1" DstPort 1 } Branch { ZOrder 6 DstBlock "Relational\nOperator" DstPort 1 } } Line { ZOrder 8 SrcBlock "Carrier 1" SrcPort 1 Points [90, 0; 0, -50] DstBlock "Relational\nOperator" DstPort 2 } Line { ZOrder 11 SrcBlock "Carrier 2" SrcPort 1 DstBlock "Relational\nOperator1" DstPort 2 } Line { ZOrder 14 SrcBlock "Relational\nOperator" SrcPort 1 Points [85, 0] Branch { ZOrder 15 Points [0, 110] DstBlock "Logical\nOperator4" DstPort 1 } Branch { ZOrder 16 DstBlock "Bus\nCreator1" DstPort 1 } } Line { ZOrder 19 SrcBlock "Logical\nOperator1" SrcPort 1 DstBlock "Bus\nCreator2" DstPort 2 } Line { ZOrder 20 SrcBlock "Logical\nOperator4" SrcPort 1 DstBlock "Bus\nCreator2" DstPort 1 } Line { ZOrder 21 SrcBlock "Relational\nOperator1" SrcPort 1 Points [50, 0] Branch { ZOrder 22 Points [0, 35] DstBlock "Logical\nOperator1" DstPort 1 } Branch { ZOrder 23 Points [0, -75] DstBlock "Bus\nCreator1" DstPort 2 } } } } Block { BlockType SubSystem Name "Control of C-Phase" SID "50" Ports [3, 2] Position [230, 376, 355, 434] ZOrder -21 RequestExecContextInheritance off System { Name "Control of C-Phase" Location [-8, 0, 1370, 744] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Reference" SID "51" Position [55, 93, 85, 107] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "Carrier 1" SID "52" Position [55, 158, 85, 172] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Carrier 2" SID "53" Position [55, 218, 85, 232] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType BusCreator Name "Bus\nCreator1" SID "54" Ports [2, 1] Position [505, 91, 510, 164] ZOrder -4 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType BusCreator Name "Bus\nCreator2" SID "55" Ports [2, 1] Position [505, 201, 510, 274] ZOrder -5 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Logic Name "Logical\nOperator1" SID "56" Ports [1, 1] Position [430, 243, 455, 267] ZOrder -6 ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator4" SID "57" Ports [1, 1] Position [430, 208, 455, 232] ZOrder -7 ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "58" Ports [2, 1] Position [270, 92, 300, 123] ZOrder -8 ShowName off Operator ">" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator1" SID "59" Ports [2, 1] Position [270, 202, 300, 233] ZOrder -9 ShowName off Operator ">" InputSameDT off OutDataTypeStr "boolean" } Block { BlockType Outport Name "Control positive" SID "60" Position [575, 123, 605, 137] ZOrder -10 IconDisplay "Port number" } Block { BlockType Outport Name "Control negative" SID "61" Position [575, 233, 605, 247] ZOrder -11 Port "2" IconDisplay "Port number" } Line { ZOrder 1 SrcBlock "Carrier 2" SrcPort 1 DstBlock "Relational\nOperator1" DstPort 2 } Line { ZOrder 2 SrcBlock "Carrier 1" SrcPort 1 Points [90, 0; 0, -50] DstBlock "Relational\nOperator" DstPort 2 } Line { ZOrder 3 SrcBlock "Reference" SrcPort 1 Points [130, 0] Branch { ZOrder 4 DstBlock "Relational\nOperator" DstPort 1 } Branch { ZOrder 5 Points [0, 110] DstBlock "Relational\nOperator1" DstPort 1 } } Line { ZOrder 6 SrcBlock "Bus\nCreator1" SrcPort 1 DstBlock "Control positive" DstPort 1 } Line { ZOrder 7 SrcBlock "Bus\nCreator2" SrcPort 1 DstBlock "Control negative" DstPort 1 } Line { ZOrder 8 SrcBlock "Logical\nOperator4" SrcPort 1 DstBlock "Bus\nCreator2" DstPort 1 } Line { ZOrder 9 SrcBlock "Logical\nOperator1" SrcPort 1 DstBlock "Bus\nCreator2" DstPort 2 } Line { ZOrder 10 SrcBlock "Relational\nOperator" SrcPort 1 Points [85, 0] Branch { ZOrder 11 DstBlock "Bus\nCreator1" DstPort 1 } Branch { ZOrder 12 Points [0, 110] DstBlock "Logical\nOperator4" DstPort 1 } } Line { ZOrder 13 SrcBlock "Relational\nOperator1" SrcPort 1 Points [40, 0] Branch { ZOrder 14 Points [0, -75] DstBlock "Bus\nCreator1" DstPort 2 } Branch { ZOrder 15 Points [0, 35] DstBlock "Logical\nOperator1" DstPort 1 } } } } Block { BlockType Demux Name "Demux" SID "364" Ports [1, 2] Position [630, 277, 635, 323] ZOrder 2 ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Demux Name "Demux1" SID "365" Ports [1, 2] Position [615, 313, 620, 362] ZOrder 3 ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType From Name "From" SID "5" Position [485, 290, 525, 310] ZOrder -4 ShowName off GotoTag "CW2" } Block { BlockType From Name "From1" SID "6" Position [485, 260, 525, 280] ZOrder -5 ShowName off GotoTag "CW1" } Block { BlockType From Name "From2" SID "7" Position [485, 230, 525, 250] ZOrder -6 ShowName off GotoTag "SinA" } Block { BlockType From Name "From6" SID "363" Position [575, 290, 615, 310] ZOrder 1 ShowName off GotoTag "CSA" } Block { BlockType From Name "From7" SID "367" Position [555, 330, 595, 350] ZOrder 5 ShowName off GotoTag "CSAV" } Block { BlockType Goto Name "Goto" SID "11" Position [230, 245, 270, 275] ZOrder -10 ShowName off GotoTag "CW2" } Block { BlockType Goto Name "Goto1" SID "12" Position [230, 210, 270, 240] ZOrder -11 ShowName off GotoTag "CW1" } Block { BlockType Goto Name "Goto2" SID "13" Position [215, 95, 255, 125] ZOrder -12 ShowName off GotoTag "SinA" } Block { BlockType Goto Name "Goto5" SID "16" Position [410, 110, 450, 140] ZOrder -15 ShowName off GotoTag "CSA" } Block { BlockType Goto Name "Goto6" SID "366" Position [410, 195, 450, 225] ZOrder 4 ShowName off GotoTag "CSAV" } Block { BlockType Mux Name "Mux" SID "17" Ports [3, 1] Position [555, 223, 560, 317] ZOrder -16 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Scope Name "Observer" SID "18" Ports [5] Position [685, 256, 720, 364] ZOrder -17 Floating off Location [137, 56, 974, 722] Open off NumInputPorts "5" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" axes5 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off YMin "-2~-0.2~-0.2~-0.1~-0.1" YMax "12~1.2~1.2~1.1~1.1" SaveToWorkspace on SaveName "Observer" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleInput on SampleTime "5e-6" ScrollMode off } Block { BlockType Sin Name "Sine Wave\nFunction" SID "62" Ports [0, 1] Position [135, 130, 165, 160] ZOrder -22 ShowName off Amplitude "5*m" Bias "5*m" Frequency "fr*2*pi" SampleTime "0" } Block { BlockType Sin Name "Sine Wave\nFunction1" SID "63" Ports [0, 1] Position [135, 285, 165, 315] ZOrder -23 ShowName off Amplitude "5*m" Bias "5*m" Frequency "fr*2*pi" Phase "2*pi/3" SampleTime "0" } Block { BlockType Sin Name "Sine Wave\nFunction2" SID "64" Ports [0, 1] Position [135, 370, 165, 400] ZOrder -24 ShowName off Amplitude "5*m" Bias "5*m" Frequency "fr*2*pi" Phase "4*pi/3" SampleTime "0" } Block { BlockType Reference Name "Traingle1" SID "65" Ports [0, 1] Position [135, 245, 165, 275] ZOrder -25 ShowName off LibraryVersion "1.354" SourceBlock "simulink/Sources/Repeating\nSequence" SourceType "Repeating table" ContentPreviewEnabled off rep_seq_t "[0 1/fc]" rep_seq_y "[-1 5]" } Block { BlockType Reference Name "Traingle2" SID "66" Ports [0, 1] Position [135, 210, 165, 240] ZOrder -26 ShowName off LibraryVersion "1.354" SourceBlock "simulink/Sources/Repeating\nSequence" SourceType "Repeating table" ContentPreviewEnabled off rep_seq_t "[0 1/fc]" rep_seq_y "[5 11]" } Block { BlockType Outport Name "The A-Phase" SID "67" Position [415, 158, 445, 172] ZOrder -27 IconDisplay "Port number" } Block { BlockType Outport Name "The B-Phase" SID "68" Position [415, 313, 445, 327] ZOrder -28 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "The C-Phase" SID "69" Position [415, 398, 445, 412] ZOrder -29 Port "3" IconDisplay "Port number" } Line { ZOrder 1 SrcBlock "Sine Wave\nFunction2" SrcPort 1 DstBlock "Control of C-Phase" DstPort 1 } Line { ZOrder 4 SrcBlock "Sine Wave\nFunction" SrcPort 1 Points [26, 0] Branch { ZOrder 5 DstBlock "Control of A-Phase" DstPort 1 } Branch { ZOrder 6 Points [0, -35] DstBlock "Goto2" DstPort 1 } } Line { ZOrder 7 SrcBlock "Sine Wave\nFunction1" SrcPort 1 DstBlock "Control of B-Phase" DstPort 1 } Line { ZOrder 10 SrcBlock "Traingle2" SrcPort 1 Points [5, 0] Branch { ZOrder 11 Points [0, 95] Branch { ZOrder 12 Points [0, 85] DstBlock "Control of C-Phase" DstPort 2 } Branch { ZOrder 13 DstBlock "Control of B-Phase" DstPort 2 } } Branch { ZOrder 14 Points [0, -60] DstBlock "Control of A-Phase" DstPort 2 } Branch { ZOrder 15 DstBlock "Goto1" DstPort 1 } } Line { ZOrder 16 SrcBlock "Traingle1" SrcPort 1 Points [30, 0] Branch { ZOrder 17 Points [0, -75] DstBlock "Control of A-Phase" DstPort 3 } Branch { ZOrder 18 Points [0, 80] Branch { ZOrder 19 DstBlock "Control of B-Phase" DstPort 3 } Branch { ZOrder 20 Points [0, 85] DstBlock "Control of C-Phase" DstPort 3 } } Branch { ZOrder 21 DstBlock "Goto" DstPort 1 } } Line { ZOrder 22 SrcBlock "Control of B-Phase" SrcPort 1 DstBlock "Bus\nCreator4" DstPort 1 } Line { ZOrder 23 SrcBlock "Control of B-Phase" SrcPort 2 DstBlock "Bus\nCreator4" DstPort 2 } Line { ZOrder 24 SrcBlock "Control of C-Phase" SrcPort 1 DstBlock "Bus\nCreator3" DstPort 1 } Line { ZOrder 25 SrcBlock "Control of A-Phase" SrcPort 2 Points [3, 0] Branch { ZOrder 79 DstBlock "Bus\nCreator1" DstPort 2 } Branch { ZOrder 77 Points [0, 30] DstBlock "Goto6" DstPort 1 } } Line { ZOrder 26 SrcBlock "Mux" SrcPort 1 DstBlock "Observer" DstPort 1 } Line { ZOrder 60 SrcBlock "From" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { ZOrder 59 SrcBlock "From1" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { ZOrder 29 SrcBlock "Control of A-Phase" SrcPort 1 Points [3, 0] Branch { ZOrder 78 DstBlock "Bus\nCreator1" DstPort 1 } Branch { ZOrder 30 Points [0, -25] DstBlock "Goto5" DstPort 1 } } Line { ZOrder 36 SrcBlock "Control of C-Phase" SrcPort 2 DstBlock "Bus\nCreator3" DstPort 2 } Line { ZOrder 37 SrcBlock "Bus\nCreator1" SrcPort 1 DstBlock "The A-Phase" DstPort 1 } Line { ZOrder 38 SrcBlock "Bus\nCreator4" SrcPort 1 DstBlock "The B-Phase" DstPort 1 } Line { ZOrder 39 SrcBlock "Bus\nCreator3" SrcPort 1 DstBlock "The C-Phase" DstPort 1 } Line { ZOrder 40 SrcBlock "From2" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { ZOrder 49 SrcBlock "Demux" SrcPort 1 DstBlock "Observer" DstPort 2 } Line { ZOrder 50 SrcBlock "Demux" SrcPort 2 DstBlock "Observer" DstPort 3 } Line { ZOrder 51 SrcBlock "From6" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { ZOrder 54 SrcBlock "Demux1" SrcPort 2 DstBlock "Observer" DstPort 5 } Line { ZOrder 55 SrcBlock "Demux1" SrcPort 1 Points [0, 5] DstBlock "Observer" DstPort 4 } Line { ZOrder 58 SrcBlock "From7" SrcPort 1 DstBlock "Demux1" DstPort 1 } Annotation { SID "267" Name "Reference Signal A-Phase" Position [100, 174, 225, 189] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -1 } Annotation { SID "268" Name "Reference Signal B-Phase" Position [95, 325, 221, 340] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -2 } Annotation { SID "269" Name "Reference Signal C-Phase" Position [94, 408, 220, 423] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -3 } Annotation { SID "270" Name "Carrier Signal" Position [100, 241, 167, 256] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -4 } } } Block { BlockType BusCreator Name "Bus\nCreator1" SID "369" Ports [3, 1] Position [1160, 219, 1165, 271] ZOrder 74 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType BusCreator Name "Bus\nCreator2" SID "70" Ports [2, 1] Position [1080, 30, 1085, 110] ZOrder -2 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Clock Name "Clock1" SID "74" Position [925, 60, 945, 80] ZOrder -6 ShowName off Decimation "1" } Block { BlockType Reference Name "D1" SID "75" Ports [0, 0, 0, 0, 0, 1, 1] Position [409, 235, 431, 265] ZOrder -7 BlockRotation 270 NamePlacement "alternate" LibraryVersion "1.2446" SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ContentPreviewEnabled off Ron "0.001" Lon "0" Vf "0.8" IC "0" UseSnubber off Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "D2" SID "76" Ports [0, 0, 0, 0, 0, 1, 1] Position [409, 385, 431, 415] ZOrder -8 BlockRotation 270 NamePlacement "alternate" LibraryVersion "1.2446" SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ContentPreviewEnabled off Ron "0.001" Lon "0" Vf "0.8" IC "0" UseSnubber off Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "D3" SID "77" Ports [0, 0, 0, 0, 0, 1, 1] Position [524, 230, 546, 260] ZOrder -9 BlockRotation 270 NamePlacement "alternate" LibraryVersion "1.2446" SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ContentPreviewEnabled off Ron "0.001" Lon "0" Vf "0.8" IC "0" UseSnubber off Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "D4" SID "78" Ports [0, 0, 0, 0, 0, 1, 1] Position [524, 385, 546, 415] ZOrder -10 BlockRotation 270 NamePlacement "alternate" LibraryVersion "1.2446" SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ContentPreviewEnabled off Ron "0.001" Lon "0" Vf "0.8" IC "0" UseSnubber off Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "D5" SID "79" Ports [0, 0, 0, 0, 0, 1, 1] Position [644, 245, 666, 275] ZOrder -11 BlockRotation 270 NamePlacement "alternate" LibraryVersion "1.2446" SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ContentPreviewEnabled off Ron "0.001" Lon "0" Vf "0.8" IC "0" UseSnubber off Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "D6" SID "80" Ports [0, 0, 0, 0, 0, 1, 1] Position [644, 380, 666, 410] ZOrder -12 BlockRotation 270 NamePlacement "alternate" LibraryVersion "1.2446" SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ContentPreviewEnabled off Ron "0.001" Lon "0" Vf "0.8" IC "0" UseSnubber off Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "DC Voltage Source" SID "81" Ports [0, 0, 0, 0, 0, 1, 1] Position [312, 315, 348, 335] ZOrder -13 BlockRotation 270 ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Electrical\nSources/DC Voltage Source" SourceType "DC Voltage Source" ContentPreviewEnabled off Amplitude "400" Measurements "None" } Block { BlockType Demux Name "Demux" SID "312" Ports [1, 4] Position [210, 132, 215, 208] ZOrder 32 ShowName off DisplayOption "bar" } Block { BlockType Demux Name "Demux1" SID "334" Ports [1, 4] Position [210, 232, 215, 308] ZOrder 54 ShowName off DisplayOption "bar" } Block { BlockType Demux Name "Demux3" SID "324" Ports [1, 4] Position [270, 182, 275, 258] ZOrder 44 ShowName off DisplayOption "bar" } Block { BlockType Fcn Name "Fcn1" SID "82" Position [1020, 35, 1050, 65] ZOrder -14 ShowName off Expr "u(1)*sin( 2*pi*1*50*u(3) + u(2)*pi/180 )" } Block { BlockType Scope Name "Filtered Line voltages" SID "83" Ports [3] Position [1115, 268, 1145, 302] ZOrder -15 Floating off Location [1, 48, 1367, 727] Open off NumInputPorts "3" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off YMin "-90~-90~-90" YMax "90~90~90" SaveToWorkspace on SaveName "Filtered_line_voltages" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleInput on SampleTime "5e-6" ScrollMode off } Block { BlockType Reference Name "Fourier4" SID "84" Ports [1, 2] Position [925, 21, 975, 59] ZOrder -16 ShowName off LibraryVersion "1.666" SourceBlock "powerlib_extras/Measurements/Fourier" SourceType "Fourier analyser" ContentPreviewEnabled off f1 "50" n "1" } Block { BlockType From Name "From1" SID "339" Position [440, 125, 465, 145] ZOrder 59 ShowName off GotoTag "a2" } Block { BlockType From Name "From10" SID "349" Position [670, 355, 705, 375] ZOrder 69 ShowName off GotoTag "cv2" } Block { BlockType From Name "From11" SID "350" Position [430, 462, 455, 478] ZOrder 70 ShowName off GotoTag "av1" } Block { BlockType From Name "From12" SID "351" Position [535, 460, 570, 480] ZOrder 71 ShowName off GotoTag "bv1" } Block { BlockType From Name "From13" SID "352" Position [660, 460, 690, 480] ZOrder 72 ShowName off GotoTag "cv1" } Block { BlockType From Name "From2" SID "340" Position [550, 125, 575, 145] ZOrder 60 ShowName off GotoTag "b2" } Block { BlockType From Name "From3" SID "341" Position [665, 125, 690, 145] ZOrder 61 ShowName off GotoTag "c2" } Block { BlockType From Name "From4" SID "342" Position [440, 235, 465, 255] ZOrder 62 ShowName off GotoTag "a1" } Block { BlockType From Name "From5" SID "311" Position [250, 35, 290, 55] ZOrder 31 ShowName off GotoTag "CSA" } Block { BlockType From Name "From6" SID "343" Position [550, 232, 575, 248] ZOrder 63 ShowName off GotoTag "b1" } Block { BlockType From Name "From7" SID "344" Position [670, 230, 700, 250] ZOrder 64 ShowName off GotoTag "c1" } Block { BlockType From Name "From8" SID "345" Position [440, 352, 465, 368] ZOrder 65 ShowName off GotoTag "av2" } Block { BlockType From Name "From9" SID "348" Position [545, 352, 585, 368] ZOrder 68 ShowName off GotoTag "bv2" } Block { BlockType Goto Name "Goto1" SID "315" Position [230, 132, 255, 148] ZOrder 35 ShowName off GotoTag "a2" } Block { BlockType Goto Name "Goto10" SID "335" Position [230, 232, 260, 248] ZOrder 55 ShowName off GotoTag "c2" } Block { BlockType Goto Name "Goto11" SID "336" Position [230, 252, 260, 268] ZOrder 56 ShowName off GotoTag "c1" } Block { BlockType Goto Name "Goto12" SID "337" Position [230, 272, 260, 288] ZOrder 57 ShowName off GotoTag "cv2" } Block { BlockType Goto Name "Goto13" SID "338" Position [230, 292, 260, 308] ZOrder 58 ShowName off GotoTag "cv1" } Block { BlockType Goto Name "Goto2" SID "316" Position [230, 152, 255, 168] ZOrder 36 ShowName off GotoTag "a1" } Block { BlockType Goto Name "Goto3" SID "310" Position [340, 45, 380, 75] ZOrder 30 ShowName off GotoTag "CW1" } Block { BlockType Goto Name "Goto4" SID "317" Position [230, 172, 255, 188] ZOrder 37 ShowName off GotoTag "av2" } Block { BlockType Goto Name "Goto5" SID "319" Position [230, 194, 255, 206] ZOrder 39 ShowName off GotoTag "av1" } Block { BlockType Goto Name "Goto6" SID "325" Position [290, 182, 320, 198] ZOrder 45 ShowName off GotoTag "b2" } Block { BlockType Goto Name "Goto7" SID "326" Position [290, 202, 320, 218] ZOrder 46 ShowName off GotoTag "b1" } Block { BlockType Goto Name "Goto8" SID "327" Position [290, 222, 320, 238] ZOrder 47 ShowName off GotoTag "bv2" } Block { BlockType Goto Name "Goto9" SID "328" Position [290, 242, 320, 258] ZOrder 48 ShowName off GotoTag "bv1" } Block { BlockType SubSystem Name "LP filter 2nd order" SID "91" Ports [3, 3] Position [1015, 267, 1055, 303] ZOrder -23 RequestExecContextInheritance off Object { $PropName "MaskObject" $ObjectID 26 $ClassName "Simulink.Mask" Array { Type "Simulink.MaskParameter" Dimension 2 Object { $ObjectID 27 Type "edit" Name "cutoff_frequency" Prompt "Cut off frequency" Value "100" } Object { $ObjectID 28 Type "edit" Name "damping_factor" Prompt "Damping Factor" Value "0.707" } PropName "Parameters" } } System { Name "LP filter 2nd order" Location [-8, 0, 1370, 744] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "a" SID "92" Position [25, 33, 55, 47] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "b" SID "93" Position [25, 88, 55, 102] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "c" SID "94" Position [30, 148, 60, 162] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Reference Name "2nd-Order\nFilter" SID "95" Ports [1, 1] Position [85, 15, 140, 65] ZOrder -4 ShowName off LibraryVersion "1.666" FontName "Verdana" FontSize 11 SourceBlock "powerlib_extras/Control \nBlocks/2nd-Order\nFilter" SourceType "2nd-Order Filter" ContentPreviewEnabled off FilterType "Lowpass" Fo "cutoff_frequency" Zeta "damping_factor" Initialize off Vac_Init "[1 45 60]" Vdc_Init "-0.5" PlotResponse off param1 "[1 500 1]" } Block { BlockType Reference Name "2nd-Order\nFilter1" SID "96" Ports [1, 1] Position [85, 70, 140, 120] ZOrder -5 ShowName off LibraryVersion "1.666" FontName "Verdana" FontSize 11 SourceBlock "powerlib_extras/Control \nBlocks/2nd-Order\nFilter" SourceType "2nd-Order Filter" ContentPreviewEnabled off FilterType "Lowpass" Fo "cutoff_frequency" Zeta "damping_factor" Initialize off Vac_Init "[1 45 60]" Vdc_Init "-0.5" PlotResponse off param1 "[1 500 1]" } Block { BlockType Reference Name "2nd-Order\nFilter2" SID "97" Ports [1, 1] Position [85, 130, 140, 180] ZOrder -6 ShowName off LibraryVersion "1.666" FontName "Verdana" FontSize 11 SourceBlock "powerlib_extras/Control \nBlocks/2nd-Order\nFilter" SourceType "2nd-Order Filter" ContentPreviewEnabled off FilterType "Lowpass" Fo "cutoff_frequency" Zeta "damping_factor" Initialize off Vac_Init "[1 45 60]" Vdc_Init "-0.5" PlotResponse off param1 "[1 500 1]" } Block { BlockType Outport Name "A" SID "98" Position [160, 33, 190, 47] ZOrder -7 IconDisplay "Port number" } Block { BlockType Outport Name "B" SID "99" Position [160, 88, 190, 102] ZOrder -8 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "C" SID "100" Position [165, 148, 195, 162] ZOrder -9 Port "3" IconDisplay "Port number" } Line { ZOrder 1 SrcBlock "a" SrcPort 1 DstBlock "2nd-Order\nFilter" DstPort 1 } Line { ZOrder 2 SrcBlock "2nd-Order\nFilter" SrcPort 1 DstBlock "A" DstPort 1 } Line { ZOrder 3 SrcBlock "b" SrcPort 1 DstBlock "2nd-Order\nFilter1" DstPort 1 } Line { ZOrder 4 SrcBlock "2nd-Order\nFilter1" SrcPort 1 DstBlock "B" DstPort 1 } Line { ZOrder 5 SrcBlock "c" SrcPort 1 DstBlock "2nd-Order\nFilter2" DstPort 1 } Line { ZOrder 6 SrcBlock "2nd-Order\nFilter2" SrcPort 1 DstBlock "C" DstPort 1 } } } Block { BlockType Scope Name "Line voltages" SID "101" Ports [3] Position [1000, 198, 1030, 232] ZOrder -24 Floating off Location [1, 48, 1363, 727] Open on NumInputPorts "3" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off YMin "-420~-420~-420" YMax "420~420~420" SaveToWorkspace on SaveName "Line_voltages" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleInput on SampleTime "5e-6" ScrollMode off } Block { BlockType Mux Name "Mux1" SID "127" Ports [3, 1] Position [1000, 19, 1005, 81] ZOrder -28 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Scope Name "Neutral Voltages" SID "128" Ports [3] Position [1115, 332, 1145, 368] ZOrder -29 Floating off Location [1, 48, 1367, 727] Open off NumInputPorts "3" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "1" YMin "-1.25~-1.25~-1.5" YMax "1.25~1.5~1.25" SaveToWorkspace on SaveName "Neutral_voltages" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleInput on SampleTime "5e-6" ScrollMode off } Block { BlockType Scope Name "Neutral Voltages1" SID "368" Ports [1] Position [1190, 227, 1220, 263] ZOrder 73 Floating off Location [65, 196, 1055, 716] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "1" YMin "-270" YMax "270" SaveToWorkspace on SaveName "Neutral_voltages1" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleInput on SampleTime "5e-6" ScrollMode off } Block { BlockType Scope Name "Scope3" SID "167" Ports [1] Position [1115, 54, 1145, 86] ZOrder -31 Floating off Location [19, 178, 1010, 607] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "0.1" YMin "-420" YMax "420" SaveToWorkspace on SaveName "Fu_SPWM" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleInput on SampleTime "1e-5" ScrollMode off } Block { BlockType Reference Name "Series RLC Branch" SID "168" Ports [0, 0, 0, 0, 0, 1, 1] Position [361, 195, 389, 265] ZOrder -32 BlockRotation 270 BlockMirror on ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "RC" Resistance "1.0" Inductance "1.0" SetiL0 off InitialCurrent "0" Capacitance "2200e-6" Setx0 off InitialVoltage "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Branch1" SID "169" Ports [0, 0, 0, 0, 0, 1, 1] Position [361, 410, 389, 480] ZOrder -33 BlockRotation 270 BlockMirror on ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "RC" Resistance "1.0" Inductance "1.0" SetiL0 off InitialCurrent "0" Capacitance "2200e-6" Setx0 off InitialVoltage "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Branch2" SID "260" Ports [0, 0, 0, 0, 0, 1, 1] Position [961, 495, 989, 565] ZOrder -34 BlockRotation 270 ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "RL" Resistance "10" Inductance "5e-3" SetiL0 off InitialCurrent "0" Capacitance "1e-6" Setx0 off InitialVoltage "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Branch3" SID "261" Ports [0, 0, 0, 0, 0, 1, 1] Position [991, 495, 1019, 565] ZOrder -35 BlockRotation 270 ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "RL" Resistance "10" Inductance "5e-3" SetiL0 off InitialCurrent "0" Capacitance "1e-6" Setx0 off InitialVoltage "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Branch4" SID "262" Ports [0, 0, 0, 0, 0, 1, 1] Position [1021, 495, 1049, 565] ZOrder -36 BlockRotation 270 ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "RL" Resistance "10" Inductance "5e-3" SetiL0 off InitialCurrent "0" Capacitance "1e-6" Setx0 off InitialVoltage "0" Measurements "None" } Block { BlockType Scope Name "THD_G" SID "265" Ports [1] Position [1130, 400, 1155, 440] ZOrder -38 Floating off Location [16, 56, 1168, 771] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "0.1" YMin "0.75" YMax "2.75" SaveToWorkspace on SaveName "THD_Van" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleInput on SampleTime "1e-5" ScrollMode off } Block { BlockType Scope Name "THD_Vab" SID "263" Ports [1] Position [1115, 117, 1145, 163] ZOrder -37 Floating off Location [131, 134, 819, 465] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "0.1" YMin "0.75" YMax "2.75" SaveToWorkspace on SaveName "THD_Vab" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleInput on SampleTime "1e-5" ScrollMode off } Block { BlockType Reference Name "Tb2" SID "296" Ports [1, 0, 0, 0, 0, 1, 1] Position [578, 150, 622, 210] ZOrder 17 BlockRotation 270 BlockMirror on NamePlacement "alternate" ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "Total Harmonic\nDistorsion" SID "264" Ports [1, 1] Position [1040, 117, 1085, 163] ZOrder -39 LibraryVersion "1.666" SourceBlock "powerlib_extras/Measurements/Total Harmonic\nDistortion" SourceType "Total Harmonic Distortion" ContentPreviewEnabled off f1 "150" } Block { BlockType Reference Name "Total Harmonic\nDistorsion1" SID "266" Ports [1, 1] Position [1065, 395, 1110, 445] ZOrder -40 LibraryVersion "1.666" SourceBlock "powerlib_extras/Measurements/Total Harmonic\nDistortion" SourceType "Total Harmonic Distortion" ContentPreviewEnabled off f1 "150" } Block { BlockType SubSystem Name "Voltage_a_b_c" SID "129" Ports [0, 6, 0, 0, 0, 3, 3] Position [790, 297, 910, 393] ZOrder -30 RequestExecContextInheritance off System { Name "Voltage_a_b_c" Location [-8, 0, 1370, 744] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType BusCreator Name "Bus\nCreator" SID "130" Ports [2, 1] Position [540, 167, 545, 238] ZOrder -1 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Clock Name "Clock3" SID "131" Position [430, 195, 450, 215] ZOrder -2 ShowName off Decimation "1" } Block { BlockType Reference Name "Current Measueent1" SID "132" Ports [0, 1, 0, 0, 0, 1, 1] Position [95, 278, 120, 302] ZOrder -3 ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Current Measurement" SourceType "Current Measurement" ContentPreviewEnabled off PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "Current Measueent2" SID "133" Ports [0, 1, 0, 0, 0, 1, 1] Position [95, 313, 120, 337] ZOrder -4 ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Current Measurement" SourceType "Current Measurement" ContentPreviewEnabled off PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "Current Measueent3" SID "134" Ports [0, 1, 0, 0, 0, 1, 1] Position [95, 348, 120, 372] ZOrder -5 ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Current Measurement" SourceType "Current Measurement" ContentPreviewEnabled off PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Fcn Name "Fcn5" SID "135" Position [490, 170, 520, 200] ZOrder -6 ShowName off Expr "u(1)*sin( 2*pi*1*50*u(3) + u(2)*pi/180 )" } Block { BlockType Reference Name "Fourier3" SID "136" Ports [1, 2] Position [380, 156, 430, 194] ZOrder -7 LibraryVersion "1.666" SourceBlock "powerlib_extras/Measurements/Fourier" SourceType "Fourier analyser" ContentPreviewEnabled off f1 "50" n "1" } Block { BlockType Gain Name "Gain1" SID "239" Position [540, 380, 570, 410] ZOrder -8 Gain "1/3" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain2" SID "240" Position [540, 460, 570, 490] ZOrder -9 Gain "1/3" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "Vcn" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain3" SID "241" Position [540, 280, 570, 310] ZOrder -10 Gain "1/3" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "Van" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Scope Name "Iabc" SID "140" Ports [1] Position [270, 178, 295, 212] ZOrder -11 Floating off Location [6, 48, 1372, 727] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } ShowLegends off TimeRange "0.1" YMin "-0.3" YMax "0.4" SaveToWorkspace on SaveName "Iabc" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleInput on SampleTime "5e-6" ScrollMode off } Block { BlockType Mux Name "Mux" SID "141" Ports [3, 1] Position [235, 163, 240, 227] ZOrder -12 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux5" SID "142" Ports [3, 1] Position [470, 154, 475, 216] ZOrder -13 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Scope Name "Scope2" SID "143" Ports [1] Position [490, 66, 515, 124] ZOrder -14 Floating off Location [14, 102, 1166, 817] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } ShowLegends off TimeRange "0.04" YMin "0.75" YMax "2.75" SaveToWorkspace on SaveName "THD_Iabc" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleInput on SampleTime "1e-5" ScrollMode off } Block { BlockType Scope Name "Scope5" SID "144" Ports [1] Position [625, 189, 655, 221] ZOrder -15 Floating off Location [82, 172, 997, 659] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } ShowLegends off TimeRange "0.04" YMin "-80" YMax "80" SaveName "ScopeData2" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleTime "0" ScrollMode off } Block { BlockType Sum Name "Subtract" SID "242" Ports [2, 1] Position [465, 277, 495, 308] ZOrder -16 Inputs "-+" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Subtract1" SID "243" Ports [2, 1] Position [470, 377, 500, 408] ZOrder -17 Inputs "-+" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Subtract2" SID "244" Ports [2, 1] Position [470, 457, 500, 488] ZOrder -18 Inputs "+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "Total Harmonic\nDistorsion" SID "148" Ports [1, 1] Position [400, 67, 450, 123] ZOrder -19 LibraryVersion "1.666" SourceBlock "powerlib_extras/Measurements/Total Harmonic\nDistortion" SourceType "Total Harmonic Distortion" ContentPreviewEnabled off f1 "150" } Block { BlockType Reference Name "Voltage Measurement1" SID "149" Ports [0, 1, 0, 0, 0, 2] Position [285, 323, 310, 347] ZOrder -20 ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Voltage Measurement" SourceType "Voltage Measurement" ContentPreviewEnabled off PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "Voltage Measurement2" SID "150" Ports [0, 1, 0, 0, 0, 2] Position [285, 253, 310, 277] ZOrder -21 ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Voltage Measurement" SourceType "Voltage Measurement" ContentPreviewEnabled off PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "Voltage Measurement3" SID "151" Ports [0, 1, 0, 0, 0, 2] Position [285, 403, 310, 427] ZOrder -22 ShowName off LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Voltage Measurement" SourceType "Voltage Measurement" ContentPreviewEnabled off PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Scope Name "v4" SID "245" Ports [1] Position [665, 379, 695, 411] ZOrder -23 ShowName off Floating off Location [6, 56, 1034, 761] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } ShowLegends off SaveToWorkspace on SaveName "vbn" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleTime "0" ScrollMode off } Block { BlockType Scope Name "v5" SID "246" Ports [1] Position [665, 459, 695, 491] ZOrder -24 ShowName off Floating off Location [6, 56, 1034, 761] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } ShowLegends off SaveToWorkspace on SaveName "vcn" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleTime "0" ScrollMode off } Block { BlockType Scope Name "v6" SID "247" Ports [1] Position [665, 279, 695, 311] ZOrder -25 ShowName off Floating off Location [6, 56, 1278, 761] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } ShowLegends off YMin "-300" YMax "300" SaveToWorkspace on SaveName "van" DataFormat "StructureWithTime" MaxDataPoints "5000000" SampleTime "0" ScrollMode off } Block { BlockType PMIOPort Name "A" SID "155" Position [40, 283, 70, 297] ZOrder -26 Port "1" Side "Left" } Block { BlockType PMIOPort Name "B" SID "156" Position [40, 318, 70, 332] ZOrder -27 Port "2" Side "Left" } Block { BlockType PMIOPort Name "C" SID "157" Position [40, 353, 70, 367] ZOrder -28 Port "3" Side "Left" } Block { BlockType PMIOPort Name "A1" SID "257" Position [245, 458, 275, 472] ZOrder -29 BlockMirror on NamePlacement "alternate" Port "4" Side "Right" } Block { BlockType PMIOPort Name "B1" SID "258" Position [245, 493, 275, 507] ZOrder -30 BlockMirror on NamePlacement "alternate" Port "5" Side "Right" } Block { BlockType PMIOPort Name "C1" SID "259" Position [245, 533, 275, 547] ZOrder -31 BlockMirror on NamePlacement "alternate" Port "6" Side "Right" } Block { BlockType Outport Name "Vab" SID "162" Position [380, 328, 410, 342] ZOrder -32 IconDisplay "Port number" } Block { BlockType Outport Name "Vc" SID "163" Position [380, 408, 410, 422] ZOrder -33 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "Vca" SID "161" Position [380, 258, 410, 272] ZOrder -34 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "Van" SID "251" Position [635, 318, 665, 332] ZOrder -35 Port "4" IconDisplay "Port number" } Block { BlockType Outport Name "Vbn" SID "252" Position [635, 418, 665, 432] ZOrder -36 Port "5" IconDisplay "Port number" } Block { BlockType Outport Name "Vcn" SID "253" Position [635, 518, 665, 532] ZOrder -37 Port "6" IconDisplay "Port number" } Line { LineType "Connection" ZOrder 1 Points [255, 295; -45, 0] Branch { ConnectType "SRC_DEST" SrcBlock "Voltage Measurement1" SrcPort LConn1 Points [-15, 0; 0, -35] } Branch { ConnectType "SRC_SRC" Points [0, -25] DstBlock "Voltage Measurement2" DstPort LConn2 } Branch { ConnectType "DEST_SRC" DstBlock "Current Measueent1" DstPort RConn1 } Branch { ConnectType "DEST_DEST" SrcBlock "A1" SrcPort RConn1 Points [-20, 0; 0, -170] } } Line { LineType "Connection" ZOrder 6 Points [235, 370; 0, -40; -35, 0] Branch { ConnectType "SRC_SRC" Points [0, 40] DstBlock "Voltage Measurement3" DstPort LConn1 } Branch { ConnectType "SRC_SRC" Points [20, 0; 0, -30] DstBlock "Voltage Measurement1" DstPort LConn2 } Branch { ConnectType "DEST_SRC" DstBlock "Current Measueent2" DstPort RConn1 } Branch { ConnectType "DEST_DEST" SrcBlock "B1" SrcPort RConn1 Points [-30, 0; 0, -170] } } Line { LineType "Connection" ZOrder 11 Points [225, 365; -35, 0] Branch { ConnectType "SRC_SRC" Points [0, -105] DstBlock "Voltage Measurement2" DstPort LConn1 } Branch { ConnectType "SRC_SRC" Points [0, 55] DstBlock "Voltage Measurement3" DstPort LConn2 } Branch { ConnectType "DEST_SRC" DstBlock "Current Measueent3" DstPort RConn1 } Branch { ConnectType "DEST_DEST" SrcBlock "C1" SrcPort RConn1 Points [-40, 0; 0, -175] } } Line { LineType "Connection" ZOrder 16 SrcBlock "A" SrcPort RConn1 DstBlock "Current Measueent1" DstPort LConn1 } Line { LineType "Connection" ZOrder 17 SrcBlock "B" SrcPort RConn1 DstBlock "Current Measueent2" DstPort LConn1 } Line { LineType "Connection" ZOrder 18 SrcBlock "C" SrcPort RConn1 DstBlock "Current Measueent3" DstPort LConn1 } Line { ZOrder 19 SrcBlock "Voltage Measurement3" SrcPort 1 Points [15, 0] Branch { ZOrder 20 DstBlock "Vc" DstPort 1 } Branch { ZOrder 21 Points [0, 30; 90, 0] Branch { ZOrder 22 Points [0, 35] DstBlock "Subtract2" DstPort 2 } Branch { ZOrder 23 Points [35, 0] DstBlock "Subtract1" DstPort 2 } } } Line { ZOrder 24 SrcBlock "Voltage Measurement1" SrcPort 1 Points [15, 0] Branch { ZOrder 25 DstBlock "Vab" DstPort 1 } Branch { ZOrder 26 Points [0, 50; 110, 0] Branch { ZOrder 27 Points [0, -85] DstBlock "Subtract" DstPort 2 } Branch { ZOrder 28 DstBlock "Subtract1" DstPort 1 } } } Line { ZOrder 29 SrcBlock "Voltage Measurement2" SrcPort 1 Points [15, 0] Branch { ZOrder 30 DstBlock "Vca" DstPort 1 } Branch { ZOrder 31 Points [0, 20; 100, 0] Branch { ZOrder 32 DstBlock "Subtract" DstPort 1 } Branch { ZOrder 33 Points [0, 180] DstBlock "Subtract2" DstPort 1 } } } Line { ZOrder 34 SrcBlock "Mux" SrcPort 1 DstBlock "Iabc" DstPort 1 } Line { ZOrder 35 SrcBlock "Current Measueent1" SrcPort 1 Points [15, 0; 0, -110] Branch { ZOrder 36 DstBlock "Mux" DstPort 1 } Branch { ZOrder 37 Points [0, -80; 210, 0] Branch { ZOrder 38 DstBlock "Total Harmonic\nDistorsion" DstPort 1 } Branch { ZOrder 39 Points [0, 80] Branch { ZOrder 40 Points [0, 45] DstBlock "Bus\nCreator" DstPort 2 } Branch { ZOrder 41 DstBlock "Fourier3" DstPort 1 } } } } Line { ZOrder 42 SrcBlock "Current Measueent2" SrcPort 1 Points [25, 0; 0, -125] DstBlock "Mux" DstPort 2 } Line { ZOrder 43 SrcBlock "Current Measueent3" SrcPort 1 Points [35, 0; 0, -140] DstBlock "Mux" DstPort 3 } Line { ZOrder 44 SrcBlock "Total Harmonic\nDistorsion" SrcPort 1 DstBlock "Scope2" DstPort 1 } Line { ZOrder 45 SrcBlock "Bus\nCreator" SrcPort 1 DstBlock "Scope5" DstPort 1 } Line { ZOrder 46 SrcBlock "Clock3" SrcPort 1 DstBlock "Mux5" DstPort 3 } Line { ZOrder 47 SrcBlock "Mux5" SrcPort 1 DstBlock "Fcn5" DstPort 1 } Line { ZOrder 48 SrcBlock "Fourier3" SrcPort 2 DstBlock "Mux5" DstPort 2 } Line { ZOrder 49 SrcBlock "Fourier3" SrcPort 1 DstBlock "Mux5" DstPort 1 } Line { ZOrder 50 SrcBlock "Fcn5" SrcPort 1 DstBlock "Bus\nCreator" DstPort 1 } Line { Name "Vcn" ZOrder 51 Labels [0, 1] SrcBlock "Gain2" SrcPort 1 Points [45, 0] Branch { ZOrder 52 DstBlock "v5" DstPort 1 } Branch { ZOrder 53 DstBlock "Vcn" DstPort 1 } } Line { ZOrder 54 SrcBlock "Subtract2" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { ZOrder 55 SrcBlock "Gain1" SrcPort 1 Points [45, 0] Branch { ZOrder 56 DstBlock "v4" DstPort 1 } Branch { ZOrder 57 DstBlock "Vbn" DstPort 1 } } Line { ZOrder 58 SrcBlock "Subtract1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { Name "Van" ZOrder 59 Labels [0, 1] SrcBlock "Gain3" SrcPort 1 Points [35, 0] Branch { ZOrder 60 DstBlock "v6" DstPort 1 } Branch { ZOrder 61 Points [0, 30] DstBlock "Van" DstPort 1 } } Line { ZOrder 62 SrcBlock "Subtract" SrcPort 1 DstBlock "Gain3" DstPort 1 } Annotation { SID "271" Name "Vbn" Position [586, 386, 607, 401] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -1 } Annotation { SID "272" Name "Vcg" Position [176, 357, 196, 372] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -2 } Annotation { SID "273" Name "Vbg" Position [178, 322, 199, 337] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -3 } Annotation { SID "274" Name "Vag" Position [177, 284, 197, 299] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -4 } } } Block { BlockType Reference Name "a1" SID "283" Ports [1, 0, 0, 0, 0, 1, 1] Position [463, 255, 507, 315] ZOrder 6 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "a2" SID "284" Ports [1, 0, 0, 0, 0, 1, 1] Position [463, 150, 507, 210] ZOrder 5 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "av1" SID "290" Ports [1, 0, 0, 0, 0, 1, 1] Position [463, 480, 507, 540] ZOrder 13 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "av2" SID "291" Ports [1, 0, 0, 0, 0, 1, 1] Position [463, 370, 507, 430] ZOrder 12 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "b1" SID "295" Ports [1, 0, 0, 0, 0, 1, 1] Position [578, 255, 622, 315] ZOrder 18 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "bv1" SID "299" Ports [1, 0, 0, 0, 0, 1, 1] Position [578, 480, 622, 540] ZOrder 21 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "bv2" SID "300" Ports [1, 0, 0, 0, 0, 1, 1] Position [578, 370, 622, 430] ZOrder 20 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "c1" SID "302" Ports [1, 0, 0, 0, 0, 1, 1] Position [693, 255, 737, 315] ZOrder 26 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "c2" SID "303" Ports [1, 0, 0, 0, 0, 1, 1] Position [693, 150, 737, 210] ZOrder 25 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "cv1" SID "307" Ports [1, 0, 0, 0, 0, 1, 1] Position [698, 480, 742, 540] ZOrder 29 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "cv2" SID "308" Ports [1, 0, 0, 0, 0, 1, 1] Position [698, 385, 742, 445] ZOrder 28 BlockRotation 270 BlockMirror on NamePlacement "alternate" LibraryVersion "1.2446" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/IGBT//Diode" SourceType "IGBT/Diode" ContentPreviewEnabled off Ron "1e-3" Rs "1e5" Cs "inf" Measurements off } Block { BlockType Reference Name "powergui" SID "200" Ports [] Position [25, 30, 85, 54] ZOrder -44 LibraryVersion "*1.2446" UserDataPersistent on FontName "Verdana" SourceBlock "powerlib/powergui" SourceType "PSB option menu block" ContentPreviewEnabled off SimulationMode "Continuous" SolverType "Tustin" SampleTime "50e-6" frequency "60" SPID off DisableSnubberDevices off DisableRonSwitches off DisableVfSwitches off SwTol "0" DisplayEquations off Interpol off methode off Ts "0" frequencyindice "0" Pbase "100e6" ErrMax "1e-4" Iterations "50" UnitsV "kV" UnitsW "MW" FunctionMessages off echomessages off HookPort off EnableUseOfTLC off x0status "blocks" RestoreLinks "warning" ResistiveCurrentMeasurement off Frange "[0:2:500]" Ylog off Xlog on ShowGrid off save off variable "ZData" structure "0" ZoomFFT on StartTime "0.0" cycles "1" DisplayStyle "1" fundamental "60" FreqAxis off MaxFrequency "1000" frequencyindicesteady "1" RmsSteady "1" display off } Line { LineType "Connection" ZOrder 2 Points [375, 553; 110, 0] Branch { ConnectType "SRC_SRC" Points [-45, 0] DstBlock "DC Voltage Source" DstPort LConn1 } Branch { ConnectType "SRC_DEST" SrcBlock "Series RLC Branch1" SrcPort RConn1 Points [0, 58] } Branch { ConnectType "DEST_SRC" DstBlock "av1" DstPort RConn1 } Branch { ConnectType "DEST_SRC" Points [115, 0] Branch { ConnectType "DEST_SRC" DstBlock "bv1" DstPort RConn1 } Branch { ConnectType "DEST_SRC" Points [120, 0] DstBlock "cv1" DstPort RConn1 } } } Line { LineType "Connection" ZOrder 12 Points [375, 119; 0, 61] DstBlock "Series RLC Branch" DstPort LConn1 Branch { ConnectType "SRC_DEST" SrcBlock "DC Voltage Source" SrcPort RConn1 Points [0, -181; 45, 0] } Branch { ConnectType "SRC_DEST" Points [495, 119; -120, 0] Branch { ConnectType "SRC_DEST" Points [610, 119; -115, 0] Branch { ConnectType "SRC_SRC" Points [115, 0] DstBlock "c2" DstPort LConn1 } Branch { ConnectType "SRC_SRC" DstBlock "Tb2" DstPort LConn1 } } Branch { ConnectType "SRC_SRC" DstBlock "a2" DstPort LConn1 } } } Line { LineType "Connection" ZOrder 15 SrcBlock "Voltage_a_b_c" SrcPort LConn1 Points [0, 10; -280, 0] Branch { ConnectType "DEST_SRC" Points [-10, 0] DstBlock "a1" DstPort RConn1 } Branch { ConnectType "DEST_SRC" DstBlock "av2" DstPort LConn1 } } Line { LineType "Connection" ZOrder 20 SrcBlock "Voltage_a_b_c" SrcPort LConn2 Points [-165, 0; 0, 5] Branch { ConnectType "DEST_SRC" DstBlock "bv2" DstPort LConn1 } Branch { ConnectType "DEST_SRC" Points [-10, 0] DstBlock "b1" DstPort RConn1 } } Line { LineType "Connection" ZOrder 26 SrcBlock "Voltage_a_b_c" SrcPort LConn3 Points [0, -11; -45, 0] Branch { ConnectType "DEST_SRC" Points [-15, 0] DstBlock "c1" DstPort RConn1 } Branch { ConnectType "DEST_SRC" DstBlock "cv2" DstPort LConn1 } } Line { LineType "Connection" ZOrder 30 Points [420, 340; 115, 0] Branch { ConnectType "SRC_SRC" Points [-45, 0] Branch { ConnectType "DEST_DEST" SrcBlock "Series RLC Branch" SrcPort RConn1 Points [0, 60] } Branch { ConnectType "DEST_SRC" DstBlock "Series RLC Branch1" DstPort LConn1 } } Branch { ConnectType "SRC_SRC" DstBlock "D1" DstPort LConn1 } Branch { ConnectType "SRC_SRC" DstBlock "D2" DstPort RConn1 } Branch { ConnectType "DEST_SRC" DstBlock "D3" DstPort LConn1 } Branch { ConnectType "DEST_DEST" SrcBlock "D4" SrcPort RConn1 Points [0, -30] } Branch { ConnectType "DEST_SRC" Points [120, 0] Branch { ConnectType "DEST_DEST" SrcBlock "D6" SrcPort RConn1 Points [0, -25] } Branch { ConnectType "DEST_SRC" DstBlock "D5" DstPort LConn1 } } } Line { ZOrder 41 SrcBlock "LP filter 2nd order" SrcPort 1 Points [5, 0] Branch { ZOrder 292 DstBlock "Filtered Line voltages" DstPort 1 } Branch { ZOrder 289 Points [0, -45] DstBlock "Bus\nCreator1" DstPort 1 } } Line { ZOrder 42 SrcBlock "LP filter 2nd order" SrcPort 2 Points [16, 0] Branch { ZOrder 294 Points [0, -40] DstBlock "Bus\nCreator1" DstPort 2 } Branch { ZOrder 293 DstBlock "Filtered Line voltages" DstPort 2 } } Line { ZOrder 43 SrcBlock "LP filter 2nd order" SrcPort 3 Points [28, 0] Branch { ZOrder 296 Points [0, -35] DstBlock "Bus\nCreator1" DstPort 3 } Branch { ZOrder 295 DstBlock "Filtered Line voltages" DstPort 3 } } Line { ZOrder 207 SrcBlock "180 degree pulses" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { ZOrder 56 SrcBlock "Bus\nCreator2" SrcPort 1 DstBlock "Scope3" DstPort 1 } Line { ZOrder 57 SrcBlock "Clock1" SrcPort 1 DstBlock "Mux1" DstPort 3 } Line { ZOrder 58 SrcBlock "Mux1" SrcPort 1 DstBlock "Fcn1" DstPort 1 } Line { ZOrder 59 SrcBlock "Fourier4" SrcPort 2 DstBlock "Mux1" DstPort 2 } Line { ZOrder 60 SrcBlock "Fourier4" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { ZOrder 61 SrcBlock "Fcn1" SrcPort 1 DstBlock "Bus\nCreator2" DstPort 1 } Line { ZOrder 62 SrcBlock "Voltage_a_b_c" SrcPort 1 Points [45, 0; 0, -30] Branch { ZOrder 63 DstBlock "LP filter 2nd order" DstPort 1 } Branch { ZOrder 64 Points [0, -70] Branch { ZOrder 65 DstBlock "Line voltages" DstPort 1 } Branch { ZOrder 66 Points [-50, 0; 0, -65] Branch { ZOrder 67 Points [0, -50] Branch { ZOrder 68 DstBlock "Fourier4" DstPort 1 } Branch { ZOrder 69 DstBlock "Bus\nCreator2" DstPort 2 } } Branch { ZOrder 70 DstBlock "Total Harmonic\nDistorsion" DstPort 1 } } } } Line { ZOrder 71 SrcBlock "Voltage_a_b_c" SrcPort 2 Points [55, 0; 0, -30] Branch { ZOrder 72 Points [0, -70] DstBlock "Line voltages" DstPort 2 } Branch { ZOrder 73 DstBlock "LP filter 2nd order" DstPort 2 } } Line { ZOrder 74 SrcBlock "Voltage_a_b_c" SrcPort 3 Points [65, 0; 0, -30] Branch { ZOrder 75 Points [0, -70] DstBlock "Line voltages" DstPort 3 } Branch { ZOrder 76 DstBlock "LP filter 2nd order" DstPort 3 } } Line { ZOrder 77 SrcBlock "Voltage_a_b_c" SrcPort 4 Points [130, 0; 0, 5] Branch { ZOrder 78 DstBlock "Neutral Voltages" DstPort 1 } Branch { ZOrder 79 Points [0, 80] DstBlock "Total Harmonic\nDistorsion1" DstPort 1 } } Line { ZOrder 80 SrcBlock "Voltage_a_b_c" SrcPort 5 Points [78, 0; 0, 5] DstBlock "Neutral Voltages" DstPort 2 } Line { ZOrder 81 SrcBlock "Voltage_a_b_c" SrcPort 6 Points [78, 0; 0, 5] DstBlock "Neutral Voltages" DstPort 3 } Line { LineType "Connection" ZOrder 82 Points [1005, 600; 0, -20] DstBlock "Series RLC Branch3" DstPort LConn1 Branch { ConnectType "SRC_DEST" SrcBlock "Series RLC Branch2" SrcPort LConn1 Points [0, 20; 30, 0] } Branch { ConnectType "SRC_SRC" Points [30, 0] DstBlock "Series RLC Branch4" DstPort LConn1 } } Line { LineType "Connection" ZOrder 85 SrcBlock "Voltage_a_b_c" SrcPort RConn1 Points [110, 0] DstBlock "Series RLC Branch4" DstPort RConn1 } Line { LineType "Connection" ZOrder 86 SrcBlock "Voltage_a_b_c" SrcPort RConn2 Points [80, 0] DstBlock "Series RLC Branch3" DstPort RConn1 } Line { LineType "Connection" ZOrder 87 SrcBlock "Voltage_a_b_c" SrcPort RConn3 Points [50, 0] DstBlock "Series RLC Branch2" DstPort RConn1 } Line { ZOrder 88 SrcBlock "Total Harmonic\nDistorsion" SrcPort 1 DstBlock "THD_Vab" DstPort 1 } Line { ZOrder 89 SrcBlock "Total Harmonic\nDistorsion1" SrcPort 1 DstBlock "THD_G" DstPort 1 } Line { LineType "Connection" ZOrder 11 SrcBlock "a2" SrcPort RConn1 Points [0, 0] Branch { ConnectType "DEST_DEST" SrcBlock "D1" SrcPort RConn1 Points [0, 5; 65, 0] } Branch { ConnectType "DEST_SRC" Points [10, 0] DstBlock "a1" DstPort LConn1 } } Line { LineType "Connection" ZOrder 128 SrcBlock "av1" SrcPort LConn1 Points [0, -11; -10, 0; 0, -6] Branch { ConnectType "DEST_DEST" SrcBlock "D2" SrcPort LConn1 Points [0, 18; 65, 0] } Branch { ConnectType "DEST_SRC" DstBlock "av2" DstPort RConn1 } } Line { LineType "Connection" ZOrder 32 SrcBlock "Tb2" SrcPort RConn1 Points [0, 0] Branch { ConnectType "DEST_SRC" Points [10, 0] DstBlock "b1" DstPort LConn1 } Branch { ConnectType "DEST_DEST" SrcBlock "D3" SrcPort RConn1 Points [0, 10; 65, 0] } } Line { LineType "Connection" ZOrder 42 SrcBlock "bv2" SrcPort RConn1 Points [0, 5] Branch { ConnectType "DEST_SRC" Points [0, 5; 10, 0] DstBlock "bv1" DstPort LConn1 } Branch { ConnectType "DEST_SRC" Points [-65, 0] DstBlock "D4" DstPort LConn1 } } Line { LineType "Connection" ZOrder 52 SrcBlock "c2" SrcPort RConn1 Points [0, 0] Branch { ConnectType "DEST_DEST" SrcBlock "D5" SrcPort RConn1 Points [0, -5; 60, 0] } Branch { ConnectType "DEST_SRC" Points [10, 0] DstBlock "c1" DstPort LConn1 } } Line { LineType "Connection" ZOrder 60 SrcBlock "cv2" SrcPort RConn1 Points [0, -6] Branch { ConnectType "DEST_DEST" SrcBlock "D6" SrcPort LConn1 Points [0, 28; 65, 0; 0, 1] } Branch { ConnectType "DEST_SRC" Points [10, 0] DstBlock "cv1" DstPort LConn1 } } Line { ZOrder 213 SrcBlock "Demux" SrcPort 1 DstBlock "Goto1" DstPort 1 } Line { ZOrder 215 SrcBlock "Demux" SrcPort 2 DstBlock "Goto2" DstPort 1 } Line { ZOrder 216 SrcBlock "Demux" SrcPort 3 DstBlock "Goto4" DstPort 1 } Line { ZOrder 218 SrcBlock "Demux" SrcPort 4 DstBlock "Goto5" DstPort 1 } Line { ZOrder 231 SrcBlock "180 degree pulses" SrcPort 2 DstBlock "Demux3" DstPort 1 } Line { ZOrder 220 SrcBlock "Demux3" SrcPort 1 DstBlock "Goto6" DstPort 1 } Line { ZOrder 221 SrcBlock "Demux3" SrcPort 2 DstBlock "Goto7" DstPort 1 } Line { ZOrder 222 SrcBlock "Demux3" SrcPort 3 DstBlock "Goto8" DstPort 1 } Line { ZOrder 223 SrcBlock "Demux3" SrcPort 4 DstBlock "Goto9" DstPort 1 } Line { ZOrder 237 SrcBlock "180 degree pulses" SrcPort 3 DstBlock "Demux1" DstPort 1 } Line { ZOrder 233 SrcBlock "Demux1" SrcPort 1 DstBlock "Goto10" DstPort 1 } Line { ZOrder 234 SrcBlock "Demux1" SrcPort 2 DstBlock "Goto11" DstPort 1 } Line { ZOrder 235 SrcBlock "Demux1" SrcPort 3 DstBlock "Goto12" DstPort 1 } Line { ZOrder 236 SrcBlock "Demux1" SrcPort 4 DstBlock "Goto13" DstPort 1 } Line { ZOrder 238 SrcBlock "From1" SrcPort 1 DstBlock "a2" DstPort 1 } Line { ZOrder 267 SrcBlock "From2" SrcPort 1 DstBlock "Tb2" DstPort 1 } Line { ZOrder 268 SrcBlock "From3" SrcPort 1 DstBlock "c2" DstPort 1 } Line { ZOrder 269 SrcBlock "From4" SrcPort 1 Points [5, 0] DstBlock "a1" DstPort 1 } Line { ZOrder 270 SrcBlock "From6" SrcPort 1 DstBlock "b1" DstPort 1 } Line { ZOrder 271 SrcBlock "From7" SrcPort 1 DstBlock "c1" DstPort 1 } Line { ZOrder 274 SrcBlock "From8" SrcPort 1 Points [5, 0] DstBlock "av2" DstPort 1 } Line { ZOrder 275 SrcBlock "From9" SrcPort 1 DstBlock "bv2" DstPort 1 } Line { ZOrder 276 SrcBlock "From10" SrcPort 1 DstBlock "cv2" DstPort 1 } Line { ZOrder 277 SrcBlock "From11" SrcPort 1 Points [15, 0] DstBlock "av1" DstPort 1 } Line { ZOrder 278 SrcBlock "From12" SrcPort 1 Points [15, 0] DstBlock "bv1" DstPort 1 } Line { ZOrder 279 SrcBlock "From13" SrcPort 1 Points [15, 0] DstBlock "cv1" DstPort 1 } Line { ZOrder 287 SrcBlock "Bus\nCreator1" SrcPort 1 DstBlock "Neutral Voltages1" DstPort 1 } Annotation { SID "276" Name "400V" Position [315, 358, 342, 373] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -1 } Annotation { SID "277" Name "C1" Position [341, 245, 356, 260] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -2 } Annotation { SID "278" Name "C2" Position [337, 462, 352, 477] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -3 } Annotation { SID "279" Name "Control of swtich" Position [168, 304, 247, 319] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -4 } Annotation { SID "280" Name "LOAD" Position [943, 526, 973, 541] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -5 } Annotation { SID "298" Name "2" Position [621, 181, 629, 196] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -1 } } }