Model { Name "secondary_control" Version 7.6 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.21" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "windows-1252" SaveDefaultBlockParams on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" DataTypeOverrideAppliesTo "AllNumericTypes" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" MaxMDLFileLineLength 120 InitFcn "secondary_control_dat" Created "Mon Mar 31 21:38:14 2014" Creator "Pablo" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Pablo" ModifiedDateFormat "%" LastModifiedDate "Tue Apr 01 15:16:57 2014" RTWModifiedTimeStamp 318266216 ModelVersionFormat "1.%" ConfigurationManager "None" SampleTimeColors off SampleTimeAnnotations off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowSignalResolutionIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off SimulationMode "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 CovForceBlockReductionOff on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on CovModelRefEnable "Off" CovExternalEMLEnable off ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.10.0" Array { Type "Handle" Dimension 8 Simulink.SolverCC { $ObjectID 2 Version "1.10.0" StartTime "0.0" StopTime "20" 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" 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 3 Version "1.10.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveCompleteFinalSimState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on DSMLogging on InspectSignalLogs off SaveTime on ReturnWorkspaceOutputs off StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" DSMLoggingName "dsmout" OutputOption "RefineOutputTimes" OutputTimes "[]" ReturnWorkspaceOutputsName "out" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Version "1.10.0" 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 on ConditionallyExecuteInputs on InlineParams off UseIntDivNetSlope off UseSpecifiedMinMax off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnhancedBackFolding off StrengthReduction off ExpressionFolding on BooleansAsBitfields off BitfieldContainerType "uint_T" EnableMemcpy on MemcpyThreshold 64 PassReuseOutputArgsAs "Structure reference" ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero off NoFixptDivByZeroProtection off EfficientFloat2IntCast off EfficientMapNaN2IntZero on OptimizeModelRefInitCode off LifeSpan "inf" MaxStackSize "Inherit from target" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off } Simulink.DebuggingCC { $ObjectID 5 Version "1.10.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "warning" CheckSSInitialOutputMsg on UnderspecifiedInitializationDetection "Classic" MergeDetectMultiDrivingBlocksExec "none" CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" MaskedZcDiagnostic "warning" IgnoredZcDiagnostic "warning" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" FixptConstUnderflowMsg "none" FixptConstOverflowMsg "none" FixptConstPrecisionLossMsg "none" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceMultiInstanceNormalModeStructChecksumCheck "error" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" SimStateInterfaceChecksumMismatchMsg "warning" InitInArrayFormatMsg "warning" StrictBusMsg "ErrorLevel1" BusNameAdapt "WarnAndRepair" NonBusSignalsTreatedAsBus "none" LoggingUnavailableSignals "error" BlockIODiagnostic "none" SFUnusedDataAndEventsDiag "warning" SFUnexpectedBacktrackingDiag "warning" SFInvalidInputDataAccessInChartInitDiag "warning" SFNoUnconditionalDefaultTransitionDiag "warning" SFTransitionOutsideNaturalParentDiag "warning" } Simulink.HardwareCC { $ObjectID 6 Version "1.10.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdBitPerFloat 32 ProdBitPerDouble 64 ProdBitPerPointer 32 ProdLargestAtomicInteger "Char" ProdLargestAtomicFloat "None" ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetBitPerFloat 32 TargetBitPerDouble 64 TargetBitPerPointer 32 TargetLargestAtomicInteger "Char" TargetLargestAtomicFloat "None" TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.10.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" EnableParallelModelReferenceBuilds off ParallelModelReferenceErrorOnInvalidPool on ParallelModelReferenceMATLABWorkerInit "None" ModelReferenceNumInstancesAllowed "Multi" PropagateVarSize "Infer from blocks in model" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off PropagateSignalLabelsOutOfModel off SupportModelReferenceSimTargetCustomCode off } Simulink.SFSimCC { $ObjectID 8 Version "1.10.0" SFSimEnableDebug on SFSimOverflowDetection on SFSimEcho on SimBlas on SimCtrlC on SimExtrinsic on SimIntegrity on SimUseLocalCustomCode off SimParseCustomCode on SimBuildMode "sf_incremental_build" } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 9 Version "1.10.0" Array { Type "Cell" Dimension 7 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" Cell "GenerateTraceReport" Cell "GenerateTraceReportSl" Cell "GenerateTraceReportSf" Cell "GenerateTraceReportEml" Cell "GenerateSLWebview" PropName "DisabledProps" } SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on TemplateMakefile "grt_default_tmf" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off RTWUseLocalCustomCode off RTWUseSimCustomCode off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off GenerateTraceReport off GenerateTraceReportSl off GenerateTraceReportSf off GenerateTraceReportEml off GenerateCodeInfo off GenerateSLWebview off RTWCompilerOptimization "Off" CheckMdlBeforeBuild "Off" CustomRebuildMode "OnUpdate" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 10 Version "1.10.0" Array { Type "Cell" Dimension 21 Cell "IgnoreCustomStorageClasses" Cell "IgnoreTestpoints" Cell "InsertBlockDesc" Cell "InsertPolySpaceComments" Cell "SFDataObjDesc" Cell "MATLABFcnDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrFcnArg" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" Cell "ReqsInCode" PropName "DisabledProps" } ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IgnoreTestpoints off IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off MATLABFcnDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrFcnArg "rt$I$N$M" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off InsertPolySpaceComments off SimulinkBlockComments on MATLABSourceComments off EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off UseSimReservedNames off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 11 Version "1.10.0" Array { Type "Cell" Dimension 16 Cell "GeneratePreprocessorConditionals" Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "CPPClassGenCompliant" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "PortableWordSizes" PropName "DisabledProps" } TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" TargetFunctionLibrary "ANSI_C" UtilityFuncGeneration "Auto" ERTMultiwordTypeDef "System defined" ERTCodeCoverageTool "None" ERTMultiwordLength 256 MultiwordLength 2048 GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on ParMdlRefBuildCompliant on CompOptLevelCompliant on IncludeMdlTerminateFcn on GeneratePreprocessorConditionals "Disable all" CombineOutputUpdateFcns off CombineSignalStateStructs off SuppressErrorStatus off ERTFirstTimeCompliant off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on SupportVariableSizeSignals off EnableShiftOperators on ParenthesesLevel "Nominal" PortableWordSizes off ModelStepFunctionPrototypeControlCompliant off CPPClassGenCompliant off AutosarCompliant off UseMalloc off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" ConfigPrmDlgPosition " [ 243, 69, 1123, 699 ] " } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on BlockRotation 0 BlockMirror off } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Inherit from 'Constant value'" LockScale off SampleTime "inf" FramePeriod "inf" PreserveConstantTs off } Block { BlockType From IconDisplay "Tag" TagVisibility "local" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParamDataTypeStr "Inherit: Same as input" OutMin "[]" OutMax "[]" OutDataTypeStr "Inherit: Same as input" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Goto IconDisplay "Tag" } Block { BlockType 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 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 Step Time "1" Before "0" After "1" SampleTime "-1" VectorParams1D on ZeroCross on } 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 TransferFcn Numerator "[1]" Denominator "[1 2 1]" AbsoluteTolerance "auto" ContinuousStateAttributes "''" Realization "auto" } } System { Name "secondary_control" Location [2, 82, 1348, 715] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "centimeters" TiledPaperMargins [1.270000, 1.270000, 1.270000, 1.270000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" ReportName "simulink-default.rpt" SIDHighWatermark "86" Block { BlockType From Name "From" SID "81" Position [1015, 316, 1055, 344] GotoTag "P12" } Block { BlockType From Name "From1" SID "85" Position [980, 106, 1020, 134] GotoTag "w1" } Block { BlockType From Name "From2" SID "86" Position [980, 211, 1020, 239] GotoTag "w2" } Block { BlockType Gain Name "Gain" SID "39" Position [385, 575, 415, 605] ShowName off Gain "B1" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain1" SID "40" Position [780, 575, 810, 605] BlockMirror on NamePlacement "alternate" ShowName off Gain "B2" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain2" SID "59" Position [580, 140, 610, 170] BlockRotation 270 BlockMirror on NamePlacement "alternate" ShowName off Gain "T" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "P12" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain3" SID "74" Position [1040, 210, 1070, 240] ShowName off Gain "50" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain4" SID "66" Position [1040, 105, 1070, 135] ShowName off Gain "50" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain5" SID "78" Position [1075, 313, 1110, 347] ShowName off Gain "100" ParamDataTypeStr "Inherit: Inherit via internal rule" OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Goto Name "Goto" SID "80" Position [615, 385, 655, 415] ShowName off GotoTag "P12" TagVisibility "local" } Block { BlockType Goto Name "Goto1" SID "83" Position [480, 45, 520, 75] ShowName off GotoTag "w1" TagVisibility "local" } Block { BlockType Goto Name "Goto2" SID "84" Position [770, 45, 810, 75] ShowName off GotoTag "w2" TagVisibility "local" } Block { BlockType Integrator Name "Integrator" SID "2" Ports [1, 1] Position [500, 95, 530, 125] ShowName off Port { PortNumber 1 Name "delta1" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Integrator Name "Integrator1" SID "41" Ports [1, 1] Position [660, 95, 690, 125] BlockMirror on NamePlacement "alternate" ShowName off Port { PortNumber 1 Name "delta2" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Scope Name "P12 in MW" SID "64" Ports [1] Position [1130, 314, 1160, 346] Floating off Location [979, 383, 1303, 622] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } TimeRange "19.96920585811563" YMin "-2000" YMax "0" SaveName "ScopeData2" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Constant Name "PRef1" SID "24" Position [385, 410, 415, 440] BlockRotation 270 Value "0" } Block { BlockType Constant Name "PRef2" SID "42" Position [770, 410, 800, 440] BlockRotation 270 Value "0" } Block { BlockType Constant Name "PRef3" SID "68" Position [1085, 150, 1115, 180] BlockRotation 270 ShowName off Value "50" } Block { BlockType Constant Name "PRef4" SID "75" Position [1085, 255, 1115, 285] BlockRotation 270 ShowName off Value "50" } Block { BlockType TransferFcn Name "Reg1" SID "19" Position [371, 310, 429, 350] BlockRotation 270 Denominator "[Tg 1]" } Block { BlockType TransferFcn Name "Reg2" SID "15" Position [471, 310, 529, 350] BlockRotation 270 Denominator "[Tg 1]" } Block { BlockType TransferFcn Name "Reg3" SID "44" Position [661, 310, 719, 350] BlockRotation 270 Denominator "[Tg 1]" } Block { BlockType TransferFcn Name "Reg4" SID "43" Position [756, 310, 814, 350] BlockRotation 270 Denominator "[Tg 1]" } Block { BlockType Step Name "Step1" SID "25" Position [355, 190, 385, 220] ShowName off Time "0" After "20" SampleTime "1" Port { PortNumber 1 Name "Pl1" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Step Name "Step2" SID "60" Position [800, 190, 830, 220] BlockMirror on ShowName off After "0" SampleTime "0" Port { PortNumber 1 Name "Pl2" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Sum Name "Sum1" SID "10" Ports [4, 1] Position [435, 190, 465, 220] BlockRotation 270 ShowName off IconShape "round" Inputs "-+|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum10" SID "67" Ports [2, 1] Position [1090, 110, 1110, 130] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum11" SID "76" Ports [2, 1] Position [1090, 215, 1110, 235] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" SID "27" Ports [2, 1] Position [585, 100, 605, 120] BlockRotation 270 BlockMirror on NamePlacement "alternate" ShowName off IconShape "round" Inputs "+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum3" SID "28" Ports [2, 1] Position [390, 370, 410, 390] BlockRotation 270 ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" SID "29" Ports [2, 1] Position [490, 460, 510, 480] BlockRotation 270 ShowName off IconShape "round" Inputs "-+|" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" SID "31" Ports [2, 1] Position [490, 580, 510, 600] BlockRotation 270 ShowName off IconShape "round" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "ACE1" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Sum Name "Sum6" SID "46" Ports [4, 1] Position [725, 190, 755, 220] BlockRotation 270 ShowName off IconShape "round" Inputs "++|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum7" SID "47" Ports [2, 1] Position [775, 370, 795, 390] BlockRotation 270 ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum8" SID "48" Ports [2, 1] Position [680, 460, 700, 480] BlockRotation 270 ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum9" SID "49" Ports [2, 1] Position [680, 580, 700, 600] BlockRotation 270 ShowName off IconShape "round" Inputs "-+" InputSameDT off OutDataTypeStr "Inherit: Inherit via internal rule" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "ACE2" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType TransferFcn Name "Transfer Fcn1" SID "50" Position [820, 361, 855, 399] BlockMirror on NamePlacement "alternate" ShowName off Denominator "[0 R2]" } Block { BlockType TransferFcn Name "Transfer Fcn2" SID "51" Position [667, 500, 713, 545] BlockRotation 270 ShowName off Numerator "[-K2]" Denominator "[1 0]" } Block { BlockType TransferFcn Name "Transfer Fcn3" SID "7" Position [330, 361, 365, 399] ShowName off Denominator "[0 R1]" } Block { BlockType TransferFcn Name "Transfer Fcn4" SID "8" Position [477, 500, 523, 545] BlockRotation 270 ShowName off Numerator "[-K1]" Denominator "[1 0]" } Block { BlockType TransferFcn Name "Transfer Fcn5" SID "9" Position [414, 130, 486, 170] BlockRotation 270 ShowName off Denominator "[2*H1 D1]" Port { PortNumber 1 Name "omega1" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType TransferFcn Name "Transfer Fcn6" SID "30" Position [430, 451, 465, 489] ShowName off Denominator "[0 R1]" } Block { BlockType TransferFcn Name "Transfer Fcn7" SID "52" Position [704, 130, 776, 170] BlockRotation 270 ShowName off Denominator "[2*H2 D2]" Port { PortNumber 1 Name "omega2" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType TransferFcn Name "Transfer Fcn8" SID "53" Position [725, 451, 760, 489] BlockMirror on NamePlacement "alternate" ShowName off Denominator "[0 R2]" } Block { BlockType TransferFcn Name "Turb1" SID "20" Position [371, 250, 429, 290] BlockRotation 270 Denominator "[Tt 1]" Port { PortNumber 1 Name "Pm1" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType TransferFcn Name "Turb2" SID "16" Position [471, 250, 529, 290] BlockRotation 270 Denominator "[Tt 1]" Port { PortNumber 1 Name "Pm2" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType TransferFcn Name "Turb3" SID "55" Position [661, 250, 719, 290] BlockRotation 270 Denominator "[Tt 1]" Port { PortNumber 1 Name "Pm3" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType TransferFcn Name "Turb4" SID "54" Position [756, 250, 814, 290] BlockRotation 270 Denominator "[Tt 1]" Port { PortNumber 1 Name "Pm4" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Scope Name "f1 in Hz" SID "62" Ports [1] Position [1130, 104, 1160, 136] Floating off Location [144, 408, 468, 647] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } TimeRange "20" YMin "49.6" YMax "50" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Scope Name "f2 in Hz" SID "77" Ports [1] Position [1130, 209, 1160, 241] Floating off Location [539, 397, 863, 636] Open off NumInputPorts "1" List { ListType AxesTitles axes1 "%" } TimeRange "20" YMin "49.75" YMax "50" SaveName "ScopeData1" DataFormat "StructureWithTime" SampleTime "0" } Line { Name "delta1" Labels [1, 0] SrcBlock "Integrator" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { Name "omega1" SrcBlock "Transfer Fcn5" SrcPort 1 Points [0, -15] Branch { DstBlock "Integrator" DstPort 1 } Branch { Labels [1, 1] Points [-140, 0; 0, 270] Branch { DstBlock "Transfer Fcn3" DstPort 1 } Branch { Points [0, 90] Branch { DstBlock "Transfer Fcn6" DstPort 1 } Branch { Points [0, 120] DstBlock "Gain" DstPort 1 } } } Branch { Points [0, -50] DstBlock "Goto1" DstPort 1 } } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Transfer Fcn5" DstPort 1 } Line { SrcBlock "Reg2" SrcPort 1 DstBlock "Turb2" DstPort 1 } Line { SrcBlock "Reg1" SrcPort 1 DstBlock "Turb1" DstPort 1 } Line { Name "Pl1" Labels [0, 1] SrcBlock "Step1" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { Name "Pm1" Labels [0, 0] SrcBlock "Turb1" SrcPort 1 Points [0, -19] DstBlock "Sum1" DstPort 2 } Line { Name "Pm2" Labels [0, 0] SrcBlock "Turb2" SrcPort 1 Points [0, -19] DstBlock "Sum1" DstPort 3 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "Reg1" DstPort 1 } Line { SrcBlock "Transfer Fcn3" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "PRef1" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Reg2" DstPort 1 } Line { SrcBlock "Transfer Fcn6" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { SrcBlock "Transfer Fcn4" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { Name "ACE1" Labels [0, 1] SrcBlock "Sum5" SrcPort 1 DstBlock "Transfer Fcn4" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum5" DstPort 1 } Line { Name "omega2" SrcBlock "Transfer Fcn7" SrcPort 1 Points [0, -15] Branch { DstBlock "Integrator1" DstPort 1 } Branch { Labels [1, 0] Points [135, 0; 0, 270] Branch { DstBlock "Transfer Fcn1" DstPort 1 } Branch { Points [0, 90] Branch { Points [0, 120] DstBlock "Gain1" DstPort 1 } Branch { DstBlock "Transfer Fcn8" DstPort 1 } } } Branch { Points [0, -50] DstBlock "Goto2" DstPort 1 } } Line { SrcBlock "Sum6" SrcPort 1 DstBlock "Transfer Fcn7" DstPort 1 } Line { SrcBlock "Reg3" SrcPort 1 DstBlock "Turb3" DstPort 1 } Line { SrcBlock "Reg4" SrcPort 1 DstBlock "Turb4" DstPort 1 } Line { SrcBlock "Sum7" SrcPort 1 DstBlock "Reg4" DstPort 1 } Line { SrcBlock "Sum8" SrcPort 1 DstBlock "Reg3" DstPort 1 } Line { Name "ACE2" Labels [0, 0] SrcBlock "Sum9" SrcPort 1 DstBlock "Transfer Fcn2" DstPort 1 } Line { SrcBlock "Transfer Fcn2" SrcPort 1 DstBlock "Sum8" DstPort 1 } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { Name "delta2" Labels [0, 0] SrcBlock "Integrator1" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { Name "P12" Labels [1, 0] SrcBlock "Gain2" SrcPort 1 Points [0, 30] Branch { DstBlock "Sum6" DstPort 1 } Branch { DstBlock "Sum1" DstPort 4 } Branch { Points [0, 195] Branch { Points [0, 190] Branch { DstBlock "Sum5" DstPort 2 } Branch { DstBlock "Sum9" DstPort 1 } } Branch { DstBlock "Goto" DstPort 1 } } } Line { Name "Pm3" Labels [0, 0] SrcBlock "Turb3" SrcPort 1 Points [0, -19] DstBlock "Sum6" DstPort 2 } Line { Name "Pm4" Labels [0, 0] SrcBlock "Turb4" SrcPort 1 Points [0, -19] DstBlock "Sum6" DstPort 3 } Line { SrcBlock "PRef2" SrcPort 1 DstBlock "Sum7" DstPort 1 } Line { SrcBlock "Transfer Fcn1" SrcPort 1 DstBlock "Sum7" DstPort 2 } Line { Name "Pl2" Labels [0, 0] SrcBlock "Step2" SrcPort 1 DstBlock "Sum6" DstPort 4 } Line { SrcBlock "Transfer Fcn8" SrcPort 1 DstBlock "Sum8" DstPort 2 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Sum9" DstPort 2 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Sum10" DstPort 1 } Line { SrcBlock "PRef3" SrcPort 1 DstBlock "Sum10" DstPort 2 } Line { SrcBlock "Sum10" SrcPort 1 DstBlock "f1 in Hz" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 DstBlock "Sum11" DstPort 1 } Line { SrcBlock "PRef4" SrcPort 1 DstBlock "Sum11" DstPort 2 } Line { SrcBlock "Sum11" SrcPort 1 DstBlock "f2 in Hz" DstPort 1 } Line { SrcBlock "Gain5" SrcPort 1 DstBlock "P12 in MW" DstPort 1 } Line { SrcBlock "From" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { SrcBlock "From2" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "From1" SrcPort 1 DstBlock "Gain4" DstPort 1 } } }