Model { Name "Ex2_imvcdc" Version 8.4 MdlSubVersion 0 SavedCharacterEncoding "windows-1252" GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.135" NumModelReferences 0 NumTestPointedSignals 0 } ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" FPTRunName "Run 1" MaxMDLFileLineLength 120 Object { $PropName "BdWindowsInfo" $ObjectID 1 $ClassName "Simulink.BDWindowsInfo" Object { $PropName "WindowsInfo" $ObjectID 2 $ClassName "Simulink.WindowInfo" IsActive [1] Location [-8.0, -8.0, 1662.0, 902.0] Object { $PropName "ModelBrowserInfo" $ObjectID 3 $ClassName "Simulink.ModelBrowserInfo" Visible [0] DockPosition "Left" Width [50] Height [50] Filter [8] } Object { $PropName "ExplorerBarInfo" $ObjectID 4 $ClassName "Simulink.ExplorerBarInfo" Visible [1] } Object { $PropName "EditorsInfo" $ObjectID 5 $ClassName "Simulink.EditorInfo" IsActive [1] ViewObjType "SimulinkTopLevel" LoadSaveID "0" Extents [1612.0, 727.0] ZoomFactor [1.5] Offset [1.7500000000000036, 17.333333333333336] } } } Created "Mon May 20 05:45:17 2002" Creator "Lucian Tutelea - asist. proff UPT Romania" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "FDNE" ModifiedDateFormat "%" LastModifiedDate "Mon Apr 09 19:39:38 2018" RTWModifiedTimeStamp 445202026 ModelVersionFormat "1.%" ConfigurationManager "none" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowDesignRanges off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on ShowMarkup on BlockNameDataTip off BlockParametersDataTip on BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off SimulationMode "normal" PauseTimes "5" NumberOfSteps 1 SnapshotBufferSize 10 SnapshotInterval 10 NumberOfLastSnapshots 0 LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off Object { $PropName "DataLoggingOverride" $ObjectID 6 $ClassName "Simulink.SimulationData.ModelLoggingInfo" model_ "Ex2_imvcdc" Array { Type "Cell" Dimension 1 Cell "Ex2_imvcdc" PropName "logAsSpecifiedByModels_" } Array { Type "Cell" Dimension 1 Cell "" PropName "logAsSpecifiedByModelsSSIDs_" } } RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on CovForceBlockReductionOff on CovEnableCumulative on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "Off" CovExternalEMLEnable off CovSFcnEnable off CovBoundaryAbsTol 0.000010 CovBoundaryRelTol 0.010000 CovUseTimeInterval off CovStartTime 0 CovStopTime 0 ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "oneshot" 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 off ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 7 Version "1.14.3" Array { Type "Handle" Dimension 8 Simulink.SolverCC { $ObjectID 8 Version "1.14.3" StartTime "0.0" StopTime "1.5" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ZcThreshold "auto" ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-3" SolverMode "Auto" EnableConcurrentExecution off 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 9 Version "1.14.3" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints off MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Array" SignalLoggingSaveFormat "ModelDataLogs" SaveOutput on SaveState off SignalLogging on DSMLogging on InspectSignalLogs off VisualizeSimOutput on SaveTime on ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "sigsOut" DSMLoggingName "dsmout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" } Simulink.OptimizationCC { $ObjectID 10 Version "1.14.3" Array { Type "Cell" Dimension 8 Cell "BooleansAsBitfields" Cell "PassReuseOutputArgsAs" Cell "PassReuseOutputArgsThreshold" Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" Cell "UseSpecifiedMinMax" PropName "DisabledProps" } BlockReduction on BooleanDataType off ConditionallyExecuteInputs on InlineParams off UseDivisionForNetSlopeComputation "Off" UseFloatMulNetSlope off DefaultUnderspecifiedDataType "double" UseSpecifiedMinMax off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off CachingGlobalReferences off GlobalBufferReuse on StrengthReduction off ExpressionFolding on BooleansAsBitfields off BitfieldContainerType "uint_T" EnableMemcpy on MemcpyThreshold 64 PassReuseOutputArgsAs "Structure reference" ExpressionDepthLimit 128 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off ActiveStateOutputEnumStorageType "Native Integer" UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero off NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode off LifeSpan "inf" MaxStackSize "Inherit from target" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off ParallelExecutionInRapidAccelerator on } Simulink.DebuggingCC { $ObjectID 11 Version "1.14.3" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "none" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Classic" MergeDetectMultiDrivingBlocksExec "none" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" MaskedZcDiagnostic "warning" IgnoredZcDiagnostic "warning" SolverPrmCheckMsg "none" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskCondExecSysMsg "none" 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 "EnableAllAsError" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" FrameProcessingCompatibilityMsg "warning" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "none" SimStateInterfaceChecksumMismatchMsg "warning" SimStateOlderReleaseMsg "error" InitInArrayFormatMsg "warning" StrictBusMsg "ErrorLevel1" BusNameAdapt "WarnAndRepair" NonBusSignalsTreatedAsBus "none" LoggingUnavailableSignals "error" BlockIODiagnostic "none" SFUnusedDataAndEventsDiag "warning" SFUnexpectedBacktrackingDiag "warning" SFInvalidInputDataAccessInChartInitDiag "warning" SFNoUnconditionalDefaultTransitionDiag "warning" SFTransitionOutsideNaturalParentDiag "warning" SFUnconditionalTransitionShadowingDiag "warning" SFUndirectedBroadcastEventsDiag "warning" SFTransitionActionBeforeConditionDiag "warning" IntegerSaturationMsg "warning" } Simulink.HardwareCC { $ObjectID 12 Version "1.14.3" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdBitPerLongLong 64 ProdBitPerFloat 32 ProdBitPerDouble 64 ProdBitPerPointer 32 ProdLargestAtomicInteger "Char" ProdLargestAtomicFloat "None" ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdLongLongMode off ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetBitPerLongLong 64 TargetBitPerFloat 32 TargetBitPerDouble 64 TargetBitPerPointer 32 TargetLargestAtomicInteger "Char" TargetLargestAtomicFloat "None" TargetShiftRightIntArith on TargetLongLongMode off TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown on ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 13 Version "1.14.3" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" EnableParallelModelReferenceBuilds off ParallelModelReferenceErrorOnInvalidPool on ParallelModelReferenceMATLABWorkerInit "None" ModelReferenceNumInstancesAllowed "Multi" PropagateVarSize "Infer from blocks in model" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off PropagateSignalLabelsOutOfModel off SupportModelReferenceSimTargetCustomCode off } Simulink.SFSimCC { $ObjectID 14 Version "1.14.3" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimBlas on SimCtrlC on SimExtrinsic on SimIntegrity on SimUseLocalCustomCode off SimParseCustomCode on SimBuildMode "sf_incremental_build" SimGenImportedTypeDefs off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 15 Version "1.14.3" Array { Type "Cell" Dimension 15 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" Cell "GenerateTraceReport" Cell "GenerateTraceReportSl" Cell "GenerateTraceReportSf" Cell "GenerateTraceReportEml" Cell "PortableWordSizes" Cell "GenerateWebview" Cell "GenerateCodeMetricsReport" Cell "GenerateCodeReplacementReport" Cell "GenerateErtSFunction" Cell "CreateSILPILBlock" Cell "CodeExecutionProfiling" Cell "CodeProfilingSaveOptions" Cell "CodeProfilingInstrumentation" PropName "DisabledProps" } SystemTargetFile "grt.tlc" TLCOptions "" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on PackageGeneratedCodeAndArtifacts off PackageName "" TemplateMakefile "grt_default_tmf" PostCodeGenCommand "" Description "" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ProcessScript "" ConfigurationScript "" ConfigAtBuild off RTWUseLocalCustomCode off RTWUseSimCustomCode off CustomSourceCode "" CustomHeaderCode "" CustomInclude "" CustomSource "" CustomLibrary "" CustomInitializer "" CustomTerminator "" Toolchain "Automatically locate an installed toolchain" BuildConfiguration "Faster Builds" IncludeHyperlinkInReport off LaunchReport off PortableWordSizes off CreateSILPILBlock "None" CodeExecutionProfiling off CodeExecutionProfileVariable "executionProfile" CodeProfilingSaveOptions "SummaryOnly" CodeProfilingInstrumentation off SILDebugging off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime on GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off GenerateWebview off GenerateCodeMetricsReport off GenerateCodeReplacementReport off RTWCompilerOptimization "Off" RTWCustomCompilerOptimizations "" CheckMdlBeforeBuild "Off" CustomRebuildMode "OnUpdate" DataInitializer "" SharedConstantsCachingThreshold 1024 Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 16 Version "1.14.3" Array { Type "Cell" Dimension 24 Cell "IgnoreCustomStorageClasses" Cell "ParameterTuningSideEffectCode" Cell "IgnoreTestpoints" Cell "InsertBlockDesc" Cell "InsertPolySpaceComments" Cell "SFDataObjDesc" Cell "MATLABFcnDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InternalIdentifier" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrFcnArg" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" Cell "CustomSymbolStrUtil" Cell "ReqsInCode" PropName "DisabledProps" } ForceParamTrailComments off GenerateComments on CommentStyle "Auto" IgnoreCustomStorageClasses on IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off OperatorAnnotations off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off MATLABFcnDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M_T" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrFcnArg "rt$I$N$M" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" CustomSymbolStrUtil "$N$C" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off InsertPolySpaceComments off SimulinkBlockComments on MATLABSourceComments off EnableCustomComments off InternalIdentifier "Shortened" InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 17 Version "1.14.3" Array { Type "Cell" Dimension 14 Cell "GeneratePreprocessorConditionals" Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "GenerateAllocFcn" Cell "PurelyIntegerCode" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "NOT IN USE" TargetLangStandard "C89/C90 (ANSI)" CodeReplacementLibrary "None" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off ModelReferenceCompliant on ParMdlRefBuildCompliant on CompOptLevelCompliant on ConcurrentExecutionCompliant on IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Disable all" CombineOutputUpdateFcns off CombineSignalStateStructs off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off CodeInterfacePackaging "Nonreusable function" SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on SupportVariableSizeSignals off EnableShiftOperators on ParenthesesLevel "Nominal" CastingMode "Nominal" MATLABClassNameForMDSCustomization "Simulink.SoftwareTarget.GRTCustomization" ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant on AutosarCompliant off GRTInterface on GenerateAllocFcn off GenerateSharedConstants on UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off RTWCAPIRootIO off GenerateASAP2 off MultiInstanceErrorCode "Error" } PropName "Components" } } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" ConfigPrmDlgPosition [ 283, 143, 1363, 783 ] } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 7 } Object { $PropName "DataTransfer" $ObjectID 18 $ClassName "Simulink.GlobalDataTransfer" DefaultTransitionBetweenSyncTasks "Ensure deterministic transfer (maximum delay)" DefaultTransitionBetweenAsyncTasks "Ensure data integrity only" DefaultTransitionBetweenContTasks "Ensure deterministic transfer (minimum delay)" DefaultExtrapolationMethodBetweenContTasks "None" AutoInsertRateTranBlk [0] } ExplicitPartitioning off BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on BlockRotation 0 BlockMirror off } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } MaskDefaults { SelfModifiable "off" IconFrame "on" IconOpaque "on" RunInitForIconRedraw "off" IconRotate "none" PortRotate "default" IconUnits "autoscale" } MaskParameterDefaults { Evaluate "on" Tunable "on" NeverSave "off" Internal "off" ReadOnly "off" Enabled "on" Visible "on" ToolTip "on" } BlockParameterDefaults { Block { BlockType 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 Fcn Expr "sin(u[1])" SampleTime "-1" } 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 Inport Port "1" OutputFunctionCall off OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: auto" LockScale off BusOutputAsStruct off PortDimensions "-1" VarSizeSig "Inherit" SampleTime "-1" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchInputForFeedbackSignals off Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on ContinuousStateAttributes "''" } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType 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 Saturate UpperLimitSource "Dialog" UpperLimit "0.5" LowerLimitSource "Dialog" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on SampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" } Block { BlockType Scope ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" DataFormat "Array" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "-1" } Block { BlockType Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off MinAlgLoopOccurrences off PropExecContextOutsideSubsystem off CheckFcnCallInpInsideContextMsg off SystemSampleTime "-1" RTWSystemCode "Auto" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" FunctionInterfaceSpec "void_void" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" Opaque off MaskHideContents off SFBlockType "NONE" Variant off GeneratePreprocessorConditionals off ContentPreviewEnabled off } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on AccumDataTypeStr "Inherit: Inherit via internal rule" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as first input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit via internal rule" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" AllowDiffInputSizes off } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" ContinuousStateAttributes "''" Realization "auto" } } System { Name "Ex2_imvcdc" Location [-8, -8, 1654, 894] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "150" ReportName "simulink-default.rpt" SIDHighWatermark "99" Block { BlockType SubSystem Name " " SID "1" Ports [4, 1] Position [170, 84, 380, 246] ZOrder -1 FontName "Times New Roman" FontSize 14 RequestExecContextInheritance off Object { $PropName "MaskObject" $ObjectID 19 $ClassName "Simulink.Mask" Type "convertor" Description "Power converter and control" Help "yyyyu" Initialization "wb=nb*pi/30;" Display "disp('\\n');\ndisp('\\n Converter');" IconOpaque "off" Array { Type "Simulink.MaskParameter" Dimension 5 Object { $ObjectID 20 Type "edit" Name "p" Prompt "p pairs of poles of IM" Value "2" } Object { $ObjectID 21 Type "edit" Name "nb" Prompt "nb [rpm] - base speed" Value "1500" } Object { $ObjectID 22 Type "edit" Name "Lr" Prompt "Lr[H] - rotor inductance" Value "0.0412" } Object { $ObjectID 23 Type "edit" Name "Tr" Prompt "Tr[s] - rotor time constant" Value "0.164" } Object { $ObjectID 24 Type "edit" Name "Lm" Prompt "Lm[H] - main inductance" Value "0.0403" } PropName "Parameters" } } System { Name " " Location [-8, -8, 1654, 894] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "125" Block { BlockType Inport Name "fi r *" SID "2" Position [15, 88, 45, 102] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "w *" SID "3" Position [15, 193, 45, 207] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "w" SID "4" Position [15, 303, 45, 317] ZOrder -3 Port "3" IconDisplay "Port number" } Block { BlockType Inport Name " I alpha beta" SID "5" Position [30, 378, 60, 392] ZOrder -4 Port "4" IconDisplay "Port number" } Block { BlockType SubSystem Name " " SID "6" Ports [1, 1] Position [485, 137, 540, 173] ZOrder -5 ShowPortLabels "none" RequestExecContextInheritance off Object { $PropName "MaskObject" $ObjectID 25 $ClassName "Simulink.Mask" Type "PI controller" Description "Pi controller" Help "Input: Error;\\nOutput: PI output;\\nParamemetrs: PI gain (Ki),\\n Time constant (Ti),\\n Limits (" "LimitH, LimitL)" Display "disp('PI\\ncontroller')" Array { Type "Simulink.MaskParameter" Dimension 4 Object { $ObjectID 26 Type "edit" Name "Ki" Prompt "Ki=" Value "10" } Object { $ObjectID 27 Type "edit" Name "Ti" Prompt "Ti=" Value "0.3" } Object { $ObjectID 28 Type "edit" Name "LimitH" Prompt "LimitH=" Value "310" } Object { $ObjectID 29 Type "edit" Name "LimitL" Prompt "LimitL=" Value "-310" } PropName "Parameters" } } System { Name " " Location [311, 169, 869, 593] 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 "in_1" SID "7" Position [15, 145, 35, 165] ZOrder -1 IconDisplay "Port number" } Block { BlockType Gain Name "1" SID "8" Position [210, 62, 235, 88] ZOrder -2 Gain "Ki" } Block { BlockType Integrator Name "Integrator" SID "9" Ports [1, 1] Position [185, 140, 215, 170] ZOrder -3 LimitOutput on UpperSaturationLimit "LimitH" LowerSaturationLimit "LimitL" } Block { BlockType Gain Name "K/Ti" SID "10" Position [125, 142, 150, 168] ZOrder -4 Gain "Ki/Ti" } Block { BlockType Saturate Name "Saturation" SID "11" Ports [1, 1] Position [365, 123, 395, 147] ZOrder -5 InputPortMap "u0" UpperLimit "LimitH" LowerLimit "LimitL" } Block { BlockType Sum Name "Sum" SID "12" Ports [2, 1] Position [275, 125, 295, 145] ZOrder -6 } Block { BlockType Outport Name "out_1" SID "13" Position [440, 125, 460, 145] ZOrder -7 IconDisplay "Port number" InitialOutput "0" } Line { ZOrder 1 SrcBlock "K/Ti" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { ZOrder 2 SrcBlock "Integrator" SrcPort 1 Points [30, 0; 0, -15] DstBlock "Sum" DstPort 2 } Line { ZOrder 3 SrcBlock "in_1" SrcPort 1 Points [45, 0] Branch { ZOrder 4 Points [0, -80] DstBlock "1" DstPort 1 } Branch { ZOrder 5 DstBlock "K/Ti" DstPort 1 } } Line { ZOrder 6 SrcBlock "Sum" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { ZOrder 7 SrcBlock "1" SrcPort 1 Points [10, 0; 0, 55] DstBlock "Sum" DstPort 1 } Line { ZOrder 8 SrcBlock "Saturation" SrcPort 1 DstBlock "out_1" DstPort 1 } } } Block { BlockType SubSystem Name " d" SID "14" Ports [1, 1] Position [485, 60, 540, 100] ZOrder -6 NamePlacement "alternate" ShowPortLabels "none" RequestExecContextInheritance off Object { $PropName "MaskObject" $ObjectID 30 $ClassName "Simulink.Mask" Type "PI controller" Description "Pi controller" Help "Input: Error;\\nOutput: PI output;\\nParamemetrs: PI gain (Ki),\\n Time constant (Ti),\\n Limits (" "LimitH, LimitL)" Display "disp('PI\\ncontroller')" Array { Type "Simulink.MaskParameter" Dimension 4 Object { $ObjectID 31 Type "edit" Name "Ki" Prompt "Ki=" Value "10" } Object { $ObjectID 32 Type "edit" Name "Ti" Prompt "Ti=" Value "0.3" } Object { $ObjectID 33 Type "edit" Name "LimitH" Prompt "LimitH=" Value "320" } Object { $ObjectID 34 Type "edit" Name "LimitL" Prompt "LimitL=" Value "-320" } PropName "Parameters" } } System { Name " d" Location [39, 52, 628, 448] 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 "in_1" SID "15" Position [30, 145, 50, 165] ZOrder -1 IconDisplay "Port number" } Block { BlockType Gain Name "1" SID "16" Position [160, 82, 185, 108] ZOrder -2 Gain "Ki" } Block { BlockType Integrator Name "Integrator" SID "17" Ports [1, 1] Position [185, 140, 215, 170] ZOrder -3 LimitOutput on UpperSaturationLimit "LimitH" LowerSaturationLimit "LimitL" } Block { BlockType Gain Name "K/Ti" SID "18" Position [125, 142, 150, 168] ZOrder -4 Gain "Ki/Ti" } Block { BlockType Saturate Name "Saturation" SID "19" Ports [1, 1] Position [335, 123, 365, 147] ZOrder -5 InputPortMap "u0" UpperLimit "LimitH" LowerLimit "LimitL" } Block { BlockType Sum Name "Sum" SID "20" Ports [2, 1] Position [275, 125, 295, 145] ZOrder -6 } Block { BlockType Outport Name "out_1" SID "21" Position [405, 125, 425, 145] ZOrder -7 IconDisplay "Port number" InitialOutput "0" } Line { ZOrder 1 SrcBlock "Saturation" SrcPort 1 DstBlock "out_1" DstPort 1 } Line { ZOrder 2 SrcBlock "1" SrcPort 1 Points [60, 0; 0, 35] DstBlock "Sum" DstPort 1 } Line { ZOrder 3 SrcBlock "Sum" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { ZOrder 4 SrcBlock "in_1" SrcPort 1 Points [30, 0] Branch { ZOrder 5 DstBlock "K/Ti" DstPort 1 } Branch { ZOrder 6 Points [0, -60] DstBlock "1" DstPort 1 } } Line { ZOrder 7 SrcBlock "Integrator" SrcPort 1 Points [30, 0; 0, -15] DstBlock "Sum" DstPort 2 } Line { ZOrder 8 SrcBlock "K/Ti" SrcPort 1 DstBlock "Integrator" DstPort 1 } } } Block { BlockType Fcn Name "Fcn" SID "22" Position [240, 138, 365, 172] ZOrder -7 ShowName off Expr "2*Lr*u[2]/(3*p*Lm*u[1])" } Block { BlockType Fcn Name "Fcn1" SID "23" Position [240, 214, 370, 246] ZOrder -8 ShowName off Expr "2*Lr*u[2]/(3*p*Tr*u[1]*u[1])" } Block { BlockType Fcn Name "Fcn10" SID "24" Position [215, 413, 365, 447] ZOrder -9 ShowName off Expr "u(2)*cos(u(3))-u(1)*sin(u(3))" } Block { BlockType Fcn Name "Fcn2" SID "25" Position [240, 65, 300, 95] ZOrder -10 ShowName off Expr "u[1]/Lm" } Block { BlockType Fcn Name "Fcn3" SID "26" Position [640, 114, 770, 146] ZOrder -11 ShowName off Expr "u(1)*cos(u(3))-u(2)*sin(u(3))" } Block { BlockType Fcn Name "Fcn4" SID "27" Position [640, 163, 770, 197] ZOrder -12 ShowName off Expr "u(1)*sin(u(3))+u(2)*cos(u(3))" } Block { BlockType Fcn Name "Fcn9" SID "28" Position [215, 363, 365, 397] ZOrder -13 ShowName off Expr "u(1)*cos(u(3))+u(2)*sin(u(3))" } Block { BlockType SubSystem Name "Field weakening" SID "29" Ports [2, 1] Position [100, 86, 140, 119] ZOrder -14 RequestExecContextInheritance off System { Name "Field weakening" Location [-8, -8, 1654, 894] 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 "fi r* " SID "30" Position [35, 128, 65, 142] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "w" SID "31" Position [40, 173, 70, 187] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Constant Name "Constant" SID "32" Position [125, 235, 155, 265] ZOrder -3 NamePlacement "alternate" Value "wb" } Block { BlockType Fcn Name "Fcn" SID "33" Position [330, 140, 405, 170] ZOrder -4 ShowName off Expr "u(1)*wb/u(2)" } Block { BlockType Fcn Name "Fcn6" SID "34" Position [115, 165, 175, 195] ZOrder -5 ShowName off Expr "abs(u)" } Block { BlockType Mux Name "Mux" SID "35" Ports [2, 1] Position [305, 118, 310, 187] ZOrder -6 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Switch Name "Switch" SID "36" Position [230, 175, 260, 205] ZOrder -7 NamePlacement "alternate" Threshold "wb" } Block { BlockType Outport Name " " SID "37" Position [435, 148, 465, 162] ZOrder -8 IconDisplay "Port number" } Line { ZOrder 1 SrcBlock "w" SrcPort 1 DstBlock "Fcn6" DstPort 1 } Line { ZOrder 2 SrcBlock "Constant" SrcPort 1 Points [55, 0] DstBlock "Switch" DstPort 3 } Line { ZOrder 3 SrcBlock "Fcn6" SrcPort 1 Points [20, 0] Branch { ZOrder 4 DstBlock "Switch" DstPort 1 } Branch { ZOrder 5 Points [0, 10] DstBlock "Switch" DstPort 2 } } Line { ZOrder 6 SrcBlock "Mux" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { ZOrder 7 SrcBlock "Fcn" SrcPort 1 DstBlock " " DstPort 1 } Line { ZOrder 8 SrcBlock "fi r* " SrcPort 1 DstBlock "Mux" DstPort 1 } Line { ZOrder 9 SrcBlock "Switch" SrcPort 1 Points [10, 0; 0, -20] DstBlock "Mux" DstPort 2 } } } Block { BlockType Gain Name "Gain" SID "38" Position [155, 295, 185, 325] ZOrder -15 ShowName off Gain "p" } Block { BlockType Integrator Name "Integrator" SID "39" Ports [1, 1] Position [500, 215, 530, 245] ZOrder -16 ShowName off } Block { BlockType Mux Name "Mux" SID "40" Ports [2, 1] Position [195, 59, 200, 246] ZOrder -17 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" SID "41" Ports [3, 1] Position [605, 43, 610, 267] ZOrder -18 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux2" SID "42" Ports [2, 1] Position [160, 367, 165, 438] ZOrder -19 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" SID "43" Ports [2, 1] Position [795, 105, 800, 205] ZOrder -20 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType SubSystem Name "Speed\ncontroller" SID "44" Ports [1, 1] Position [120, 175, 170, 225] ZOrder -21 ShowPortLabels "none" RequestExecContextInheritance off Object { $PropName "MaskObject" $ObjectID 35 $ClassName "Simulink.Mask" Type "PI controller" Description "Pi controller" Help "Input: Error;\\nOutput: PI output;\\nParamemetrs: PI gain (Ki),\\n Time constant (Ti),\\n Limits (" "LimitH, LimitL)" Display "disp('PI\\ncontroller')" Array { Type "Simulink.MaskParameter" Dimension 4 Object { $ObjectID 36 Type "edit" Name "Ki" Prompt "Ki=" Value "40" } Object { $ObjectID 37 Type "edit" Name "Ti" Prompt "Ti=" Value "0.005" } Object { $ObjectID 38 Type "edit" Name "LimitH" Prompt "LimitH=" Value "200" } Object { $ObjectID 39 Type "edit" Name "LimitL" Prompt "LimitL=" Value "-200" } PropName "Parameters" } } System { Name "Speed\ncontroller" Location [93, 52, 651, 476] 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 "in_1" SID "45" Position [15, 145, 35, 165] ZOrder -1 IconDisplay "Port number" } Block { BlockType Gain Name "1" SID "46" Position [210, 62, 235, 88] ZOrder -2 Gain "Ki" } Block { BlockType Integrator Name "Integrator1" SID "47" Ports [1, 1] Position [185, 139, 215, 171] ZOrder -3 LimitOutput on UpperSaturationLimit "LimitH" LowerSaturationLimit "LimitL" } Block { BlockType Gain Name "K/Ti" SID "48" Position [125, 142, 150, 168] ZOrder -4 Gain "Ki/Ti" } Block { BlockType Saturate Name "Saturation" SID "49" Ports [1, 1] Position [365, 123, 395, 147] ZOrder -5 InputPortMap "u0" UpperLimit "LimitH" LowerLimit "LimitL" } Block { BlockType Sum Name "Sum" SID "50" Ports [2, 1] Position [275, 125, 295, 145] ZOrder -6 } Block { BlockType Outport Name "out_1" SID "51" Position [440, 125, 460, 145] ZOrder -7 IconDisplay "Port number" InitialOutput "0" } Line { ZOrder 1 SrcBlock "K/Ti" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { ZOrder 2 SrcBlock "Integrator1" SrcPort 1 Points [30, 0; 0, -15] DstBlock "Sum" DstPort 2 } Line { ZOrder 3 SrcBlock "in_1" SrcPort 1 Points [45, 0] Branch { ZOrder 4 Points [0, -80] DstBlock "1" DstPort 1 } Branch { ZOrder 5 DstBlock "K/Ti" DstPort 1 } } Line { ZOrder 6 SrcBlock "Sum" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { ZOrder 7 SrcBlock "1" SrcPort 1 Points [10, 0; 0, 55] DstBlock "Sum" DstPort 1 } Line { ZOrder 8 SrcBlock "Saturation" SrcPort 1 DstBlock "out_1" DstPort 1 } } } Block { BlockType Sum Name "Sum" SID "52" Ports [2, 1] Position [80, 190, 100, 210] ZOrder -22 ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Sum Name "Sum1" SID "53" Ports [2, 1] Position [460, 220, 480, 240] ZOrder -23 ShowName off IconShape "round" Inputs "|++" } Block { BlockType Sum Name "Sum2" SID "54" Ports [2, 1] Position [405, 70, 425, 90] ZOrder -24 ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Sum Name "Sum3" SID "55" Ports [2, 1] Position [430, 145, 450, 165] ZOrder -25 ShowName off IconShape "round" Inputs "|+-" } Block { BlockType TransferFcn Name "Transfer Fcn" SID "56" Position [315, 64, 365, 96] ZOrder -26 Numerator "[Tr 1]" Denominator "[4e-2 1]" } Block { BlockType Outport Name "V alpha beta" SID "57" Position [820, 148, 850, 162] ZOrder -27 IconDisplay "Port number" } Line { ZOrder 1 SrcBlock "w" SrcPort 1 Points [40, 0] Branch { ZOrder 65 DstBlock "Gain" DstPort 1 } Branch { ZOrder 2 DstBlock "Sum" DstPort 2 } } Line { ZOrder 4 SrcBlock "Mux2" SrcPort 1 Points [10, 0] Branch { ZOrder 5 Points [0, -25] DstBlock "Fcn9" DstPort 1 } Branch { ZOrder 6 Points [0, 25] DstBlock "Fcn10" DstPort 1 } } Line { ZOrder 7 SrcBlock " I alpha beta" SrcPort 1 DstBlock "Mux2" DstPort 1 } Line { ZOrder 8 SrcBlock "fi r *" SrcPort 1 DstBlock "Field weakening" DstPort 1 } Line { ZOrder 9 SrcBlock "Sum" SrcPort 1 DstBlock "Speed\ncontroller" DstPort 1 } Line { ZOrder 10 SrcBlock "Sum1" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { ZOrder 11 SrcBlock "Gain" SrcPort 1 Points [280, 0] DstBlock "Sum1" DstPort 2 } Line { ZOrder 12 SrcBlock "Fcn9" SrcPort 1 Points [45, 0] DstBlock "Sum2" DstPort 2 } Line { ZOrder 13 SrcBlock "Fcn10" SrcPort 1 Points [70, 0] DstBlock "Sum3" DstPort 2 } Line { ZOrder 14 SrcBlock "Sum2" SrcPort 1 DstBlock " d" DstPort 1 } Line { ZOrder 15 SrcBlock "Sum3" SrcPort 1 DstBlock " " DstPort 1 } Line { ZOrder 16 SrcBlock "Field weakening" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { ZOrder 17 SrcBlock "Speed\ncontroller" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { ZOrder 18 SrcBlock " " SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { ZOrder 19 SrcBlock "Integrator" SrcPort 1 Points [25, 0] Branch { ZOrder 74 Points [0, 239; -435, 0; 0, -49] DstBlock "Mux2" DstPort 2 } Branch { ZOrder 48 DstBlock "Mux1" DstPort 3 } } Line { ZOrder 22 SrcBlock " d" SrcPort 1 DstBlock "Mux1" DstPort 1 } Line { ZOrder 23 SrcBlock "Fcn2" SrcPort 1 DstBlock "Transfer Fcn" DstPort 1 } Line { ZOrder 24 SrcBlock "Mux" SrcPort 1 Points [15, 0] Branch { ZOrder 69 Points [0, -75] DstBlock "Fcn2" DstPort 1 } Branch { ZOrder 40 Points [0, 75] DstBlock "Fcn1" DstPort 1 } Branch { ZOrder 25 DstBlock "Fcn" DstPort 1 } } Line { ZOrder 28 SrcBlock "Fcn1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { ZOrder 29 SrcBlock "Fcn" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { ZOrder 30 SrcBlock "Transfer Fcn" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { ZOrder 31 SrcBlock "w *" SrcPort 1 Points [5, 0] Branch { ZOrder 71 Points [0, -90] DstBlock "Field weakening" DstPort 2 } Branch { ZOrder 32 DstBlock "Sum" DstPort 1 } } Line { ZOrder 34 SrcBlock "Fcn3" SrcPort 1 DstBlock "Mux3" DstPort 1 } Line { ZOrder 35 SrcBlock "Fcn4" SrcPort 1 DstBlock "Mux3" DstPort 2 } Line { ZOrder 36 SrcBlock "Mux3" SrcPort 1 DstBlock "V alpha beta" DstPort 1 } Line { ZOrder 37 SrcBlock "Mux1" SrcPort 1 Points [10, 0] Branch { ZOrder 55 DstBlock "Fcn3" DstPort 1 } Branch { ZOrder 53 DstBlock "Fcn4" DstPort 1 } } Annotation { SID "58" Name "Decupling network" Position [314, 41, 402, 56] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -1 } Annotation { SID "59" Name "d, q - alfa, beta" Position [701, 93, 781, 108] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -2 } Annotation { SID "60" Name "alpha, beta - d, q" Position [290, 346, 382, 361] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -3 } Annotation { SID "61" Name "id*" Position [377, 67, 392, 82] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -4 } Annotation { SID "62" Name "iq*" Position [385, 140, 400, 155] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -5 } Annotation { SID "63" Name "gama*" Position [386, 178, 419, 193] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -6 } Annotation { SID "64" Name "ud*" Position [561, 68, 579, 83] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -7 } Annotation { SID "65" Name "uq*" Position [561, 145, 579, 160] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -8 } Annotation { SID "66" Name "gama*+teta" Position [597, 355, 654, 370] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ZOrder -9 } } } Block { BlockType Fcn Name "Fcn" SID "67" Position [715, 90, 755, 110] ZOrder -2 ShowName off Expr "sqrt(u(1)*u(1)+u(2)*u(2))" } Block { BlockType Fcn Name "Fcn " SID "68" Position [715, 140, 755, 160] ZOrder -3 ShowName off Expr "sqrt(u(3)*u(3)+u(4)*u(4))" } Block { BlockType Scope Name "Flux (Wb)" SID "69" Ports [1] Position [785, 30, 815, 60] ZOrder -4 Floating off Location [486, 246, 1286, 554] Open off NumInputPorts "1" TickLabels "on" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off TimeRange "1.5 " YMin "-1.25" YMax "1.25" SaveToWorkspace on SaveName "flux" ScrollMode off } Block { BlockType Constant Name "Flux r * [Wb]" SID "70" Position [50, 84, 80, 106] ZOrder -5 Value "0.8" } Block { BlockType Scope Name "I alpha, beta (A)" SID "71" Ports [1] Position [785, 180, 815, 210] ZOrder -6 Floating off Location [11, 113, 811, 413] Open off NumInputPorts "1" TickLabels "on" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off YMin "-12.5" YMax "17.5" ScrollMode off } Block { BlockType Step Name "Load Torque [Nm]" SID "72" Position [395, 275, 415, 295] ZOrder -7 Time "0.5" Before "1" After "60" } Block { BlockType SubSystem Name "MI" SID "73" Ports [2, 4] Position [515, 103, 660, 347] ZOrder -8 ShowName off FontSize 14 RequestExecContextInheritance off Object { $PropName "MaskObject" $ObjectID 40 $ClassName "Simulink.Mask" Type "Parametrii masinii de inducie" Description "The induction machine model in dq frame" Initialization "sigma=1-Lm^2/(Ls*Lr);\na11=Rs/(sigma*Ls);\na12=Rs*(1-sigma)/(sigma*Lm);\na21=Rr*(1-sigma)/(sigma*Lm)" ";\na22=Rr/(sigma*Lr);\nc1=1/(sigma*Ls) ;\nc2=(sigma-1)/(sigma*Lm);\n" Display "disp('\\n');\ndisp('\\n Induction Machine');" IconOpaque "off" Array { Type "Simulink.MaskParameter" Dimension 8 Object { $ObjectID 41 Type "edit" Name "p" Prompt "perechi de poli" Value "2" } Object { $ObjectID 42 Type "edit" Name "Rs" Prompt "Rs" Value "0.3" } Object { $ObjectID 43 Type "edit" Name "Rr" Prompt "Rr" Value "0.25" } Object { $ObjectID 44 Type "edit" Name "Ls" Prompt "Ls" Value "0.0415" } Object { $ObjectID 45 Type "edit" Name "Lr" Prompt "Lr" Value "0.0412" } Object { $ObjectID 46 Type "edit" Name "Lm" Prompt "Lm" Value "0.0403" } Object { $ObjectID 47 Type "edit" Name "J" Prompt "Inertial moment" Value "0.1" } Object { $ObjectID 48 Type "edit" Name "B" Prompt "Friction coefficient" Value "0.02" } PropName "Parameters" } } System { Name "MI" Location [-8, -8, 1654, 894] 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 "Vabc" SID "74" Position [20, 198, 50, 212] ZOrder -1 IconDisplay "Port number" } Block { BlockType Inport Name "T load" SID "75" Position [35, 435, 65, 445] ZOrder -2 Port "2" IconDisplay "Port number" } Block { BlockType Fcn Name "Fc" SID "76" Position [285, 57, 435, 83] ZOrder -3 ShowName off Expr "u(6)-a11*u(1)+a12*u(3)" } Block { BlockType Fcn Name "Fcn1" SID "77" Position [290, 106, 440, 134] ZOrder -4 ShowName off Expr "u(7)-a11*u(2)+a12*u(4)" } Block { BlockType Fcn Name "Fcn2" SID "78" Position [290, 154, 440, 186] ZOrder -5 ShowName off Expr "a21*u(1)-a22*u(3)-p*u(5)*u(4)" } Block { BlockType Fcn Name "Fcn3" SID "79" Position [285, 205, 435, 235] ZOrder -6 ShowName off Expr "a21*u(2)-a22*u(4)+p*u(5)*u(3)" } Block { BlockType Fcn Name "Fcn4" SID "80" Position [290, 270, 440, 300] ZOrder -7 ShowName off Expr "c1*u(1)+c2*u(3)" } Block { BlockType Fcn Name "Fcn5" SID "81" Position [290, 316, 440, 344] ZOrder -8 ShowName off Expr "c1*u(2)+c2*u(4)" } Block { BlockType Fcn Name "Fcn6" SID "82" Position [290, 375, 435, 405] ZOrder -9 ShowName off Expr "1.5*p*c2*(u(1)*u(4)-u(2)*u(3))" } Block { BlockType Integrator Name "Integrator" SID "83" Ports [1, 1] Position [585, 130, 615, 160] ZOrder -10 } Block { BlockType Mux Name "Mux" SID "84" Ports [4, 1] Position [515, 41, 525, 249] ZOrder -11 ShowName off DisplayOption "bar" } Block { BlockType Mux Name "Mux2" SID "85" Ports [3, 1] Position [220, 67, 230, 233] ZOrder -12 ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" SID "86" Ports [2, 1] Position [665, 261, 670, 354] ZOrder -13 ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Sum Name "Sum7" SID "87" Ports [2, 1] Position [490, 380, 510, 400] ZOrder -14 ShowName off IconShape "round" Inputs "|+-" } Block { BlockType TransferFcn Name "Transfer Fcn4" SID "88" Position [535, 372, 595, 408] ZOrder -15 ShowName off Denominator "[J B]" } Block { BlockType Outport Name "flux" SID "89" Position [730, 28, 760, 42] ZOrder -16 IconDisplay "Port number" } Block { BlockType Outport Name "i " SID "90" Position [730, 304, 760, 316] ZOrder -17 Port "2" IconDisplay "Port number" } Block { BlockType Outport Name "w" SID "91" Position [730, 383, 760, 397] ZOrder -18 Port "3" IconDisplay "Port number" } Block { BlockType Outport Name "Te" SID "92" Position [730, 423, 760, 437] ZOrder -19 Port "4" IconDisplay "Port number" } Line { ZOrder 1 SrcBlock "Fc" SrcPort 1 DstBlock "Mux" DstPort 1 } Line { ZOrder 2 SrcBlock "Fcn1" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { ZOrder 3 SrcBlock "Fcn2" SrcPort 1 DstBlock "Mux" DstPort 3 } Line { ZOrder 4 SrcBlock "Fcn3" SrcPort 1 DstBlock "Mux" DstPort 4 } Line { ZOrder 5 SrcBlock "Mux2" SrcPort 1 Points [15, 0] Branch { ZOrder 7 Points [0, -30] Branch { ZOrder 6 Points [0, -50] DstBlock "Fc" DstPort 1 } Branch { ZOrder 8 DstBlock "Fcn1" DstPort 1 } } Branch { ZOrder 9 Points [0, 20] Branch { ZOrder 10 DstBlock "Fcn2" DstPort 1 } Branch { ZOrder 11 Points [0, 50] Branch { ZOrder 12 DstBlock "Fcn3" DstPort 1 } Branch { ZOrder 13 Points [0, 65] Branch { ZOrder 14 DstBlock "Fcn4" DstPort 1 } Branch { ZOrder 15 Points [0, 45] Branch { ZOrder 16 Points [0, 60] DstBlock "Fcn6" DstPort 1 } Branch { ZOrder 17 DstBlock "Fcn5" DstPort 1 } } } } } } Line { ZOrder 18 SrcBlock "Mux" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { ZOrder 19 SrcBlock "Integrator" SrcPort 1 Points [30, 0; 0, -110] Branch { ZOrder 20 DstBlock "flux" DstPort 1 } Branch { ZOrder 21 Points [0, -10; -460, 0; 0, 70] DstBlock "Mux2" DstPort 1 } } Line { ZOrder 22 SrcBlock "Sum7" SrcPort 1 DstBlock "Transfer Fcn4" DstPort 1 } Line { ZOrder 23 SrcBlock "T load" SrcPort 1 Points [430, 0] DstBlock "Sum7" DstPort 2 } Line { ZOrder 24 SrcBlock "Fcn6" SrcPort 1 Points [15, 0] Branch { ZOrder 25 DstBlock "Sum7" DstPort 1 } Branch { ZOrder 26 Points [0, 40] DstBlock "Te" DstPort 1 } } Line { ZOrder 27 SrcBlock "Fcn5" SrcPort 1 DstBlock "Mux3" DstPort 2 } Line { ZOrder 28 SrcBlock "Transfer Fcn4" SrcPort 1 Points [90, 0] Branch { ZOrder 29 DstBlock "w" DstPort 1 } Branch { ZOrder 30 Labels [3, 0] Points [0, -375; -515, 0; 0, 135] DstBlock "Mux2" DstPort 2 } } Line { ZOrder 31 SrcBlock "Mux3" SrcPort 1 DstBlock "i " DstPort 1 } Line { ZOrder 32 SrcBlock "Fcn4" SrcPort 1 DstBlock "Mux3" DstPort 1 } Line { ZOrder 33 SrcBlock "Vabc" SrcPort 1 DstBlock "Mux2" DstPort 3 } } } Block { BlockType Constant Name "Reference speed (rad/s)" SID "93" Position [50, 130, 80, 160] ZOrder -9 Value "100" } Block { BlockType Scope Name "Rotor flux (Wb)" SID "94" Ports [1] Position [785, 135, 815, 165] ZOrder -10 Floating off Location [11, 178, 811, 480] Open off NumInputPorts "1" TickLabels "on" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off YMin "0.796816" YMax "0.796822" ScrollMode off } Block { BlockType Scope Name "Speed (rad/s)" SID "95" Ports [1] Position [785, 240, 815, 270] ZOrder -11 Floating off Location [11, 283, 815, 594] Open off NumInputPorts "1" TickLabels "on" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off YMin "200.001" YMax "200.003" SaveName "speed" ScrollMode off } Block { BlockType Scope Name "Stator flux (Wb)" SID "96" Ports [1] Position [785, 85, 815, 115] ZOrder -12 Floating off Location [11, 156, 811, 454] Open off NumInputPorts "1" TickLabels "on" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off YMin "0.82484" YMax "0.825" ScrollMode off } Block { BlockType Scope Name "Torque (Nm)" SID "97" Ports [1] Position [785, 300, 815, 330] ZOrder -13 Floating off Location [11, 125, 811, 403] Open off NumInputPorts "1" TickLabels "on" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off YMin "4.05" YMax "4.22" SaveName "ScopeData2" ScrollMode off } Block { BlockType Scope Name "Vabc" SID "99" Ports [1] Position [450, 99, 480, 131] ZOrder 1 Floating off Location [1, 49, 1647, 885] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } List { ListType ScopeGraphics FigureColor "[0.5 0.5 0.5]" AxesColor "[0 0 0]" AxesTickColor "[1 1 1]" LineColors "[1 1 0;1 0 1;0 1 1;1 0 0;0 1 0;0 0 1]" LineStyles "-|-|-|-|-|-" LineWidths "[0.5 0.5 0.5 0.5 0.5 0.5]" MarkerStyles "none|none|none|none|none|none" } ShowLegends off SaveName "ScopeData1" ScrollMode off } Line { ZOrder 1 SrcBlock "Flux r * [Wb]" SrcPort 1 Points [40, 0; 0, 10] DstBlock " " DstPort 1 } Line { ZOrder 2 SrcBlock "Reference speed (rad/s)" SrcPort 1 DstBlock " " DstPort 2 } Line { ZOrder 3 SrcBlock "Load Torque [Nm]" SrcPort 1 DstBlock "MI" DstPort 2 } Line { ZOrder 4 SrcBlock " " SrcPort 1 Points [34, 0] Branch { ZOrder 21 Points [0, -50] DstBlock "Vabc" DstPort 1 } Branch { ZOrder 20 DstBlock "MI" DstPort 1 } } Line { ZOrder 5 SrcBlock "Fcn" SrcPort 1 DstBlock "Stator flux (Wb)" DstPort 1 } Line { ZOrder 6 SrcBlock "Fcn " SrcPort 1 DstBlock "Rotor flux (Wb)" DstPort 1 } Line { ZOrder 7 SrcBlock "MI" SrcPort 1 Points [20, 0] Branch { ZOrder 19 Points [15, 0] Branch { ZOrder 10 DstBlock "Fcn" DstPort 1 } Branch { ZOrder 8 DstBlock "Fcn " DstPort 1 } } Branch { ZOrder 11 Points [0, -90] DstBlock "Flux (Wb)" DstPort 1 } } Line { ZOrder 12 SrcBlock "MI" SrcPort 3 Points [55, 0] Branch { ZOrder 13 DstBlock "Speed (rad/s)" DstPort 1 } Branch { ZOrder 14 Points [0, 125; -585, 0; 0, -195] DstBlock " " DstPort 3 } } Line { ZOrder 15 SrcBlock "MI" SrcPort 4 DstBlock "Torque (Nm)" DstPort 1 } Line { ZOrder 16 SrcBlock "MI" SrcPort 2 Points [35, 0] Branch { ZOrder 17 DstBlock "I alpha, beta (A)" DstPort 1 } Branch { ZOrder 18 Points [0, 170; -545, 0] DstBlock " " DstPort 4 } } Annotation { SID "98" Name "Vector Control of Induction Machine" Position [401, 35, 695, 60] InternalMargins [0, 0, 0, 0] FixedHeight off FixedWidth off ForegroundColor "blue" ZOrder -1 FontName "Times New Roman" FontSize 20 } } }