# $Revision: 1.1.8.3 $ Model { Name "Project4_without_MPF" Version 6.3 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.545" NumModelReferences 0 NumTestPointedSignals 0 } Description "The Model initialization function Callback automati" "cally\n\nloads the initial states vector xInitial and the wind turbine\n\ncha" "racteristics. The initial conditions are stored in the\n\npower_windgen_init." "mat file.\n\n" SavedCharacterEncoding "US-ASCII" PostLoadFcn "find_system (gcs, 'LookUnderMasks', 'all', 'FollowL" "inks', 'on');" SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off InitFcn "load power_windgen_init" Created "Tue Jul 03 13:36:27 2001" Creator "Richard Gagnon, IREQ" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Abraham" ModifiedDateFormat "%" LastModifiedDate "Fri Apr 27 14:39:16 2007" ModelVersionFormat "1.%" ConfigurationManager "none" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock off BufferReuse on StrictBusMsg "None" ProdHWDeviceType "Specified" ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.1.0" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.1.0" StartTime "0.0" StopTime "10" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" RelTol "1e-4" SolverMode "Auto" Solver "ode23t" SolverName "ode23t" ZeroCrossControl "UseLocalSettings" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.1.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints off MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState on SaveFormat "Array" SaveOutput off SaveState off SignalLogging on InspectSignalLogs off SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "sigsOut" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Array { Type "Cell" Dimension 5 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "InitFltsAndDblsToZero" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } Version "1.1.0" BlockReduction off BooleanDataType off ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals on OptimizeBlockIOStorage on BufferReuse on EnforceIntegerDowncast on ExpressionFolding on FoldNonRolledExpr on LocalBlockOutputs on ParameterPooling on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off EfficientFloat2IntCast off OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on } Simulink.DebuggingCC { $ObjectID 5 Version "1.1.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg on CheckExecutionContextRuntimeOutputMsg on SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" } Simulink.HardwareCC { $ObjectID 6 Version "1.1.0" ProdBitPerChar 8 ProdBitPerShort 32 ProdBitPerInt 16 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "Specified" 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 on ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.1.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Array { Type "Cell" Dimension 1 Cell "IncludeHyperlinkInReport" PropName "DisabledProps" } Version "1.1.0" SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" TemplateMakefile "grt_default_tmf" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Array { Type "Cell" Dimension 9 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" PropName "DisabledProps" } Version "1.1.0" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off PrefixModelToSubsysFcnNames on CustomSymbolStr "$R$N$M" MangleLength 1 DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Array { Type "Cell" Dimension 13 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "LifeSpan" PropName "DisabledProps" } Version "1.1.0" TargetFcnLib "ansi_tfl_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off IsPILTarget off ModelReferenceCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" SimulationMode "normal" CurrentDlgPage "Data Import//Export" } 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 } BlockParameterDefaults { Block { BlockType Abs SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" } Block { BlockType BusCreator Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType BusSelector OutputAsBus off } Block { BlockType Clock DisplayTime off } Block { BlockType Constant Value "1" VectorParams1D on OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" SampleTime "inf" } Block { BlockType DataTypeConversion OutDataTypeMode "Inherit via back propagation" OutDataType "sfix(16)" OutScaling "2^0" LockScale off ConvertRealWorld "Real World Value (RWV)" RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType Derivative LinearizePole "inf" } Block { BlockType ElementaryMath Operator "sin" } Block { BlockType EnablePort StatesWhenEnabling "held" ShowOutputPort off ZeroCross on } Block { BlockType From IconDisplay "Tag" } Block { BlockType Fcn Expr "sin(u[1])" SampleTime "-1" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParameterDataTypeMode "Same as input" ParameterDataType "sfix(16)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "2^0" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Goto IconDisplay "Tag" } Block { BlockType Ground } Block { BlockType HitCross HitCrossingOffset "0" HitCrossingDirection "either" ShowOutputPort on ZeroCross on SampleTime "-1" } Block { BlockType Inport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on } Block { BlockType Logic Operator "AND" Inputs "2" AllPortsSameDT on OutDataTypeMode "Logical (see Configuration Parameters: Optimiza" "tion)" LogicDataType "uint(8)" SampleTime "-1" } Block { BlockType Lookup InputValues "[-4:5]" OutputValues " rand(1,10)-0.5" LookUpMeth "Interpolation-Extrapolation" OutDataTypeMode "Same as input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" LUTDesignTableMode "Redesign Table" LUTDesignDataSource "Block Dialog" LUTDesignFunctionName "sqrt(x)" LUTDesignUseExistingBP on LUTDesignRelError "0.01" LUTDesignAbsError "1e-6" } Block { BlockType Lookup2D RowIndex "[0 1]" ColumnIndex "[0 1]" OutputValues "[0 0;0 0]" LookUpMeth "Interpolation-Extrapolation" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" LUTDesignTableMode "Redesign Table" LUTDesignDataSource "Block Dialog" LUTDesignFunctionName "sqrt(x)" LUTDesignUseExistingBP on LUTDesignRelError "0.01" LUTDesignAbsError "1e-6" } Block { BlockType Math Operator "exp" OutputSignalType "auto" SampleTime "-1" OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType MultiPortSwitch Inputs "4" zeroidx off InputSameDT on OutDataTypeMode "Inherit via internal rule" RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType PMComponent SubClassName "unknown" } Block { BlockType PMIOPort } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType RelationalOperator Operator ">=" InputSameDT on LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimiza" "tion)" LogicDataType "uint(8)" ZeroCross on SampleTime "-1" } Block { BlockType Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on SampleTime "-1" } Block { BlockType Scope ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "-1" } Block { BlockType Selector InputType "Vector" IndexMode "One-based" ElementSrc "Internal" Elements "1" RowSrc "Internal" Rows "1" ColumnSrc "Internal" Columns "1" InputPortWidth "-1" IndexIsStartValue off OutputPortSize "1" } Block { BlockType "S-Function" FunctionName "system" SFunctionModules "''" PortCounts "[]" } Block { BlockType StateSpace A "1" B "1" C "1" D "1" X0 "0" AbsoluteTolerance "auto" Realization "auto" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" InputSameDT on OutDataTypeMode "Same as first input" OutDataType "sfix(16)" OutScaling "2^0" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" InputSameDT on OutDataTypeMode "Inherit via internal rule" RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" } Block { BlockType Terminator } Block { BlockType TransportDelay DelayTime "1" InitialOutput "0" BufferSize "1024" FixedBuffer off TransDelayFeedthrough off PadeOrder "0" } Block { BlockType Trigonometry Operator "sin" OutputSignalType "auto" SampleTime "-1" } } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "Project4_without_MPF" Location [8, 82, 1003, 727] Open on ModelBrowserVisibility off ModelBrowserWidth 212 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Reference Name "Asynchronous Generator\n480V 275kVA" Ports [1, 1, 0, 0, 0, 3] Position [590, 63, 660, 137] BackgroundColor "lightBlue" AttributesFormatString "\\n" SourceBlock "powerlib/Machines/Asynchronous Machine\npu Unit" "s" SourceType "Asynchronous Machine" ShowPortLabels on PresetModel "No" MechanicalLoad "Torque Tm" ShowDetailedParameters on RotorType "Squirrel-cage" ReferenceFrame "Rotor" NominalParameters "[ 600e3, 600, 60 ]" Stator "[ 0.016,0.06]" Rotor "[ 0.015,0.06]" Lm "3.5" Mechanical "[ 2,0,2 ]" InitialConditions "[9.14817e-034 0 0.22454 0.22454 0.22454 -89.579" "8 150.42 30.4202]" Units "0" LoadFlowParameters "0" SimulateSaturation off Saturation "[ 0 0 ; 0 0 ]" } Block { BlockType BusSelector Name "Bus\nSelector" Ports [1, 1] Position [695, 81, 700, 119] ShowName off OutputSignals "Mechanical.Rotor speed (wm)" Port { PortNumber 1 Name "" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Demux Name "Demux1" Ports [1, 3] Position [980, 421, 985, 459] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Demux Name "Demux2" Ports [1, 3] Position [180, 641, 185, 679] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Demux Name "Demux3" Ports [1, 3] Position [165, 536, 170, 574] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Demux Name "Demux4" Ports [1, 3] Position [180, 491, 185, 529] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType Demux Name "Demux5" Ports [1, 3] Position [210, 451, 215, 489] BackgroundColor "black" ShowName off Outputs "3" DisplayOption "bar" } Block { BlockType SubSystem Name "Excitation" Ports [1, 1] Position [90, 204, 140, 236] Orientation "left" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "Excitation" Location [707, 491, 1059, 779] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "m" Position [300, 73, 330, 87] Orientation "left" IconDisplay "Port number" } Block { BlockType BusSelector Name "Bus\nSelector1" Ports [1, 2] Position [265, 54, 270, 101] Orientation "left" NamePlacement "alternate" ShowName off OutputSignals "dq0 components.Stator voltage vd (pu),dq0 " "components.Stator voltage vq (pu)" Port { PortNumber 1 Name "" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Constant Name "Constant3" Position [165, 15, 185, 35] Orientation "left" NamePlacement "alternate" ShowName off } Block { BlockType Reference Name "Excitation\nSystem" Ports [4, 1] Position [75, 31, 130, 124] Orientation "left" SourceBlock "powerlib/Machines/Excitation\nSystem" SourceType "Excitation System" ShowPortLabels on tr "20e-3" reg "[ 300, 0.001 ]" exc "[ 1, 0 ]" tgr "[ 0, 0 ]" damp "[ 0.001, 0.1 ]" sat "[ 0, 0 ]" lim "[ -11.5, 11.5, 0 ]" v0 "[1,1.72755]" } Block { BlockType Ground Name "Ground" Position [170, 107, 185, 123] Orientation "left" ShowName off } Block { BlockType Outport Name "Vf" Position [25, 73, 55, 87] Orientation "left" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Constant3" SrcPort 1 Points [0, 15] DstBlock "Excitation\nSystem" DstPort 1 } Line { SrcBlock "Ground" SrcPort 1 DstBlock "Excitation\nSystem" DstPort 4 } Line { SrcBlock "m" SrcPort 1 DstBlock "Bus\nSelector1" DstPort 1 } Line { SrcBlock "Excitation\nSystem" SrcPort 1 DstBlock "Vf" DstPort 1 } Line { Name "" Labels [0, 0] SrcBlock "Bus\nSelector1" SrcPort 1 DstBlock "Excitation\nSystem" DstPort 2 } Line { Name "" Labels [0, 0] SrcBlock "Bus\nSelector1" SrcPort 2 DstBlock "Excitation\nSystem" DstPort 3 } } } Block { BlockType From Name "From1" Position [15, 562, 75, 578] ShowName off CloseFcn "tagdialog Close" GotoTag "Freq" Port { PortNumber 1 Name "Frequency (Hz)" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType From Name "From2" Position [15, 542, 75, 558] ShowName off CloseFcn "tagdialog Close" GotoTag "Iabc_WT" } Block { BlockType From Name "From3" Position [15, 522, 75, 538] ShowName off CloseFcn "tagdialog Close" GotoTag "Vabc_SC" Port { PortNumber 1 Name "Vabc (pu)" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType From Name "From4" Position [885, 432, 945, 448] ShowName off CloseFcn "tagdialog Close" GotoTag "Vabc_WT" } Block { BlockType From Name "From5" Position [15, 582, 75, 598] ShowName off CloseFcn "tagdialog Close" GotoTag "w_ASM" Port { PortNumber 1 Name "ASM speed (pu)" PropagatedSignals "Rotor speed (wm)" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Reference Name "Ground" Ports [0, 0, 0, 0, 0, 1] Position [274, 420, 296, 445] Orientation "down" ShowName off SourceBlock "powerlib/Elements/Ground" SourceType "Ground" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" } Block { BlockType SubSystem Name "LOAD" Ports [0, 0, 0, 0, 0, 3, 1] Position [236, 345, 334, 390] Orientation "down" NamePlacement "alternate" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "LOAD" Location [4, 82, 1016, 722] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Reference Name "75MW" Ports [1, 1, 0, 0, 0, 3] Position [555, 250, 610, 310] Orientation "down" ShowName off AttributesFormatString "\\n" SourceBlock "powerlib/Machines/Asynchronous Machine\nSI " "Units" SourceType "Asynchronous Machine" ShowPortLabels on PresetModel "No" MechanicalLoad "Torque Tm" ShowDetailedParameters on RotorType "Squirrel-cage" ReferenceFrame "Stationary" NominalParameters "[ 60e4,480,60 ]" Stator "[ 0.435 2*2.0e-3 ]" Rotor "[ 0.816 2.0e-3 ]" Lm "69.31e-3" Mechanical "[ 0.089 0 2 ]" InitialConditions "[0.404896 0 133.235 133.235 133.235 -45.167" "4 -165.167 74.8326]" Units "1" LoadFlowParameters "30000" SimulateSaturation off Saturation "[14.03593122, 27.81365428, 53.79336849, 72." "68890987, 97.98006896, 148.6815601, 215.7428561, 302.9841135, 428.7778367 ; 2" "30, 322, 414, 460, 506, 552, 598, 644, 690]" } Block { BlockType Reference Name "D1" Ports [0, 0, 0, 0, 0, 1, 1] Position [15, 245, 55, 285] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ShowPortLabels on Ron "0.001" Lon "0" Vf "0.8" IC "0" Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "D2" Ports [0, 0, 0, 0, 0, 1, 1] Position [100, 245, 140, 285] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ShowPortLabels on Ron "0.001" Lon "0" Vf "0.8" IC "0" Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "D3" Ports [0, 0, 0, 0, 0, 1, 1] Position [185, 245, 225, 285] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ShowPortLabels on Ron "0.001" Lon "0" Vf "0.8" IC "0" Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "D4" Ports [0, 0, 0, 0, 0, 1, 1] Position [60, 245, 100, 285] Orientation "up" ShowName off SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ShowPortLabels on Ron "0.001" Lon "0" Vf "0.8" IC "0" Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "D5" Ports [0, 0, 0, 0, 0, 1, 1] Position [145, 245, 185, 285] Orientation "up" ShowName off SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ShowPortLabels on Ron "0.001" Lon "0" Vf "0.8" IC "0" Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "D6" Ports [0, 0, 0, 0, 0, 1, 1] Position [230, 245, 270, 285] Orientation "up" ShowName off SourceBlock "powerlib/Power\nElectronics/Diode" SourceType "Diode" ShowPortLabels on Ron "0.001" Lon "0" Vf "0.8" IC "0" Rs "500" Cs "250e-9" Measurements off } Block { BlockType Reference Name "DC Voltage Source10" Ports [0, 0, 0, 0, 0, 1, 1] Position [25, 295, 45, 330] Orientation "up" ShowName off SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou" "rce" SourceType "DC Voltage Source" ShowPortLabels on Amplitude "200" Measurements "None" } Block { BlockType Reference Name "DC Voltage Source11" Ports [0, 0, 0, 0, 0, 1, 1] Position [70, 295, 90, 330] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou" "rce" SourceType "DC Voltage Source" ShowPortLabels on Amplitude "200" Measurements "None" } Block { BlockType Reference Name "DC Voltage Source6" Ports [0, 0, 0, 0, 0, 1, 1] Position [195, 295, 215, 330] Orientation "up" ShowName off SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou" "rce" SourceType "DC Voltage Source" ShowPortLabels on Amplitude "200" Measurements "None" } Block { BlockType Reference Name "DC Voltage Source7" Ports [0, 0, 0, 0, 0, 1, 1] Position [240, 295, 260, 330] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou" "rce" SourceType "DC Voltage Source" ShowPortLabels on Amplitude "200" Measurements "None" } Block { BlockType Reference Name "DC Voltage Source8" Ports [0, 0, 0, 0, 0, 1, 1] Position [110, 295, 130, 330] Orientation "up" ShowName off SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou" "rce" SourceType "DC Voltage Source" ShowPortLabels on Amplitude "200" Measurements "None" } Block { BlockType Reference Name "DC Voltage Source9" Ports [0, 0, 0, 0, 0, 1, 1] Position [155, 295, 175, 330] Orientation "down" NamePlacement "alternate" ShowName off SourceBlock "powerlib/Electrical\nSources/DC Voltage Sou" "rce" SourceType "DC Voltage Source" ShowPortLabels on Amplitude "200" Measurements "None" } Block { BlockType Reference Name "LB1" Ports [0, 0, 0, 0, 0, 3, 3] Position [296, 165, 464, 205] Orientation "down" NamePlacement "alternate" SourceBlock "powerlib/Elements/Three-Phase Breaker" SourceType "Three-Phase Breaker" ShowPortLabels on InitialState "open" SwitchA on SwitchB on SwitchC on SwitchTimes "[0]" External off BreakerResistance "0.001" SnubberResistance "1e6" SnubberCapacitance "inf" Measurements "None" } Block { BlockType Reference Name "LB3" Ports [0, 0, 0, 0, 0, 3, 3] Position [19, 170, 251, 205] Orientation "down" NamePlacement "alternate" SourceBlock "powerlib/Elements/Three-Phase Breaker" SourceType "Three-Phase Breaker" ShowPortLabels on InitialState "open" SwitchA on SwitchB on SwitchC on SwitchTimes "[0]" External off BreakerResistance "0.001" SnubberResistance "1e6" SnubberCapacitance "inf" Measurements "None" } Block { BlockType Reference Name "LB6" Ports [0, 0, 0, 0, 0, 3, 3] Position [566, 175, 614, 210] Orientation "down" NamePlacement "alternate" SourceBlock "powerlib/Elements/Three-Phase Breaker" SourceType "Three-Phase Breaker" ShowPortLabels on InitialState "open" SwitchA on SwitchB on SwitchC on SwitchTimes "[1 5]" External off BreakerResistance "0.001" SnubberResistance "1e6" SnubberCapacitance "inf" Measurements "None" } Block { BlockType Reference Name "Parallel RLC Load" Ports [0, 0, 0, 0, 0, 1, 1] Position [314, 290, 366, 345] Orientation "down" NamePlacement "alternate" ShowName off AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Parallel RLC Load" SourceType "Parallel RLC Load" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" RConnTagsString "__new0" NominalVoltage "480" NominalFrequency "60" ActivePower "15e4" InductivePower "15e4" CapacitivePower "0" Setx0 off InitialVoltage "0" SetiL0 off InitialCurrent "0" Measurements "None" } Block { BlockType Reference Name "Parallel RLC Load1" Ports [0, 0, 0, 0, 0, 1, 1] Position [364, 290, 416, 345] Orientation "down" NamePlacement "alternate" ShowName off AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Parallel RLC Load" SourceType "Parallel RLC Load" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" RConnTagsString "__new0" NominalVoltage "480" NominalFrequency "60" ActivePower "15e4" InductivePower "15e4" CapacitivePower "0" Setx0 off InitialVoltage "0" SetiL0 off InitialCurrent "0" Measurements "None" } Block { BlockType Reference Name "Parallel RLC Load2" Ports [0, 0, 0, 0, 0, 1, 1] Position [414, 290, 466, 345] Orientation "down" NamePlacement "alternate" ShowName off AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Parallel RLC Load" SourceType "Parallel RLC Load" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" RConnTagsString "__new0" NominalVoltage "480" NominalFrequency "60" ActivePower "15e4" InductivePower "15e4" CapacitivePower "0" Setx0 off InitialVoltage "0" SetiL0 off InitialCurrent "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Load" Ports [0, 0, 0, 0, 0, 1, 1] Position [26, 340, 44, 380] Orientation "down" NamePlacement "alternate" ShowName off AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Series RLC Load" SourceType "Series RLC Load" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" RConnTagsString "__new0" NominalVoltage "480" NominalFrequency "60" ActivePower "30e4" InductivePower "0" CapacitivePower "0" Setx0 off InitialVoltage "0" SetiL0 off InitialCurrent "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Load1" Ports [0, 0, 0, 0, 0, 1, 1] Position [71, 340, 89, 380] Orientation "down" NamePlacement "alternate" ShowName off AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Series RLC Load" SourceType "Series RLC Load" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" RConnTagsString "__new0" NominalVoltage "480" NominalFrequency "60" ActivePower "30e4" InductivePower "0" CapacitivePower "0" Setx0 off InitialVoltage "0" SetiL0 off InitialCurrent "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Load2" Ports [0, 0, 0, 0, 0, 1, 1] Position [111, 340, 129, 380] Orientation "down" NamePlacement "alternate" ShowName off AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Series RLC Load" SourceType "Series RLC Load" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" RConnTagsString "__new0" NominalVoltage "480" NominalFrequency "60" ActivePower "30e4" InductivePower "0" CapacitivePower "0" Setx0 off InitialVoltage "0" SetiL0 off InitialCurrent "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Load3" Ports [0, 0, 0, 0, 0, 1, 1] Position [156, 340, 174, 380] Orientation "down" NamePlacement "alternate" ShowName off AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Series RLC Load" SourceType "Series RLC Load" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" RConnTagsString "__new0" NominalVoltage "480" NominalFrequency "60" ActivePower "30e4" InductivePower "0" CapacitivePower "0" Setx0 off InitialVoltage "0" SetiL0 off InitialCurrent "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Load4" Ports [0, 0, 0, 0, 0, 1, 1] Position [196, 340, 214, 380] Orientation "down" NamePlacement "alternate" ShowName off AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Series RLC Load" SourceType "Series RLC Load" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" RConnTagsString "__new0" NominalVoltage "480" NominalFrequency "60" ActivePower "30e4" InductivePower "0" CapacitivePower "0" Setx0 off InitialVoltage "0" SetiL0 off InitialCurrent "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Load5" Ports [0, 0, 0, 0, 0, 1, 1] Position [241, 340, 259, 380] Orientation "down" NamePlacement "alternate" ShowName off AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Series RLC Load" SourceType "Series RLC Load" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" RConnTagsString "__new0" NominalVoltage "480" NominalFrequency "60" ActivePower "30e4" InductivePower "0" CapacitivePower "0" Setx0 off InitialVoltage "0" SetiL0 off InitialCurrent "0" Measurements "None" } Block { BlockType Terminator Name "T" Position [645, 315, 665, 335] } Block { BlockType Constant Name "Tm" Position [520, 220, 550, 240] NamePlacement "alternate" ShowName off Value "267.441" } Block { BlockType PMIOPort Name "A" Position [90, 15, 120, 30] Orientation "down" Port "1" Side "Left" } Block { BlockType PMIOPort Name "B" Position [150, 15, 180, 30] Orientation "down" Port "2" Side "Left" } Block { BlockType PMIOPort Name "C" Position [205, 15, 235, 30] Orientation "down" Port "3" Side "Left" } Block { BlockType PMIOPort Name "N" Position [250, 430, 280, 445] Orientation "up" NamePlacement "alternate" Port "4" Side "Right" } Line { LineType "Connection" SrcBlock "LB6" SrcPort RConn1 Points [0, 0] DstBlock "75MW" DstPort LConn1 } Line { LineType "Connection" SrcBlock "LB6" SrcPort RConn2 Points [0, 0] DstBlock "75MW" DstPort LConn2 } Line { LineType "Connection" SrcBlock "LB6" SrcPort RConn3 Points [0, 0] DstBlock "75MW" DstPort LConn3 } Line { LineType "Connection" SrcBlock "D1" SrcPort LConn1 Points [0, 0; 25, 0] Branch { ConnectType "DEST_SRC" DstBlock "D4" DstPort RConn1 } Branch { ConnectType "DEST_DEST" SrcBlock "LB3" SrcPort RConn1 Points [0, 0; 0, 10] } } Line { LineType "Connection" SrcBlock "DC Voltage Source10" SrcPort RConn1 Points [0, 0] DstBlock "D1" DstPort RConn1 } Line { LineType "Connection" SrcBlock "D5" SrcPort RConn1 Points [0, 0; -30, 0] Branch { ConnectType "DEST_SRC" DstBlock "D2" DstPort LConn1 } Branch { ConnectType "DEST_DEST" SrcBlock "LB3" SrcPort RConn2 Points [0, 0; 0, 10] } } Line { LineType "Connection" SrcBlock "DC Voltage Source8" SrcPort RConn1 Points [0, 0] DstBlock "D2" DstPort RConn1 } Line { LineType "Connection" SrcBlock "D3" SrcPort LConn1 Points [0, 0; 5, 0] Branch { ConnectType "DEST_DEST" SrcBlock "LB3" SrcPort RConn3 Points [0, 0; 0, 10] } Branch { ConnectType "DEST_SRC" DstBlock "D6" DstPort RConn1 } } Line { LineType "Connection" SrcBlock "DC Voltage Source6" SrcPort RConn1 Points [0, 0] DstBlock "D3" DstPort RConn1 } Line { LineType "Connection" SrcBlock "DC Voltage Source11" SrcPort LConn1 Points [0, 0] DstBlock "D4" DstPort LConn1 } Line { LineType "Connection" SrcBlock "DC Voltage Source9" SrcPort LConn1 Points [0, 0] DstBlock "D5" DstPort LConn1 } Line { LineType "Connection" SrcBlock "DC Voltage Source7" SrcPort LConn1 Points [0, 0] DstBlock "D6" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Series RLC Load" SrcPort LConn1 Points [0, 0] DstBlock "DC Voltage Source10" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Series RLC Load1" SrcPort LConn1 Points [0, 0] DstBlock "DC Voltage Source11" DstPort RConn1 } Line { LineType "Connection" SrcBlock "Series RLC Load4" SrcPort LConn1 Points [0, 0] DstBlock "DC Voltage Source6" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Series RLC Load5" SrcPort LConn1 Points [0, 0] DstBlock "DC Voltage Source7" DstPort RConn1 } Line { LineType "Connection" SrcBlock "Series RLC Load2" SrcPort LConn1 Points [0, 0] DstBlock "DC Voltage Source8" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Series RLC Load3" SrcPort LConn1 Points [0, 0] DstBlock "DC Voltage Source9" DstPort RConn1 } Line { SrcBlock "75MW" SrcPort 1 Points [0, 10] DstBlock "T" DstPort 1 } Line { SrcBlock "Tm" SrcPort 1 Points [5, 0] DstBlock "75MW" DstPort 1 } Line { LineType "Connection" Points [80, 405; 0, -10] DstBlock "Series RLC Load1" DstPort RConn1 Branch { ConnectType "SRC_DEST" Points [120, 405; -40, 0] Branch { ConnectType "SRC_DEST" Points [165, 405; -45, 0] Branch { ConnectType "SRC_DEST" Points [205, 405; -40, 0] Branch { ConnectType "SRC_DEST" Points [250, 405; -45, 0] Branch { ConnectType "SRC_DEST" Points [265, 405; -15, 0] Branch { ConnectType "SRC_SRC" DstBlock "N" DstPort RConn1 } Branch { ConnectType "SRC_DEST" Points [340, 405; -75, 0] Branch { ConnectType "SRC_DEST" SrcBlock "Parallel RLC Load" SrcPort RConn1 Points [0, 0; 0, 45] } Branch { ConnectType "SRC_DEST" Points [390, 405; -50, 0] Branch { ConnectType "SRC_DEST" SrcBlock "Parallel RLC Load1" SrcPort RConn1 Points [0, 0; 0, 45] } Branch { ConnectType "SRC_DEST" SrcBlock "Parallel RLC Load2" SrcPort RConn1 Points [0, 45; -50, 0] } } } } Branch { ConnectType "SRC_DEST" SrcBlock "Series RLC Load5" SrcPort RConn1 Points [0, 0; 0, 10] } } Branch { ConnectType "SRC_DEST" SrcBlock "Series RLC Load4" SrcPort RConn1 Points [0, 0; 0, 10] } } Branch { ConnectType "SRC_DEST" SrcBlock "Series RLC Load3" SrcPort RConn1 Points [0, 0; 0, 10] } } Branch { ConnectType "SRC_DEST" SrcBlock "Series RLC Load2" SrcPort RConn1 Points [0, 0; 0, 10] } } Branch { ConnectType "SRC_DEST" SrcBlock "Series RLC Load" SrcPort RConn1 Points [0, 10; 45, 0] } } Line { LineType "Connection" Points [105, 95; 0, 60; -45, 0] DstBlock "LB3" DstPort LConn1 Branch { ConnectType "SRC_SRC" Points [235, 0] Branch { ConnectType "DEST_SRC" Points [235, 0] DstBlock "LB6" DstPort LConn1 } Branch { ConnectType "DEST_SRC" Points [-15, 0] DstBlock "LB1" DstPort LConn1 } } Branch { ConnectType "SRC_DEST" SrcBlock "A" SrcPort RConn1 Points [0, 0; 0, 50] } } Line { LineType "Connection" Points [165, 80; 0, 75; -30, 0] DstBlock "LB3" DstPort LConn2 Branch { ConnectType "SRC_SRC" Points [215, 0] Branch { ConnectType "DEST_SRC" Points [20, 0; 190, 0] DstBlock "LB6" DstPort LConn2 } Branch { ConnectType "DEST_SRC" DstBlock "LB1" DstPort LConn2 } } Branch { ConnectType "SRC_SRC" DstBlock "B" DstPort RConn1 } } Line { LineType "Connection" Points [225, 65; 0, 90; -15, 0] DstBlock "LB3" DstPort LConn3 Branch { ConnectType "SRC_SRC" Points [210, 0; 5, 0] Branch { ConnectType "DEST_SRC" Points [0, -5; 94, 0; 0, 5; 71, 0] DstBlock "LB6" DstPort LConn3 } Branch { ConnectType "DEST_SRC" Points [-5, 0] DstBlock "LB1" DstPort LConn3 } } Branch { ConnectType "SRC_SRC" Points [-5, 0] DstBlock "C" DstPort RConn1 } } Line { LineType "Connection" SrcBlock "LB1" SrcPort RConn1 Points [0, 25; 15, 0] DstBlock "Parallel RLC Load" DstPort LConn1 } Line { LineType "Connection" SrcBlock "LB1" SrcPort RConn2 Points [0, 25; 10, 0] DstBlock "Parallel RLC Load1" DstPort LConn1 } Line { LineType "Connection" SrcBlock "LB1" SrcPort RConn3 Points [0, 25; 5, 0] DstBlock "Parallel RLC Load2" DstPort LConn1 } } } Block { BlockType Reference Name "Load" Ports [0, 0, 0, 0, 0, 3, 3] Position [257, 285, 303, 290] Orientation "down" BackgroundColor "black" NamePlacement "alternate" SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem" "ent" SourceType "Three-Phase VI Measurement" ShowPortLabels on VoltageMeasurement "phase-to-ground" SetLabelV on LabelV "Vabc_Load" Vpu on CurrentMeasurement "yes" SetLabelI on LabelI "Iabc_Load" Ipu on Pbase "275e3" Vbase "480" OutputType "Magnitude" PhasorSimulation off PSBequivalent "0" } Block { BlockType Reference Name "Main Load\n50 kW1" Ports [0, 0, 0, 0, 0, 3] Position [461, 175, 509, 245] Orientation "down" BackgroundColor "yellow" NamePlacement "alternate" AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Three-Phase\nParallel RLC Loa" "d" SourceType "Three-Phase Parallel RLC Load" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "A|B|C" Configuration "Delta" NominalVoltage "480" NominalFrequency "60" ActivePower "0" InductivePower "0" CapacitivePower "75e3" Measurements "None" } Block { BlockType SubSystem Name "Power\nComputation" Ports [0, 6] Position [410, 495, 460, 615] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off Port { PortNumber 1 Name "P Wind Turb. (kW)" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "P Main Load (kW)" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "Q Synch. Condenser (kvar)" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "Power\nComputation" Location [300, 256, 1094, 649] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Reference Name "3-phase \nInstantaneous \nActive & Reactive" " Power1" Ports [2, 1] Position [150, 129, 200, 176] SourceBlock "powerlib_extras/Measurements/3-phase \nInst" "antaneous \nActive & Reactive Power" SourceType "3-phase instantaneous active and reactive p" "ower" ShowPortLabels on } Block { BlockType Reference Name "3-phase \nInstantaneous \nActive & Reactive" " Power2" Ports [2, 1] Position [155, 14, 205, 61] SourceBlock "powerlib_extras/Measurements/3-phase \nInst" "antaneous \nActive & Reactive Power" SourceType "3-phase instantaneous active and reactive p" "ower" ShowPortLabels on } Block { BlockType Reference Name "3-phase \nInstantaneous \nActive & Reactive" " Power3" Ports [2, 1] Position [500, 129, 550, 176] SourceBlock "powerlib_extras/Measurements/3-phase \nInst" "antaneous \nActive & Reactive Power" SourceType "3-phase instantaneous active and reactive p" "ower" ShowPortLabels on } Block { BlockType Reference Name "3-phase \nInstantaneous \nActive & Reactive" " Power4" Ports [2, 1] Position [505, 24, 555, 71] SourceBlock "powerlib_extras/Measurements/3-phase \nInst" "antaneous \nActive & Reactive Power" SourceType "3-phase instantaneous active and reactive p" "ower" ShowPortLabels on } Block { BlockType Reference Name "3-phase \nInstantaneous \nActive & Reactive" " Power5" Ports [2, 1] Position [155, 239, 205, 286] SourceBlock "powerlib_extras/Measurements/3-phase \nInst" "antaneous \nActive & Reactive Power" SourceType "3-phase instantaneous active and reactive p" "ower" ShowPortLabels on } Block { BlockType Reference Name "3-phase \nInstantaneous \nActive & Reactive" " Power6" Ports [2, 1] Position [510, 244, 560, 291] SourceBlock "powerlib_extras/Measurements/3-phase \nInst" "antaneous \nActive & Reactive Power" SourceType "3-phase instantaneous active and reactive p" "ower" ShowPortLabels on } Block { BlockType From Name "From1" Position [15, 132, 75, 148] ShowName off CloseFcn "tagdialog Close" GotoTag "Vabc_Load" } Block { BlockType From Name "From10" Position [20, 267, 80, 283] ShowName off CloseFcn "tagdialog Close" GotoTag "Iabc_SC" } Block { BlockType From Name "From11" Position [370, 247, 430, 263] ShowName off CloseFcn "tagdialog Close" GotoTag "Vabc_WT" } Block { BlockType From Name "From12" Position [370, 272, 430, 288] ShowName off CloseFcn "tagdialog Close" GotoTag "Iabc_WT" } Block { BlockType From Name "From2" Position [15, 157, 75, 173] ShowName off CloseFcn "tagdialog Close" GotoTag "Iabc_Load" } Block { BlockType From Name "From3" Position [15, 17, 75, 33] ShowName off CloseFcn "tagdialog Close" GotoTag "Vabc_WT" } Block { BlockType From Name "From4" Position [15, 42, 75, 58] ShowName off CloseFcn "tagdialog Close" GotoTag "Iabc_WT" } Block { BlockType From Name "From5" Position [370, 27, 430, 43] ShowName off CloseFcn "tagdialog Close" GotoTag "Vabc_Load" } Block { BlockType From Name "From6" Position [370, 52, 430, 68] ShowName off CloseFcn "tagdialog Close" GotoTag "Iabc_Load" } Block { BlockType From Name "From7" Position [365, 132, 425, 148] ShowName off CloseFcn "tagdialog Close" GotoTag "Vabc_SC" } Block { BlockType From Name "From8" Position [365, 157, 425, 173] ShowName off CloseFcn "tagdialog Close" GotoTag "Iabc_SC" } Block { BlockType From Name "From9" Position [20, 242, 80, 258] ShowName off CloseFcn "tagdialog Close" GotoTag "Vabc_SC" } Block { BlockType Gain Name "Gain1" Position [90, 131, 120, 149] ShowName off Gain "480/sqrt(3)*sqrt(2)" } Block { BlockType Gain Name "Gain10" Position [270, 144, 285, 166] ShowName off Gain "1/1000" } Block { BlockType Gain Name "Gain11" Position [445, 51, 475, 69] ShowName off Gain "275e3/(sqrt(3)*480)*sqrt(2)" } Block { BlockType Gain Name "Gain12" Position [620, 144, 635, 166] ShowName off Gain "1/1000" } Block { BlockType Gain Name "Gain13" Position [275, 254, 290, 276] ShowName off Gain "1/1000" } Block { BlockType Gain Name "Gain14" Position [100, 241, 130, 259] ShowName off Gain "480/sqrt(3)*sqrt(2)" } Block { BlockType Gain Name "Gain15" Position [100, 266, 130, 284] ShowName off Gain "300e3/(sqrt(3)*480)*sqrt(2)" } Block { BlockType Gain Name "Gain16" Position [450, 246, 480, 264] ShowName off Gain "480/sqrt(3)*sqrt(2)" } Block { BlockType Gain Name "Gain17" Position [450, 271, 480, 289] ShowName off Gain "275e3/(sqrt(3)*480)*sqrt(2)" } Block { BlockType Gain Name "Gain18" Position [625, 259, 640, 281] ShowName off Gain "-1/1000" } Block { BlockType Gain Name "Gain2" Position [445, 26, 475, 44] ShowName off Gain "480/sqrt(3)*sqrt(2)" } Block { BlockType Gain Name "Gain3" Position [445, 131, 475, 149] ShowName off Gain "480/sqrt(3)*sqrt(2)" } Block { BlockType Gain Name "Gain4" Position [95, 16, 125, 34] ShowName off Gain "480/sqrt(3)*sqrt(2)" } Block { BlockType Gain Name "Gain5" Position [95, 41, 125, 59] ShowName off Gain "275e3/(sqrt(3)*480)*sqrt(2)" } Block { BlockType Gain Name "Gain6" Position [90, 156, 120, 174] ShowName off Gain "275e3/(sqrt(3)*480)*sqrt(2)" } Block { BlockType Gain Name "Gain7" Position [625, 39, 640, 61] ShowName off Gain "1/1000" } Block { BlockType Gain Name "Gain8" Position [270, 29, 285, 51] ShowName off Gain "-1/1000" } Block { BlockType Gain Name "Gain9" Position [445, 156, 475, 174] ShowName off Gain "300e3/(sqrt(3)*480)*sqrt(2)" } Block { BlockType Selector Name "Selector1" Ports [1, 1] Position [220, 136, 250, 174] Elements "[1]" InputPortWidth "2" } Block { BlockType Selector Name "Selector2" Ports [1, 1] Position [225, 21, 255, 59] Elements "[1]" InputPortWidth "2" } Block { BlockType Selector Name "Selector3" Ports [1, 1] Position [570, 136, 600, 174] Elements "[1]" InputPortWidth "2" } Block { BlockType Selector Name "Selector4" Ports [1, 1] Position [575, 31, 605, 69] Elements "[2]" InputPortWidth "2" } Block { BlockType Selector Name "Selector5" Ports [1, 1] Position [225, 246, 255, 284] Elements "[2]" InputPortWidth "2" } Block { BlockType Selector Name "Selector6" Ports [1, 1] Position [580, 251, 610, 289] Elements "[2]" InputPortWidth "2" } Block { BlockType Outport Name "P_WT" Position [305, 33, 335, 47] IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "P_Load" Position [305, 148, 335, 162] Port "2" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Q_SC" Position [660, 148, 690, 162] Port "3" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "P_Load1" Position [660, 43, 690, 57] Port "4" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "Q_SC1" Position [315, 258, 345, 272] Port "5" IconDisplay "Port number" BusOutputAsStruct off } Block { BlockType Outport Name "P_WT1" Position [660, 263, 690, 277] Port "6" IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "3-phase \nInstantaneous \nActive & Reactive" " Power1" SrcPort 1 DstBlock "Selector1" DstPort 1 } Line { SrcBlock "3-phase \nInstantaneous \nActive & Reactive" " Power2" SrcPort 1 DstBlock "Selector2" DstPort 1 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Gain4" DstPort 1 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { SrcBlock "3-phase \nInstantaneous \nActive & Reactive" " Power3" SrcPort 1 DstBlock "Selector3" DstPort 1 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power2" DstPort 1 } Line { SrcBlock "Gain5" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power2" DstPort 2 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Gain6" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power1" DstPort 1 } Line { SrcBlock "Gain6" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power1" DstPort 2 } Line { SrcBlock "Selector1" SrcPort 1 DstBlock "Gain10" DstPort 1 } Line { SrcBlock "Selector2" SrcPort 1 DstBlock "Gain8" DstPort 1 } Line { SrcBlock "Gain8" SrcPort 1 DstBlock "P_WT" DstPort 1 } Line { SrcBlock "Selector3" SrcPort 1 DstBlock "Gain12" DstPort 1 } Line { SrcBlock "From7" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "From8" SrcPort 1 DstBlock "Gain9" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power3" DstPort 1 } Line { SrcBlock "Gain9" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power3" DstPort 2 } Line { SrcBlock "Gain10" SrcPort 1 DstBlock "P_Load" DstPort 1 } Line { SrcBlock "Gain12" SrcPort 1 DstBlock "Q_SC" DstPort 1 } Line { SrcBlock "3-phase \nInstantaneous \nActive & Reactive" " Power4" SrcPort 1 DstBlock "Selector4" DstPort 1 } Line { SrcBlock "From5" SrcPort 1 Points [0, 0] DstBlock "Gain2" DstPort 1 } Line { SrcBlock "From6" SrcPort 1 Points [0, 0] DstBlock "Gain11" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power4" DstPort 1 } Line { SrcBlock "Gain11" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power4" DstPort 2 } Line { SrcBlock "Selector4" SrcPort 1 DstBlock "Gain7" DstPort 1 } Line { SrcBlock "Gain7" SrcPort 1 DstBlock "P_Load1" DstPort 1 } Line { SrcBlock "3-phase \nInstantaneous \nActive & Reactive" " Power5" SrcPort 1 DstBlock "Selector5" DstPort 1 } Line { SrcBlock "Selector5" SrcPort 1 DstBlock "Gain13" DstPort 1 } Line { SrcBlock "From9" SrcPort 1 DstBlock "Gain14" DstPort 1 } Line { SrcBlock "From10" SrcPort 1 DstBlock "Gain15" DstPort 1 } Line { SrcBlock "Gain14" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power5" DstPort 1 } Line { SrcBlock "Gain15" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power5" DstPort 2 } Line { SrcBlock "Gain13" SrcPort 1 Points [0, 0] DstBlock "Q_SC1" DstPort 1 } Line { SrcBlock "3-phase \nInstantaneous \nActive & Reactive" " Power6" SrcPort 1 DstBlock "Selector6" DstPort 1 } Line { SrcBlock "From11" SrcPort 1 DstBlock "Gain16" DstPort 1 } Line { SrcBlock "From12" SrcPort 1 DstBlock "Gain17" DstPort 1 } Line { SrcBlock "Gain16" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power6" DstPort 1 } Line { SrcBlock "Gain17" SrcPort 1 DstBlock "3-phase \nInstantaneous \nActive & Reactive" " Power6" DstPort 2 } Line { SrcBlock "Selector6" SrcPort 1 DstBlock "Gain18" DstPort 1 } Line { SrcBlock "Gain18" SrcPort 1 DstBlock "P_WT1" DstPort 1 } } } Block { BlockType Reference Name "RMS" Ports [1, 1] Position [110, 631, 160, 689] SourceBlock "powerlib_extras/Measurements/RMS" SourceType "RMS" ShowPortLabels on f1 "60" } Block { BlockType Reference Name "RMS1" Ports [1, 1] Position [1020, 446, 1070, 504] SourceBlock "powerlib_extras/Measurements/RMS" SourceType "RMS" ShowPortLabels on f1 "60" } Block { BlockType Reference Name "SC" Ports [0, 0, 0, 0, 0, 3, 3] Position [215, 78, 220, 142] BackgroundColor "black" SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem" "ent" SourceType "Three-Phase VI Measurement" ShowPortLabels on VoltageMeasurement "phase-to-ground" SetLabelV on LabelV "Vabc_SC" Vpu on CurrentMeasurement "yes" SetLabelI on LabelI "Iabc_SC" Ipu on Pbase "300e3" Vbase "480" OutputType "Magnitude" PhasorSimulation off PSBequivalent "0" } Block { BlockType Scope Name "Scope1" Ports [6] Position [250, 552, 300, 668] BackgroundColor "green" Floating off Location [590, 130, 1058, 732] Open off NumInputPorts "6" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" axes5 "%" axes6 "%" } TimeRange "1 " YMin "-1~-1.5~-1~1.29275~0.66~-1.5" YMax "1~1.5~1~1.29425~0.73~1.5" SaveToWorkspace on SaveName "Vabc" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Scope Name "Scope2" Ports [6] Position [695, 494, 755, 616] BackgroundColor "green" Floating off Location [421, 118, 934, 720] Open off NumInputPorts "6" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" axes5 "%" axes6 "%" } TimeRange "5" YMin "-22.5~5e-008~50.5~62~1e-007~-5" YMax "-5~9e-008~53~74~1.8e-007~5" SaveToWorkspace on SaveName "Power" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Scope Name "Scope3" Ports [4] Position [740, 273, 780, 342] BackgroundColor "green" Floating off Location [79, 131, 592, 733] Open off NumInputPorts "4" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" } TimeRange "5" YMin "9.5~-1~-1~-1" YMax "10.5~1~1~1" SaveName "Power1" DataFormat "Array" LimitDataPoints off SampleTime "0" } Block { BlockType Scope Name "Scope4" Ports [5] Position [1175, 421, 1215, 499] BackgroundColor "green" Floating off Location [763, 120, 1231, 722] Open off NumInputPorts "5" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" axes5 "%" } TimeRange "5" YMin "-1~-1~-1~1.3573~0.665" YMax "1~1~1~1.3585~0.72" SaveToWorkspace on SaveName "Vabc1" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Step Name "Step" Position [720, 190, 750, 220] Orientation "left" Time "7" Before "10" After "7" SampleTime "0" } Block { BlockType Step Name "Step1" Position [60, 280, 90, 310] Orientation "left" Time "2" Before "0.334003" After "0" SampleTime "0" } Block { BlockType Reference Name "Synchronous Condenser\n 480V 300kVA" Ports [2, 1, 0, 0, 0, 0, 3] Position [80, 63, 155, 137] BackgroundColor "lightBlue" AttributesFormatString "\\n\\n" SourceBlock "powerlib/Machines/Synchronous Machine\npu Stand" "ard" SourceType "Synchronous Machine" ShowPortLabels on PresetModel "No" MechanicalLoad "Mechanical power Pm" ShowDetailedParameters on RotorType "Salient-pole" NominalParameters "[ 70e3 480 60 ]" Reactances1 "[ 3.23, 0.21, 0.15, 2.79, 1.03, 0.37, 0.09 ]" Reactances2 "[ 3.23, 0.21, 0.15, 2.79, 0.37, 0.09]" dAxisTimeConstants "Open-circuit" qAxisTimeConstants "Open-circuit" TimeConstants1 "[ 1.7 0.008 0.004]" TimeConstants2 "[ 1.7, 0.008, 0.213, 0.004 ]" TimeConstants3 "[ 1.7 0.008 0.051266 ]" TimeConstants4 "[ 8.0, 0.03, 0.3371, 0.0295 ]" TimeConstants5 "[ 0.08 0.019 0.004 ]" TimeConstants6 "[ 1.3201, 0.023, 1.0, 0.07 ]" TimeConstants7 "[ 0.08 0.019 0.051266 ]" TimeConstants8 "[ 1.3201, 0.0231, 0.3371, 0.0295 ]" StatorResistance "0.017" Mechanical "[ 1, 0, 2 ]" InitialConditions "[0 -54.8177 0.349506 0.349506 0.349506 -18.2499" " -138.25 101.75 1.72755]" SetSaturation off Saturation "[0.6404,0.7127,0.8441,0.9214,0.9956,1.082,1.19," "1.316,1.457;0.7,0.7698,0.8872,0.9466,0.9969,1.046,1.1,1.151,1.201]" Units "0.5" LoadFlowParameters "[2 10000 0 0 0]" } Block { BlockType Reference Name "Three-Phase\nSeries RLC Branch" Ports [0, 0, 0, 0, 0, 3, 3] Position [345, 77, 415, 123] AttributesFormatString "\\n" SourceBlock "powerlib/Elements/Three-Phase\nSeries RLC Branc" "h" SourceType "Three-Phase Series RLC Branch" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "A|B|C" RConnTagsString "A|B|C" BranchType "RL" Resistance "0.02" Inductance "1.38e-5" Capacitance "1e-6" Measurements "None" } Block { BlockType Reference Name "WT" Ports [0, 0, 0, 0, 0, 3, 3] Position [530, 78, 535, 142] BackgroundColor "black" SourceBlock "powerlib/Measurements/Three-Phase\nV-I Measurem" "ent" SourceType "Three-Phase VI Measurement" ShowPortLabels on VoltageMeasurement "phase-to-ground" SetLabelV on LabelV "Vabc_WT" Vpu on CurrentMeasurement "yes" SetLabelI on LabelI "Iabc_WT" Ipu on Pbase "275e3" Vbase "480" OutputType "Magnitude" PhasorSimulation off PSBequivalent "0" } Block { BlockType SubSystem Name "Wind Turbine" Ports [2, 1] Position [580, 190, 650, 250] Orientation "left" BackgroundColor "green" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "Wind Turbine" Location [366, 291, 923, 517] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "w_Wind" Position [155, 23, 185, 37] IconDisplay "Port number" } Block { BlockType Inport Name "w_Turb" Position [20, 48, 50, 62] Port "2" IconDisplay "Port number" } Block { BlockType Gain Name "1800 rpm" Position [90, 40, 120, 70] Gain "1800" } Block { BlockType Constant Name "Constant3" Position [170, 118, 185, 132] ShowName off Value "1e-6" } Block { BlockType Gain Name "Gain" Position [425, 60, 455, 90] Gain "-1" } Block { BlockType Goto Name "Goto3" Position [85, 167, 140, 183] ShowName off GotoTag "w_ASM" TagVisibility "global" } Block { BlockType Lookup2D Name "P(w_Wind,w_Turb)" Position [215, 17, 300, 68] RowIndex "[0 5 6 7 8 9 10 11 12]" ColumnIndex "[0 571.55 685.8 800.15 914.4 1028.8 1143.1 " "1257.4 1371.7 1486 1600.3 1714.6 1828.9 1943.2 2057.5 2171.8 2286.1 2400.5 25" "14.7 2629.1 2743.3 2857.7 2971.9 3086.3 3200.5 3314.9 3429.2]" OutputValues "psbwindgen_char" } Block { BlockType Product Name "Product" Ports [2, 1] Position [385, 56, 400, 89] ShowName off Inputs "*/" RndMeth "Floor" } Block { BlockType Switch Name "Switch" Position [220, 100, 250, 130] Threshold "1e-6" } Block { BlockType Outport Name "Tm" Position [485, 68, 515, 82] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "w_Turb" SrcPort 1 Points [5, 0; 5, 0] Branch { DstBlock "1800 rpm" DstPort 1 } Branch { Points [0, 50] Branch { Points [125, 0] Branch { DstBlock "Switch" DstPort 1 } Branch { Points [0, 10] DstBlock "Switch" DstPort 2 } } Branch { Points [0, 70] DstBlock "Goto3" DstPort 1 } } } Line { SrcBlock "Constant3" SrcPort 1 DstBlock "Switch" DstPort 3 } Line { SrcBlock "w_Wind" SrcPort 1 DstBlock "P(w_Wind,w_Turb)" DstPort 1 } Line { SrcBlock "P(w_Wind,w_Turb)" SrcPort 1 Points [65, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Switch" SrcPort 1 Points [115, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Tm" DstPort 1 } Line { Labels [0, 0] SrcBlock "1800 rpm" SrcPort 1 DstBlock "P(w_Wind,w_Turb)" DstPort 2 } } } Block { BlockType SubSystem Name "powergui" Ports [] Position [15, 15, 78, 49] AncestorBlock "powerlib/powergui" CopyFcn "powergui('Copy_Callback',gcb,0,[]);" DeleteFcn "powergui('Copy_Callback',gcb,1,[]);powergui('Cl" "ose_Callback',gcb,[],[]);\n " " " ModelCloseFcn "powergui('Close_Callback',gcb,[],[]);" PreSaveFcn "try \nclose(get_pa" "ram(gcbh,'userdata'))\nend " OpenFcn "if (power_openblockproxy ('secondary'))\npowerg" "ui(gcb,'PM')\nend;" FontSize 11 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off MaskType "PSB option menu block" MaskHelp "web(psbhelp)" MaskPromptString "General parameter: Simulation Mode |General par" "ameter: Sample Time|General parameter: Echo Messages|Initial electrical stat" "es status|Impedance tool: Frequency Range|Impedance tool: Log impedance|Imped" "ance tool: log Frequency|Impedance tool: grid|Impedance tool: Save Data To Wo" "rkspace|Impedance tool: Variable Name|Structure Name (PSBFFTSCOPE)|ZoomFFT (P" "SBFFTSCOPE)|Start Time (PSBFFTSCOPE)|Cycles (PSBFFTSCOPE)|Display style (PSBF" "FTSCOPE)|Fundamental (PSBFFTSCOPE)|Frequency Axis (PSBFFTSCOPE)|Max Frequency" " (PSBFFTSCOPE)|Frequency indice (PSBLOADFLOW)|Frequency indice (STEADYSTATE)" "|RMS display (STEADYSTATE)|Display Results|Sample time (s): |General paramet" "er: phasor frequency|Phasor simulation" MaskStyleString "popup(Continuous|Discrete|Phasor),edit,checkbox" ",popup(blocks|steady|zero),edit,checkbox,checkbox,checkbox,checkbox,edit,edit" ",checkbox,edit,edit,edit,edit,checkbox,edit,edit,edit,edit,checkbox,edit,edit" ",checkbox" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on" MaskCallbackString "||||||||||||||||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,off,off,off,off,off,off,off,off,off" ",off,off,off,off,off,off,off,off,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on,on,on,on,on" ",on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,,,,,,,,,,,,,,,,," MaskVariables "SimulationMode=@1;SampleTime=@2;echomessages=@3" ";x0status=@4;Frange=@5;Ylog=@6;Xlog=@7;ShowGrid=@8;save=@9;variable=&10;struc" "ture=&11;ZoomFFT=@12;StartTime=@13;cycles=@14;DisplayStyle=&15;fundamental=@1" "6;FreqAxis=@17;MaxFrequency=@18;frequencyindice=@19;frequencyindicesteady=@20" ";RmsSteady=@21;display=@22;Ts=@23;frequency=@24;methode=@25;" MaskInitialization "powerlibroot = which('powersysdomain');\nPSBroo" "t = powerlibroot(1:end-16);\n%\nswitch SimulationMode\n case 1\n" " message=sprintf('Continuous');\n case 2\n messa" "ge=sprintf('Discrete,\\nTs = %.4g s.',SampleTime);\n case 3\n " " message=sprintf('Phasors');\nend\nif strcmp(bdroot,'powerlib')\n mes" "sage='powergui';\nend\npower_initmask();" MaskDisplay "disp(message)" MaskSelfModifiable on MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "Continuous|0|off|blocks|[0:2:500]|off|on|off|of" "f|ZData||on|0.0|1|1|60|off|1000|60|1|1|off|0|60|off" MaskTabNameString ",,,,,,,,,,,,,,,,,,,,,,,," System { Name "powergui" Location [137, 405, 682, 583] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "EquivalentModel1" Ports [] Position [15, 70, 143, 105] TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off MaskInitialization "SPS = get_param(gcbh,'UserData');\nif isemp" "ty(SPS)\n A=0;\n B=0;\n C=0;\n D=0;\n x0=0;\n SwitchResista" "nce=1;\n SwitchType=1;\n SwitchGateInitialValue=1;\n OutputsToResetT" "oZero=1;\nelse\n A=SPS.A;\n B=SPS.B;\n C=SPS.C;\n D=SPS.D;\n " " x0=SPS.x0;\n SwitchResistance=SPS.SwitchResistance;\n SwitchType=SPS" ".SwitchType;\n SwitchGateInitialValue=SPS.SwitchGateInitialValue;\n Out" "putsToResetToZero=SPS.YSwitchCurrent;\nend" MaskDisplay "color('blue')\ndisp('EQUIVALENT CIRCUIT')" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "EquivalentModel1" Location [279, 434, 958, 675] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType SubSystem Name "Gates" Ports [0, 1] Position [15, 112, 80, 138] FontName "Arial" FontSize 14 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "Gates" Location [20, 127, 741, 886] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType From Name "From1" Position [15, 21, 85, 49] GotoTag "tp225364" } Block { BlockType From Name "From10" Position [15, 426, 85, 454] GotoTag "tp212318" } Block { BlockType From Name "From11" Position [15, 471, 85, 499] GotoTag "tp212325" } Block { BlockType From Name "From12" Position [15, 516, 85, 544] GotoTag "tp212331" } Block { BlockType From Name "From13" Position [15, 561, 85, 589] GotoTag "tp212337" } Block { BlockType From Name "From14" Position [15, 606, 85, 634] GotoTag "tp212343" } Block { BlockType From Name "From15" Position [15, 651, 85, 679] GotoTag "tp212350" } Block { BlockType From Name "From2" Position [15, 66, 85, 94] GotoTag "tp225368" } Block { BlockType From Name "From3" Position [15, 111, 85, 139] GotoTag "tp225373" } Block { BlockType From Name "From4" Position [15, 156, 85, 184] GotoTag "tp225378" } Block { BlockType From Name "From5" Position [15, 201, 85, 229] GotoTag "tp225382" } Block { BlockType From Name "From6" Position [15, 246, 85, 274] GotoTag "tp225387" } Block { BlockType From Name "From7" Position [15, 291, 85, 319] GotoTag "tp225392" } Block { BlockType From Name "From8" Position [15, 336, 85, 364] GotoTag "tp225396" } Block { BlockType From Name "From9" Position [15, 381, 85, 409] GotoTag "tp225353" } Block { BlockType Mux Name "Mux" Ports [15, 1] Position [325, 270, 330, 610] ShowName off Inputs "[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]" DisplayOption "bar" } Block { BlockType Outport Name "gates" Position [390, 433, 420, 447] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Mux" SrcPort 1 DstBlock "gates" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { SrcBlock "From5" SrcPort 1 DstBlock "Mux" DstPort 5 } Line { SrcBlock "From6" SrcPort 1 DstBlock "Mux" DstPort 6 } Line { SrcBlock "From7" SrcPort 1 DstBlock "Mux" DstPort 7 } Line { SrcBlock "From8" SrcPort 1 DstBlock "Mux" DstPort 8 } Line { SrcBlock "From9" SrcPort 1 DstBlock "Mux" DstPort 9 } Line { SrcBlock "From10" SrcPort 1 DstBlock "Mux" DstPort 10 } Line { SrcBlock "From11" SrcPort 1 DstBlock "Mux" DstPort 11 } Line { SrcBlock "From12" SrcPort 1 DstBlock "Mux" DstPort 12 } Line { SrcBlock "From13" SrcPort 1 DstBlock "Mux" DstPort 13 } Line { SrcBlock "From14" SrcPort 1 DstBlock "Mux" DstPort 14 } Line { SrcBlock "From15" SrcPort 1 DstBlock "Mux" DstPort 15 } } } Block { BlockType SubSystem Name "Sources" Ports [0, 1] Position [15, 52, 80, 78] FontName "Arial" FontSize 14 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "Sources" Location [16, 100, 737, 762] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType From Name "From1" Position [15, 21, 85, 49] GotoTag "tp212453" } Block { BlockType From Name "From10" Position [15, 426, 85, 454] GotoTag "tp212321" } Block { BlockType From Name "From11" Position [15, 471, 85, 499] GotoTag "tp212328" } Block { BlockType From Name "From12" Position [15, 516, 85, 544] GotoTag "tp212334" } Block { BlockType From Name "From13" Position [15, 561, 85, 589] GotoTag "tp212340" } Block { BlockType From Name "From14" Position [15, 606, 85, 634] GotoTag "tp212346" } Block { BlockType From Name "From15" Position [15, 651, 85, 679] GotoTag "tp212353" } Block { BlockType From Name "From2" Position [15, 66, 85, 94] GotoTag "tp212143" } Block { BlockType From Name "From3" Position [15, 111, 85, 139] GotoTag "tp212303" } Block { BlockType From Name "From4" Position [15, 156, 85, 184] GotoTag "tp212354" } Block { BlockType From Name "From5" Position [15, 201, 85, 229] GotoTag "tp212356" } Block { BlockType From Name "From6" Position [15, 246, 85, 274] GotoTag "tp212357" } Block { BlockType From Name "From7" Position [15, 291, 85, 319] GotoTag "tp212359" } Block { BlockType From Name "From8" Position [15, 336, 85, 364] GotoTag "tp212360" } Block { BlockType From Name "From9" Position [15, 381, 85, 409] GotoTag "tp212362" } Block { BlockType Mux Name "Mux" Ports [15, 1] Position [325, 270, 330, 610] Inputs "[2 2 2 1 1 1 1 1 1 1 1 1 1 1 1]" DisplayOption "bar" } Block { BlockType Mux Name "Mux_u" Ports [2, 1] Position [465, 374, 470, 461] Inputs "[15 18]" DisplayOption "bar" } Block { BlockType Constant Name "SwitchCurrents" Position [350, 379, 430, 411] NamePlacement "alternate" Value "zeros(15,1)" } Block { BlockType Outport Name "u" Position [505, 413, 535, 427] IconDisplay "Port number" BusOutputAsStruct off } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Mux_u" DstPort 2 } Line { SrcBlock "SwitchCurrents" SrcPort 1 DstBlock "Mux_u" DstPort 1 } Line { SrcBlock "Mux_u" SrcPort 1 DstBlock "u" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { SrcBlock "From5" SrcPort 1 DstBlock "Mux" DstPort 5 } Line { SrcBlock "From6" SrcPort 1 DstBlock "Mux" DstPort 6 } Line { SrcBlock "From7" SrcPort 1 DstBlock "Mux" DstPort 7 } Line { SrcBlock "From8" SrcPort 1 DstBlock "Mux" DstPort 8 } Line { SrcBlock "From9" SrcPort 1 DstBlock "Mux" DstPort 9 } Line { SrcBlock "From10" SrcPort 1 DstBlock "Mux" DstPort 10 } Line { SrcBlock "From11" SrcPort 1 DstBlock "Mux" DstPort 11 } Line { SrcBlock "From12" SrcPort 1 DstBlock "Mux" DstPort 12 } Line { SrcBlock "From13" SrcPort 1 DstBlock "Mux" DstPort 13 } Line { SrcBlock "From14" SrcPort 1 DstBlock "Mux" DstPort 14 } Line { SrcBlock "From15" SrcPort 1 DstBlock "Mux" DstPort 15 } } } Block { BlockType "S-Function" Name "State-Space" Ports [2, 2] Position [115, 35, 245, 155] FontName "Arial" FontSize 14 FunctionName "sfun_spssw_contc" Parameters "A, B, C, D, x0, SwitchResistance ,Switc" "hType, SwitchGateInitialValue, OutputsToResetToZero " MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" } Block { BlockType SubSystem Name "Status" Ports [1] Position [280, 113, 345, 137] FontName "Arial" FontSize 14 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "Status" Location [124, 85, 631, 971] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "status" Position [15, 373, 45, 387] IconDisplay "Port number" } Block { BlockType Demux Name "Demux" Ports [1, 15] Position [100, 191, 105, 569] BackgroundColor "black" ShowName off Outputs "[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]" DisplayOption "bar" } Block { BlockType Goto Name "Goto1" Position [325, 21, 395, 49] GotoTag "tp225365" TagVisibility "global" } Block { BlockType Goto Name "Goto10" Position [325, 426, 395, 454] GotoTag "tp212320" TagVisibility "global" } Block { BlockType Goto Name "Goto11" Position [325, 471, 395, 499] GotoTag "tp212326" TagVisibility "global" } Block { BlockType Goto Name "Goto12" Position [325, 516, 395, 544] GotoTag "tp212332" TagVisibility "global" } Block { BlockType Goto Name "Goto13" Position [325, 561, 395, 589] GotoTag "tp212339" TagVisibility "global" } Block { BlockType Goto Name "Goto14" Position [325, 606, 395, 634] GotoTag "tp212345" TagVisibility "global" } Block { BlockType Goto Name "Goto15" Position [325, 651, 395, 679] GotoTag "tp212351" TagVisibility "global" } Block { BlockType Goto Name "Goto2" Position [325, 66, 395, 94] GotoTag "tp225370" TagVisibility "global" } Block { BlockType Goto Name "Goto3" Position [325, 111, 395, 139] GotoTag "tp225375" TagVisibility "global" } Block { BlockType Goto Name "Goto4" Position [325, 156, 395, 184] GotoTag "tp225379" TagVisibility "global" } Block { BlockType Goto Name "Goto5" Position [325, 201, 395, 229] GotoTag "tp225384" TagVisibility "global" } Block { BlockType Goto Name "Goto6" Position [325, 246, 395, 274] GotoTag "tp225389" TagVisibility "global" } Block { BlockType Goto Name "Goto7" Position [325, 291, 395, 319] GotoTag "tp225393" TagVisibility "global" } Block { BlockType Goto Name "Goto8" Position [325, 336, 395, 364] GotoTag "tp225398" TagVisibility "global" } Block { BlockType Goto Name "Goto9" Position [325, 381, 395, 409] GotoTag "tp225354" TagVisibility "global" } Line { SrcBlock "status" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Goto1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Goto2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 DstBlock "Goto3" DstPort 1 } Line { SrcBlock "Demux" SrcPort 4 DstBlock "Goto4" DstPort 1 } Line { SrcBlock "Demux" SrcPort 5 DstBlock "Goto5" DstPort 1 } Line { SrcBlock "Demux" SrcPort 6 DstBlock "Goto6" DstPort 1 } Line { SrcBlock "Demux" SrcPort 7 DstBlock "Goto7" DstPort 1 } Line { SrcBlock "Demux" SrcPort 8 DstBlock "Goto8" DstPort 1 } Line { SrcBlock "Demux" SrcPort 9 DstBlock "Goto9" DstPort 1 } Line { SrcBlock "Demux" SrcPort 10 DstBlock "Goto10" DstPort 1 } Line { SrcBlock "Demux" SrcPort 11 DstBlock "Goto11" DstPort 1 } Line { SrcBlock "Demux" SrcPort 12 DstBlock "Goto12" DstPort 1 } Line { SrcBlock "Demux" SrcPort 13 DstBlock "Goto13" DstPort 1 } Line { SrcBlock "Demux" SrcPort 14 DstBlock "Goto14" DstPort 1 } Line { SrcBlock "Demux" SrcPort 15 DstBlock "Goto15" DstPort 1 } } } Block { BlockType SubSystem Name "Yout" Ports [1] Position [280, 53, 345, 77] FontName "Arial" FontSize 14 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskHideContents off System { Name "Yout" Location [124, 85, 631, 971] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "v,i" Position [15, 373, 45, 387] IconDisplay "Port number" } Block { BlockType Demux Name "Demux" Ports [1, 36] Position [100, 191, 105, 569] BackgroundColor "black" ShowName off Outputs "[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 " "2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]" DisplayOption "bar" } Block { BlockType Goto Name "Goto1" Position [325, 21, 395, 49] GotoTag "tp225362" TagVisibility "global" } Block { BlockType Goto Name "Goto10" Position [325, 426, 395, 454] GotoTag "tp212317" TagVisibility "global" } Block { BlockType Goto Name "Goto11" Position [325, 471, 395, 499] GotoTag "tp212323" TagVisibility "global" } Block { BlockType Goto Name "Goto12" Position [325, 516, 395, 544] GotoTag "tp212329" TagVisibility "global" } Block { BlockType Goto Name "Goto13" Position [325, 561, 395, 589] GotoTag "tp212335" TagVisibility "global" } Block { BlockType Goto Name "Goto14" Position [325, 606, 395, 634] GotoTag "tp212342" TagVisibility "global" } Block { BlockType Goto Name "Goto15" Position [325, 651, 395, 679] GotoTag "tp212348" TagVisibility "global" } Block { BlockType Goto Name "Goto16" Position [325, 696, 395, 724] GotoTag "tp212454" TagVisibility "global" } Block { BlockType Goto Name "Goto17" Position [325, 741, 395, 769] GotoTag "tp212146" TagVisibility "global" } Block { BlockType Goto Name "Goto18" Position [325, 786, 395, 814] GotoTag "tp212304" TagVisibility "global" } Block { BlockType Goto Name "Goto19" Position [325, 831, 395, 859] GotoTag "tp212429" TagVisibility "global" } Block { BlockType Goto Name "Goto2" Position [325, 66, 395, 94] GotoTag "tp225367" TagVisibility "global" } Block { BlockType Goto Name "Goto20" Position [325, 876, 395, 904] GotoTag "tp212431" TagVisibility "global" } Block { BlockType Goto Name "Goto21" Position [325, 921, 395, 949] GotoTag "tp212432" TagVisibility "global" } Block { BlockType Goto Name "Goto22" Position [325, 966, 395, 994] GotoTag "tp212442" TagVisibility "global" } Block { BlockType Goto Name "Goto23" Position [325, 1011, 395, 1039] GotoTag "tp212443" TagVisibility "global" } Block { BlockType Goto Name "Goto24" Position [325, 1056, 395, 1084] GotoTag "tp212445" TagVisibility "global" } Block { BlockType Goto Name "Goto25" Position [325, 1101, 395, 1129] GotoTag "tp212464" TagVisibility "global" } Block { BlockType Goto Name "Goto26" Position [325, 1146, 395, 1174] GotoTag "tp212465" TagVisibility "global" } Block { BlockType Goto Name "Goto27" Position [325, 1191, 395, 1219] GotoTag "tp212467" TagVisibility "global" } Block { BlockType Goto Name "Goto28" Position [325, 1236, 395, 1264] GotoTag "tp212434" TagVisibility "global" } Block { BlockType Goto Name "Goto29" Position [325, 1281, 395, 1309] GotoTag "tp212435" TagVisibility "global" } Block { BlockType Goto Name "Goto3" Position [325, 111, 395, 139] GotoTag "tp225371" TagVisibility "global" } Block { BlockType Goto Name "Goto30" Position [325, 1326, 395, 1354] GotoTag "tp212437" TagVisibility "global" } Block { BlockType Goto Name "Goto31" Position [325, 1371, 395, 1399] GotoTag "tp212446" TagVisibility "global" } Block { BlockType Goto Name "Goto32" Position [325, 1416, 395, 1444] GotoTag "tp212448" TagVisibility "global" } Block { BlockType Goto Name "Goto33" Position [325, 1461, 395, 1489] GotoTag "tp212450" TagVisibility "global" } Block { BlockType Goto Name "Goto34" Position [325, 1506, 395, 1534] GotoTag "tp212468" TagVisibility "global" } Block { BlockType Goto Name "Goto35" Position [325, 1551, 395, 1579] GotoTag "tp212470" TagVisibility "global" } Block { BlockType Goto Name "Goto36" Position [325, 1596, 395, 1624] GotoTag "tp212471" TagVisibility "global" } Block { BlockType Goto Name "Goto4" Position [325, 156, 395, 184] GotoTag "tp225376" TagVisibility "global" } Block { BlockType Goto Name "Goto5" Position [325, 201, 395, 229] GotoTag "tp225381" TagVisibility "global" } Block { BlockType Goto Name "Goto6" Position [325, 246, 395, 274] GotoTag "tp225385" TagVisibility "global" } Block { BlockType Goto Name "Goto7" Position [325, 291, 395, 319] GotoTag "tp225390" TagVisibility "global" } Block { BlockType Goto Name "Goto8" Position [325, 336, 395, 364] GotoTag "tp225395" TagVisibility "global" } Block { BlockType Goto Name "Goto9" Position [325, 381, 395, 409] GotoTag "tp225351" TagVisibility "global" } Line { SrcBlock "v,i" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Goto1" DstPort 1 } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Goto2" DstPort 1 } Line { SrcBlock "Demux" SrcPort 3 DstBlock "Goto3" DstPort 1 } Line { SrcBlock "Demux" SrcPort 4 DstBlock "Goto4" DstPort 1 } Line { SrcBlock "Demux" SrcPort 5 DstBlock "Goto5" DstPort 1 } Line { SrcBlock "Demux" SrcPort 6 DstBlock "Goto6" DstPort 1 } Line { SrcBlock "Demux" SrcPort 7 DstBlock "Goto7" DstPort 1 } Line { SrcBlock "Demux" SrcPort 8 DstBlock "Goto8" DstPort 1 } Line { SrcBlock "Demux" SrcPort 9 DstBlock "Goto9" DstPort 1 } Line { SrcBlock "Demux" SrcPort 10 DstBlock "Goto10" DstPort 1 } Line { SrcBlock "Demux" SrcPort 11 DstBlock "Goto11" DstPort 1 } Line { SrcBlock "Demux" SrcPort 12 DstBlock "Goto12" DstPort 1 } Line { SrcBlock "Demux" SrcPort 13 DstBlock "Goto13" DstPort 1 } Line { SrcBlock "Demux" SrcPort 14 DstBlock "Goto14" DstPort 1 } Line { SrcBlock "Demux" SrcPort 15 DstBlock "Goto15" DstPort 1 } Line { SrcBlock "Demux" SrcPort 16 DstBlock "Goto16" DstPort 1 } Line { SrcBlock "Demux" SrcPort 17 DstBlock "Goto17" DstPort 1 } Line { SrcBlock "Demux" SrcPort 18 DstBlock "Goto18" DstPort 1 } Line { SrcBlock "Demux" SrcPort 19 DstBlock "Goto19" DstPort 1 } Line { SrcBlock "Demux" SrcPort 20 DstBlock "Goto20" DstPort 1 } Line { SrcBlock "Demux" SrcPort 21 DstBlock "Goto21" DstPort 1 } Line { SrcBlock "Demux" SrcPort 22 DstBlock "Goto22" DstPort 1 } Line { SrcBlock "Demux" SrcPort 23 DstBlock "Goto23" DstPort 1 } Line { SrcBlock "Demux" SrcPort 24 DstBlock "Goto24" DstPort 1 } Line { SrcBlock "Demux" SrcPort 25 DstBlock "Goto25" DstPort 1 } Line { SrcBlock "Demux" SrcPort 26 DstBlock "Goto26" DstPort 1 } Line { SrcBlock "Demux" SrcPort 27 DstBlock "Goto27" DstPort 1 } Line { SrcBlock "Demux" SrcPort 28 DstBlock "Goto28" DstPort 1 } Line { SrcBlock "Demux" SrcPort 29 DstBlock "Goto29" DstPort 1 } Line { SrcBlock "Demux" SrcPort 30 DstBlock "Goto30" DstPort 1 } Line { SrcBlock "Demux" SrcPort 31 DstBlock "Goto31" DstPort 1 } Line { SrcBlock "Demux" SrcPort 32 DstBlock "Goto32" DstPort 1 } Line { SrcBlock "Demux" SrcPort 33 DstBlock "Goto33" DstPort 1 } Line { SrcBlock "Demux" SrcPort 34 DstBlock "Goto34" DstPort 1 } Line { SrcBlock "Demux" SrcPort 35 DstBlock "Goto35" DstPort 1 } Line { SrcBlock "Demux" SrcPort 36 DstBlock "Goto36" DstPort 1 } } } Line { SrcBlock "Gates" SrcPort 1 DstBlock "State-Space" DstPort 2 } Line { SrcBlock "Sources" SrcPort 1 DstBlock "State-Space" DstPort 1 } Line { SrcBlock "State-Space" SrcPort 2 DstBlock "Status" DstPort 1 } Line { SrcBlock "State-Space" SrcPort 1 DstBlock "Yout" DstPort 1 } } } Block { BlockType Ground Name "Ground" Position [315, 40, 335, 60] ShowName off } Block { BlockType Terminator Name "Terminator" Position [355, 40, 375, 60] ShowName off } Line { SrcBlock "Ground" SrcPort 1 DstBlock "Terminator" DstPort 1 } Annotation { Name "Graphical user interface for the analysis o" "f SimPowerSystems circuits. \nPlace the Powergui block in the top-level of y" "our model and double-click\non it to open the GUI." Position [14, 29] HorizontalAlignment "left" ForegroundColor "blue" UseDisplayTextAsClickCallback off FontName "Arial" FontSize 12 } } } Line { SrcBlock "Step" SrcPort 1 Points [-20, 0] Branch { DstBlock "Wind Turbine" DstPort 1 } Branch { Points [0, 80] DstBlock "Scope3" DstPort 1 } } Line { SrcBlock "Synchronous Condenser\n 480V 300kVA" SrcPort 1 Points [25, 0; 0, 150] DstBlock "Excitation" DstPort 1 } Line { SrcBlock "Excitation" SrcPort 1 Points [-60, 0; 0, -100] DstBlock "Synchronous Condenser\n 480V 300kVA" DstPort 2 } Line { LineType "Connection" SrcBlock "WT" SrcPort RConn1 DstBlock "Asynchronous Generator\n480V 275kVA" DstPort LConn1 } Line { LineType "Connection" SrcBlock "WT" SrcPort RConn2 DstBlock "Asynchronous Generator\n480V 275kVA" DstPort LConn2 } Line { LineType "Connection" SrcBlock "WT" SrcPort RConn3 DstBlock "Asynchronous Generator\n480V 275kVA" DstPort LConn3 } Line { LineType "Connection" SrcBlock "Synchronous Condenser\n 480V 300kVA" SrcPort RConn1 DstBlock "SC" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Synchronous Condenser\n 480V 300kVA" SrcPort RConn2 DstBlock "SC" DstPort LConn2 } Line { LineType "Connection" SrcBlock "Synchronous Condenser\n 480V 300kVA" SrcPort RConn3 DstBlock "SC" DstPort LConn3 } Line { LineType "Connection" SrcBlock "Main Load\n50 kW1" SrcPort LConn1 Points [0, 0; 0, -70] Branch { ConnectType "DEST_SRC" DstBlock "WT" DstPort LConn1 } Branch { ConnectType "DEST_DEST" SrcBlock "Three-Phase\nSeries RLC Branch" SrcPort RConn1 Points [40, 0; 0, 5] } } Line { LineType "Connection" SrcBlock "Main Load\n50 kW1" SrcPort LConn2 Points [0, 0; 0, -50] Branch { ConnectType "DEST_SRC" DstBlock "WT" DstPort LConn2 } Branch { ConnectType "DEST_DEST" SrcBlock "Three-Phase\nSeries RLC Branch" SrcPort RConn2 Points [55, 0; 0, 10] } } Line { LineType "Connection" SrcBlock "Main Load\n50 kW1" SrcPort LConn3 Points [0, -30; 5, 0] Branch { ConnectType "DEST_SRC" DstBlock "WT" DstPort LConn3 } Branch { ConnectType "DEST_DEST" SrcBlock "Three-Phase\nSeries RLC Branch" SrcPort RConn3 Points [20, 0; 0, 15; 55, 0] } } Line { SrcBlock "Asynchronous Generator\n480V 275kVA" SrcPort 1 DstBlock "Bus\nSelector" DstPort 1 } Line { SrcBlock "Wind Turbine" SrcPort 1 Points [-20, 0; 0, -150] DstBlock "Asynchronous Generator\n480V 275kVA" DstPort 1 } Line { Name "" Labels [1, 0] SrcBlock "Bus\nSelector" SrcPort 1 Points [95, 0; 0, 135] DstBlock "Wind Turbine" DstPort 2 } Line { LineType "Connection" Points [295, 130; 0, 125; 0, 15] DstBlock "Load" DstPort LConn3 Branch { ConnectType "SRC_SRC" DstBlock "SC" DstPort RConn3 } Branch { ConnectType "SRC_SRC" Points [0, -15] DstBlock "Three-Phase\nSeries RLC Branch" DstPort LConn3 } } Line { LineType "Connection" Points [280, 110; 0, 130; 0, 30] DstBlock "Load" DstPort LConn2 Branch { ConnectType "SRC_SRC" DstBlock "SC" DstPort RConn2 } Branch { ConnectType "SRC_SRC" Points [0, -10] DstBlock "Three-Phase\nSeries RLC Branch" DstPort LConn2 } } Line { LineType "Connection" Points [265, 90; 0, 135; 0, 45] DstBlock "Load" DstPort LConn1 Branch { ConnectType "SRC_SRC" DstBlock "SC" DstPort RConn1 } Branch { ConnectType "SRC_SRC" Points [0, -5] DstBlock "Three-Phase\nSeries RLC Branch" DstPort LConn1 } } Line { LineType "Connection" SrcBlock "LOAD" SrcPort LConn1 Points [0, -10; 10, 0] DstBlock "Load" DstPort RConn1 } Line { LineType "Connection" SrcBlock "Load" SrcPort RConn2 Points [0, 10; 5, 0] DstBlock "LOAD" DstPort LConn2 } Line { LineType "Connection" SrcBlock "Load" SrcPort RConn3 Points [0, 10; 20, 0] DstBlock "LOAD" DstPort LConn3 } Line { LineType "Connection" SrcBlock "Ground" SrcPort LConn1 DstBlock "LOAD" DstPort RConn1 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Demux1" DstPort 1 } Line { SrcBlock "Demux1" SrcPort 1 Points [5, 0] Branch { Points [0, 45] DstBlock "RMS1" DstPort 1 } Branch { DstBlock "Scope4" DstPort 1 } } Line { SrcBlock "RMS1" SrcPort 1 Points [40, 0; 0, -30] DstBlock "Scope4" DstPort 2 } Line { Name "Frequency (Hz)" Labels [-1, 0] SrcBlock "From1" SrcPort 1 Points [0, 25; 155, 0] DstBlock "Scope1" DstPort 3 } Line { Name "Vabc (pu)" SrcBlock "From3" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "RMS" DstPort 1 } Branch { Points [45, 0; 0, -20] DstBlock "Demux4" DstPort 1 } } Line { Name "ASM speed (pu)" Labels [-1, 0] SrcBlock "From5" SrcPort 1 Points [0, 20; 155, 0] DstBlock "Scope1" DstPort 4 } Line { SrcBlock "RMS" SrcPort 1 DstBlock "Demux2" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 1 Points [45, 0] DstBlock "Scope1" DstPort 5 } Line { SrcBlock "From2" SrcPort 1 Points [0, 0; 35, 0] Branch { DstBlock "Demux3" DstPort 1 } Branch { Points [0, -80] DstBlock "Demux5" DstPort 1 } } Line { SrcBlock "Demux4" SrcPort 1 Points [45, 0] DstBlock "Scope1" DstPort 1 } Line { SrcBlock "Demux3" SrcPort 1 Points [10, 0; 0, 35] DstBlock "Scope1" DstPort 2 } Line { SrcBlock "Demux5" SrcPort 1 Points [30, 0; 0, 75; 55, 0; 0, 155; -80, 0; 0, -30] DstBlock "Scope1" DstPort 6 } Line { Name "P Wind Turb. (kW)" Labels [0, 0] SrcBlock "Power\nComputation" SrcPort 1 Points [0, 0] DstBlock "Scope2" DstPort 1 } Line { Name "P Main Load (kW)" Labels [0, 0] SrcBlock "Power\nComputation" SrcPort 2 Points [0, 0] DstBlock "Scope2" DstPort 2 } Line { Name "Q Synch. Condenser (kvar)" Labels [0, 0] SrcBlock "Power\nComputation" SrcPort 3 Points [0, 0] DstBlock "Scope2" DstPort 3 } Line { SrcBlock "Power\nComputation" SrcPort 4 Points [0, 0] DstBlock "Scope2" DstPort 4 } Line { SrcBlock "Power\nComputation" SrcPort 5 Points [0, 0] DstBlock "Scope2" DstPort 5 } Line { SrcBlock "Power\nComputation" SrcPort 6 Points [0, 0] DstBlock "Scope2" DstPort 6 } Line { SrcBlock "Step1" SrcPort 1 Points [-45, 0; 0, -210; 55, 0; -5, -5] DstBlock "Synchronous Condenser\n 480V 300kVA" DstPort 1 } Annotation { Name "Wind-Turbine Asynchronous Generator in an Isola" "ted Network" Position [327, 27] UseDisplayTextAsClickCallback off FontSize 14 FontWeight "bold" } } }