Model { Name "synchronmotor" Version 7.0 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.28" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Wed Sep 23 08:43:33 2009" Creator "Besitzer" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Besitzer" ModifiedDateFormat "%" LastModifiedDate "Thu Sep 24 15:45:58 2009" RTWModifiedTimeStamp 0 ModelVersionFormat "1.%" ConfigurationManager "None" SimulationMode "normal" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.3.0" Array { Type "Handle" Dimension 8 Simulink.SolverCC { $ObjectID 2 Version "1.3.0" StartTime "0.0" StopTime "10" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-3" SolverMode "Auto" Solver "ode15s" SolverName "ode15s" ZeroCrossControl "UseLocalSettings" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.3.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on InspectSignalLogs off SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Array { Type "Cell" Dimension 5 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "InitFltsAndDblsToZero" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } Version "1.3.0" BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnforceIntegerDowncast on ExpressionFolding on ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off EfficientFloat2IntCast off OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off } Simulink.DebuggingCC { $ObjectID 5 Version "1.3.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 CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" StrictBusMsg "Warning" LoggingUnavailableSignals "error" } Simulink.HardwareCC { $ObjectID 6 Version "1.3.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.3.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Array { Type "Cell" Dimension 2 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" PropName "DisabledProps" } Version "1.3.0" 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 IncludeHyperlinkInReport off LaunchReport off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off RTWCompilerOptimization "Off" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Array { Type "Cell" Dimension 16 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" PropName "DisabledProps" } Version "1.3.0" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Array { Type "Cell" Dimension 15 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "PortableWordSizes" PropName "DisabledProps" } Version "1.3.0" TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on CompOptLevelCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on EnableShiftOperators on ParenthesesLevel "Nominal" PortableWordSizes off ModelStepFunctionPrototypeControlCompliant 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 11 Description "HDL Coder custom configuration component" Version "1.3.0" Name "HDL Coder" Array { Type "Cell" Dimension 1 Cell "" PropName "HDLConfigFile" } HDLCActiveTab "0" } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType BusCreator Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType BusSelector OutputAsBus off } Block { BlockType Clock DisplayTime off } Block { BlockType DataTypeConversion OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit via back propagation" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off ConvertRealWorld "Real World Value (RWV)" RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Demux Outputs "4" DisplayOption "none" BusSelectionMode off } Block { BlockType Derivative LinearizePole "inf" } Block { BlockType ElementaryMath Operator "sin" } Block { BlockType EnablePort StatesWhenEnabling "held" ShowOutputPort off ZeroCross on } Block { BlockType From IconDisplay "Tag" } Block { BlockType Fcn Expr "sin(u[1])" SampleTime "-1" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParameterDataTypeMode "Same as input" ParameterDataType "fixdt(1,16,0)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "[]" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Goto IconDisplay "Tag" } Block { BlockType Ground } Block { BlockType HitCross HitCrossingOffset "0" HitCrossingDirection "either" ShowOutputPort on ZeroCross on SampleTime "-1" } Block { BlockType Inport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on ContinuousStateAttributes "''" } Block { BlockType Logic Operator "AND" Inputs "2" IconShape "rectangular" AllPortsSameDT on OutDataTypeMode "Logical (see Configuration Parameters: Optimization)" LogicDataType "uint(8)" SampleTime "-1" } Block { BlockType Memory X0 "0" InheritSampleTime off LinearizeMemory off LinearizeAsDelay off StateMustResolveToSignalObject off RTWStateStorageClass "Auto" } Block { BlockType MultiPortSwitch Inputs "4" zeroidx off InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit via internal rule" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType PMComponent SubClassName "unknown" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Scope ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "-1" } Block { BlockType Selector NumberOfDimensions "1" IndexMode "One-based" InputPortWidth "-1" 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 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" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit via internal rule" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" } Block { BlockType Terminator } Block { BlockType TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" ContinuousStateAttributes "''" Realization "auto" } Block { BlockType PMIOPort } Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit from 'Constant value'" OutDataType "fixdt(1,16,0)" ConRadixGroup "Use specified scaling" OutScaling "[]" SampleTime "inf" FramePeriod "inf" } Block { BlockType Lookup InputValues "[-4:5]" Table " rand(1,10)-0.5" LookUpMeth "Interpolation-Extrapolation" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" LUTDesignTableMode "Redesign Table" LUTDesignDataSource "Block Dialog" LUTDesignFunctionName "sqrt(x)" LUTDesignUseExistingBP on LUTDesignRelError "0.01" LUTDesignAbsError "1e-6" } Block { BlockType RelationalOperator Operator ">=" InputSameDT on LogicOutDataTypeMode "Logical (see Configuration Parameters: Optimization)" LogicDataType "uint(8)" ZeroCross on SampleTime "-1" } Block { BlockType Sin SineType "Time based" TimeSource "Use simulation time" Amplitude "1" Bias "0" Frequency "1" Phase "0" Samples "10" Offset "0" SampleTime "-1" VectorParams1D on } Block { BlockType Trigonometry Operator "sin" OutputSignalType "auto" SampleTime "-1" } } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Arial" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "synchronmotor" Location [2, 78, 1398, 966] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Scope Name "Drehzahl" Ports [4] Position [740, 282, 780, 358] Floating off Location [-2, 50, 790, 926] Open on NumInputPorts "4" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" } TimeRange "2" YMin "-0.002575~-0.002575~-4773.5~-300" YMax "-0.00225~-0.00225~-4772.3~75" SaveName "simout" DataFormat "StructureWithTime" LimitDataPoints off Decimation "25" SampleTime "0" } Block { BlockType Scope Name "Rotorwinkel" Ports [4] Position [740, 197, 775, 268] Floating off Location [732, 55, 1412, 931] Open on NumInputPorts "4" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" } TimeRange "2" YMin "-20~-100~-20~-5" YMax "20~400~20~5" SaveName "simout1" DataFormat "StructureWithTime" LimitDataPoints off Decimation "25" SampleTime "0" } Block { BlockType Scope Name "Scope" Ports [1] Position [205, 159, 235, 191] Floating off Location [1, 52, 1401, 985] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType SubSystem Name "Simpower" Ports [1, 4] Position [395, 323, 515, 397] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off Port { PortNumber 1 Name "Simpower" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "Simpower" PropagatedSignals "Rotor angle thetam (rad)" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "Uq" PropagatedSignals "Stator voltage Vs_q (V)" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "Ud" PropagatedSignals "Stator voltage Vs_d (V)" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "Simpower" Location [261, 738, 967, 954] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Tm" Position [195, 28, 225, 42] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType BusSelector Name "Bus\nSelector" Ports [1, 4] Position [380, 52, 385, 123] ShowName off OutputSignals "Rotor speed wm (rad/s),Rotor angle thetam (rad),Stator voltage Vs_q (V),Stator voltage Vs_d (V)" Port { PortNumber 1 Name "" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 3 Name "" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 4 Name "" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain" Position [535, 18, 580, 52] ShowName off Gain "30/pi" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Reference Name "Ground" Ports [0, 0, 0, 0, 0, 1] Position [24, 110, 46, 135] Orientation "down" ShowName off DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Elements/Ground" SourceType "Ground" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" } Block { BlockType Reference Name "Permanent Magnet\nSynchronous Machine" Ports [1, 1, 0, 0, 0, 3] Position [270, 28, 355, 102] DialogController "POWERSYS.PowerSysDialog" FontSize 11 SourceBlock "powerlib/Machines/Permanent Magnet\nSynchronous Machine" SourceType "Permanent Magnet Synchronous Machine" 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" FluxDistribution "Sinusoidal" MechanicalLoad "Torque Tm" PresetModel "No" ShowDetailedParameters on Resistance "8" Inductance "8.5e-3" dqInductances "[10.2e-3, 10.2e-3]" Flux "589.5e-6" Flat "120" Mechanical "[7.5e-4, 5e-3, 8]" PolePairs "4" } Block { BlockType Reference Name "Three-Phase\nProgrammable\nVoltage Source" Ports [0, 0, 0, 0, 0, 1, 3] Position [80, 47, 130, 103] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Electrical\nSources/Three-Phase\nProgrammable\nVoltage Source" SourceType "Three-Phase Programmable 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" PositiveSequence "[10 0 50]" VariationEntity "None" VariationType "Step" VariationStep "0.5" VariationRate "10" VariationMagnitude "0.3" VariationFrequency "2" VariationTiming "[1 2]" VariationPhaseA off Amplitudes "[1 0.8 1.2 1.0]" TimeValues "[0 0.1 0.15 0.2]" HarmonicGeneration off HarmonicA "[3 0.2 -25 0]" HarmonicB "[2 0.15 35 2]" Timing "[0.05 3]" } Block { BlockType Outport Name "Roto speed" Position [615, 28, 645, 42] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Roto angle" Position [615, 78, 645, 92] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Uq" Position [615, 108, 645, 122] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Ud" Position [620, 143, 650, 157] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Tm" SrcPort 1 DstBlock "Permanent Magnet\nSynchronous Machine" DstPort 1 } Line { SrcBlock "Permanent Magnet\nSynchronous Machine" SrcPort 1 Points [5, 0] DstBlock "Bus\nSelector" DstPort 1 } Line { Name "" Labels [0, 0] SrcBlock "Bus\nSelector" SrcPort 2 Points [0, 5] DstBlock "Roto angle" DstPort 1 } Line { LineType "Connection" SrcBlock "Permanent Magnet\nSynchronous Machine" SrcPort LConn1 DstBlock "Three-Phase\nProgrammable\nVoltage Source" DstPort RConn1 } Line { LineType "Connection" SrcBlock "Permanent Magnet\nSynchronous Machine" SrcPort LConn2 DstBlock "Three-Phase\nProgrammable\nVoltage Source" DstPort RConn2 } Line { LineType "Connection" SrcBlock "Permanent Magnet\nSynchronous Machine" SrcPort LConn3 DstBlock "Three-Phase\nProgrammable\nVoltage Source" DstPort RConn3 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Roto speed" DstPort 1 } Line { Name "" Labels [0, 0] SrcBlock "Bus\nSelector" SrcPort 1 Points [0, -30] DstBlock "Gain" DstPort 1 } Line { LineType "Connection" SrcBlock "Ground" SrcPort LConn1 Points [0, -20] DstBlock "Three-Phase\nProgrammable\nVoltage Source" DstPort LConn1 } Line { Name "" Labels [0, 0] SrcBlock "Bus\nSelector" SrcPort 3 Points [105, 0; 0, 20] DstBlock "Uq" DstPort 1 } Line { Name "" Labels [0, 0] SrcBlock "Bus\nSelector" SrcPort 4 Points [95, 0; 0, 40] DstBlock "Ud" DstPort 1 } } } Block { BlockType Sin Name "Sine Wave" Ports [0, 1] Position [85, 265, 115, 295] SineType "Time based" Amplitude "10" Frequency "0.766" Phase "pi" SampleTime "0" } Block { BlockType Sin Name "Sine Wave1" Ports [0, 1] Position [85, 315, 115, 345] SineType "Time based" Amplitude "10" Frequency "50" Phase "1/3*pi" SampleTime "0" } Block { BlockType Sin Name "Sine Wave2" Ports [0, 1] Position [85, 360, 115, 390] SineType "Time based" Amplitude "10" Frequency "50" Phase "2/3*pi" SampleTime "0" } Block { BlockType Reference Name "Torque" Ports [0, 1] Position [75, 201, 120, 219] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib_extras/Control \nBlocks/Timer" SourceType "Timer" 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" t "[1 3]" e "[1 -1]" } Block { BlockType SubSystem Name "aus Formeln hergeleitet" Ports [3, 2] Position [410, 80, 500, 180] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off Port { PortNumber 1 Name "aus Formeln hergeleitet" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "aus Formeln hergeleitet" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "aus Formeln hergeleitet" Location [347, 129, 1177, 637] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Usd" Position [25, 58, 55, 72] IconDisplay "Port number" } Block { BlockType Inport Name "Usq" Position [30, 383, 60, 397] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "Lastmoment" Position [420, 398, 450, 412] Port "3" IconDisplay "Port number" } Block { BlockType Sum Name "Addierer" Ports [2, 1] Position [80, 57, 110, 88] CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Addierer1" Ports [3, 1] Position [85, 374, 115, 406] Inputs "+--" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType TransferFcn Name "I-Glied" Position [540, 370, 610, 430] Numerator "[7.5e-4]" Denominator "[1 0]" } Block { BlockType TransferFcn Name "I-Glied_1" Position [695, 375, 750, 425] Denominator "[1 0]" } Block { BlockType Gain Name "P-Glied" Position [160, 137, 225, 193] Orientation "left" NamePlacement "alternate" Gain "10.2e-3" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "P-Glied_1" Position [160, 242, 225, 298] Orientation "left" NamePlacement "alternate" Gain "10.2e-3" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "P-Glied_2" Position [340, 362, 405, 418] Gain "7.182e-3" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType TransferFcn Name "PT-1-Glied" Position [160, 45, 230, 105] Numerator "[0.125]" Denominator "[1.275e-3 1]" } Block { BlockType TransferFcn Name "PT-1-Glied_1" Position [165, 360, 235, 420] Numerator "[0.125]" Denominator "[1.275e-3 1]" } Block { BlockType Product Name "Product" Ports [2, 1] Position [340, 147, 370, 178] Orientation "left" NamePlacement "alternate" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [350, 252, 380, 283] Orientation "left" NamePlacement "alternate" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Subtract" Ports [2, 1] Position [475, 382, 505, 413] Inputs "+-" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Rotorwinkel" Position [775, 393, 805, 407] IconDisplay "Port number" } Block { BlockType Outport Name "Drehzahl" Position [720, 268, 750, 282] Port "2" IconDisplay "Port number" } Line { SrcBlock "Product" SrcPort 1 DstBlock "P-Glied" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "P-Glied_1" DstPort 1 } Line { SrcBlock "Addierer" SrcPort 1 DstBlock "PT-1-Glied" DstPort 1 } Line { SrcBlock "P-Glied" SrcPort 1 Points [-100, 0; 0, -85] DstBlock "Addierer" DstPort 2 } Line { SrcBlock "PT-1-Glied" SrcPort 1 Points [65, 0; 0, 150; 95, 0] DstBlock "Product1" DstPort 1 } Line { SrcBlock "PT-1-Glied_1" SrcPort 1 Points [40, 0] Branch { Points [0, -205; 105, 0] DstBlock "Product" DstPort 2 } Branch { DstBlock "P-Glied_2" DstPort 1 } } Line { SrcBlock "Addierer1" SrcPort 1 DstBlock "PT-1-Glied_1" DstPort 1 } Line { SrcBlock "P-Glied_1" SrcPort 1 Points [-95, 0; 0, 110] DstBlock "Addierer1" DstPort 1 } Line { SrcBlock "P-Glied_2" SrcPort 1 DstBlock "Subtract" DstPort 1 } Line { SrcBlock "Subtract" SrcPort 1 DstBlock "I-Glied" DstPort 1 } Line { SrcBlock "I-Glied" SrcPort 1 Points [45, 0] Branch { DstBlock "I-Glied_1" DstPort 1 } Branch { Points [0, 0] Branch { Points [0, -125] Branch { DstBlock "Product1" DstPort 2 } Branch { Points [0, 0] Branch { Points [0, -120] DstBlock "Product" DstPort 1 } Branch { DstBlock "Drehzahl" DstPort 1 } } } Branch { Points [0, 85; -600, 0; 0, -85] DstBlock "Addierer1" DstPort 3 } } } Line { SrcBlock "Usd" SrcPort 1 DstBlock "Addierer" DstPort 1 } Line { SrcBlock "Usq" SrcPort 1 DstBlock "Addierer1" DstPort 2 } Line { SrcBlock "I-Glied_1" SrcPort 1 DstBlock "Rotorwinkel" DstPort 1 } Line { SrcBlock "Lastmoment" SrcPort 1 DstBlock "Subtract" DstPort 2 } Annotation { Name "K=1/Rph\nT=Lph/Rph" Position [194, 27] } Annotation { Name "P=Lph" Position [179, 197] } Annotation { Name "P=Lph" Position [189, 302] } Annotation { Name "K=1/Rph\nT=Lph/Rph" Position [199, 342] } Annotation { Name "isd" Position [251, 63] } Annotation { Name "isq" Position [255, 378] } Annotation { Name "mM" Position [430, 380] } Annotation { Name "3*p*mag.Fluss/2" Position [371, 350] } Annotation { Name "Drehzahl" Position [635, 394] } Annotation { Name "Rotorwinkel" Position [784, 384] } } } Block { BlockType SubSystem Name "idela\nd/q- Transformation" Ports [3, 2] Position [140, 274, 235, 386] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off System { Name "idela\nd/q- Transformation" Location [261, 396, 559, 626] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Ua" Position [35, 23, 65, 37] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "Ub" Position [30, 93, 60, 107] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "Uc" Position [30, 158, 60, 172] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [145, 127, 220, 193] Gain "sqrt(3)/2" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" Position [150, 12, 190, 48] Gain "3/2" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Subtract" Ports [2, 1] Position [95, 142, 125, 173] Inputs "-+" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Usd" Position [230, 23, 260, 37] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Usq" Position [235, 153, 265, 167] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Subtract" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Usq" DstPort 1 } Line { SrcBlock "Uc" SrcPort 1 DstBlock "Subtract" DstPort 2 } Line { SrcBlock "Ub" SrcPort 1 Points [15, 0] DstBlock "Subtract" DstPort 1 } Line { SrcBlock "Ua" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Usd" DstPort 1 } } } Block { BlockType Reference Name "powergui" Ports [] Position [15, 15, 75, 39] UserDataPersistent on UserData "DataTag0" FontSize 11 SourceBlock "powerlib/powergui" SourceType "PSB option menu block" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimulationMode "Continuous" SampleTime "50e-6" echomessages off RestoreLinks "warning" x0status "blocks" Frange "[0:2:500]" Ylog off Xlog on ShowGrid off save off variable "ZData" ZoomFFT on StartTime "0.0" cycles "1" DisplayStyle "1" fundamental "60" FreqAxis off MaxFrequency "1000" frequencyindice "50" frequencyindicesteady "1" RmsSteady "1" display off Ts "0" frequency "60" methode off HookPort off Interpol off SPID off FunctionMessages off } Block { BlockType SubSystem Name "vom Buch elektrische Antriebe 1 Grundlagen" Ports [2, 2] Position [400, 425, 515, 525] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off Port { PortNumber 1 Name "elektrische Antriebe 1 Grundlagen" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "elektrische Antriebe 1 Grundlagen" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "vom Buch elektrische Antriebe 1 Grundlagen" Location [277, 232, 1340, 600] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Usq" Position [15, 283, 45, 297] IconDisplay "Port number" } Block { BlockType Inport Name "Lastmoment" Position [583, 70, 597, 100] Orientation "down" NamePlacement "alternate" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Sum Name "Addierer1" Ports [2, 1] Position [70, 266, 100, 299] Inputs "-+" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Addierer2" Ports [2, 1] Position [615, 256, 645, 289] Inputs "-+" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Constant Name "Hauptflussdes Permanentmagneten1" Position [265, 15, 325, 65] Orientation "down" NamePlacement "alternate" Value "589.5e-6" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType TransferFcn Name "I-Glied1" Position [145, 262, 200, 308] Numerator "[1.275e-3]" Denominator "[1.275e-3 0]" } Block { BlockType TransferFcn Name "I-Glied2" Position [680, 250, 735, 300] Denominator "[7.5e-4 0]" } Block { BlockType TransferFcn Name "I-Glied3" Position [850, 256, 895, 294] Denominator "[1 0]" } Block { BlockType Gain Name "P-Glied_1" Position [485, 155, 520, 195] Orientation "left" NamePlacement "alternate" Gain "8" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "P-Glied_2" Position [345, 257, 410, 313] Gain "1/10.2e-3" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "P-Glied_3" Position [520, 252, 585, 308] Gain "(3/2)*8" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [455, 262, 485, 293] CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [230, 152, 260, 183] Orientation "left" NamePlacement "alternate" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "Drehzahl" Position [808, 295, 822, 325] Orientation "down" NamePlacement "alternate" IconDisplay "Port number" } Block { BlockType Outport Name "Rotorwinkel" Position [958, 295, 972, 325] Orientation "down" NamePlacement "alternate" Port "2" IconDisplay "Port number" } Line { SrcBlock "I-Glied1" SrcPort 1 DstBlock "P-Glied_2" DstPort 1 } Line { SrcBlock "Addierer1" SrcPort 1 DstBlock "I-Glied1" DstPort 1 } Line { SrcBlock "Product1" SrcPort 1 Points [-180, 0; 0, 105] DstBlock "Addierer1" DstPort 1 } Line { SrcBlock "P-Glied_2" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "P-Glied_3" DstPort 1 } Line { SrcBlock "Usq" SrcPort 1 DstBlock "Addierer1" DstPort 2 } Line { SrcBlock "P-Glied_3" SrcPort 1 DstBlock "Addierer2" DstPort 2 } Line { SrcBlock "Addierer2" SrcPort 1 DstBlock "I-Glied2" DstPort 1 } Line { SrcBlock "P-Glied_1" SrcPort 1 DstBlock "Product1" DstPort 2 } Line { SrcBlock "I-Glied2" SrcPort 1 Points [25, 0] Branch { Points [0, -100] DstBlock "P-Glied_1" DstPort 1 } Branch { Points [50, 0] Branch { DstBlock "Drehzahl" DstPort 1 } Branch { DstBlock "I-Glied3" DstPort 1 } } } Line { SrcBlock "Hauptflussdes Permanentmagneten1" SrcPort 1 Points [0, 90] Branch { DstBlock "Product1" DstPort 1 } Branch { Points [0, 70; 145, 0] DstBlock "Product" DstPort 1 } } Line { SrcBlock "Lastmoment" SrcPort 1 Points [0, 160] DstBlock "Addierer2" DstPort 1 } Line { SrcBlock "I-Glied3" SrcPort 1 Points [65, 0] DstBlock "Rotorwinkel" DstPort 1 } Annotation { Name "Startorfluß in q- System" Position [275, 273] } Annotation { Name "1/Js" Position [718, 334] } Annotation { Name "induzierte Spannung" Position [93, 158] } } } Block { BlockType SubSystem Name "vom internet Feldorientierte Regelung" Ports [3, 2] Position [400, 201, 505, 299] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off Port { PortNumber 1 Name "Feldorientierte Regelung" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } Port { PortNumber 2 Name "Feldorientierte Regelung" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "vom internet Feldorientierte Regelung" Location [2, 82, 1055, 464] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Usd" Position [15, 113, 45, 127] IconDisplay "Port number" } Block { BlockType Inport Name "Usq" Position [20, 263, 50, 277] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "M" Position [683, 95, 697, 125] Orientation "down" NamePlacement "alternate" Port "3" IconDisplay "Port number" } Block { BlockType Sum Name "Addierer" Ports [2, 1] Position [115, 112, 145, 143] Inputs "+-" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Addierer1" Ports [2, 1] Position [125, 262, 155, 293] Inputs "+-" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType TransferFcn Name "I-Glied" Position [770, 120, 840, 180] Numerator "[7.5e-4]" Denominator "[1 0]" } Block { BlockType TransferFcn Name "I-Glied_1" Position [180, 105, 235, 155] Numerator "[10.2e-3]" Denominator "[1 0]" } Block { BlockType TransferFcn Name "I-Glied_2" Position [190, 255, 245, 305] Numerator "[10.2e-3]" Denominator "[1 0]" } Block { BlockType TransferFcn Name "I-Glied_3" Position [875, 120, 945, 180] Denominator "[1 0]" } Block { BlockType Gain Name "Polpaarzahl" Position [630, 140, 660, 170] Gain "8" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Polpaarzahl_1" Position [650, 20, 680, 50] Orientation "left" NamePlacement "alternate" Gain "8" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [535, 137, 565, 168] CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Rph" Position [185, 195, 215, 225] Orientation "left" NamePlacement "alternate" Gain "8" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Rph1" Position [195, 345, 225, 375] Orientation "left" NamePlacement "alternate" Gain "8" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType SubSystem Name "Subsystem" Ports [3, 2] Position [335, 130, 465, 240] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off System { Name "Subsystem" Location [587, 129, 1102, 524] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" Block { BlockType Inport Name "Rotoabstand" Position [238, 25, 252, 55] Orientation "down" NamePlacement "alternate" IconDisplay "Port number" } Block { BlockType Inport Name "In2" Position [45, 158, 75, 172] Port "2" IconDisplay "Port number" } Block { BlockType Inport Name "In3" Position [25, 338, 55, 352] Port "3" IconDisplay "Port number" } Block { BlockType Sum Name "Addierer2" Ports [2, 1] Position [405, 167, 435, 198] Inputs "+-" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Addierer3" Ports [2, 1] Position [395, 332, 425, 363] CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product" Ports [2, 1] Position [150, 157, 180, 188] CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [150, 337, 180, 368] CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" Ports [2, 1] Position [280, 207, 310, 238] CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product3" Ports [2, 1] Position [280, 282, 310, 313] CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Trigonometry Name "Trigonometric\nFunction" Ports [1, 1] Position [230, 85, 260, 115] Orientation "down" NamePlacement "alternate" Operator "cos" } Block { BlockType Trigonometry Name "Trigonometric\nFunction1" Ports [1, 1] Position [330, 85, 360, 115] Orientation "down" NamePlacement "alternate" } Block { BlockType Outport Name "Out1" Position [460, 178, 490, 192] IconDisplay "Port number" } Block { BlockType Outport Name "Out2" Position [450, 343, 480, 357] Port "2" IconDisplay "Port number" } Line { SrcBlock "Rotoabstand" SrcPort 1 Points [0, 5] Branch { DstBlock "Trigonometric\nFunction" DstPort 1 } Branch { Points [100, 0] DstBlock "Trigonometric\nFunction1" DstPort 1 } } Line { SrcBlock "Trigonometric\nFunction" SrcPort 1 Points [0, 130; -110, 0] Branch { DstBlock "Product" DstPort 2 } Branch { DstBlock "Product1" DstPort 2 } } Line { SrcBlock "Trigonometric\nFunction1" SrcPort 1 Points [0, 150; -80, 0] Branch { DstBlock "Product2" DstPort 2 } Branch { DstBlock "Product3" DstPort 2 } } Line { SrcBlock "Product" SrcPort 1 DstBlock "Addierer2" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [75, 0] DstBlock "Addierer2" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Addierer3" DstPort 2 } Line { SrcBlock "Product3" SrcPort 1 Points [30, 0; 0, 40] DstBlock "Addierer3" DstPort 1 } Line { SrcBlock "In2" SrcPort 1 Points [15, 0] Branch { DstBlock "Product" DstPort 1 } Branch { Points [0, 125] DstBlock "Product3" DstPort 1 } } Line { SrcBlock "In3" SrcPort 1 Points [15, 0] Branch { DstBlock "Product1" DstPort 1 } Branch { Points [0, -130] DstBlock "Product2" DstPort 1 } } Line { SrcBlock "Addierer2" SrcPort 1 DstBlock "Out1" DstPort 1 } Line { SrcBlock "Addierer3" SrcPort 1 DstBlock "Out2" DstPort 1 } } } Block { BlockType Sum Name "Subtract" Ports [2, 1] Position [715, 132, 745, 163] Inputs "-+" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Terminator Name "Terminator" Position [490, 205, 510, 225] } Block { BlockType Constant Name "mag. Fluss * f" Position [450, 57, 500, 103] Value "589.5e-6" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "Rotorabstand" Position [980, 143, 1010, 157] IconDisplay "Port number" } Block { BlockType Outport Name "Drehzahl" Position [895, 203, 925, 217] Port "2" IconDisplay "Port number" } Line { SrcBlock "Addierer" SrcPort 1 DstBlock "I-Glied_1" DstPort 1 } Line { SrcBlock "Usd" SrcPort 1 DstBlock "Addierer" DstPort 1 } Line { SrcBlock "Rph" SrcPort 1 Points [-90, 0; 0, -75] DstBlock "Addierer" DstPort 2 } Line { SrcBlock "I-Glied_1" SrcPort 1 Points [10, 0] Branch { Points [0, 80] DstBlock "Rph" DstPort 1 } Branch { Labels [0, 0] Points [25, 0; 0, 55] DstBlock "Subsystem" DstPort 2 } } Line { SrcBlock "Addierer1" SrcPort 1 DstBlock "I-Glied_2" DstPort 1 } Line { SrcBlock "Usq" SrcPort 1 DstBlock "Addierer1" DstPort 1 } Line { SrcBlock "Rph1" SrcPort 1 Points [-90, 0; 0, -75] DstBlock "Addierer1" DstPort 2 } Line { SrcBlock "I-Glied_2" SrcPort 1 Points [10, 0] Branch { Points [0, 80] DstBlock "Rph1" DstPort 1 } Branch { Labels [0, 0] Points [0, -60] DstBlock "Subsystem" DstPort 3 } } Line { SrcBlock "Subsystem" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Polpaarzahl" DstPort 1 } Line { SrcBlock "Polpaarzahl" SrcPort 1 DstBlock "Subtract" DstPort 2 } Line { SrcBlock "M" SrcPort 1 Points [0, 10] DstBlock "Subtract" DstPort 1 } Line { SrcBlock "mag. Fluss * f" SrcPort 1 Points [15, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Subtract" SrcPort 1 DstBlock "I-Glied" DstPort 1 } Line { SrcBlock "I-Glied" SrcPort 1 Points [5, 0] Branch { DstBlock "I-Glied_3" DstPort 1 } Branch { Points [0, 60] DstBlock "Drehzahl" DstPort 1 } } Line { SrcBlock "I-Glied_3" SrcPort 1 Points [10, 0] Branch { Points [0, -115] DstBlock "Polpaarzahl_1" DstPort 1 } Branch { DstBlock "Rotorabstand" DstPort 1 } } Line { SrcBlock "Polpaarzahl_1" SrcPort 1 Points [-340, 0; 0, 115] DstBlock "Subsystem" DstPort 1 } Line { SrcBlock "Subsystem" SrcPort 2 DstBlock "Terminator" DstPort 1 } Annotation { Name "Lph" Position [205, 95] } Annotation { Name "Lph" Position [215, 245] } } } Line { SrcBlock "Sine Wave2" SrcPort 1 Points [0, -10] DstBlock "idela\nd/q- Transformation" DstPort 3 } Line { SrcBlock "Sine Wave1" SrcPort 1 DstBlock "idela\nd/q- Transformation" DstPort 2 } Line { SrcBlock "Sine Wave" SrcPort 1 Points [0, 15] DstBlock "idela\nd/q- Transformation" DstPort 1 } Line { Name "aus Formeln hergeleitet" Labels [0, 0] SrcBlock "aus Formeln hergeleitet" SrcPort 2 Points [180, 0; 0, 135] DstBlock "Drehzahl" DstPort 1 } Line { Name "Feldorientierte Regelung" Labels [0, 0] SrcBlock "vom internet Feldorientierte Regelung" SrcPort 2 Points [165, 0; 0, 35] DstBlock "Drehzahl" DstPort 2 } Line { Name "Simpower" Labels [0, 0] SrcBlock "Simpower" SrcPort 1 DstBlock "Drehzahl" DstPort 3 } Line { Name "Feldorientierte Regelung" Labels [0, 0] SrcBlock "vom internet Feldorientierte Regelung" SrcPort 1 DstBlock "Rotorwinkel" DstPort 2 } Line { Name "aus Formeln hergeleitet" Labels [0, 0] SrcBlock "aus Formeln hergeleitet" SrcPort 1 Points [165, 0; 0, 105] DstBlock "Rotorwinkel" DstPort 1 } Line { Name "Simpower" Labels [0, 0] SrcBlock "Simpower" SrcPort 2 Points [175, 0; 0, -110] DstBlock "Rotorwinkel" DstPort 3 } Line { Name "elektrische Antriebe 1 Grundlagen" Labels [0, 0] SrcBlock "vom Buch elektrische Antriebe 1 Grundlagen" SrcPort 1 Points [205, 0] DstBlock "Drehzahl" DstPort 4 } Line { Name "elektrische Antriebe 1 Grundlagen" Labels [0, 0] SrcBlock "vom Buch elektrische Antriebe 1 Grundlagen" SrcPort 2 Points [195, 0; 0, -245] DstBlock "Rotorwinkel" DstPort 4 } Line { SrcBlock "idela\nd/q- Transformation" SrcPort 1 Points [35, 0; 0, -85] Branch { Points [0, -125] DstBlock "aus Formeln hergeleitet" DstPort 1 } Branch { DstBlock "vom internet Feldorientierte Regelung" DstPort 1 } } Line { SrcBlock "idela\nd/q- Transformation" SrcPort 2 Points [80, 0] Branch { Points [0, -110] Branch { Points [0, -120] DstBlock "aus Formeln hergeleitet" DstPort 2 } Branch { DstBlock "vom internet Feldorientierte Regelung" DstPort 2 } } Branch { Points [0, 90] DstBlock "vom Buch elektrische Antriebe 1 Grundlagen" DstPort 1 } } Line { SrcBlock "Torque" SrcPort 1 Points [55, 0] Branch { Points [75, 0; 0, 0] Branch { Points [0, -45] DstBlock "aus Formeln hergeleitet" DstPort 3 } Branch { Points [0, 70] Branch { Points [0, 65] Branch { Points [0, 155] DstBlock "vom Buch elektrische Antriebe 1 Grundlagen" DstPort 2 } Branch { Points [0, 0; 80, 0; 0, 15] DstBlock "Simpower" DstPort 1 } } Branch { DstBlock "vom internet Feldorientierte Regelung" DstPort 3 } } } Branch { Points [0, -35] DstBlock "Scope" DstPort 1 } } } } MatData { NumRecords 1 DataRecord { Tag DataTag0 Data " %)30 . X ( 8 ( @ % \" $ ! 0 % 0 # $ !X <&]W97)G=6D FUE=&5R 9F9T=&]O;