Model { Name "Three_Level" Version 7.6 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.52" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" slprops.hdlmdlprops { $PropName "HDLParams" $ObjectID 1 Array { Type "Cell" Dimension 2 Cell "HDLSubsystem" Cell "Three_Level" PropName "mdlProps" } } SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" MaxMDLFileLineLength 120 Created "Wed Oct 13 12:40:39 2010" Creator "Turst" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "PC" ModifiedDateFormat "%" LastModifiedDate "Thu Jul 21 22:10:48 2011" RTWModifiedTimeStamp 233186951 ModelVersionFormat "1.%" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off SimulationMode "accelerator" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on CovForceBlockReductionOff on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "Off" CovExternalEMLEnable off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 2 Version "1.10.0" Array { Type "Handle" Dimension 9 Simulink.SolverCC { $ObjectID 3 Version "1.10.0" StartTime "0.0" StopTime "0.1" AbsTol "auto" FixedStep "0.1e-6" InitialStep "1e-7" MaxNumMinSteps "-1" MaxOrder 5 ZcThreshold "auto" ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "1e-6" MinStep "1e-8" MaxConsecutiveMinStep "1" RelTol "1e-3" SolverMode "Auto" ConcurrentTasks off Solver "ode45" SolverName "ode45" SolverJacobianMethodControl "auto" ShapePreserveControl "DisableAll" ZeroCrossControl "UseLocalSettings" ZeroCrossAlgorithm "Nonadaptive" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" InsertRTBMode "Whenever possible" } Simulink.DataIOCC { $ObjectID 4 Version "1.10.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on DSMLogging on InspectSignalLogs off SaveTime on ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" DSMLoggingName "dsmout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" } Simulink.OptimizationCC { $ObjectID 5 Version "1.10.0" Array { Type "Cell" Dimension 7 Cell "BooleansAsBitfields" Cell "PassReuseOutputArgsAs" Cell "PassReuseOutputArgsThreshold" Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off UseIntDivNetSlope off UseSpecifiedMinMax off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off StrengthReduction off ExpressionFolding on BooleansAsBitfields off BitfieldContainerType "uint_T" EnableMemcpy on MemcpyThreshold 64 PassReuseOutputArgsAs "Structure reference" ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero off NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode off LifeSpan "inf" MaxStackSize "Inherit from target" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off } Simulink.DebuggingCC { $ObjectID 6 Version "1.10.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "warning" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Classic" MergeDetectMultiDrivingBlocksExec "none" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" MaskedZcDiagnostic "warning" IgnoredZcDiagnostic "warning" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" FixptConstUnderflowMsg "none" FixptConstOverflowMsg "none" FixptConstPrecisionLossMsg "none" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "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" ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" SimStateInterfaceChecksumMismatchMsg "warning" InitInArrayFormatMsg "warning" StrictBusMsg "ErrorLevel1" BusNameAdapt "WarnAndRepair" NonBusSignalsTreatedAsBus "none" LoggingUnavailableSignals "error" BlockIODiagnostic "none" SFUnusedDataAndEventsDiag "warning" SFUnexpectedBacktrackingDiag "warning" SFInvalidInputDataAccessInChartInitDiag "warning" SFNoUnconditionalDefaultTransitionDiag "warning" SFTransitionOutsideNaturalParentDiag "warning" } Simulink.HardwareCC { $ObjectID 7 Version "1.10.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdBitPerFloat 32 ProdBitPerDouble 64 ProdBitPerPointer 32 ProdLargestAtomicInteger "Char" ProdLargestAtomicFloat "None" ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetBitPerFloat 32 TargetBitPerDouble 64 TargetBitPerPointer 32 TargetLargestAtomicInteger "Char" TargetLargestAtomicFloat "None" TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 8 Version "1.10.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" EnableParallelModelReferenceBuilds off ParallelModelReferenceErrorOnInvalidPool on ParallelModelReferenceMATLABWorkerInit "None" ModelReferenceNumInstancesAllowed "Multi" PropagateVarSize "Infer from blocks in model" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off PropagateSignalLabelsOutOfModel off SupportModelReferenceSimTargetCustomCode off } Simulink.SFSimCC { $ObjectID 9 Version "1.10.0" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimBlas on SimCtrlC on SimExtrinsic on SimIntegrity on SimUseLocalCustomCode off SimParseCustomCode on SimBuildMode "sf_incremental_build" } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 10 Version "1.10.0" Array { Type "Cell" Dimension 6 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" Cell "GenerateTraceReport" Cell "GenerateTraceReportSl" Cell "GenerateTraceReportSf" Cell "GenerateTraceReportEml" PropName "DisabledProps" } SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on TemplateMakefile "grt_default_tmf" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off RTWUseLocalCustomCode off RTWUseSimCustomCode off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off GenerateSLWebview off RTWCompilerOptimization "Off" CheckMdlBeforeBuild "Off" CustomRebuildMode "OnUpdate" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 11 Version "1.10.0" Array { Type "Cell" Dimension 19 Cell "IgnoreCustomStorageClasses" Cell "IgnoreTestpoints" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrFcnArg" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" Cell "ReqsInCode" PropName "DisabledProps" } ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off MATLABFcnDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrFcnArg "rt$I$N$M" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off InsertPolySpaceComments off SimulinkBlockComments on MATLABSourceComments off EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 12 Version "1.10.0" Array { Type "Cell" Dimension 16 Cell "GeneratePreprocessorConditionals" Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "CPPClassGenCompliant" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "PortableWordSizes" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" TargetFunctionLibrary "ANSI_C" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" ERTCodeCoverageTool "None" ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on ParMdlRefBuildCompliant on CompOptLevelCompliant on IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Disable all" CombineOutputUpdateFcns off CombineSignalStateStructs off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on SupportVariableSizeSignals off EnableShiftOperators on ParenthesesLevel "Nominal" PortableWordSizes off ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant off AutosarCompliant off UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } hdlcoderui.hdlcc { $ObjectID 13 Version "1.10.0" Description "HDL Coder custom configuration component" Name "HDL Coder" Array { Type "Cell" Dimension 1 Cell "" PropName "HDLConfigFile" } HDLCActiveTab "0" } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" ConfigPrmDlgPosition " [ 400, 210, 1280, 840 ] " } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 2 } BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on BlockRotation 0 BlockMirror off } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit from 'Constant value'" LockScale off SampleTime "inf" FramePeriod "inf" PreserveConstantTs off } Block { BlockType DataTypeConversion OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit via back propagation" LockScale off ConvertRealWorld "Real World Value (RWV)" RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Fcn Expr "sin(u[1])" SampleTime "-1" } Block { BlockType From IconDisplay "Tag" TagVisibility "local" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParamDataTypeStr "Inherit: Same as input" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Goto IconDisplay "Tag" } Block { BlockType Inport Port "1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchInputForFeedbackSignals off Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on ContinuousStateAttributes "''" } Block { BlockType Logic Operator "AND" Inputs "2" IconShape "rectangular" AllPortsSameDT on OutDataTypeStr "Inherit: Logical (see Configuration Parameters: Optimization)" SampleTime "-1" } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" SourceOfInitialOutputValue "Dialog" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType RelationalOperator Operator ">=" InputSameDT on OutDataTypeStr "Inherit: Logical (see Configuration Parameters: Optimization)" ZeroCross on SampleTime "-1" } Block { BlockType Scope ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "-1" } Block { BlockType SignalGenerator WaveForm "sine" TimeSource "Use simulation time" Amplitude "1" Frequency "1" Units "Hertz" VectorParams1D on } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off CheckFcnCallInpInsideContextMsg off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" Variant off GeneratePreprocessorConditionals off } } System { Name "Three_Level" Location [67, 206, 850, 605] Open on ModelBrowserVisibility off ModelBrowserWidth 212 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" ReportName "simulink-default.rpt" SIDHighWatermark "1345" Block { BlockType SubSystem Name "Commanded voltages" SID "1248" Ports [2, 1] Position [175, 44, 235, 106] ShowName off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off RTWSystemCode "Auto" FunctionWithSeparateData off Opaque off RequestExecContextInheritance off MaskHideContents off System { Name "Commanded voltages" Location [87, 122, 1292, 737] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "m" SID "1253" Position [360, 138, 390, 152] IconDisplay "Port number" } Block { BlockType Inport Name "f" SID "1249" Position [30, 258, 60, 272] Port "2" IconDisplay "Port number" } Block { BlockType DataTypeConversion Name "Data Type Conversion1" SID "1328" Position [850, 148, 900, 162] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion10" SID "1336" Position [850, 308, 900, 322] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion11" SID "1337" Position [850, 328, 900, 342] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion12" SID "1338" Position [850, 348, 900, 362] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion2" SID "1329" Position [850, 168, 900, 182] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion3" SID "1330" Position [850, 188, 900, 202] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion4" SID "1331" Position [850, 208, 900, 222] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion5" SID "1327" Position [850, 128, 900, 142] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion6" SID "1332" Position [850, 228, 900, 242] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion7" SID "1333" Position [850, 248, 900, 262] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion8" SID "1334" Position [850, 268, 900, 282] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType DataTypeConversion Name "Data Type Conversion9" SID "1335" Position [850, 288, 900, 302] ShowName off OutDataTypeStr "double" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType Fcn Name "Fcn" SID "1241" Position [205, 204, 380, 236] ShowName off Expr "cos(u(1))-(1/6)*cos(3*u(1))" } Block { BlockType Fcn Name "Fcn1" SID "1251" Position [205, 248, 380, 282] ShowName off Expr "cos(u(1)-(2*pi/3))-(1/6)*cos(3*u(1))" } Block { BlockType Fcn Name "Fcn2" SID "1252" Position [205, 294, 380, 326] ShowName off Expr "cos(u(1)+(2*pi/3))-(1/6)*cos(3*u(1))" } Block { BlockType Fcn Name "Fcn3" SID "1270" Position [185, 370, 260, 400] ShowName off Expr "(u(1)+1)/2" } Block { BlockType Fcn Name "Fcn4" SID "1271" Position [185, 410, 260, 440] ShowName off Expr "(u(1)-1)/2" } Block { BlockType From Name "From" SID "1272" Position [505, 102, 545, 118] ShowName off GotoTag "tr2" } Block { BlockType From Name "From1" SID "1275" Position [770, 127, 810, 143] ShowName off GotoTag "Qa1" } Block { BlockType From Name "From10" SID "1284" Position [770, 307, 810, 323] ShowName off GotoTag "Qc2" } Block { BlockType From Name "From11" SID "1285" Position [770, 327, 810, 343] ShowName off GotoTag "Qc3" } Block { BlockType From Name "From12" SID "1286" Position [770, 347, 810, 363] ShowName off GotoTag "Qc4" } Block { BlockType From Name "From13" SID "1289" Position [505, 167, 545, 183] ShowName off GotoTag "tr1" } Block { BlockType From Name "From14" SID "1294" Position [505, 232, 545, 248] ShowName off GotoTag "tr2" } Block { BlockType From Name "From15" SID "1295" Position [505, 297, 545, 313] ShowName off GotoTag "tr1" } Block { BlockType From Name "From16" SID "1304" Position [505, 362, 545, 378] ShowName off GotoTag "tr2" } Block { BlockType From Name "From17" SID "1305" Position [505, 427, 545, 443] ShowName off GotoTag "tr1" } Block { BlockType From Name "From2" SID "1276" Position [770, 147, 810, 163] ShowName off GotoTag "Qa2" } Block { BlockType From Name "From3" SID "1277" Position [770, 167, 810, 183] ShowName off GotoTag "Qa3" } Block { BlockType From Name "From4" SID "1278" Position [770, 187, 810, 203] ShowName off GotoTag "Qa4" } Block { BlockType From Name "From5" SID "1279" Position [770, 207, 810, 223] ShowName off GotoTag "Qb1" } Block { BlockType From Name "From6" SID "1280" Position [770, 227, 810, 243] ShowName off GotoTag "Qb2" } Block { BlockType From Name "From7" SID "1281" Position [770, 247, 810, 263] ShowName off GotoTag "Qb3" } Block { BlockType From Name "From8" SID "1282" Position [770, 267, 810, 283] ShowName off GotoTag "Qb4" } Block { BlockType From Name "From9" SID "1283" Position [770, 287, 810, 303] ShowName off GotoTag "Qc1" } Block { BlockType Gain Name "Gain" SID "1244" Position [85, 250, 115, 280] ShowName off Gain "2*pi" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Goto Name "Goto" SID "1273" Position [290, 375, 330, 395] ShowName off GotoTag "tr2" TagVisibility "local" } Block { BlockType Goto Name "Goto1" SID "1287" Position [630, 62, 670, 78] ShowName off GotoTag "Qa1" TagVisibility "local" } Block { BlockType Goto Name "Goto10" SID "1307" Position [690, 352, 730, 368] ShowName off GotoTag "Qc3" TagVisibility "local" } Block { BlockType Goto Name "Goto11" SID "1308" Position [630, 387, 670, 403] ShowName off GotoTag "Qc2" TagVisibility "local" } Block { BlockType Goto Name "Goto12" SID "1309" Position [690, 417, 730, 433] ShowName off GotoTag "Qc4" TagVisibility "local" } Block { BlockType Goto Name "Goto13" SID "1339" Position [290, 415, 330, 435] ShowName off GotoTag "tr1" TagVisibility "local" } Block { BlockType Goto Name "Goto2" SID "1288" Position [690, 92, 730, 108] ShowName off GotoTag "Qa3" TagVisibility "local" } Block { BlockType Goto Name "Goto3" SID "1290" Position [630, 127, 670, 143] ShowName off GotoTag "Qa2" TagVisibility "local" } Block { BlockType Goto Name "Goto4" SID "1291" Position [690, 157, 730, 173] ShowName off GotoTag "Qa4" TagVisibility "local" } Block { BlockType Goto Name "Goto5" SID "1296" Position [630, 192, 670, 208] ShowName off GotoTag "Qb1" TagVisibility "local" } Block { BlockType Goto Name "Goto6" SID "1297" Position [690, 222, 730, 238] ShowName off GotoTag "Qb3" TagVisibility "local" } Block { BlockType Goto Name "Goto7" SID "1298" Position [630, 257, 670, 273] ShowName off GotoTag "Qb2" TagVisibility "local" } Block { BlockType Goto Name "Goto8" SID "1299" Position [690, 287, 730, 303] ShowName off GotoTag "Qb4" TagVisibility "local" } Block { BlockType Goto Name "Goto9" SID "1306" Position [630, 322, 670, 338] ShowName off GotoTag "Qc1" TagVisibility "local" } Block { BlockType Integrator Name "Integrator" SID "1245" Ports [1, 1] Position [145, 250, 175, 280] ShowName off } Block { BlockType Logic Name "Logical\nOperator" SID "1274" Ports [1, 1] Position [630, 84, 660, 116] ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator1" SID "1292" Ports [1, 1] Position [630, 149, 660, 181] ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator2" SID "1300" Ports [1, 1] Position [630, 214, 660, 246] ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator3" SID "1301" Ports [1, 1] Position [630, 279, 660, 311] ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator4" SID "1310" Ports [1, 1] Position [630, 344, 660, 376] ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Logic Name "Logical\nOperator5" SID "1311" Ports [1, 1] Position [630, 409, 660, 441] ShowName off Operator "NOT" AllPortsSameDT off OutDataTypeStr "boolean" } Block { BlockType Mux Name "Mux" SID "1261" Ports [12, 1] Position [940, 112, 950, 378] ShowName off Inputs "12" DisplayOption "bar" } Block { BlockType Product Name "Product" SID "1254" Ports [2, 1] Position [425, 197, 455, 228] ShowName off InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" SID "1262" Ports [2, 1] Position [425, 242, 455, 273] ShowName off InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" SID "1263" Ports [2, 1] Position [425, 287, 455, 318] ShowName off InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType RelationalOperator Name "Relational\nOperator" SID "1269" Ports [2, 1] Position [565, 87, 595, 118] ShowName off InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator1" SID "1293" Ports [2, 1] Position [565, 152, 595, 183] ShowName off InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator2" SID "1302" Ports [2, 1] Position [565, 217, 595, 248] ShowName off InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator3" SID "1303" Ports [2, 1] Position [565, 282, 595, 313] ShowName off InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator4" SID "1312" Ports [2, 1] Position [565, 347, 595, 378] ShowName off InputSameDT off OutDataTypeStr "boolean" } Block { BlockType RelationalOperator Name "Relational\nOperator5" SID "1313" Ports [2, 1] Position [565, 412, 595, 443] ShowName off InputSameDT off OutDataTypeStr "boolean" } Block { BlockType SignalGenerator Name "Signal\nGenerator" SID "1264" Ports [0, 1] Position [110, 410, 140, 440] ShowName off WaveForm "sawtooth" Frequency "10e3" } Block { BlockType Outport Name "gates" SID "1250" Position [980, 238, 1010, 252] IconDisplay "Port number" } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [5, 0] Branch { Points [0, -45] DstBlock "Fcn" DstPort 1 } Branch { Points [0, 0] Branch { DstBlock "Fcn1" DstPort 1 } Branch { Points [0, 45] DstBlock "Fcn2" DstPort 1 } } } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Fcn1" SrcPort 1 DstBlock "Product1" DstPort 2 } Line { SrcBlock "Fcn2" SrcPort 1 DstBlock "Product2" DstPort 2 } Line { SrcBlock "f" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "m" SrcPort 1 Points [0, 60] Branch { DstBlock "Product" DstPort 1 } Branch { Points [0, 45] Branch { DstBlock "Product1" DstPort 1 } Branch { Points [0, 45] DstBlock "Product2" DstPort 1 } } } Line { SrcBlock "Product" SrcPort 1 Points [10, 0; 0, -55] Branch { DstBlock "Relational\nOperator1" DstPort 1 } Branch { Points [0, -65] DstBlock "Relational\nOperator" DstPort 1 } } Line { SrcBlock "Fcn3" SrcPort 1 DstBlock "Goto" DstPort 1 } Line { SrcBlock "From" SrcPort 1 DstBlock "Relational\nOperator" DstPort 2 } Line { SrcBlock "Relational\nOperator" SrcPort 1 Points [5, 0] Branch { Points [10, 0] DstBlock "Logical\nOperator" DstPort 1 } Branch { Points [0, -35] DstBlock "Goto1" DstPort 1 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "gates" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Data Type Conversion5" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Data Type Conversion1" DstPort 1 } Line { SrcBlock "From3" SrcPort 1 DstBlock "Data Type Conversion2" DstPort 1 } Line { SrcBlock "From4" SrcPort 1 DstBlock "Data Type Conversion3" DstPort 1 } Line { SrcBlock "From5" SrcPort 1 DstBlock "Data Type Conversion4" DstPort 1 } Line { SrcBlock "From6" SrcPort 1 DstBlock "Data Type Conversion6" DstPort 1 } Line { SrcBlock "From7" SrcPort 1 DstBlock "Data Type Conversion7" DstPort 1 } Line { SrcBlock "From8" SrcPort 1 DstBlock "Data Type Conversion8" DstPort 1 } Line { SrcBlock "From9" SrcPort 1 DstBlock "Data Type Conversion9" DstPort 1 } Line { SrcBlock "From10" SrcPort 1 DstBlock "Data Type Conversion10" DstPort 1 } Line { SrcBlock "From11" SrcPort 1 DstBlock "Data Type Conversion11" DstPort 1 } Line { SrcBlock "From12" SrcPort 1 DstBlock "Data Type Conversion12" DstPort 1 } Line { SrcBlock "Logical\nOperator" SrcPort 1 DstBlock "Goto2" DstPort 1 } Line { SrcBlock "From13" SrcPort 1 DstBlock "Relational\nOperator1" DstPort 2 } Line { SrcBlock "Relational\nOperator1" SrcPort 1 Points [5, 0] Branch { Points [0, -35] DstBlock "Goto3" DstPort 1 } Branch { Points [10, 0] DstBlock "Logical\nOperator1" DstPort 1 } } Line { SrcBlock "Logical\nOperator1" SrcPort 1 DstBlock "Goto4" DstPort 1 } Line { SrcBlock "From14" SrcPort 1 DstBlock "Relational\nOperator2" DstPort 2 } Line { SrcBlock "Relational\nOperator2" SrcPort 1 Points [5, 0] Branch { Points [0, -35] DstBlock "Goto5" DstPort 1 } Branch { Points [0, -5] DstBlock "Logical\nOperator2" DstPort 1 } } Line { SrcBlock "Logical\nOperator2" SrcPort 1 DstBlock "Goto6" DstPort 1 } Line { SrcBlock "From15" SrcPort 1 DstBlock "Relational\nOperator3" DstPort 2 } Line { SrcBlock "Relational\nOperator3" SrcPort 1 Points [5, 0] Branch { Points [10, 0] DstBlock "Logical\nOperator3" DstPort 1 } Branch { Points [0, -35] DstBlock "Goto7" DstPort 1 } } Line { SrcBlock "Logical\nOperator3" SrcPort 1 DstBlock "Goto8" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [10, 0; 0, 50] Branch { Points [0, 65] DstBlock "Relational\nOperator5" DstPort 1 } Branch { DstBlock "Relational\nOperator4" DstPort 1 } } Line { SrcBlock "From16" SrcPort 1 DstBlock "Relational\nOperator4" DstPort 2 } Line { SrcBlock "Relational\nOperator4" SrcPort 1 Points [5, 0] Branch { Points [0, -5] DstBlock "Logical\nOperator4" DstPort 1 } Branch { Points [0, -35] DstBlock "Goto9" DstPort 1 } } Line { SrcBlock "Logical\nOperator4" SrcPort 1 DstBlock "Goto10" DstPort 1 } Line { SrcBlock "From17" SrcPort 1 DstBlock "Relational\nOperator5" DstPort 2 } Line { SrcBlock "Relational\nOperator5" SrcPort 1 Points [5, 0] Branch { Points [0, -35] DstBlock "Goto11" DstPort 1 } Branch { Points [10, 0] DstBlock "Logical\nOperator5" DstPort 1 } } Line { SrcBlock "Logical\nOperator5" SrcPort 1 DstBlock "Goto12" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [20, 0] Branch { Points [0, -35] DstBlock "Relational\nOperator2" DstPort 1 } Branch { Points [0, 30] DstBlock "Relational\nOperator3" DstPort 1 } } Line { SrcBlock "Data Type Conversion5" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { SrcBlock "Data Type Conversion1" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "Data Type Conversion2" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { SrcBlock "Data Type Conversion3" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { SrcBlock "Data Type Conversion4" SrcPort 1 DstBlock "Mux" DstPort 5 } Line { SrcBlock "Data Type Conversion6" SrcPort 1 DstBlock "Mux" DstPort 6 } Line { SrcBlock "Data Type Conversion7" SrcPort 1 DstBlock "Mux" DstPort 7 } Line { SrcBlock "Data Type Conversion8" SrcPort 1 DstBlock "Mux" DstPort 8 } Line { SrcBlock "Data Type Conversion9" SrcPort 1 DstBlock "Mux" DstPort 9 } Line { SrcBlock "Data Type Conversion10" SrcPort 1 DstBlock "Mux" DstPort 10 } Line { SrcBlock "Data Type Conversion11" SrcPort 1 DstBlock "Mux" DstPort 11 } Line { SrcBlock "Data Type Conversion12" SrcPort 1 DstBlock "Mux" DstPort 12 } Line { SrcBlock "Fcn4" SrcPort 1 DstBlock "Goto13" DstPort 1 } Line { SrcBlock "Signal\nGenerator" SrcPort 1 Points [10, 0] Branch { DstBlock "Fcn4" DstPort 1 } Branch { Points [0, -40] DstBlock "Fcn3" DstPort 1 } } } } Block { BlockType Constant Name "Constant" SID "1247" Position [120, 78, 150, 102] ShowName off Value "100" } Block { BlockType Constant Name "Constant2" SID "1255" Position [120, 48, 150, 72] ShowName off } Block { BlockType Reference Name "Current Measurement" SID "1341" Ports [0, 1, 0, 0, 0, 1, 1] Position [335, 198, 360, 222] ShowName off LibraryVersion "1.1923" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Current Measurement" SourceType "Current Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" GeneratePreprocessorConditionals off PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "DC Voltage Source1" SID "1258" Ports [0, 0, 0, 0, 0, 1, 1] Position [95, 180, 115, 215] BlockRotation 270 ShowName off LibraryVersion "1.1923" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Electrical\nSources/DC Voltage Source" SourceType "DC Voltage Source" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" GeneratePreprocessorConditionals off Amplitude "450" Measurements "None" } Block { BlockType Reference Name "DC Voltage Source2" SID "1259" Ports [0, 0, 0, 0, 0, 1, 1] Position [95, 250, 115, 285] BlockRotation 270 ShowName off LibraryVersion "1.1923" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Electrical\nSources/DC Voltage Source" SourceType "DC Voltage Source" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" GeneratePreprocessorConditionals off Amplitude "450" Measurements "None" } Block { BlockType Scope Name "Scope" SID "1257" Ports [2] Position [400, 94, 435, 161] ShowName off Floating off Location [132, 57, 1197, 762] Open off NumInputPorts "2" ZoomMode "xonly" List { ListType AxesTitles axes1 "vab (V)" axes2 "ias (A)" } YMin "-1000~-500" YMax "1000~500" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Reference Name "Series RLC Branch" SID "1343" Ports [0, 0, 0, 0, 0, 1, 1] Position [420, 201, 490, 229] ShowName off LibraryVersion "1.1923" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "RL" Resistance "1" Inductance "1e-3" SetiL0 off InitialCurrent "0" Capacitance "1e-6" Setx0 off InitialVoltage "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Branch1" SID "1344" Ports [0, 0, 0, 0, 0, 1, 1] Position [420, 246, 490, 274] ShowName off LibraryVersion "1.1923" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "RL" Resistance "1" Inductance "1e-3" SetiL0 off InitialCurrent "0" Capacitance "1e-6" Setx0 off InitialVoltage "0" Measurements "None" } Block { BlockType Reference Name "Series RLC Branch2" SID "1345" Ports [0, 0, 0, 0, 0, 1, 1] Position [420, 296, 490, 324] ShowName off LibraryVersion "1.1923" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "RL" Resistance "1" Inductance "1e-3" SetiL0 off InitialCurrent "0" Capacitance "1e-6" Setx0 off InitialVoltage "0" Measurements "None" } Block { BlockType Reference Name "Three-Level Bridge" SID "1234" Ports [1, 0, 0, 0, 0, 3, 3] Position [175, 132, 250, 338] BlockMirror on ShowName off LibraryVersion "1.1923" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Power\nElectronics/Three-Level Bridge" SourceType "Three-Level Bridge" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" GeneratePreprocessorConditionals off Arms "3" SnubberResistance "1e5" SbubberCapacitance "inf" Device "IGBT / Diodes" Ron "1e-3" ForwardVoltages "[ 0 0 ]" Measurements "None" } Block { BlockType Reference Name "Voltage Measurement" SID "1256" Ports [0, 1, 0, 0, 0, 2] Position [335, 98, 360, 122] ShowName off LibraryVersion "1.1923" DialogController "POWERSYS.PowerSysDialog" FontName "Verdana" FontSize 11 SourceBlock "powerlib/Measurements/Voltage Measurement" SourceType "Voltage Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" GeneratePreprocessorConditionals off PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "powergui" SID "1222" Ports [] Position [470, 35, 536, 74] Priority "1" LibraryVersion "1.1923" UserDataPersistent on FontName "Verdana" SourceBlock "powerlib/powergui" SourceType "PSB option menu block" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" GeneratePreprocessorConditionals off SimulationMode "Continuous" SampleTime "50e-6" frequency "60" SPID off DisableSnubberDevices off DisableRonSwitches off DisableVfSwitches off SwTol "0" Interpol off frequencyindice "0" echomessages off HookPort off DisplayEquations off FunctionMessages off EnableUseOfTLC off x0status "blocks" RestoreLinks "warning" ResistiveCurrentMeasurement off Ylog off Xlog on ShowGrid off save off variable "ZData" ZoomFFT off StartTime "0.0" cycles "1" DisplayStyle "1" FreqAxis off MaxFrequency "1000" frequencyindicesteady "1" display off methode off } Line { LineType "Connection" SrcBlock "Three-Level Bridge" SrcPort RConn1 DstBlock "DC Voltage Source1" DstPort RConn1 } Line { LineType "Connection" SrcBlock "DC Voltage Source2" SrcPort LConn1 Points [0, 5] DstBlock "Three-Level Bridge" DstPort RConn3 } Line { LineType "Connection" Points [105, 235; 0, 0] DstBlock "DC Voltage Source2" DstPort RConn1 Branch { ConnectType "SRC_DEST" SrcBlock "Three-Level Bridge" SrcPort RConn2 Points [-55, 0] } Branch { ConnectType "SRC_DEST" SrcBlock "DC Voltage Source1" SrcPort LConn1 Points [0, 5] } } Line { LineType "Connection" SrcBlock "Voltage Measurement" SrcPort LConn1 Points [-20, 0; 0, 105] Branch { ConnectType "DEST_SRC" DstBlock "Three-Level Bridge" DstPort LConn1 } Branch { ConnectType "DEST_SRC" DstBlock "Current Measurement" DstPort LConn1 } } Line { LineType "Connection" SrcBlock "Three-Level Bridge" SrcPort LConn2 Points [45, 0] Branch { ConnectType "DEST_SRC" DstBlock "Series RLC Branch1" DstPort LConn1 } Branch { ConnectType "DEST_SRC" Points [0, -145] DstBlock "Voltage Measurement" DstPort LConn2 } } Line { LineType "Connection" SrcBlock "Series RLC Branch2" SrcPort LConn1 DstBlock "Three-Level Bridge" DstPort LConn3 } Line { LineType "Connection" SrcBlock "Series RLC Branch" SrcPort RConn1 Points [15, 0; 0, 45] Branch { ConnectType "DEST_DEST" SrcBlock "Series RLC Branch1" SrcPort RConn1 Points [15, 0] } Branch { ConnectType "DEST_SRC" Points [0, 50] DstBlock "Series RLC Branch2" DstPort RConn1 } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Commanded voltages" DstPort 2 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Commanded voltages" DstPort 1 } Line { SrcBlock "Commanded voltages" SrcPort 1 Points [25, 0] DstBlock "Three-Level Bridge" DstPort 1 } Line { SrcBlock "Voltage Measurement" SrcPort 1 DstBlock "Scope" DstPort 1 } Line { LineType "Connection" SrcBlock "Current Measurement" SrcPort RConn1 DstBlock "Series RLC Branch" DstPort LConn1 } Line { SrcBlock "Current Measurement" SrcPort 1 Points [10, 0; 0, -60] DstBlock "Scope" DstPort 2 } } }