Model { Name "AC_Source_PWM" Version 7.2 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.15" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" Created "Sun Mar 22 19:34:03 2009" Creator "User" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "User" ModifiedDateFormat "%" LastModifiedDate "Mon Mar 23 14:58:44 2009" RTWModifiedTimeStamp 0 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 covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "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.5.1" Array { Type "Handle" Dimension 8 Simulink.SolverCC { $ObjectID 2 Version "1.5.1" StartTime "0.0" StopTime "0.5" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ZcThreshold "auto" ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "20e-6" 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" SignalSizeVariationType "Allow only fixed size" } Simulink.DataIOCC { $ObjectID 3 Version "1.5.1" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on InspectSignalLogs off SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Version "1.5.1" Array { Type "Cell" Dimension 4 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off EnforceIntegerDowncast on ExpressionFolding on EnableMemcpy on MemcpyThreshold 64 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.5.1" 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" 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" StrictBusMsg "Warning" LoggingUnavailableSignals "error" BlockIODiagnostic "none" } Simulink.HardwareCC { $ObjectID 6 Version "1.5.1" 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.5.1" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.SFSimCC { $ObjectID 8 Version "1.5.1" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimUseLocalCustomCode off SimBuildMode "sf_incremental_build" } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 9 Version "1.5.1" 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" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 10 Version "1.5.1" 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 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" 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.5.1" Array { Type "Cell" Dimension 16 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 CompOptLevelCompliant on IncludeMdlTerminateFcn on 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 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" } } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" ConfigPrmDlgPosition " [ 360, 285, 1240, 915 ] " } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } BlockParameterDefaults { Block { BlockType Clock DisplayTime off } 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 Display Format "short" Decimation "10" Floating off SampleTime "-1" } Block { BlockType From IconDisplay "Tag" TagVisibility "local" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParameterDataTypeMode "Same as input" ParameterDataType "fixdt(1,16,0)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "[]" ParamDataTypeStr "Inherit: Same as input" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Goto IconDisplay "Tag" } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on ContinuousStateAttributes "''" } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on SampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" } 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" Amplitude "1" Bias "0" Frequency "1" Phase "0" Samples "10" Offset "0" SampleTime "-1" VectorParams1D on } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" ContinuousStateAttributes "''" Realization "auto" } } System { Name "AC_Source_PWM" Location [7, 83, 1000, 692] 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 "100" ReportName "simulink-default.rpt" Block { BlockType Reference Name "3-Phase\nSequence Analyzer" Ports [1, 2] Position [760, 441, 835, 499] Orientation "left" ForegroundColor "orange" BackgroundColor "lightBlue" NamePlacement "alternate" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib_extras/Measurements/3-Phase\nSequence Analyzer" SourceType "3-Phase Sequence analyzer" 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" f1 "60" n "1" seq "Positive" } Block { BlockType Reference Name "3-phase \nInstantaneous \nActive & Reactive Power" Ports [2, 1] Position [785, 686, 860, 744] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib_extras/Measurements/3-phase \nInstantaneous \nActive & Reactive Power" SourceType "3-phase instantaneous active and reactive power" 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" } Block { BlockType Clock Name "Clock" Position [1090, 90, 1110, 110] Orientation "left" ForegroundColor "blue" NamePlacement "alternate" Decimation "10" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [940, 684, 945, 746] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" ShowName off Outputs "[3 3]" DisplayOption "bar" } Block { BlockType Demux Name "Demux1" Ports [1, 2] Position [730, 684, 735, 746] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Display Name "Display" Ports [1] Position [135, 535, 225, 565] Orientation "left" NamePlacement "alternate" Decimation "1" Lockdown off } Block { BlockType Display Name "Display1" Ports [1] Position [140, 795, 230, 825] Orientation "left" NamePlacement "alternate" Decimation "1" Lockdown off } Block { BlockType From Name "From" Position [991, 145, 1019, 185] Orientation "up" ForegroundColor "darkGreen" BackgroundColor "yellow" CloseFcn "tagdialog Close" GotoTag "delta" } Block { BlockType From Name "From1" Position [731, 135, 759, 175] Orientation "up" ForegroundColor "orange" BackgroundColor "lightBlue" CloseFcn "tagdialog Close" GotoTag "M" } Block { BlockType From Name "From2" Position [230, 1021, 270, 1049] CloseFcn "tagdialog Close" GotoTag "Iabc" Port { PortNumber 1 Name "Iabc" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType From Name "From3" Position [230, 1066, 270, 1094] CloseFcn "tagdialog Close" GotoTag "Vmag" Port { PortNumber 1 Name "Vmag" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType From Name "From4" Position [230, 1111, 270, 1139] CloseFcn "tagdialog Close" GotoTag "P" Port { PortNumber 1 Name "P" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Goto Name "Goto" Position [200, 710, 240, 740] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" GotoTag "delta" TagVisibility "local" } Block { BlockType Goto Name "Goto1" Position [205, 465, 245, 495] Orientation "left" ForegroundColor "orange" BackgroundColor "lightBlue" NamePlacement "alternate" GotoTag "M" TagVisibility "local" } Block { BlockType Goto Name "Goto3" Position [925, 765, 965, 795] ForegroundColor "darkGreen" BackgroundColor "yellow" GotoTag "Iabc" TagVisibility "local" } Block { BlockType Goto Name "Goto4" Position [720, 370, 760, 400] ForegroundColor "orange" BackgroundColor "lightBlue" GotoTag "Vmag" TagVisibility "local" } Block { BlockType Goto Name "Goto5" Position [645, 595, 685, 625] ForegroundColor "darkGreen" BackgroundColor "yellow" GotoTag "P" TagVisibility "local" } Block { BlockType Reference Name "IGBT Inverter" Ports [1, 0, 0, 0, 0, 3, 2] Position [300, 194, 400, 316] Orientation "left" ForegroundColor "red" NamePlacement "alternate" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/Universal Bridge" SourceType "Universal Bridge" 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" Arms "3" SnubberResistance "2e3" SnubberCapacitance "5e-6" Device "IGBT / Diodes" Ron "1e-3" Lon "0" ForwardVoltages "[ 0 0 ]" ForwardVoltage "0" GTOparameters "[ 10e-6 , 20e-6 ]" IGBTparameters "[ 0 , 0 ]" Measurements "UAB UBC UCA UDC voltages" Measurements_2 "None" converterType "Rectifier" } Block { BlockType Reference Name "Id" Ports [0, 1, 0, 0, 0, 1, 1] Position [190, 193, 215, 217] 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 Integrator Name "Integrator" Ports [1, 1] Position [400, 755, 430, 785] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" InitialCondition "0.52" LimitOutput on UpperSaturationLimit "pi/4" LowerSaturationLimit "-pi/4" } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [395, 510, 425, 540] Orientation "left" ForegroundColor "orange" BackgroundColor "lightBlue" NamePlacement "alternate" InitialCondition "0.8" LimitOutput on UpperSaturationLimit "2" LowerSaturationLimit "0" ContinuousStateAttributes "'ModulationIndex'" } Block { BlockType Gain Name "Intgr. Gain" Position [455, 755, 485, 785] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" Gain "5" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Intgr. Gain1" Position [460, 510, 490, 540] Orientation "left" ForegroundColor "orange" BackgroundColor "lightBlue" NamePlacement "alternate" Gain "20" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "Multimeter" Ports [0, 1, 0, 0, 0, 1] Position [1000, 696, 1040, 734] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Multimeter" SourceType "MultimeterPSB" 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" sel "[8 9 10 14 15 16]" L "19" Gain "[1 1 1 -1 -1 -1]" yselected "{'Uag_w2: T: 1MVA 2kV-13.2 kV','Ubg_w2: T: 1MVA 2kV-13.2 kV','Ucg_w2: T: 1MVA 2kV-13.2 kV','Ia" "g_w2: T: 1MVA 2kV-13.2 kV','Ibg_w2: T: 1MVA 2kV-13.2 kV','Icg_w2: T: 1MVA 2kV-13.2 kV'};" PSBOutputType "1" PSBequivalent "0" AxesSetting "[0,0.1,-100,100]" Display "0" SavedBlockNames "-11" } Block { BlockType Mux Name "Mux" Ports [3, 1] Position [810, 67, 815, 133] Orientation "left" ForegroundColor "blue" NamePlacement "alternate" ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Reference Name "Neutral" Ports [0, 0, 0, 0, 0, 1] Position [465, 245, 485, 265] Orientation "left" ShowName off AttributesFormatString "node %" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Neutral" SourceType "Neutral" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" NodeNumber "2" } Block { BlockType Reference Name "Neutral1" Ports [0, 0, 0, 0, 0, 1] Position [485, 205, 505, 225] Orientation "up" NamePlacement "alternate" ShowName off AttributesFormatString "node %" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Neutral" SourceType "Neutral" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" NodeNumber "1" } Block { BlockType Reference Name "Neutral2" Ports [0, 0, 0, 0, 0, 1] Position [655, 195, 675, 215] Orientation "up" NamePlacement "alternate" ShowName off AttributesFormatString "node %" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Neutral" SourceType "Neutral" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" NodeNumber "3" } Block { BlockType Reference Name "Neutral3" Ports [0, 0, 0, 0, 0, 1] Position [660, 235, 680, 255] Orientation "up" NamePlacement "alternate" ShowName off AttributesFormatString "node %" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Neutral" SourceType "Neutral" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" NodeNumber "4" } Block { BlockType Reference Name "Neutral4" Ports [0, 0, 0, 0, 0, 1] Position [150, 915, 170, 935] Orientation "left" ShowName off AttributesFormatString "node %" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Neutral" SourceType "Neutral" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" NodeNumber "2" } Block { BlockType Reference Name "Neutral5" Ports [0, 0, 0, 0, 0, 1] Position [150, 885, 170, 905] Orientation "left" ShowName off AttributesFormatString "node %" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Neutral" SourceType "Neutral" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" NodeNumber "1" } Block { BlockType Reference Name "Neutral6" Ports [0, 0, 0, 0, 0, 1] Position [150, 995, 170, 1015] Orientation "left" ShowName off AttributesFormatString "node %" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Neutral" SourceType "Neutral" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" NodeNumber "4" } Block { BlockType Reference Name "Neutral7" Ports [0, 0, 0, 0, 0, 1] Position [150, 965, 170, 985] Orientation "left" ShowName off AttributesFormatString "node %" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Neutral" SourceType "Neutral" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" NodeNumber "3" } Block { BlockType Reference Name "PWM Generator" Ports [1, 1] Position [550, 88, 625, 132] Orientation "left" ForegroundColor "blue" NamePlacement "alternate" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib_extras/Control \nBlocks/PWM Generator" SourceType "PWM Generator" 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" GeneratorMode "3-arm bridge (6 pulses)" Fc "21*60" Internal off mIndex "0.4" Freq "60" Phase "0" } Block { BlockType Constant Name "Power Ref." Position [565, 765, 595, 795] Orientation "up" ForegroundColor "darkGreen" BackgroundColor "yellow" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Product Name "Product" Ports [2, 1] Position [685, 92, 715, 123] Orientation "left" ForegroundColor "blue" NamePlacement "alternate" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Prop. Gain" Position [425, 645, 455, 675] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" Gain "0.1" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Prop. Gain1" Position [430, 400, 460, 430] Orientation "left" ForegroundColor "orange" BackgroundColor "lightBlue" NamePlacement "alternate" Gain "0.5" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sin Name "Reference, a" Ports [1, 1] Position [900, 30, 930, 60] Orientation "left" ForegroundColor "blue" NamePlacement "alternate" TimeSource "Use external signal" SampleTime "0" } Block { BlockType Sin Name "Reference, b" Ports [1, 1] Position [900, 85, 930, 115] Orientation "left" ForegroundColor "blue" NamePlacement "alternate" TimeSource "Use external signal" Phase "-2*pi/3" SampleTime "0" } Block { BlockType Sin Name "Reference, c" Ports [1, 1] Position [900, 145, 930, 175] Orientation "left" ForegroundColor "blue" NamePlacement "alternate" TimeSource "Use external signal" Phase "2*pi/3" SampleTime "0" } Block { BlockType Saturate Name "Saturation" Position [280, 710, 310, 740] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" UpperLimit "pi/4" LowerLimit "-pi/4" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Saturate Name "Saturation1" Position [285, 465, 315, 495] Orientation "left" ForegroundColor "orange" BackgroundColor "lightBlue" NamePlacement "alternate" UpperLimit "2" LowerLimit "0" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Scope Name "Scope" Ports [5] Position [375, 923, 475, 1147] Floating off Location [1, 52, 1281, 989] Open off NumInputPorts "5" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" axes5 "%" } TimeRange "0.5" YMin "-5000~-40000~-20~0~-0.5" YMax "5000~40000~30~1.5~1.5" SaveToWorkspace on DataFormat "StructureWithTime" LimitDataPoints off Decimation "2" SampleInput on SampleTime "50e-6" } Block { BlockType Scope Name "Scope1" Ports [1] Position [204, 140, 236, 170] Orientation "up" Floating off Location [188, 390, 791, 868] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } YMin "-150" YMax "125" SaveName "ScopeData1" DataFormat "StructureWithTime" LimitDataPoints off SampleInput on SampleTime "50e-6" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [995, 90, 1015, 110] Orientation "left" ForegroundColor "blue" NamePlacement "alternate" ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [355, 715, 375, 735] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" ShowName off IconShape "round" Inputs "2" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [570, 690, 590, 710] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" ShowName off IconShape "round" Inputs "|-+" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [360, 470, 380, 490] Orientation "left" ForegroundColor "orange" BackgroundColor "lightBlue" NamePlacement "alternate" ShowName off IconShape "round" Inputs "2" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [570, 445, 590, 465] Orientation "left" ForegroundColor "orange" BackgroundColor "lightBlue" NamePlacement "alternate" ShowName off IconShape "round" Inputs "|-+" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "T: 1MVA\n2kV-13.2 kV" Ports [0, 0, 0, 0, 0, 3, 3] Position [525, 211, 600, 329] ForegroundColor "red" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Three-Phase\nTransformer\n(Two Windings)" SourceType "Three-Phase Transformer (Two Windings)" 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" Winding1Connection "Delta (D11)" UNITS "pu" NominalPower "[ 1e6 , 60 ]" Winding1 "[ 2e3 , 0.002 , 0.06 ]" Winding2Connection "Yg" Winding2 "[ 13.2e3 , 0.002 , 0.06 ]" SetSaturation off Rm "500" Lm "500" Saturation "[ 0,0 ; 0.0024,1.2 ; 1.0,1.52 ]" Hysteresis off DataFile "'hysteresis'" SetInitialFlux off InitialFluxes "[ 0.8 , -0.8 , 0.7 ]" Measurements "All measurements (V I Fluxes)" MoreParameters off BreakLoop off DataType off TransfoNumber "1" } Block { BlockType TransferFcn Name "Transd" Position [630, 682, 690, 718] Orientation "left" ForegroundColor "darkGreen" BackgroundColor "yellow" NamePlacement "alternate" Numerator "[1e-5]" Denominator "[0.010 1]" } Block { BlockType TransferFcn Name "Transd1" Position [655, 437, 715, 473] Orientation "left" ForegroundColor "orange" BackgroundColor "lightBlue" NamePlacement "alternate" Numerator "[9.28e-5]" Denominator "[0.01 1]" } Block { BlockType Reference Name "Utility 132. kV, 1MVA" Ports [0, 0, 0, 0, 0, 0, 3] Position [740, 241, 825, 299] Orientation "left" ForegroundColor "red" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Electrical\nSources/Three-Phase Source" SourceType "Three-Phase 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" Voltage "13.2e3" PhaseAngle "0" Frequency "60" InternalConnection "Yg" SpecifyImpedance on Resistance "0.8929" Inductance "16.58e-3" ShortCircuitLevel "0.5e6" BaseVoltage "13.2e3" XRratio "4" } Block { BlockType Reference Name "Vd" Ports [0, 0, 0, 0, 0, 1, 1] Position [125, 240, 145, 275] Orientation "up" ForegroundColor "red" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Electrical\nSources/DC Voltage Source" SourceType "DC 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 "4.1e3" Measurements "None" } Block { BlockType Constant Name "Volt. Ref." Position [560, 510, 600, 540] Orientation "up" ForegroundColor "orange" BackgroundColor "lightBlue" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Reference Name "Voltage Measurement" Ports [0, 1, 0, 0, 0, 2] Position [225, 898, 250, 922] 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" Port { PortNumber 1 Name "Vab1" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "Voltage Measurement1" Ports [0, 1, 0, 0, 0, 2] Position [220, 978, 245, 1002] 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" Port { PortNumber 1 Name "Vab2" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "powergui" Ports [] Position [105, 15, 165, 39] UserDataPersistent on UserData "DataTag0" FontName "Verdana" SourceBlock "powerlib/powergui" SourceType "PSB option menu block" 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" SimulationMode "Continuous" SampleTime "50e-6" frequency "60" SPID off DisableSnubberDevices off DisableRonSwitches off DisableVfSwitches off SwTol "0" Interpol off frequencyindice "60" echomessages off HookPort off FunctionMessages off EnableUseOfTLC off x0status "blocks" RestoreLinks "warning" Frange "[0:2:500]" Ylog off Xlog on ShowGrid off save off variable "ZData" structure "ScopeData" ZoomFFT off StartTime "0.48" cycles "1" DisplayStyle "1" fundamental "60" FreqAxis on MaxFrequency "3000" frequencyindicesteady "1" RmsSteady "1" display off Ts "0" methode off } Block { BlockType Gain Name "w" Position [1040, 85, 1070, 115] Orientation "left" ForegroundColor "blue" NamePlacement "alternate" Gain "2*pi*60" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Line { LineType "Connection" SrcBlock "Vd" SrcPort LConn1 Points [0, 10; 145, 0; 0, -15] DstBlock "IGBT Inverter" DstPort RConn2 } Line { LineType "Connection" SrcBlock "IGBT Inverter" SrcPort LConn1 Points [80, 0] Branch { ConnectType "DEST_SRC" Points [15, 0] DstBlock "T: 1MVA\n2kV-13.2 kV" DstPort LConn1 } Branch { ConnectType "DEST_SRC" DstBlock "Neutral1" DstPort LConn1 } } Line { LineType "Connection" SrcBlock "T: 1MVA\n2kV-13.2 kV" SrcPort LConn2 Points [-25, 0] Branch { ConnectType "DEST_SRC" DstBlock "IGBT Inverter" DstPort LConn2 } Branch { ConnectType "DEST_SRC" Points [15, 0] DstBlock "Neutral" DstPort LConn1 } } Line { LineType "Connection" SrcBlock "T: 1MVA\n2kV-13.2 kV" SrcPort LConn3 Points [0, -10] DstBlock "IGBT Inverter" DstPort LConn3 } Line { LineType "Connection" SrcBlock "T: 1MVA\n2kV-13.2 kV" SrcPort RConn1 Points [50, 0] Branch { ConnectType "DEST_SRC" Points [40, 0; 0, 20] DstBlock "Utility 132. kV, 1MVA" DstPort RConn1 } Branch { ConnectType "DEST_SRC" DstBlock "Neutral2" DstPort LConn1 } } Line { LineType "Connection" SrcBlock "Utility 132. kV, 1MVA" SrcPort RConn3 Points [-20, 0; 0, 20] DstBlock "T: 1MVA\n2kV-13.2 kV" DstPort RConn3 } Line { SrcBlock "Clock" SrcPort 1 DstBlock "w" DstPort 1 } Line { SrcBlock "w" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Reference, a" SrcPort 1 Points [-60, 0; 0, 35] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Reference, b" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Reference, c" SrcPort 1 Points [-60, 0; 0, -40] DstBlock "Mux" DstPort 3 } Line { SrcBlock "Sum" SrcPort 1 Points [-25, 0] Branch { DstBlock "Reference, b" DstPort 1 } Branch { Points [0, -55] DstBlock "Reference, a" DstPort 1 } Branch { Points [0, 60] DstBlock "Reference, c" DstPort 1 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "PWM Generator" DstPort 1 } Line { SrcBlock "PWM Generator" SrcPort 1 Points [-110, 0; 0, 100] DstBlock "IGBT Inverter" DstPort 1 } Line { SrcBlock "Multimeter" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 Points [-35, 0] Branch { DstBlock "3-phase \nInstantaneous \nActive & Reactive Power" DstPort 1 } Branch { Points [0, -230] DstBlock "3-Phase\nSequence Analyzer" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 2 Points [-40, 0] Branch { DstBlock "3-phase \nInstantaneous \nActive & Reactive Power" DstPort 2 } Branch { Points [0, 50] DstBlock "Goto3" DstPort 1 } } Line { SrcBlock "3-phase \nInstantaneous \nActive & Reactive Power" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [-30, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Intgr. Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [-35, 0] Branch { Points [0, 70] DstBlock "Intgr. Gain" DstPort 1 } Branch { Labels [1, 0] Points [0, -40] DstBlock "Prop. Gain" DstPort 1 } } Line { SrcBlock "Demux1" SrcPort 1 DstBlock "Transd" DstPort 1 } Line { SrcBlock "Power Ref." SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Saturation" SrcPort 1 Points [-10, 0] Branch { DstBlock "Goto" DstPort 1 } Branch { Points [0, 85] DstBlock "Display1" DstPort 1 } } Line { SrcBlock "From" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Prop. Gain" SrcPort 1 Points [-55, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Integrator1" SrcPort 1 Points [-20, 0] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Intgr. Gain1" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "Saturation1" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 Points [-45, 0] Branch { Points [0, -40] DstBlock "Prop. Gain1" DstPort 1 } Branch { Points [0, 70] DstBlock "Intgr. Gain1" DstPort 1 } } Line { SrcBlock "Volt. Ref." SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Saturation1" SrcPort 1 Points [-20, 0] Branch { DstBlock "Goto1" DstPort 1 } Branch { Points [0, 70] DstBlock "Display" DstPort 1 } } Line { SrcBlock "Prop. Gain1" SrcPort 1 Points [-55, 0] DstBlock "Sum3" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 Points [0, -15] DstBlock "Product" DstPort 2 } Line { SrcBlock "Transd" SrcPort 1 Points [-10, 0] Branch { DstBlock "Sum2" DstPort 1 } Branch { Points [0, -90] DstBlock "Goto5" DstPort 1 } } Line { LineType "Connection" SrcBlock "Neutral4" SrcPort LConn1 Points [0, -10] DstBlock "Voltage Measurement" DstPort LConn2 } Line { LineType "Connection" SrcBlock "Neutral5" SrcPort LConn1 Points [0, 10] DstBlock "Voltage Measurement" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Neutral6" SrcPort LConn1 Points [0, -10] DstBlock "Voltage Measurement1" DstPort LConn2 } Line { LineType "Connection" SrcBlock "Neutral7" SrcPort LConn1 Points [0, 10] DstBlock "Voltage Measurement1" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Vd" SrcPort RConn1 Points [0, -20] DstBlock "Id" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Id" SrcPort RConn1 Points [50, 0; 0, 15] DstBlock "IGBT Inverter" DstPort RConn1 } Line { Name "Vab1" Labels [0, 0] SrcBlock "Voltage Measurement" SrcPort 1 Points [105, 0] DstBlock "Scope" DstPort 1 } Line { Name "Vab2" Labels [0, 0] SrcBlock "Voltage Measurement1" SrcPort 1 DstBlock "Scope" DstPort 2 } Line { Name "Iabc" Labels [0, 0] SrcBlock "From2" SrcPort 1 DstBlock "Scope" DstPort 3 } Line { Name "Vmag" Labels [0, 0] SrcBlock "From3" SrcPort 1 DstBlock "Scope" DstPort 4 } Line { Name "P" Labels [0, 0] SrcBlock "From4" SrcPort 1 DstBlock "Scope" DstPort 5 } Line { SrcBlock "3-Phase\nSequence Analyzer" SrcPort 1 DstBlock "Transd1" DstPort 1 } Line { SrcBlock "Transd1" SrcPort 1 Points [-35, 0] Branch { DstBlock "Sum4" DstPort 1 } Branch { Points [0, -70] DstBlock "Goto4" DstPort 1 } } Line { SrcBlock "Id" SrcPort 1 DstBlock "Scope1" DstPort 1 } Line { LineType "Connection" SrcBlock "T: 1MVA\n2kV-13.2 kV" SrcPort RConn2 Points [55, 0] Branch { ConnectType "DEST_SRC" DstBlock "Utility 132. kV, 1MVA" DstPort RConn2 } Branch { ConnectType "DEST_SRC" DstBlock "Neutral3" DstPort LConn1 } } Annotation { Name "Example of a 100-kVA AC supply\nusing a PWM inverter" Position [311, 31] } Annotation { Name "Grid-Control--PWM Generator" Position [560, 42] HorizontalAlignment "left" ForegroundColor "blue" DropShadow on } Annotation { Name "Power Circuit" Position [566, 165] HorizontalAlignment "left" ForegroundColor "red" DropShadow on } Annotation { Name "Voltage Regulator" Position [157, 402] ForegroundColor "orange" DropShadow on } Annotation { Name "Power Controller" Position [163, 662] ForegroundColor "darkGreen" DropShadow on } } } MatData { NumRecords 1 DataRecord { Tag DataTag0 Data " %)30 . Z ( 8 ( @ % \" $ ! 0 % 0 # $ !X <&]W97" ")G=6D FUE=&5R 9F9T=&]O;