Model { Name "s29R4V12" Version 4.0 SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Wed Oct 15 08:19:48 2003" Creator "joel" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "joel" ModifiedDateFormat "%" LastModifiedDate "Thu Apr 24 11:15:44 2008" ModelVersionFormat "1.%" ConfigurationManager "None" SimulationMode "normal" LinearizationMsg "none" Profile off AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" RecordCoverage off CovPath "/" CovSaveName "covdata" CovNameIncrementing off CovHtmlReporting on ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeLogAll on BufferReuse on Solver "ode45" SolverMode "Auto" StartTime "0.0" StopTime "0.35" MaxOrder 5 MaxStep "0.02" MinStep "auto" MaxNumMinSteps "-1" InitialStep "auto" FixedStep "auto" RelTol "1e-3" AbsTol "auto" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" LoadExternalInput off ExternalInput "[t, u]" LoadInitialState off InitialState "xInitial" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" SaveFinalState off FinalStateName "xFinal" SaveFormat "Array" Decimation "1" LimitDataPoints on MaxDataPoints "1000" ConsistencyChecking "none" ArrayBoundsChecking "none" AlgebraicLoopMsg "warning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" InheritedTsInSrcMsg "warning" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" CheckForMatrixSingularity "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SfunCompatibilityCheckMsg "none" RTWInlineParameters off BlockReductionOpt on BooleanDataType on OptimizeBlockIOStorage on RTWSystemTargetFile "grt.tlc" RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off RTWRetainRTWFile off TLCProfiler off TLCDebug off TLCCoverage off RTWOptions "-aEnforceIntegerDowncast=1 -aFoldNonRolledExpr=1 -a" "InlineInvariantSignals=0 -aInlineParameters=0 -aLocalBlockOutputs=1 -aRollThr" "eshold=5 -aZeroInternalMemoryAtStartup=1 -aZeroExternalMemoryAtStartup=1 -aIn" "itFltsAndDblsToZero=1 -aGenerateReport=0 -aGenCodeOnly=0 -aRTWVerbose=1 -aInc" "ludeHyperlinkInReport=0 -aLaunchReport=0 -aForceParamTrailComments=0 -aGenera" "teComments=1 -aIgnoreCustomStorageClasses=1 -aIncHierarchyInIds=0 -aMaxRTWIdL" "en=31 -aShowEliminatedStatements=0 -aPrefixModelToSubsysFcnNames=1 -aIncDataT" "ypeInIds=0 -aInsertBlockDesc=0 -aSimulinkBlockComments=1 -aInlinedPrmAccess=" "\"Literals\" -aSuppressErrorStatus=0 -aModelReferenceCompliant=1 -aParenthes" "esLevel=\"Nominal\" -aModelStepFunctionPrototypeControlCompliant=0 -aPortable" "WordSizes=0 -aSupportNonInlinedSFcns=1 -aSupportContinuousTime=1 -aSupportCom" "plex=1 -aSupportNonFinite=1 -aSupportAbsoluteTime=1 -aTargetPreCompLibLocatio" "n=\"\" -aTargetLibSuffix=\"\" -aTargetFcnLib=\"ansi_tfl_tmw.mat\" -aMultiInst" "anceERTCode=0 -aLogVarNameModifier=\"rt_\" -aIsPILTarget=0 -aCombineOutputUpd" "ateFcns=0 -aGenerateASAP2=0 -aGenerateClassInterface=0 -aGenerateTestInterfac" "es=0 -aGenerateSampleERTMain=0 -aGenerateFullHeader=1 -aUtilityFuncGeneration" "=\"Auto\" -aIncludeFileDelimiter=\"Auto\" -aIncludeMdlTerminateFcn=1 -aPurely" "IntegerCode=0 -aERTCustomFileBanners=0 -aRTWCAPIStates=0 -aRTWCAPIParams=0 -a" "RTWCAPISignals=0 -aMatFileLogging=1 -aGenFloatMathFcnCalls=\"ANSI_C\" -aExtMo" "deMexFile=\"ext_comm\" -aExtModeTransport=0 -aExtModeStaticAllocSize=1000000 " "-aExtModeTesting=0 -aExtModeStaticAlloc=0 -aExtMode=0 " BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on } Block { BlockType Display Format "short" Decimation "10" Floating off SampleTime "-1" } Block { BlockType Fcn Expr "sin(u[1])" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" SaturateOnIntegerOverflow on } Block { BlockType Inport Port "1" PortDimensions "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" ContinuousStateAttributes "''" } Block { BlockType Mux Inputs "4" DisplayOption "none" } Block { BlockType Outport Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" SaturateOnIntegerOverflow on } Block { BlockType Scope 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 Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on } Block { BlockType SubSystem Permissions "ReadWrite" TreatAsAtomicUnit off RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off } Block { BlockType Sum IconShape "rectangular" Inputs "++" SaturateOnIntegerOverflow on } Block { BlockType ToFile Filename "untitled.mat" MatrixName "ans" Decimation "1" SampleTime "-1" } Block { BlockType Trigonometry Operator "sin" OutputSignalType "auto" } } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "tp154456" Location [466, 316, 1486, 966] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Gain Name "180/3.1416" Position [880, 233, 925, 267] Gain "57.3" } Block { BlockType Gain Name "3.1416/180" Position [766, 170, 864, 200] Orientation "down" NamePlacement "alternate" Gain "0.017453" } Block { BlockType Scope Name "Angular Acceleration" Ports [1] Position [625, 130, 655, 160] Orientation "up" Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData10" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Constant Name "E_qp0" Position [10, 169, 70, 201] Value "1.037" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [740, 235, 770, 265] } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [660, 235, 690, 265] } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [557, 515, 628, 525] Orientation "down" NamePlacement "alternate" ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Product Name "Product" Ports [2, 1] Position [335, 306, 380, 339] } Block { BlockType Product Name "Product1" Ports [2, 1] Position [340, 156, 385, 189] } Block { BlockType SubSystem Name "S/G Electrical" Ports [5, 4] Position [170, 92, 260, 398] RTWSystemCode "Auto" System { Name "S/G Electrical" Location [6, 94, 1018, 616] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "v_fd" Position [25, 158, 55, 172] } Block { BlockType Inport Name "E_qp0" Position [25, 218, 55, 232] Port "2" } Block { BlockType Inport Name "w_re" Position [540, 188, 570, 202] Port "3" } Block { BlockType Inport Name "|V_dq|" Position [875, 200, 905, 210] Orientation "left" NamePlacement "alternate" Port "4" } Block { BlockType Inport Name "delta" Position [990, 195, 1020, 205] Orientation "left" NamePlacement "alternate" Port "5" } Block { BlockType Gain Name "1/Ra" Position [180, 88, 260, 122] Gain "1/0.005" } Block { BlockType Gain Name "1/Ra1" Position [185, 268, 265, 302] Gain "1/0.005" } Block { BlockType Product Name "Product" Ports [2, 1] Position [620, 286, 665, 319] } Block { BlockType Product Name "Product1" Ports [2, 1] Position [620, 106, 665, 139] } Block { BlockType SubSystem Name "S/G field and psi equations" Ports [4, 2] Position [345, 76, 465, 314] RTWSystemCode "Auto" System { Name "S/G field and psi equations" Location [-2, 78, 1010, 748] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Inport Name "I_qs" Position [445, 493, 475, 507] Orientation "left" } Block { BlockType Inport Name "V_fd" Position [25, 133, 55, 147] Port "2" } Block { BlockType Inport Name "E_qp0" Position [310, 50, 340, 60] Orientation "down" NamePlacement "alternate" Port "3" } Block { BlockType Inport Name "I_ds" Position [785, 278, 815, 292] Orientation "left" Port "4" } Block { BlockType Gain Name "-L_q" Position [355, 477, 420, 523] Orientation "left" Gain "-1.08" } Block { BlockType Gain Name "1/T_d0p" Position [220, 123, 275, 157] Gain "1/6.0" } Block { BlockType Scope Name "E_qp" Ports [1] Position [400, 45, 430, 75] Orientation "up" Floating off Location [5, 53, 1029, 743] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } YMin "0" YMax "1.2" SaveName "ScopeData4" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Fcn Name "Fcn" Position [350, 190, 410, 220] Orientation "down" NamePlacement "alternate" Expr "u(1)+ 0.035*u(1)^7.45" } Block { BlockType Scope Name "I_ds Scope" Ports [1] Position [630, 319, 660, 351] Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData1" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [170, 125, 200, 155] } Block { BlockType Gain Name "L_d - L_dp" Position [465, 259, 520, 311] Orientation "left" Gain "0.909" } Block { BlockType Gain Name "L_dp" Position [542, 185, 598, 240] Orientation "up" Gain "0.241" } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [560, 130, 580, 150] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [80, 130, 100, 150] ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [370, 275, 390, 295] Orientation "left" NamePlacement "alternate" ShowName off IconShape "round" Inputs "++|" } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [315, 130, 335, 150] ShowName off IconShape "round" Inputs "++|" } Block { BlockType Scope Name "integrand" Ports [1] Position [120, 25, 150, 55] Orientation "up" Floating off Location [188, 365, 512, 604] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData2" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Display Name "psi_ds Display" Ports [1] Position [605, 70, 695, 100] Orientation "up" Decimation "1" } Block { BlockType Outport Name "psi_ds" Position [790, 132, 820, 148] } Block { BlockType Outport Name "psi_qs" Position [300, 493, 330, 507] Orientation "left" Port "2" } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 0; 30, 0] Branch { DstBlock "Integrator" DstPort 1 } Branch { DstBlock "integrand" DstPort 1 } } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "1/T_d0p" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 Points [-275, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "I_ds" SrcPort 1 Points [-145, 0; -15, 0] Branch { Points [-5, 0] DstBlock "I_ds Scope" DstPort 1 } Branch { Points [-35, 0] Branch { Points [-15, 0] DstBlock "L_dp" DstPort 1 } Branch { DstBlock "L_d - L_dp" DstPort 1 } } } Line { SrcBlock "L_dp" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 Points [0, 0; 65, 0] Branch { DstBlock "psi_ds Display" DstPort 1 } Branch { DstBlock "psi_ds" DstPort 1 } } Line { SrcBlock "V_fd" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "I_qs" SrcPort 1 DstBlock "-L_q" DstPort 1 } Line { SrcBlock "-L_q" SrcPort 1 DstBlock "psi_qs" DstPort 1 } Line { SrcBlock "1/T_d0p" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "E_qp0" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 Points [40, 0] Branch { Points [35, 0] Branch { DstBlock "Sum" DstPort 1 } Branch { DstBlock "E_qp" DstPort 1 } } Branch { DstBlock "Fcn" DstPort 1 } } Line { SrcBlock "Fcn" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "L_d - L_dp" SrcPort 1 DstBlock "Sum2" DstPort 2 } } } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [710, 85, 730, 105] Orientation "up" ShowName off IconShape "round" Inputs "|+-" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [710, 335, 730, 355] Orientation "down" NamePlacement "alternate" ShowName off IconShape "round" Inputs "|--" } Block { BlockType Scope Name "V_fd1" Ports [1] Position [210, 180, 240, 210] Orientation "down" NamePlacement "alternate" Floating off Location [1, 49, 1025, 739] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } YMin "0" YMax "1.2" SaveName "ScopeData7" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Trigonometry Name "cos(delta)" Ports [1, 1] Position [890, 70, 920, 100] Orientation "left" NamePlacement "alternate" Operator "cos" } Block { BlockType Scope Name "i_ds1" Ports [1] Position [300, 335, 330, 365] Orientation "down" NamePlacement "alternate" Floating off Location [6, 53, 510, 365] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData5" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "i_qs2" Ports [1] Position [270, 55, 300, 85] Orientation "up" Floating off Location [5, 53, 1029, 743] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData6" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "psi_ds1" Ports [1] Position [510, 65, 540, 95] Orientation "up" Floating off Location [5, 53, 1029, 743] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "psi_qs1" Ports [1] Position [525, 335, 555, 365] Orientation "down" NamePlacement "alternate" Floating off Location [1, 49, 1025, 739] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData3" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Trigonometry Name "sin(delta)" Ports [1, 1] Position [890, 335, 920, 365] Orientation "left" NamePlacement "alternate" } Block { BlockType Product Name "|V_dq|*sin(delta)" Ports [2, 1] Position [775, 325, 825, 360] Orientation "left" NamePlacement "alternate" } Block { BlockType Product Name "|Vdq|*cos(delta)" Ports [2, 1] Position [775, 75, 825, 110] Orientation "left" NamePlacement "alternate" } Block { BlockType Outport Name "psi_ds" Position [530, 128, 560, 142] } Block { BlockType Outport Name "i_qs" Position [295, 130, 325, 140] Orientation "down" NamePlacement "alternate" Port "2" } Block { BlockType Outport Name "psi_qs" Position [545, 248, 575, 262] Port "3" } Block { BlockType Outport Name "i_ds" Position [280, 255, 310, 265] Orientation "up" Port "4" } Line { SrcBlock "delta" SrcPort 1 Points [0, 0; -25, 0] Branch { Points [0, 150] DstBlock "sin(delta)" DstPort 1 } Branch { Points [0, -115] DstBlock "cos(delta)" DstPort 1 } } Line { SrcBlock "|V_dq|" SrcPort 1 Points [0, 0; -10, 0] Branch { Points [0, 130] DstBlock "|V_dq|*sin(delta)" DstPort 1 } Branch { Points [0, -105] DstBlock "|Vdq|*cos(delta)" DstPort 2 } } Line { SrcBlock "v_fd" SrcPort 1 Points [0, 0; 165, 0] Branch { DstBlock "V_fd1" DstPort 1 } Branch { DstBlock "S/G field and psi equations" DstPort 2 } } Line { SrcBlock "E_qp0" SrcPort 1 DstBlock "S/G field and psi equations" DstPort 3 } Line { SrcBlock "w_re" SrcPort 1 Points [0, 0; 20, 0] Branch { Points [0, 100] DstBlock "Product" DstPort 1 } Branch { Points [0, -65] DstBlock "Product1" DstPort 2 } } Line { SrcBlock "1/Ra1" SrcPort 1 Points [0, 0; 20, 0] Branch { Points [25, 0] Branch { DstBlock "S/G field and psi equations" DstPort 4 } Branch { DstBlock "i_ds1" DstPort 1 } } Branch { Points [5, 0] DstBlock "i_ds" DstPort 1 } } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 40; -600, 0; 0, -115] DstBlock "1/Ra1" DstPort 1 } Line { SrcBlock "|V_dq|*sin(delta)" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Product" SrcPort 1 Points [50, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [0, -50; -620, 0; 0, 75] DstBlock "1/Ra" DstPort 1 } Line { SrcBlock "1/Ra" SrcPort 1 Points [0, 0; 20, 0] Branch { DstBlock "i_qs2" DstPort 1 } Branch { Points [25, 0] Branch { DstBlock "S/G field and psi equations" DstPort 1 } Branch { DstBlock "i_qs" DstPort 1 } } } Line { SrcBlock "Product1" SrcPort 1 Points [50, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "|Vdq|*cos(delta)" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "sin(delta)" SrcPort 1 DstBlock "|V_dq|*sin(delta)" DstPort 2 } Line { SrcBlock "cos(delta)" SrcPort 1 DstBlock "|Vdq|*cos(delta)" DstPort 1 } Line { SrcBlock "S/G field and psi equations" SrcPort 1 Points [0, 0; 10, 0] Branch { Points [10, 0; 0, -20; 35, 0; 0, -10] Branch { Points [0, 10] DstBlock "Product1" DstPort 1 } Branch { DstBlock "psi_ds1" DstPort 1 } } Branch { DstBlock "psi_ds" DstPort 1 } } Line { SrcBlock "S/G field and psi equations" SrcPort 2 Points [40, 0] Branch { Points [0, 55; 30, 0] Branch { DstBlock "Product" DstPort 2 } Branch { DstBlock "psi_qs1" DstPort 1 } } Branch { DstBlock "psi_qs" DstPort 1 } } } } Block { BlockType Sum Name "Sum" Ports [2, 1] Position [450, 240, 470, 260] ShowName off IconShape "round" Inputs "+|-" } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [520, 240, 540, 260] ShowName off IconShape "round" Inputs "+-|" } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [805, 240, 825, 260] ShowName off IconShape "round" Inputs "++|" } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [105, 295, 125, 315] ShowName off IconShape "round" Inputs "|++" } Block { BlockType Scope Name "T_a" Ports [1] Position [530, 295, 560, 325] Orientation "down" NamePlacement "alternate" Floating off Location [5, 53, 1029, 743] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData12" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "T_e" Ports [1] Position [465, 360, 495, 390] Orientation "down" NamePlacement "alternate" Floating off Location [5, 53, 1029, 743] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } YMin "0" YMax "0.6" SaveName "ScopeData11" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Constant Name "T_m" Position [515, 90, 545, 120] Orientation "down" NamePlacement "alternate" Value "0.5" } Block { BlockType ToFile Name "To File" Position [428, 550, 762, 580] Orientation "down" NamePlacement "alternate" Filename "c:\\JLAW\\CLASSES\\ECE 520 Spring 2008\\S08HAND" "OUTS\\Constant FLux Linkages\\s29.mat" } Block { BlockType Constant Name "V_fd" Position [45, 110, 75, 140] Value "1.511" } Block { BlockType Scope Name "delta" Ports [1] Position [965, 234, 995, 266] Floating off Location [5, 53, 1029, 743] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } YMin "0" YMax "35" SaveName "ScopeData9" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Constant Name "delta0" Position [787, 90, 843, 120] Orientation "down" NamePlacement "alternate" Value "22.095" } Block { BlockType Scope Name "deltaW" Ports [1] Position [800, 325, 830, 355] Orientation "down" NamePlacement "alternate" Floating off Location [5, 53, 1029, 743] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData8" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Gain Name "w_b/(2H)" Position [560, 230, 635, 270] Gain "377/(2*3.5)" } Block { BlockType Constant Name "w_re" Position [40, 230, 70, 260] } Block { BlockType Step Name "|V_dq|" Position [40, 290, 70, 320] Time "0" Before "1" After "0" SampleTime "0" } Block { BlockType Step Name "|V_dq|1" Position [35, 375, 65, 405] Time "100" After "1.0" SampleTime "0" } Line { SrcBlock "V_fd" SrcPort 1 DstBlock "S/G Electrical" DstPort 1 } Line { SrcBlock "E_qp0" SrcPort 1 DstBlock "S/G Electrical" DstPort 2 } Line { SrcBlock "w_re" SrcPort 1 DstBlock "S/G Electrical" DstPort 3 } Line { SrcBlock "S/G Electrical" SrcPort 1 Points [20, 0; 0, 30] DstBlock "Product1" DstPort 1 } Line { SrcBlock "S/G Electrical" SrcPort 2 Points [20, 0; 0, -30] DstBlock "Product1" DstPort 2 } Line { SrcBlock "S/G Electrical" SrcPort 3 Points [20, 0; 0, 30] DstBlock "Product" DstPort 1 } Line { SrcBlock "S/G Electrical" SrcPort 4 Points [20, 0; 0, -30] DstBlock "Product" DstPort 2 } Line { SrcBlock "Product1" SrcPort 1 Points [70, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [75, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Sum" SrcPort 1 Points [5, 0] Branch { DstBlock "Sum1" DstPort 2 } Branch { Points [0, 90] Branch { DstBlock "T_e" DstPort 1 } Branch { Points [55, 0; 0, 160] DstBlock "Mux" DstPort 1 } } } Line { SrcBlock "T_m" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 0] Branch { DstBlock "w_b/(2H)" DstPort 1 } Branch { DstBlock "T_a" DstPort 1 } } Line { SrcBlock "w_b/(2H)" SrcPort 1 Points [-10, 0; 10, 0] Branch { DstBlock "Integrator1" DstPort 1 } Branch { DstBlock "Angular Acceleration" DstPort 1 } } Line { SrcBlock "Integrator1" SrcPort 1 Points [25, 0] Branch { DstBlock "Integrator" DstPort 1 } Branch { Points [0, 60; 15, 0] Branch { DstBlock "deltaW" DstPort 1 } Branch { Points [0, 60; -125, 0] DstBlock "Mux" DstPort 2 } } } Line { SrcBlock "Integrator" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 Points [10, 0] Branch { DstBlock "180/3.1416" DstPort 1 } Branch { Points [0, 235; -690, 0; 0, -120] DstBlock "S/G Electrical" DstPort 5 } } Line { SrcBlock "3.1416/180" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "delta0" SrcPort 1 DstBlock "3.1416/180" DstPort 1 } Line { SrcBlock "180/3.1416" SrcPort 1 DstBlock "delta" DstPort 1 } Line { SrcBlock "|V_dq|" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "S/G Electrical" DstPort 4 } Line { SrcBlock "|V_dq|1" SrcPort 1 Points [45, 0] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "To File" DstPort 1 } Annotation { Text "T_e" Position [489, 231] } } }