power_windgen.mdl
资源名称:DFIGFarm.rar [点击查看]
上传用户:sdgangguan
上传日期:2017-10-18
资源大小:179k
文件大小:206k
源码类别:
能源行业(电力石油煤炭)
开发平台:
Matlab
- # $Revision: 1.1.8.3 $
- Model {
- Name "power_windgen"
- Version 6.3
- MdlSubVersion 0
- GraphicalInterface {
- NumRootInports 0
- NumRootOutports 0
- ParameterArgumentNames ""
- ComputedModelVersion "1.521"
- NumModelReferences 0
- NumTestPointedSignals 0
- }
- Description "The Model initialization function Callback automati"
- "callynnloads the initial states vector xInitial and the wind turbinenncha"
- "racteristics. The initial conditions are stored in thennpower_windgen_init."
- "mat file.nn"
- 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 "%<Auto>"
- LastModifiedBy "batserve"
- ModifiedDateFormat "%<Auto>"
- LastModifiedDate "Mon Aug 8 15:01:24 2005"
- ModelVersionFormat "1.%<AutoIncrement:521>"
- 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 "5"
- 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 on
- 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 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 DeadZone
- LowerValue "-0.5"
- UpperValue "0.5"
- SaturateOnIntegerOverflow on
- LinearizeAsGain on
- ZeroCross on
- SampleTime "-1"
- }
- Block {
- BlockType Demux
- Outputs "4"
- DisplayOption "none"
- BusSelectionMode off
- }
- Block {
- BlockType Derivative
- LinearizePole "inf"
- }
- Block {
- BlockType DiscreteIntegrator
- IntegratorMethod "Integration: Forward Euler"
- gainval "1.0"
- ExternalReset "none"
- InitialConditionSource "internal"
- InitialCondition "0"
- InitialConditionMode "State and output"
- SampleTime "1"
- OutDataTypeMode "Inherit via internal rule"
- OutDataType "sfix(16)"
- OutScaling "2^0"
- LockScale off
- RndMeth "Floor"
- SaturateOnIntegerOverflow off
- LimitOutput off
- UpperSaturationLimit "inf"
- LowerSaturationLimit "-inf"
- ShowSaturationPort off
- ShowStatePort off
- IgnoreLimit off
- StateMustResolveToSignalObject off
- RTWStateStorageClass "Auto"
- }
- Block {
- BlockType DiscreteStateSpace
- A "1"
- B "1"
- C "1"
- D "1"
- X0 "0"
- SampleTime "1"
- StateMustResolveToSignalObject off
- RTWStateStorageClass "Auto"
- Realization "auto"
- }
- Block {
- BlockType DiscreteTransferFcn
- Numerator "[1]"
- Denominator "[1 0.5]"
- SampleTime "1"
- StateMustResolveToSignalObject off
- RTWStateStorageClass "Auto"
- Realization "auto"
- }
- 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 Rounding
- Operator "floor"
- 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 Trigonometry
- Operator "sin"
- OutputSignalType "auto"
- SampleTime "-1"
- }
- Block {
- BlockType UnitDelay
- X0 "0"
- SampleTime "1"
- StateMustResolveToSignalObject off
- RTWStateStorageClass "Auto"
- }
- }
- 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 "power_windgen"
- Location [73, 74, 899, 669]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 212
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- ReportName "simulink-default.rpt"
- Block {
- BlockType Constant
- Name "0 kW"
- Position [40, 75, 60, 95]
- Value "0"
- }
- Block {
- BlockType Reference
- Name "3-Phase Breaker"
- Ports [0, 0, 0, 0, 0, 3, 3]
- Position [170, 305, 220, 355]
- Orientation "left"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-Phase Breaker"
- SourceType "Three-Phase Breaker"
- ShowPortLabels on
- InitialState "open"
- SwitchA on
- SwitchB on
- SwitchC on
- SwitchTimes "[0.2]"
- External off
- BreakerResistance "0.001"
- SnubberResistance "1e6"
- SnubberCapacitance "inf"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Asynchronous Generatorn480V 275kVA"
- Ports [1, 1, 0, 0, 0, 3]
- Position [590, 63, 660, 137]
- BackgroundColor "lightBlue"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Machines/Asynchronous Machinenpu Unit"
- "s"
- SourceType "Asynchronous Machine"
- ShowPortLabels on
- PresetModel "No"
- MechanicalLoad "Torque Tm"
- ShowDetailedParameters on
- RotorType "Squirrel-cage"
- ReferenceFrame "Rotor"
- NominalParameters "[ 275e3, 480, 60 ]"
- Stator "[ 0.016,0.06]"
- Rotor "[ 0.015,0.06]"
- Lm "3.5"
- Mechanical "[ 2,0,2 ]"
- InitialConditions "[-8.89496e-048 0 0.280896 0.280896 0.280896 -89"
- ".7425 150.258 30.2575]"
- Units "0"
- LoadFlowParameters "0"
- SimulateSaturation off
- Saturation "[ 0 0 ; 0 0 ]"
- }
- Block {
- BlockType BusSelector
- Name "BusnSelector"
- Ports [1, 1]
- Position [695, 81, 700, 119]
- ShowName off
- OutputSignals "Mechanical.Rotor speed (wm)"
- Port {
- PortNumber 1
- Name "<Rotor speed (wm)>"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType SubSystem
- Name "DiscretenFrequency Regulator"
- Ports [1, 1]
- Position [475, 320, 545, 360]
- Orientation "left"
- BackgroundColor "cyan"
- DropShadow on
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskType "Discrete Frequency Regulator"
- MaskDescription "Input : phase to ground voltagesnnOutput : 24"
- " logical signals for the control of the dump load"
- MaskPromptString "Reference frequency (Hz):|Regulator gains [Kp "
- "Kd]:|Phase to phase voltage (Vrms):|Sample time (s):"
- MaskStyleString "edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on"
- MaskCallbackString "|||"
- MaskEnableString "on,on,on,on"
- MaskVisibilityString "on,on,on,on"
- MaskToolTipString "on,on,on,on"
- MaskVarAliasString ",,,"
- MaskVariables "Freq_ref=@1;gains_regulator=@2;Vpp_nom=@3;Ts=@4"
- ";"
- MaskInitialization "Vbase=Vpp_nom/sqrt(3);nKp=gains_regulator(1);"
- "nKd=gains_regulator(2);n"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "60|[255 30]|480|200e-6"
- MaskTabNameString ",,,"
- System {
- Name "DiscretenFrequency Regulator"
- Location [119, 161, 937, 402]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Vabc"
- Position [30, 98, 60, 112]
- IconDisplay "Port number"
- }
- Block {
- BlockType DeadZone
- Name "+/- 0.005 Hz"
- Position [320, 70, 350, 100]
- LowerValue "-0.005"
- UpperValue "0.005"
- }
- Block {
- BlockType Reference
- Name "Discreten3-phase PLL"
- Ports [1, 3]
- Position [80, 74, 140, 136]
- SourceBlock "powerlib_extras/Discrete nControl Blocks/D"
- "iscreten3-phase PLL"
- SourceType "Discrete 3-phase PLL"
- ShowPortLabels on
- Fmin "45"
- Par_Init "[0 Freq_ref]"
- ParK "[60 1400]"
- Ts "Ts"
- }
- Block {
- BlockType Reference
- Name "DiscretenPID Controller"
- Ports [1, 1]
- Position [470, 70, 500, 100]
- SourceBlock "powerlib_extras/Discrete nControl Blocks/D"
- "iscretenPID Controller"
- SourceType "Discrete PID Controller"
- ShowPortLabels on
- Kp "Kp"
- Ki "0"
- Kd "Kd"
- TcD "0.5e-3"
- Par_Limits "[255 0]"
- Init "0"
- Ts "Ts"
- }
- Block {
- BlockType DiscreteIntegrator
- Name "Discrete-TimenIntegrator"
- Ports [1, 1]
- Position [390, 65, 425, 105]
- IntegratorMethod "Integration: Forward Euler"
- ExternalReset "none"
- InitialConditionSource "internal"
- SampleTime "Ts"
- LimitOutput on
- UpperSaturationLimit "1"
- LowerSaturationLimit "0"
- IgnoreLimit off
- ICPrevOutput "DiscIntNeverNeededParam"
- ICPrevScaledInput "DiscIntNeverNeededParam"
- }
- Block {
- BlockType Goto
- Name "Goto1"
- Position [200, 42, 260, 58]
- ShowName off
- GotoTag "Freq"
- TagVisibility "global"
- }
- Block {
- BlockType SubSystem
- Name "PulsesnDecoder"
- Ports [1, 1]
- Position [530, 59, 590, 111]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskType "Pulses Decoder"
- MaskDescription "Decode the scalar input 'Code' into a vecto"
- "r output 'Pulses' based on the specified number of bits to decode.n(Element"
- " 1 of vector output = least significant bit)n"
- MaskPromptString "Number of bits to decode:"
- MaskStyleString "edit"
- MaskTunableValueString "on"
- MaskEnableString "on"
- MaskVisibilityString "on"
- MaskToolTipString "on"
- MaskVariables "n=@1;"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "8"
- System {
- Name "PulsesnDecoder"
- Location [303, 93, 861, 270]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Code"
- Position [40, 53, 70, 67]
- IconDisplay "Port number"
- }
- Block {
- BlockType Constant
- Name "Constant"
- Position [85, 71, 170, 99]
- ShowName off
- Value "pow2(0:-1:-(n-1))"
- }
- Block {
- BlockType Constant
- Name "Constant6"
- Position [305, 91, 325, 109]
- ShowName off
- Value "2"
- }
- Block {
- BlockType Math
- Name "MathnFunction"
- Ports [2, 1]
- Position [355, 63, 385, 112]
- ShowName off
- Operator "rem"
- }
- Block {
- BlockType Product
- Name "Product"
- Ports [2, 1]
- Position [195, 46, 225, 99]
- ShowName off
- RndMeth "Floor"
- }
- Block {
- BlockType Rounding
- Name "RoundingnFunction"
- Position [260, 60, 290, 90]
- ShowName off
- }
- Block {
- BlockType Outport
- Name "Pulses"
- Position [435, 83, 465, 97]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "MathnFunction"
- SrcPort 1
- DstBlock "Pulses"
- DstPort 1
- }
- Line {
- SrcBlock "RoundingnFunction"
- SrcPort 1
- DstBlock "MathnFunction"
- DstPort 1
- }
- Line {
- SrcBlock "Constant6"
- SrcPort 1
- DstBlock "MathnFunction"
- DstPort 2
- }
- Line {
- SrcBlock "Product"
- SrcPort 1
- DstBlock "RoundingnFunction"
- DstPort 1
- }
- Line {
- SrcBlock "Code"
- SrcPort 1
- DstBlock "Product"
- DstPort 1
- }
- Line {
- SrcBlock "Constant"
- SrcPort 1
- DstBlock "Product"
- DstPort 2
- }
- }
- }
- Block {
- BlockType Constant
- Name "ReferencenFrequency"
- Position [200, 109, 260, 131]
- Value "Freq_ref"
- }
- Block {
- BlockType SubSystem
- Name "Sampling system"
- Ports [1, 1]
- Position [615, 71, 735, 99]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Sampling system"
- Location [91, 74, 893, 583]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "BITA0_7"
- Position [230, 153, 260, 167]
- IconDisplay "Port number"
- }
- Block {
- BlockType Selector
- Name " Bit ABC4"
- Ports [1, 1]
- Position [575, 266, 615, 304]
- Elements "[13 14 15]"
- InputPortWidth "24"
- }
- Block {
- BlockType Selector
- Name "Bit ABC0"
- Ports [1, 1]
- Position [575, 46, 615, 84]
- Elements "[1 2 3]"
- InputPortWidth "24"
- }
- Block {
- BlockType Selector
- Name "Bit ABC1"
- Ports [1, 1]
- Position [575, 101, 615, 139]
- Elements "[4 5 6]"
- InputPortWidth "24"
- }
- Block {
- BlockType Selector
- Name "Bit ABC2"
- Ports [1, 1]
- Position [575, 156, 615, 194]
- Elements "[7 8 9]"
- InputPortWidth "24"
- }
- Block {
- BlockType Selector
- Name "Bit ABC3"
- Ports [1, 1]
- Position [575, 211, 615, 249]
- Elements "[10 11 12]"
- InputPortWidth "24"
- }
- Block {
- BlockType Selector
- Name "Bit ABC5"
- Ports [1, 1]
- Position [575, 321, 615, 359]
- Elements "[16 17 18]"
- InputPortWidth "24"
- }
- Block {
- BlockType Selector
- Name "Bit ABC6"
- Ports [1, 1]
- Position [575, 376, 615, 414]
- Elements "[19 20 21]"
- InputPortWidth "24"
- }
- Block {
- BlockType Selector
- Name "Bit ABC7"
- Ports [1, 1]
- Position [575, 431, 615, 469]
- Elements "[22 23 24]"
- InputPortWidth "24"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 3]
- Position [155, 188, 160, 342]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType From
- Name "From4"
- Position [75, 255, 135, 275]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vabc_SL"
- }
- Block {
- BlockType Mux
- Name "Mux"
- Ports [3, 1]
- Position [480, 246, 485, 284]
- ShowName off
- Inputs "3"
- DisplayOption "bar"
- }
- Block {
- BlockType Mux
- Name "Mux1"
- Ports [8, 1]
- Position [685, 29, 690, 486]
- ShowName off
- Inputs "8"
- DisplayOption "bar"
- }
- Block {
- BlockType Selector
- Name "Selector"
- Ports [1, 1]
- Position [500, 246, 540, 284]
- Elements "[1 9 17 2 10 18 3 11 19 4 12 20 5 13 21"
- " 6 14 22 7 15 23 8 16 24]"
- InputPortWidth "24"
- }
- Block {
- BlockType Switch
- Name "Switch"
- Position [350, 155, 380, 185]
- Threshold "0.5"
- }
- Block {
- BlockType Switch
- Name "Switch1"
- Position [350, 250, 380, 280]
- Threshold "0.5"
- }
- Block {
- BlockType Switch
- Name "Switch2"
- Position [350, 350, 380, 380]
- Threshold "0.5"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay"
- Position [195, 198, 220, 232]
- ShowName off
- SampleTime "Ts"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay1"
- Position [195, 248, 220, 282]
- ShowName off
- SampleTime "Ts"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay2"
- Position [195, 298, 220, 332]
- ShowName off
- SampleTime "Ts"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay4"
- Position [355, 203, 380, 237]
- Orientation "left"
- ShowName off
- SampleTime "Ts"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay5"
- Position [355, 298, 380, 332]
- Orientation "left"
- ShowName off
- SampleTime "Ts"
- }
- Block {
- BlockType UnitDelay
- Name "Unit Delay6"
- Position [355, 398, 380, 432]
- Orientation "left"
- ShowName off
- SampleTime "Ts"
- }
- Block {
- BlockType HitCross
- Name "Zero crossing"
- Ports [1, 1]
- Position [255, 200, 285, 230]
- HitCrossingDirection "either"
- }
- Block {
- BlockType HitCross
- Name "Zero crossing1"
- Ports [1, 1]
- Position [255, 250, 285, 280]
- HitCrossingDirection "either"
- }
- Block {
- BlockType HitCross
- Name "Zero crossing2"
- Ports [1, 1]
- Position [255, 300, 285, 330]
- HitCrossingDirection "either"
- }
- Block {
- BlockType Outport
- Name "Pulses_ABC0_7"
- Position [740, 253, 770, 267]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "BITA0_7"
- SrcPort 1
- Points [60, 0]
- Branch {
- Points [0, 95]
- Branch {
- Points [0, 100]
- DstBlock "Switch2"
- DstPort 1
- }
- Branch {
- DstBlock "Switch1"
- DstPort 1
- }
- }
- Branch {
- DstBlock "Switch"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Demux"
- SrcPort 3
- DstBlock "Unit Delay2"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Unit Delay1"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- DstBlock "Unit Delay"
- DstPort 1
- }
- Line {
- SrcBlock "Mux1"
- SrcPort 1
- DstBlock "Pulses_ABC0_7"
- DstPort 1
- }
- Line {
- SrcBlock "Bit ABC7"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 8
- }
- Line {
- SrcBlock "Bit ABC6"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 7
- }
- Line {
- SrcBlock "Bit ABC5"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 6
- }
- Line {
- SrcBlock " Bit ABC4"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 5
- }
- Line {
- SrcBlock "Bit ABC3"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 4
- }
- Line {
- SrcBlock "Bit ABC2"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 3
- }
- Line {
- SrcBlock "Bit ABC1"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 2
- }
- Line {
- SrcBlock "Bit ABC0"
- SrcPort 1
- DstBlock "Mux1"
- DstPort 1
- }
- Line {
- SrcBlock "Selector"
- SrcPort 1
- Points [15, 0; 0, -85]
- Branch {
- Points [0, 0]
- Branch {
- Points [0, 85]
- Branch {
- Points [0, 25]
- Branch {
- Points [0, 55]
- Branch {
- Points [0, 55]
- Branch {
- DstBlock "Bit ABC7"
- DstPort 1
- }
- Branch {
- DstBlock "Bit ABC6"
- DstPort 1
- }
- }
- Branch {
- DstBlock "Bit ABC5"
- DstPort 1
- }
- }
- Branch {
- DstBlock " Bit ABC4"
- DstPort 1
- }
- }
- Branch {
- DstBlock "Bit ABC3"
- DstPort 1
- }
- }
- Branch {
- DstBlock "Bit ABC2"
- DstPort 1
- }
- }
- Branch {
- Points [0, -60]
- Branch {
- DstBlock "Bit ABC0"
- DstPort 1
- }
- Branch {
- DstBlock "Bit ABC1"
- DstPort 1
- }
- }
- }
- Line {
- SrcBlock "Mux"
- SrcPort 1
- DstBlock "Selector"
- DstPort 1
- }
- Line {
- SrcBlock "Unit Delay6"
- SrcPort 1
- Points [-15, 0]
- DstBlock "Switch2"
- DstPort 3
- }
- Line {
- SrcBlock "Switch2"
- SrcPort 1
- Points [0, 0; 35, 0]
- Branch {
- Points [45, 0]
- DstBlock "Mux"
- DstPort 3
- }
- Branch {
- Points [0, 50]
- DstBlock "Unit Delay6"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Unit Delay5"
- SrcPort 1
- Points [-15, 0]
- DstBlock "Switch1"
- DstPort 3
- }
- Line {
- SrcBlock "Switch1"
- SrcPort 1
- Points [0, 0; 35, 0]
- Branch {
- DstBlock "Mux"
- DstPort 2
- }
- Branch {
- Points [0, 50]
- DstBlock "Unit Delay5"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Unit Delay4"
- SrcPort 1
- Points [-15, 0]
- DstBlock "Switch"
- DstPort 3
- }
- Line {
- SrcBlock "Switch"
- SrcPort 1
- Points [35, 0]
- Branch {
- Points [45, 0]
- DstBlock "Mux"
- DstPort 1
- }
- Branch {
- Points [0, 50]
- DstBlock "Unit Delay4"
- DstPort 1
- }
- }
- Line {
- SrcBlock "Unit Delay"
- SrcPort 1
- DstBlock "Zero crossing"
- DstPort 1
- }
- Line {
- SrcBlock "Unit Delay2"
- SrcPort 1
- DstBlock "Zero crossing2"
- DstPort 1
- }
- Line {
- SrcBlock "Zero crossing"
- SrcPort 1
- Points [40, 0; 0, -45]
- DstBlock "Switch"
- DstPort 2
- }
- Line {
- SrcBlock "Zero crossing1"
- SrcPort 1
- DstBlock "Switch1"
- DstPort 2
- }
- Line {
- SrcBlock "Zero crossing2"
- SrcPort 1
- Points [25, 0; 0, 50]
- DstBlock "Switch2"
- DstPort 2
- }
- Line {
- SrcBlock "From4"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- SrcBlock "Unit Delay1"
- SrcPort 1
- DstBlock "Zero crossing1"
- DstPort 1
- }
- Annotation {
- Name "T_ABC7"
- Position [643, 437]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "T_ABC6"
- Position [643, 384]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "T_ABC5"
- Position [645, 327]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "T_ABC4"
- Position [643, 274]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "T_ABC3"
- Position [643, 219]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "T_ABC2"
- Position [646, 163]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "T_ABC1"
- Position [644, 108]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "T_ABC0"
- Position [647, 54]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "Tc0_7"
- Position [439, 353]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "Tb0_7"
- Position [439, 253]
- UseDisplayTextAsClickCallback off
- }
- Annotation {
- Name "Ta0_7"
- Position [440, 161]
- UseDisplayTextAsClickCallback off
- }
- }
- }
- Block {
- BlockType Sum
- Name "Sum"
- Ports [2, 1]
- Position [275, 75, 295, 95]
- ShowName off
- IconShape "round"
- Inputs "|+-"
- }
- Block {
- BlockType Terminator
- Name "Terminator"
- Position [165, 100, 175, 110]
- ShowName off
- }
- Block {
- BlockType Terminator
- Name "Terminator1"
- Position [165, 120, 175, 130]
- ShowName off
- }
- Block {
- BlockType Outport
- Name "Control"
- Position [760, 78, 790, 92]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "Vabc"
- SrcPort 1
- DstBlock "Discreten3-phase PLL"
- DstPort 1
- }
- Line {
- SrcBlock "Discreten3-phase PLL"
- SrcPort 3
- DstBlock "Terminator1"
- DstPort 1
- }
- Line {
- SrcBlock "Discreten3-phase PLL"
- SrcPort 2
- DstBlock "Terminator"
- DstPort 1
- }
- Line {
- SrcBlock "Sampling system"
- SrcPort 1
- DstBlock "Control"
- DstPort 1
- }
- Line {
- SrcBlock "Discrete-TimenIntegrator"
- SrcPort 1
- DstBlock "DiscretenPID Controller"
- DstPort 1
- }
- Line {
- SrcBlock "ReferencenFrequency"
- SrcPort 1
- Points [20, 0]
- DstBlock "Sum"
- DstPort 2
- }
- Line {
- SrcBlock "DiscretenPID Controller"
- SrcPort 1
- DstBlock "PulsesnDecoder"
- DstPort 1
- }
- Line {
- SrcBlock "Sum"
- SrcPort 1
- DstBlock "+/- 0.005 Hz"
- DstPort 1
- }
- Line {
- SrcBlock "PulsesnDecoder"
- SrcPort 1
- DstBlock "Sampling system"
- DstPort 1
- }
- Line {
- SrcBlock "+/- 0.005 Hz"
- SrcPort 1
- DstBlock "Discrete-TimenIntegrator"
- DstPort 1
- }
- Line {
- SrcBlock "Discreten3-phase PLL"
- SrcPort 1
- Points [0, 0; 35, 0]
- Branch {
- DstBlock "Sum"
- DstPort 1
- }
- Branch {
- Points [0, -35]
- DstBlock "Goto1"
- DstPort 1
- }
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Double click here for info"
- Ports []
- Position [722, 521, 752, 550]
- DropShadow on
- OpenFcn "web('power_windgen.html')"
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskDisplay "disp('?')"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- System {
- Name "Double click here for info"
- Location [30, 100, 1043, 723]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- }
- }
- 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 "BusnSelector1"
- 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 "<Stator voltage vd (pu)>"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 2
- Name "<Stator voltage vq (pu)>"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType Constant
- Name "Constant3"
- Position [165, 15, 185, 35]
- Orientation "left"
- NamePlacement "alternate"
- ShowName off
- }
- Block {
- BlockType Reference
- Name "ExcitationnSystem"
- Ports [4, 1]
- Position [75, 31, 130, 124]
- Orientation "left"
- SourceBlock "powerlib/Machines/ExcitationnSystem"
- 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,2.71455]"
- }
- 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 "ExcitationnSystem"
- DstPort 1
- }
- Line {
- SrcBlock "Ground"
- SrcPort 1
- DstBlock "ExcitationnSystem"
- DstPort 4
- }
- Line {
- SrcBlock "m"
- SrcPort 1
- DstBlock "BusnSelector1"
- DstPort 1
- }
- Line {
- SrcBlock "ExcitationnSystem"
- SrcPort 1
- DstBlock "Vf"
- DstPort 1
- }
- Line {
- Name "<Stator voltage vd (pu)>"
- Labels [0, 0]
- SrcBlock "BusnSelector1"
- SrcPort 1
- DstBlock "ExcitationnSystem"
- DstPort 2
- }
- Line {
- Name "<Stator voltage vq (pu)>"
- Labels [0, 0]
- SrcBlock "BusnSelector1"
- SrcPort 2
- DstBlock "ExcitationnSystem"
- DstPort 3
- }
- }
- }
- Block {
- BlockType From
- Name "From1"
- Position [25, 527, 85, 543]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Freq"
- Port {
- PortNumber 1
- Name "Frequency (Hz)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType From
- Name "From2"
- Position [25, 507, 85, 523]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_SL"
- Port {
- PortNumber 1
- Name "Iabc Sec. Load (pu/275 kVA)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType From
- Name "From3"
- Position [25, 487, 85, 503]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vabc_SC"
- Port {
- PortNumber 1
- Name "Vabc (pu)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- }
- Block {
- BlockType From
- Name "From4"
- Position [590, 330, 650, 350]
- Orientation "left"
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vabc_SL"
- }
- Block {
- BlockType From
- Name "From5"
- Position [25, 547, 85, 563]
- 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 "Load"
- Ports [0, 0, 0, 0, 0, 3, 3]
- Position [257, 285, 303, 290]
- Orientation "down"
- BackgroundColor "black"
- NamePlacement "alternate"
- SourceBlock "powerlib/Measurements/Three-PhasenV-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 "Loadn25 kW"
- Ports [0, 0, 0, 0, 0, 3]
- Position [87, 380, 133, 450]
- Orientation "down"
- BackgroundColor "yellow"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel RLC Loa"
- "d"
- SourceType "Three-Phase Parallel RLC Load"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- Configuration "Y (grounded)"
- NominalVoltage "480"
- NominalFrequency "60"
- ActivePower "25e3"
- InductivePower "0"
- CapacitivePower "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Main Loadn50 kW"
- Ports [0, 0, 0, 0, 0, 3]
- Position [256, 380, 304, 450]
- Orientation "down"
- BackgroundColor "yellow"
- NamePlacement "alternate"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel RLC Loa"
- "d"
- SourceType "Three-Phase Parallel RLC Load"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- Configuration "Y (grounded)"
- NominalVoltage "480"
- NominalFrequency "60"
- ActivePower "50e3"
- InductivePower "0"
- CapacitivePower "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "PF CorrectionnCapacitorn75 kvar"
- Ports [0, 0, 0, 0, 0, 3]
- Position [442, 155, 488, 210]
- Orientation "down"
- NamePlacement "alternate"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel 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 "PowernComputation"
- Ports [0, 4]
- Position [290, 490, 330, 555]
- 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 Sec. Load (kW)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 3
- Name "P Main Load (kW)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- Port {
- PortNumber 4
- Name "Q Synch. Condenser (kvar)"
- RTWStorageClass "Auto"
- DataLoggingNameMode "SignalName"
- }
- System {
- Name "PowernComputation"
- Location [191, 278, 988, 524]
- 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"
- " Power"
- Ports [2, 1]
- Position [495, 19, 545, 66]
- 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"
- " 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 From
- Name "From1"
- Position [15, 132, 75, 148]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vabc_Load"
- }
- 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 [365, 22, 425, 38]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Vabc_SL"
- }
- Block {
- BlockType From
- Name "From6"
- Position [365, 47, 425, 63]
- ShowName off
- CloseFcn "tagdialog Close"
- GotoTag "Iabc_SL"
- }
- 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 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 [615, 34, 630, 56]
- ShowName off
- Gain "1/1000"
- }
- Block {
- BlockType Gain
- Name "Gain12"
- Position [620, 144, 635, 166]
- ShowName off
- Gain "1/1000"
- }
- Block {
- BlockType Gain
- Name "Gain2"
- Position [445, 21, 475, 39]
- 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 [445, 46, 475, 64]
- ShowName off
- Gain "275e3/(sqrt(3)*480)*sqrt(2)"
- }
- 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 "Selector"
- Ports [1, 1]
- Position [565, 26, 595, 64]
- Elements "[1]"
- InputPortWidth "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 "[2]"
- InputPortWidth "2"
- }
- Block {
- BlockType Outport
- Name "P_WT"
- Position [305, 33, 335, 47]
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "P_SL"
- Position [660, 38, 690, 52]
- Port "2"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "P_Load"
- Position [305, 148, 335, 162]
- Port "3"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Block {
- BlockType Outport
- Name "Q_SC"
- Position [660, 148, 690, 162]
- Port "4"
- IconDisplay "Port number"
- BusOutputAsStruct off
- }
- Line {
- SrcBlock "3-phase nInstantaneous nActive & Reactive"
- " Power"
- SrcPort 1
- DstBlock "Selector"
- DstPort 1
- }
- Line {
- SrcBlock "Selector"
- SrcPort 1
- DstBlock "Gain11"
- DstPort 1
- }
- 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 "From5"
- SrcPort 1
- DstBlock "Gain2"
- DstPort 1
- }
- Line {
- SrcBlock "From6"
- SrcPort 1
- DstBlock "Gain7"
- DstPort 1
- }
- Line {
- SrcBlock "Gain2"
- SrcPort 1
- DstBlock "3-phase nInstantaneous nActive & Reactive"
- " Power"
- DstPort 1
- }
- Line {
- SrcBlock "Gain7"
- SrcPort 1
- DstBlock "3-phase nInstantaneous nActive & Reactive"
- " Power"
- 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 "Gain11"
- SrcPort 1
- DstBlock "P_SL"
- DstPort 1
- }
- Line {
- SrcBlock "Gain12"
- SrcPort 1
- DstBlock "Q_SC"
- DstPort 1
- }
- }
- }
- Block {
- BlockType Reference
- Name "SC"
- Ports [0, 0, 0, 0, 0, 3, 3]
- Position [215, 78, 220, 142]
- BackgroundColor "black"
- SourceBlock "powerlib/Measurements/Three-PhasenV-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 Reference
- Name "SL"
- Ports [0, 0, 0, 0, 0, 3, 3]
- Position [330, 227, 335, 273]
- BackgroundColor "black"
- SourceBlock "powerlib/Measurements/Three-PhasenV-I Measurem"
- "ent"
- SourceType "Three-Phase VI Measurement"
- ShowPortLabels on
- VoltageMeasurement "phase-to-ground"
- SetLabelV on
- LabelV "Vabc_SL"
- Vpu on
- CurrentMeasurement "yes"
- SetLabelI on
- LabelI "Iabc_SL"
- Ipu on
- Pbase "275e3"
- Vbase "480"
- OutputType "Magnitude"
- PhasorSimulation off
- PSBequivalent "0"
- }
- Block {
- BlockType Scope
- Name "Scope1"
- Ports [4]
- Position [230, 486, 270, 564]
- BackgroundColor "green"
- Floating off
- Location [27, 91, 495, 693]
- Open off
- NumInputPorts "4"
- ZoomMode "xonly"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- axes2 "%<SignalLabel>"
- axes3 "%<SignalLabel>"
- axes4 "%<SignalLabel>"
- }
- TimeRange "5"
- YMin "-1.25~-0.75~59.8~1.008"
- YMax "1.25~0.75~60.1~1.013"
- SaveName "Vabc"
- DataFormat "StructureWithTime"
- LimitDataPoints off
- SampleTime "0"
- }
- Block {
- BlockType Scope
- Name "Scope2"
- Ports [4]
- Position [495, 488, 535, 557]
- BackgroundColor "green"
- Floating off
- Location [510, 92, 1023, 694]
- Open off
- NumInputPorts "4"
- ZoomMode "yonly"
- List {
- ListType AxesTitles
- axes1 "%<SignalLabel>"
- axes2 "%<SignalLabel>"
- axes3 "%<SignalLabel>"
- axes4 "%<SignalLabel>"
- }
- TimeRange "5"
- YMin "180~100~50~18"
- YMax "240~160~80~30"
- SaveName "Power"
- DataFormat "Array"
- LimitDataPoints off
- SampleTime "0"
- }
- Block {
- BlockType SubSystem
- Name "SecondarynLoadn(0-446.25 kW)"
- Ports [1, 0, 0, 0, 0, 3]
- Position [365, 380, 430, 450]
- Orientation "down"
- BackgroundColor "yellow"
- DropShadow on
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- MaskType "8-step Variable Load"
- MaskDescription "This block implements a variable, three-phase r"
- "esistive load. The load variation uses an eight-bit binary progression so tha"
- "t the load power can be varied by steps from 0 to 255*Pstep.nnThe eight thr"
- "ee-phase resistors are connected in series with ideal switches simulating for"
- "ced-commutated power electronic switches.nnThe Pulses input is a vector con"
- "taining the eight bits (0/1) controlling the eight three-phase switches. Firs"
- "t value is the less significant bit."
- MaskPromptString "Nominal L-L voltage (Vrms):|Nominal frequency ("
- "Hz):|Power per step Pstep (W):|Initial power (W) :"
- MaskStyleString "edit,edit,edit,edit"
- MaskTunableValueString "on,on,on,on"
- MaskCallbackString "|||"
- MaskEnableString "on,on,on,on"
- MaskVisibilityString "on,on,on,on"
- MaskToolTipString "on,on,on,on"
- MaskVarAliasString ",,,"
- MaskVariables "Vphase_phase_lissage=@1;Freq=@2;P_lissage_min=@"
- "3;Pin_3phase=@4;"
- MaskInitialization "Ron_switch=1e-6;nRs_snubber=inf;nCs_snubber=0"
- ";nn_niveaux=8;nPmax=((2^n_niveaux)-1)*P_lissage_min;nPin_normalise=min([(P"
- "in_3phase/Pmax)*((2^n_niveaux)-1) ((2^n_niveaux)-1)]);ndiscret1=pow2(0:-1:-("
- "n_niveaux-1))*Pin_normalise;ndiscret2=floor(discret1);nStatus=rem(discret2,"
- "2);"
- MaskIconFrame on
- MaskIconOpaque on
- MaskIconRotate "none"
- MaskIconUnits "autoscale"
- MaskValueString "480|60|1.75e3|50e3"
- MaskTabNameString ",,,"
- System {
- Name "SecondarynLoadn(0-446.25 kW)"
- Location [82, 75, 498, 666]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "Control"
- Position [30, 203, 60, 217]
- IconDisplay "Port number"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 8]
- Position [100, 27, 105, 388]
- BackgroundColor "black"
- ShowName off
- Outputs "8"
- }
- Block {
- BlockType SubSystem
- Name "ResistivenLoads"
- Ports [0, 0, 0, 0, 0, 24]
- Position [285, 34, 320, 516]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "ResistivenLoads"
- Location [76, 75, 786, 589]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Reference
- Name "Bit 0"
- Ports [0, 0, 0, 0, 0, 3]
- Position [106, 170, 174, 220]
- Orientation "down"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel"
- " RLC Load"
- SourceType "Three-Phase Parallel RLC Load"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- Configuration "Y (grounded)"
- NominalVoltage "Vphase_phase_lissage"
- NominalFrequency "Freq"
- ActivePower "P_lissage_min"
- InductivePower "0"
- CapacitivePower "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Bit 1"
- Ports [0, 0, 0, 0, 0, 3]
- Position [231, 170, 299, 220]
- Orientation "down"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel"
- " RLC Load"
- SourceType "Three-Phase Parallel RLC Load"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- Configuration "Y (grounded)"
- NominalVoltage "Vphase_phase_lissage"
- NominalFrequency "Freq"
- ActivePower "2*P_lissage_min"
- InductivePower "0"
- CapacitivePower "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Bit 2"
- Ports [0, 0, 0, 0, 0, 3]
- Position [361, 170, 429, 220]
- Orientation "down"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel"
- " RLC Load"
- SourceType "Three-Phase Parallel RLC Load"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- Configuration "Y (grounded)"
- NominalVoltage "Vphase_phase_lissage"
- NominalFrequency "Freq"
- ActivePower "2^2*P_lissage_min"
- InductivePower "0"
- CapacitivePower "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Bit 3"
- Ports [0, 0, 0, 0, 0, 3]
- Position [486, 170, 554, 220]
- Orientation "down"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel"
- " RLC Load"
- SourceType "Three-Phase Parallel RLC Load"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- Configuration "Y (grounded)"
- NominalVoltage "Vphase_phase_lissage"
- NominalFrequency "Freq"
- ActivePower "2^3*P_lissage_min"
- InductivePower "0"
- CapacitivePower "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Bit 4"
- Ports [0, 0, 0, 0, 0, 3]
- Position [106, 355, 174, 405]
- Orientation "down"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel"
- " RLC Load"
- SourceType "Three-Phase Parallel RLC Load"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- Configuration "Y (grounded)"
- NominalVoltage "Vphase_phase_lissage"
- NominalFrequency "Freq"
- ActivePower "2^4*P_lissage_min"
- InductivePower "0"
- CapacitivePower "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Bit 5"
- Ports [0, 0, 0, 0, 0, 3]
- Position [231, 355, 299, 405]
- Orientation "down"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel"
- " RLC Load"
- SourceType "Three-Phase Parallel RLC Load"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- Configuration "Y (grounded)"
- NominalVoltage "Vphase_phase_lissage"
- NominalFrequency "Freq"
- ActivePower "2^5*P_lissage_min"
- InductivePower "0"
- CapacitivePower "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Bit 6"
- Ports [0, 0, 0, 0, 0, 3]
- Position [361, 355, 429, 405]
- Orientation "down"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel"
- " RLC Load"
- SourceType "Three-Phase Parallel RLC Load"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- Configuration "Y (grounded)"
- NominalVoltage "Vphase_phase_lissage"
- NominalFrequency "Freq"
- ActivePower "2^6*P_lissage_min"
- InductivePower "0"
- CapacitivePower "0"
- Measurements "None"
- }
- Block {
- BlockType Reference
- Name "Bit 7"
- Ports [0, 0, 0, 0, 0, 3]
- Position [486, 355, 554, 405]
- Orientation "down"
- AttributesFormatString "\n"
- SourceBlock "powerlib/Elements/Three-PhasenParallel"
- " RLC Load"
- SourceType "Three-Phase Parallel RLC Load"
- PhysicalDomain "powersysdomain"
- SubClassName "unknown"
- LeftPortType "p1"
- RightPortType "p1"
- LConnTagsString "A|B|C"
- Configuration "Y (grounded)"
- NominalVoltage "Vphase_phase_lissage"
- NominalFrequency "Freq"
- ActivePower "2^7*P_lissage_min"
- InductivePower "0"
- CapacitivePower "0"
- Measurements "None"
- }
- Block {
- BlockType PMIOPort
- Name "A0"
- Position [113, 55, 127, 75]
- Orientation "down"
- Port "1"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B0"
- Position [133, 95, 147, 115]
- Orientation "down"
- Port "2"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C0"
- Position [153, 130, 167, 150]
- Orientation "down"
- Port "3"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A1"
- Position [238, 55, 252, 75]
- Orientation "down"
- Port "4"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B1"
- Position [258, 95, 272, 115]
- Orientation "down"
- Port "5"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C1"
- Position [278, 130, 292, 150]
- Orientation "down"
- Port "6"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A2"
- Position [368, 55, 382, 75]
- Orientation "down"
- Port "7"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B2"
- Position [388, 95, 402, 115]
- Orientation "down"
- Port "8"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C2"
- Position [408, 130, 422, 150]
- Orientation "down"
- Port "9"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A3"
- Position [493, 55, 507, 75]
- Orientation "down"
- Port "10"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B3"
- Position [513, 95, 527, 115]
- Orientation "down"
- Port "11"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C3"
- Position [533, 130, 547, 150]
- Orientation "down"
- Port "12"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A4"
- Position [113, 240, 127, 260]
- Orientation "down"
- Port "13"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B4"
- Position [133, 280, 147, 300]
- Orientation "down"
- Port "14"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C4"
- Position [153, 315, 167, 335]
- Orientation "down"
- Port "15"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A5"
- Position [238, 240, 252, 260]
- Orientation "down"
- Port "16"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B5"
- Position [258, 280, 272, 300]
- Orientation "down"
- Port "17"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C5"
- Position [278, 315, 292, 335]
- Orientation "down"
- Port "18"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A6"
- Position [368, 240, 382, 260]
- Orientation "down"
- Port "19"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B6"
- Position [388, 280, 402, 300]
- Orientation "down"
- Port "20"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C6"
- Position [408, 315, 422, 335]
- Orientation "down"
- Port "21"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A7"
- Position [493, 240, 507, 260]
- Orientation "down"
- Port "22"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B7"
- Position [513, 280, 527, 300]
- Orientation "down"
- Port "23"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C7"
- Position [533, 315, 547, 335]
- Orientation "down"
- Port "24"
- Side "Left"
- }
- Line {
- LineType "Connection"
- SrcBlock "C7"
- SrcPort RConn1
- DstBlock "Bit 7"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B7"
- SrcPort RConn1
- DstBlock "Bit 7"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "A7"
- SrcPort RConn1
- DstBlock "Bit 7"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "C6"
- SrcPort RConn1
- DstBlock "Bit 6"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B6"
- SrcPort RConn1
- DstBlock "Bit 6"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "A6"
- SrcPort RConn1
- DstBlock "Bit 6"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "C5"
- SrcPort RConn1
- DstBlock "Bit 5"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B5"
- SrcPort RConn1
- DstBlock "Bit 5"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "A5"
- SrcPort RConn1
- DstBlock "Bit 5"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "C4"
- SrcPort RConn1
- DstBlock "Bit 4"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B4"
- SrcPort RConn1
- DstBlock "Bit 4"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "A4"
- SrcPort RConn1
- DstBlock "Bit 4"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "C3"
- SrcPort RConn1
- DstBlock "Bit 3"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B3"
- SrcPort RConn1
- DstBlock "Bit 3"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "A3"
- SrcPort RConn1
- DstBlock "Bit 3"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "C2"
- SrcPort RConn1
- DstBlock "Bit 2"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B2"
- SrcPort RConn1
- DstBlock "Bit 2"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "A2"
- SrcPort RConn1
- DstBlock "Bit 2"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "C1"
- SrcPort RConn1
- DstBlock "Bit 1"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B1"
- SrcPort RConn1
- DstBlock "Bit 1"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "A1"
- SrcPort RConn1
- DstBlock "Bit 1"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "C0"
- SrcPort RConn1
- DstBlock "Bit 0"
- DstPort LConn3
- }
- Line {
- LineType "Connection"
- SrcBlock "B0"
- SrcPort RConn1
- DstBlock "Bit 0"
- DstPort LConn2
- }
- Line {
- LineType "Connection"
- SrcBlock "A0"
- SrcPort RConn1
- DstBlock "Bit 0"
- DstPort LConn1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Switches"
- Ports [8, 0, 0, 0, 0, 3, 24]
- Position [155, 17, 225, 533]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Switches"
- Location [566, 75, 1001, 745]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "P_ABC0"
- Position [30, 43, 60, 57]
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "P_ABC1"
- Position [30, 143, 60, 157]
- Port "2"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "P_ABC2"
- Position [30, 243, 60, 257]
- Port "3"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "P_ABC3"
- Position [35, 343, 65, 357]
- Port "4"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "P_ABC4"
- Position [30, 443, 60, 457]
- Port "5"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "P_ABC5"
- Position [30, 543, 60, 557]
- Port "6"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "P_ABC6"
- Position [35, 643, 65, 657]
- Port "7"
- IconDisplay "Port number"
- }
- Block {
- BlockType Inport
- Name "P_ABC7"
- Position [35, 743, 65, 757]
- Port "8"
- IconDisplay "Port number"
- }
- Block {
- BlockType SubSystem
- Name "Switches ABC0"
- Ports [1, 0, 0, 0, 0, 3, 3]
- Position [185, 37, 250, 123]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Switches ABC0"
- Location [152, 96, 612, 478]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "P_ABC"
- Position [40, 178, 70, 192]
- IconDisplay "Port number"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 3]
- Position [95, 166, 100, 204]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType Reference
- Name "Switch A"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [225, 36, 270, 69]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(1)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType Reference
- Name "Switch B"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [220, 176, 265, 209]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(1)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType Reference
- Name "Switch C"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [220, 306, 265, 339]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(1)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType PMIOPort
- Name "A"
- Position [165, 53, 195, 67]
- Port "1"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B"
- Position [165, 193, 195, 207]
- Port "2"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C"
- Position [165, 323, 195, 337]
- Port "3"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A "
- Position [325, 48, 355, 62]
- Orientation "left"
- Port "4"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "B "
- Position [320, 188, 350, 202]
- Orientation "left"
- Port "5"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "C "
- Position [315, 318, 345, 332]
- Orientation "left"
- Port "6"
- Side "Right"
- }
- Line {
- SrcBlock "P_ABC"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "Switch C"
- SrcPort RConn1
- Points [0, -5]
- DstBlock "C "
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "Switch B"
- SrcPort RConn1
- Points [0, -5]
- DstBlock "B "
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "Switch A"
- SrcPort RConn1
- Points [0, -5]
- DstBlock "A "
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "C"
- SrcPort RConn1
- DstBlock "Switch C"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B"
- SrcPort RConn1
- DstBlock "Switch B"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "A"
- SrcPort RConn1
- DstBlock "Switch A"
- DstPort LConn1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 3
- Points [20, 0; 0, 120]
- DstBlock "Switch C"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Switch B"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- Points [25, 0; 0, -130]
- DstBlock "Switch A"
- DstPort 1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Switches ABC1"
- Ports [1, 0, 0, 0, 0, 3, 3]
- Position [185, 137, 250, 223]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Switches ABC1"
- Location [152, 96, 628, 478]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "P_ABC"
- Position [40, 178, 70, 192]
- IconDisplay "Port number"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 3]
- Position [95, 166, 100, 204]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType Reference
- Name "Switch A"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [225, 40, 270, 75]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(2)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType Reference
- Name "Switch B"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [220, 175, 265, 210]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(2)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType Reference
- Name "Switch C"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [220, 300, 265, 335]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(2)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType PMIOPort
- Name "A"
- Position [165, 58, 195, 72]
- Port "1"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B"
- Position [145, 193, 175, 207]
- Port "2"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C"
- Position [150, 318, 180, 332]
- Port "3"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A "
- Position [325, 53, 355, 67]
- Orientation "left"
- Port "4"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "B "
- Position [320, 188, 350, 202]
- Orientation "left"
- Port "5"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "C "
- Position [315, 313, 345, 327]
- Orientation "left"
- Port "6"
- Side "Right"
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- Points [25, 0; 0, -125]
- DstBlock "Switch A"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Switch B"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 3
- Points [20, 0; 0, 115]
- DstBlock "Switch C"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "A"
- SrcPort RConn1
- DstBlock "Switch A"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "B"
- SrcPort RConn1
- DstBlock "Switch B"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "Switch A"
- SrcPort RConn1
- Points [0, -5]
- DstBlock "A "
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "Switch B"
- SrcPort RConn1
- Points [0, -5]
- DstBlock "B "
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "Switch C"
- SrcPort RConn1
- Points [0, -5]
- DstBlock "C "
- DstPort RConn1
- }
- Line {
- SrcBlock "P_ABC"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "C"
- SrcPort RConn1
- DstBlock "Switch C"
- DstPort LConn1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Switches ABC2"
- Ports [1, 0, 0, 0, 0, 3, 3]
- Position [185, 237, 250, 323]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Switches ABC2"
- Location [152, 96, 628, 478]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "P_ABC"
- Position [40, 178, 70, 192]
- IconDisplay "Port number"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 3]
- Position [95, 166, 100, 204]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType Reference
- Name "Switch A"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [225, 42, 270, 78]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(3)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType Reference
- Name "Switch B"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [220, 177, 265, 213]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(3)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType Reference
- Name "Switch C"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [220, 302, 265, 338]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(3)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType PMIOPort
- Name "A"
- Position [165, 63, 195, 77]
- Port "1"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B"
- Position [145, 198, 175, 212]
- Port "2"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C"
- Position [150, 323, 180, 337]
- Port "3"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A "
- Position [325, 53, 355, 67]
- Orientation "left"
- Port "4"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "B "
- Position [320, 188, 350, 202]
- Orientation "left"
- Port "5"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "C "
- Position [315, 313, 345, 327]
- Orientation "left"
- Port "6"
- Side "Right"
- }
- Line {
- SrcBlock "P_ABC"
- SrcPort 1
- DstBlock "Demux"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "Switch C"
- SrcPort RConn1
- Points [0, -10]
- DstBlock "C "
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "Switch B"
- SrcPort RConn1
- Points [0, -10]
- DstBlock "B "
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "Switch A"
- SrcPort RConn1
- Points [0, -10]
- DstBlock "A "
- DstPort RConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "A"
- SrcPort RConn1
- DstBlock "Switch A"
- DstPort LConn1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 3
- Points [20, 0; 0, 115]
- DstBlock "Switch C"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 2
- DstBlock "Switch B"
- DstPort 1
- }
- Line {
- SrcBlock "Demux"
- SrcPort 1
- Points [25, 0; 0, -125]
- DstBlock "Switch A"
- DstPort 1
- }
- Line {
- LineType "Connection"
- SrcBlock "B"
- SrcPort RConn1
- DstBlock "Switch B"
- DstPort LConn1
- }
- Line {
- LineType "Connection"
- SrcBlock "C"
- SrcPort RConn1
- DstBlock "Switch C"
- DstPort LConn1
- }
- }
- }
- Block {
- BlockType SubSystem
- Name "Switches ABC3"
- Ports [1, 0, 0, 0, 0, 3, 3]
- Position [185, 337, 250, 423]
- TreatAsAtomicUnit off
- MinAlgLoopOccurrences off
- RTWSystemCode "Auto"
- MaskHideContents off
- System {
- Name "Switches ABC3"
- Location [152, 96, 628, 478]
- Open off
- ModelBrowserVisibility off
- ModelBrowserWidth 200
- ScreenColor "white"
- PaperOrientation "landscape"
- PaperPositionMode "auto"
- PaperType "usletter"
- PaperUnits "inches"
- ZoomFactor "100"
- Block {
- BlockType Inport
- Name "P_ABC"
- Position [40, 178, 70, 192]
- IconDisplay "Port number"
- }
- Block {
- BlockType Demux
- Name "Demux"
- Ports [1, 3]
- Position [95, 166, 100, 204]
- BackgroundColor "black"
- ShowName off
- Outputs "3"
- }
- Block {
- BlockType Reference
- Name "Switch A"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [225, 42, 270, 78]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(4)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType Reference
- Name "Switch B"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [220, 177, 265, 213]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(4)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType Reference
- Name "Switch C"
- Ports [1, 1, 0, 0, 0, 1, 1]
- Position [220, 302, 265, 338]
- AttributesFormatString "\n"
- SourceBlock "powerlib/PowernElectronics/Ideal S"
- "witch"
- SourceType "Ideal Switch"
- ShowPortLabels on
- Ron "Ron_switch"
- Lon "0"
- IC "Status(4)"
- Rs "Rs_snubber"
- Cs "Cs_snubber"
- Measurements off
- }
- Block {
- BlockType PMIOPort
- Name "A"
- Position [165, 63, 195, 77]
- Port "1"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "B"
- Position [145, 198, 175, 212]
- Port "2"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "C"
- Position [150, 323, 180, 337]
- Port "3"
- Side "Left"
- }
- Block {
- BlockType PMIOPort
- Name "A "
- Position [325, 53, 355, 67]
- Orientation "left"
- Port "4"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "B "
- Position [320, 188, 350, 202]
- Orientation "left"
- Port "5"
- Side "Right"
- }
- Block {
- BlockType PMIOPort
- Name "C "
- Position [315, 313, 345, 327]
- Orientation "left"
- Port "6"
- Side "Right"
- }
- Line {
- LineType "Connection"
- SrcBlock "C"
- SrcPort RConn1
- Points [0, 0]
- DstBlock "Switch C"
- DstPort LConn1
- }
- Line {
- LineType "Connection"