Model { Name "con_non_lin" Version 7.0 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.34" 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 "Mon May 05 09:54:53 2008" Creator "Heine" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "Heine" ModifiedDateFormat "%" LastModifiedDate "Fri May 30 16:54:53 2008" 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 7 Simulink.SolverCC { $ObjectID 2 Version "1.3.0" StartTime "0.0" StopTime "7200" 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 "ode45" SolverName "ode45" 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 "none" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "TryResolveAllWithWarning" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "warning" MultiTaskCondExecSysMsg "none" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" 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 1 Cell "IncludeHyperlinkInReport" 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 on 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 13 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" PropName "DisabledProps" } Version "1.3.0" TargetFcnLib "ansi_tfl_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" } } PropName "Components" } Name "Configuration" CurrentDlgPage "Real-Time Workshop" } 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 Demux Outputs "4" DisplayOption "none" BusSelectionMode off } 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 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 InportShadow UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" SignalType "auto" SamplingMode "auto" 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 Math Operator "exp" OutputSignalType "auto" SampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } 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 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 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 TransportDelay DelayTime "1" InitialOutput "0" BufferSize "1024" FixedBuffer off TransDelayFeedthrough off PadeOrder "0" } 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 Saturate UpperLimit "0.5" LowerLimit "-0.5" LinearizeAsGain on ZeroCross on SampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" } } 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 "con_non_lin" Location [816, 325, 1643, 777] 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 SubSystem Name "Controller" Ports [2, 3] Position [445, 230, 530, 310] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off System { Name "Controller" Location [720, 104, 1568, 547] 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 "yp" Position [668, 15, 682, 45] Orientation "down" NamePlacement "alternate" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "ref" Position [23, 120, 37, 150] Orientation "down" NamePlacement "alternate" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" Port { PortNumber 1 Name "r" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Constant Name "Constant1" Position [246, 235, 284, 275] Orientation "up" ShowName off Value "u_bar" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant2" Position [641, 220, 679, 260] Orientation "up" ShowName off Value "y_bar" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" Position [251, 120, 289, 160] Orientation "up" ShowName off Value "d_bar" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant4" Position [106, 120, 144, 160] Orientation "up" ShowName off Value "5" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [75, 81, 80, 119] BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Scope Name "Disturbance" Ports [1] Position [280, 13, 310, 47] Floating off Location [764, 209, 1387, 668] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData3" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Scope Name "Error" Ports [1] Position [515, 14, 545, 46] Orientation "left" Floating off Location [155, 208, 777, 667] Open off NumInputPorts "1" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData2" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Gain Name "Gain" Position [570, 159, 615, 191] ShowName off Gain "C" Multiplication "Matrix(K*u)" 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 [435, 214, 480, 246] Orientation "left" NamePlacement "alternate" ShowName off Gain "A" Multiplication "Matrix(K*u)" 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 "Gain2" Position [320, 174, 365, 206] ShowName off Gain "B_new" Multiplication "Matrix(K*u)" 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 "Gain3" Position [510, 89, 555, 121] Orientation "left" NamePlacement "alternate" ShowName off Gain "L" Multiplication "Matrix(K*u)" 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 "Gain4" Position [130, 174, 175, 206] ShowName off Gain "Fi" Multiplication "Matrix(K*u)" 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 "Gain5" Position [310, 74, 355, 106] ShowName off Gain "E" Multiplication "Matrix(K*u)" 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 "Gain7" Position [435, 279, 480, 311] Orientation "left" NamePlacement "alternate" ShowName off Gain "F1" Multiplication "Matrix(K*u)" 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 "Input Saturation" Ports [1, 1] Position [330, 303, 415, 367] NamePlacement "alternate" MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off System { Name "Input Saturation" Location [705, 653, 945, 775] 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 "In1" Position [25, 53, 55, 67] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux2" Ports [1, 2] Position [80, 41, 85, 79] BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux4" Ports [2, 1] Position [155, 41, 160, 79] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Saturate Name "Saturation" Position [105, 25, 135, 55] ShowName off UpperLimit "100*beta_motor" LowerLimit "0.00000000001*beta_motor" } Block { BlockType Saturate Name "Saturation1" Position [105, 65, 135, 95] ShowName off UpperLimit "beta_blower*100" LowerLimit "0.00000000001*beta_blower" } Block { BlockType Outport Name "Out1" Position [185, 53, 215, 67] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Demux2" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 2 DstBlock "Saturation1" DstPort 1 } Line { SrcBlock "Saturation" SrcPort 1 DstBlock "Mux4" DstPort 1 } Line { SrcBlock "Saturation1" SrcPort 1 DstBlock "Mux4" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 0] DstBlock "Demux2" DstPort 1 } Line { SrcBlock "Mux4" SrcPort 1 Points [0, 0] DstBlock "Out1" DstPort 1 } } } Block { BlockType Integrator Name "Integrator" Ports [1, 1] Position [450, 160, 480, 190] ShowName off Port { PortNumber 1 Name "x" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Integrator Name "Integrator1" Ports [1, 1] Position [70, 175, 100, 205] ShowName off Port { PortNumber 1 Name "xi" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Step Name "Step2" Position [185, 15, 215, 45] ShowName off Time "3600" Before "55" After "50" SampleTime "0" } Block { BlockType Sum Name "Sum" Ports [4, 1] Position [380, 160, 410, 190] ShowName off IconShape "round" Inputs "++++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "x_dot" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [665, 95, 685, 115] Orientation "left" NamePlacement "alternate" ShowName off IconShape "round" Inputs "+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [255, 180, 275, 200] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "u" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [650, 165, 670, 185] ShowName off IconShape "round" Inputs "|++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "yo" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Sum Name "Sum4" Ports [2, 1] Position [260, 80, 280, 100] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" Ports [2, 1] Position [20, 180, 40, 200] ShowName off IconShape "round" Inputs "-+" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum6" Ports [2, 1] Position [200, 180, 220, 200] ShowName off IconShape "round" Inputs "|--" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum8" Ports [2, 1] Position [115, 80, 135, 100] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Scope Name "input" Ports [1] Position [180, 117, 210, 153] Orientation "left" NamePlacement "alternate" Floating off Location [57, 129, 680, 588] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } SaveName "ScopeData5" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Outport Name "u" Position [320, 143, 350, 157] NamePlacement "alternate" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "yo" Position [735, 168, 765, 182] NamePlacement "alternate" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "load" Position [350, 53, 380, 67] NamePlacement "alternate" Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { Name "r" Labels [1, 0] SrcBlock "ref" SrcPort 1 Points [0, 5] Branch { DstBlock "Sum5" DstPort 1 } Branch { Points [30, 0] DstBlock "Demux" DstPort 1 } } Line { SrcBlock "Sum6" SrcPort 1 Points [0, 0; 10, 0] Branch { Points [0, -55] DstBlock "input" DstPort 1 } Branch { DstBlock "Sum2" DstPort 1 } } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 0; -50, 0] Branch { Points [0, -75] DstBlock "Error" DstPort 1 } Branch { DstBlock "Gain3" DstPort 1 } } Line { SrcBlock "Constant3" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { SrcBlock "Sum8" SrcPort 1 Points [95, 0] Branch { DstBlock "Sum4" DstPort 1 } Branch { Points [0, -30] Branch { Points [0, -30] DstBlock "Disturbance" DstPort 1 } Branch { Points [0, 0] DstBlock "load" DstPort 1 } } } Line { SrcBlock "Gain5" SrcPort 1 Points [9, 0] DstBlock "Sum" DstPort 2 } Line { Name "yo" Labels [0, 0] SrcBlock "Sum3" SrcPort 1 Points [0, 0] Branch { DstBlock "Sum1" DstPort 2 } Branch { DstBlock "yo" DstPort 1 } } Line { Name "u" Labels [0, 0] SrcBlock "Sum2" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, -40] DstBlock "u" DstPort 1 } Branch { Points [0, 145] DstBlock "Input Saturation" DstPort 1 } } Line { SrcBlock "Gain2" SrcPort 1 Points [0, 0] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain1" SrcPort 1 Points [-35, 0] DstBlock "Sum" DstPort 4 } Line { Name "x_dot" Labels [1, 0] SrcBlock "Sum" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { Name "x" Labels [2, 0] SrcBlock "Integrator" SrcPort 1 Points [0, 0; 35, 0] Branch { DstBlock "Gain" DstPort 1 } Branch { Points [0, 55] Branch { DstBlock "Gain1" DstPort 1 } Branch { Points [0, 65] DstBlock "Gain7" DstPort 1 } } } Line { SrcBlock "Gain7" SrcPort 1 Points [-220, 0] DstBlock "Sum6" DstPort 2 } Line { SrcBlock "yp" SrcPort 1 Points [0, 0; 0, 20] Branch { DstBlock "Sum1" DstPort 1 } Branch { Points [20, 0; 0, 310; -665, 0] DstBlock "Sum5" DstPort 2 } } Line { SrcBlock "Input Saturation" SrcPort 1 Points [0, -120; -115, 0] DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 Points [-110, 0] DstBlock "Sum" DstPort 1 } Line { Name "xi" Labels [0, 0] SrcBlock "Integrator1" SrcPort 1 DstBlock "Gain4" DstPort 1 } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Sum6" DstPort 1 } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Sum8" DstPort 1 } Line { SrcBlock "Constant4" SrcPort 1 DstBlock "Sum8" DstPort 2 } } } Block { BlockType TransportDelay Name "Delay" Position [440, 55, 470, 85] DelayTime "20" } Block { BlockType Demux Name "Demux" Ports [1, 2] Position [240, 156, 245, 194] Orientation "left" BackgroundColor "black" NamePlacement "alternate" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Gain Name "Gain1" Position [150, 140, 180, 170] Orientation "up" ShowName off Gain "1/beta_blower" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "m_a" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain5" Position [210, 120, 240, 150] Orientation "up" ShowName off Gain "1/beta_motor" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "m_sf" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Scope Name "Input" Ports [2] Position [85, 20, 125, 60] Orientation "left" NamePlacement "alternate" Floating off Location [6, 56, 807, 483] Open off NumInputPorts "2" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" } TimeRange "15000" YMin "2~2" YMax "10~10" SaveToWorkspace on SaveName "Input" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType SubSystem Name "Input Saturation" Ports [1, 1] Position [305, 143, 390, 207] Orientation "left" MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off System { Name "Input Saturation" Location [705, 653, 945, 775] 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 "In1" Position [25, 53, 55, 67] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Demux Name "Demux2" Ports [1, 2] Position [80, 41, 85, 79] BackgroundColor "black" ShowName off Outputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux4" Ports [2, 1] Position [155, 41, 160, 79] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Saturate Name "Saturation" Position [105, 25, 135, 55] ShowName off UpperLimit "100*beta_motor" LowerLimit "0.00000000001*beta_motor" } Block { BlockType Saturate Name "Saturation1" Position [105, 65, 135, 95] ShowName off UpperLimit "beta_blower*100" LowerLimit "0.00000000001*beta_blower" } Block { BlockType Outport Name "Out1" Position [185, 53, 215, 67] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Demux2" SrcPort 1 DstBlock "Saturation" DstPort 1 } Line { SrcBlock "Demux2" SrcPort 2 DstBlock "Saturation1" DstPort 1 } Line { SrcBlock "Saturation" SrcPort 1 DstBlock "Mux4" DstPort 1 } Line { SrcBlock "Saturation1" SrcPort 1 DstBlock "Mux4" DstPort 2 } Line { SrcBlock "In1" SrcPort 1 Points [0, 0] DstBlock "Demux2" DstPort 1 } Line { SrcBlock "Mux4" SrcPort 1 Points [0, 0] DstBlock "Out1" DstPort 1 } } } Block { BlockType Lookup Name "Lookup\nTable\nBlower1" Position [25, 140, 75, 190] Orientation "up" NamePlacement "alternate" InputValues "[0,10,20,30,40,50,60,70,80,90,100]" Table "[0,2.2,4,6,8,12,14,17,21,28,30]" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off LUTDesignUseExistingBP off LUTDesignAbsError "NaN" } Block { BlockType Mux Name "Mux" Ports [2, 1] Position [411, 125, 449, 130] Orientation "down" NamePlacement "alternate" ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [2, 1] Position [365, 271, 370, 309] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux2" Ports [2, 1] Position [590, 266, 595, 304] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Mux Name "Mux3" Ports [2, 1] Position [590, 146, 595, 184] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Scope Name "Output" Ports [4] Position [620, 187, 665, 258] Floating off Location [6, 508, 807, 1044] Open off NumInputPorts "4" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" axes2 "%" axes3 "%" axes4 "%" } TimeRange "8000" YMin "5~0~0~52.25" YMax "60~90~90~57.75" SaveToWorkspace on SaveName "Output" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Block { BlockType Constant Name "Ref" Position [145, 226, 185, 264] Value "[60 12]" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Step Name "Step" Position [295, 295, 325, 325] ShowName off Time "3600" Before "6" After "12" SampleTime "0" } Block { BlockType Step Name "Step1" Position [295, 255, 325, 285] ShowName off Time "3600" Before "60" After "70" SampleTime "0" } Block { BlockType SubSystem Name "Subsystem" Ports [3, 2] Position [310, 22, 400, 98] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off System { Name "Subsystem" Location [699, 146, 1480, 700] 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 "m_sf" Position [40, 28, 70, 42] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_a" Position [40, 73, 70, 87] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "load" Position [520, 348, 550, 362] Orientation "left" NamePlacement "alternate" Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType SubSystem Name "O2" Ports [4, 1] Position [290, 428, 350, 502] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off System { Name "O2" Location [476, 306, 1336, 605] 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 "m_C" Position [15, 198, 45, 212] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_g" Position [580, 228, 610, 242] Orientation "left" NamePlacement "alternate" Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_sf" Position [25, 118, 55, 132] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_a" Position [190, 23, 220, 37] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant1" Position [465, 45, 495, 75] NamePlacement "alternate" ShowName off Value "0.1/1.7" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "From decimal to %" Position [595, 125, 615, 155] Gain "100" 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 "From mass to volumen %" Position [705, 125, 725, 155] Gain "1.58" 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 [300, 15, 330, 45] ShowName off Gain "(15.999*2)/(2*(79/21)*14.007+2*15.999)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "mass of O2 from blower" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain10" Position [135, 110, 165, 140] ShowName off Gain "eta_cho" 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 "Gain11" Position [190, 155, 220, 185] ShowName off Gain "(kappa_H*15.999)/(12.011+kappa_H*1.00797+kappa_O*15.999)" 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 "Gain16" Position [380, 215, 410, 245] Orientation "left" NamePlacement "alternate" ShowName off 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 "Gain17" Position [240, 151, 275, 189] ShowName off Gain "1/4" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "O2 used from H" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain18" Position [135, 190, 165, 220] ShowName off Gain "15.999/12.011" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "O2 used from C" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain2" Position [245, 110, 275, 140] ShowName off Gain ".5" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "O2 from solid fuel" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain20" Position [435, 125, 455, 155] ShowName off Gain "1/(M_total*1000)" 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 "Gain21" Position [80, 190, 105, 220] ShowName off 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 "Gain3" Position [330, 60, 360, 90] Orientation "down" NamePlacement "alternate" ShowName off 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 "Gain4" Position [250, 15, 280, 45] ShowName off Gain "gamma_blower" 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 "Gain5" Position [80, 110, 110, 140] ShowName off Gain "gamma_motor" 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 "Gain6" Position [190, 110, 220, 140] ShowName off Gain "(kappa_O*15.999)/(12.011+kappa_H*1.00797+kappa_O*15.999)" 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 "Gain7" Position [530, 220, 555, 250] Orientation "left" NamePlacement "alternate" ShowName off Gain "1000" 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 Integrator Name "Integrator" Ports [1, 1] Position [490, 125, 520, 155] } Block { BlockType Product Name "Product" Ports [2, 1] Position [440, 212, 470, 243] Orientation "left" NamePlacement "alternate" ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [530, 50, 560, 85] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" Ports [5, 1] Position [370, 104, 415, 176] ShowName off Inputs "++---" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "O2" Position [795, 133, 825, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "m_a" SrcPort 1 DstBlock "Gain4" DstPort 1 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "m_sf" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { SrcBlock "Gain5" SrcPort 1 DstBlock "Gain10" DstPort 1 } Line { SrcBlock "Gain10" SrcPort 1 Points [0, 0] Branch { DstBlock "Gain6" DstPort 1 } Branch { Points [0, 45] DstBlock "Gain11" DstPort 1 } } Line { SrcBlock "Product" SrcPort 1 DstBlock "Gain16" DstPort 1 } Line { SrcBlock "Gain16" SrcPort 1 Points [-20, 0] DstBlock "Sum4" DstPort 5 } Line { Name "mass of O2 from blower" Labels [2, 0] SrcBlock "Gain1" SrcPort 1 Points [10, 0] DstBlock "Gain3" DstPort 1 } Line { Name "O2 from solid fuel" Labels [0, 0] SrcBlock "Gain2" SrcPort 1 DstBlock "Sum4" DstPort 2 } Line { SrcBlock "m_C" SrcPort 1 DstBlock "Gain21" DstPort 1 } Line { SrcBlock "Gain6" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [5, 0; 0, -45; -15, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 Points [0, 70] Branch { Points [-25, 0; 0, 80] DstBlock "Product" DstPort 1 } Branch { DstBlock "From decimal to %" DstPort 1 } } Line { SrcBlock "Gain20" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Gain20" DstPort 1 } Line { SrcBlock "Gain21" SrcPort 1 DstBlock "Gain18" DstPort 1 } Line { SrcBlock "Gain11" SrcPort 1 DstBlock "Gain17" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 Points [0, 15] DstBlock "Sum4" DstPort 1 } Line { Name "O2 used from H" Labels [0, 0] SrcBlock "Gain17" SrcPort 1 Points [45, 0; 0, -30] DstBlock "Sum4" DstPort 3 } Line { SrcBlock "m_g" SrcPort 1 DstBlock "Gain7" DstPort 1 } Line { Name "O2 used from C" Labels [0, 0] SrcBlock "Gain18" SrcPort 1 Points [170, 0; 0, -50] DstBlock "Sum4" DstPort 4 } Line { SrcBlock "Gain7" SrcPort 1 DstBlock "Product" DstPort 2 } Line { Labels [0, 0] SrcBlock "From decimal to %" SrcPort 1 DstBlock "From mass to volumen %" DstPort 1 } Line { Labels [0, 0] SrcBlock "From mass to volumen %" SrcPort 1 DstBlock "O2" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Sum2" DstPort 1 } } } Block { BlockType SubSystem Name "T_bc" Ports [5, 1] Position [290, 17, 350, 123] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off Port { PortNumber 1 Name "T_bc" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "T_bc" Location [466, 280, 1195, 755] 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 "T_w" Position [70, 98, 100, 112] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_C" Position [15, 128, 45, 142] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_g" Position [460, 423, 490, 437] Orientation "left" NamePlacement "alternate" Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_sf" Position [20, 178, 50, 192] Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_a" Position [460, 43, 490, 57] Orientation "left" NamePlacement "alternate" Port "5" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant1" Position [500, 205, 530, 235] Orientation "down" ShowName off Value "273.15" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant2" Position [70, 15, 100, 45] NamePlacement "alternate" ShowName off Value "273.15" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" Position [560, 280, 590, 310] Orientation "left" NamePlacement "alternate" ShowName off Value "4" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant4" Position [70, 50, 100, 80] ShowName off Value "4" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant5" Position [435, 90, 465, 120] NamePlacement "alternate" ShowName off Value "200" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [70, 170, 100, 200] ShowName off Gain "gamma_motor*eta_cho" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "g/s" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain1" Position [395, 380, 425, 410] Orientation "left" ShowName off Gain "(c_bc)" 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 "Gain11" Position [200, 100, 230, 130] NamePlacement "alternate" ShowName off Gain "(alpha_A_bcw)" 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 "Gain12" Position [400, 35, 430, 65] Orientation "left" NamePlacement "alternate" ShowName off Gain "beta_blower" 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 "Gain15" Position [195, 170, 225, 200] ShowName off Gain "h_c_6/1000" 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 "Gain16" Position [130, 170, 160, 200] ShowName off Gain "(kappa_H*1.00797)/(12.011+kappa_H*1.00797+kappa_O*15.999)" 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 "Gain2" Position [385, 130, 415, 160] NamePlacement "alternate" ShowName off Gain "1/(M_bc*c_bc+M_cp*c_cp)" 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 "Gain4" Position [135, 120, 165, 150] ShowName off Gain "(h_c_2/1000)" 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 "Gain5" Position [395, 335, 425, 365] Orientation "left" NamePlacement "alternate" ShowName off Gain "(epsilon_A_bcw*sigma)" 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 "Gain6" Position [390, 230, 420, 260] Orientation "left" ShowName off Gain "(alpha_A_bcw)" 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 "Gain7" Position [335, 35, 365, 65] Orientation "left" NamePlacement "alternate" ShowName off Gain "(T_a*c_a)" 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 "Gain8" Position [255, 70, 285, 100] NamePlacement "alternate" ShowName off Gain "(epsilon_A_bcw*sigma)" 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 Integrator Name "Integrator" Ports [1, 1] Position [435, 130, 465, 160] Port { PortNumber 1 Name "T_bc" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Math Name "Math\nFunction2" Ports [2, 1] Position [497, 310, 528, 340] Orientation "down" ShowName off Operator "pow" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Math Name "Math\nFunction3" Ports [2, 1] Position [195, 32, 225, 63] NamePlacement "alternate" ShowName off Operator "pow" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Product Name "Product" Ports [2, 1] Position [335, 407, 365, 438] Orientation "left" NamePlacement "alternate" ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [8, 1] Position [320, 71, 365, 219] ShowName off Inputs "+++++---" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [487, 265, 523, 290] Orientation "down" NamePlacement "alternate" ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [150, 22, 175, 58] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [505, 120, 535, 155] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "T_bc" Position [620, 133, 650, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { Labels [0, 0] SrcBlock "Sum" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "m_a" SrcPort 1 DstBlock "Gain12" DstPort 1 } Line { SrcBlock "Gain7" SrcPort 1 Points [-25, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain12" SrcPort 1 Points [0, 0] DstBlock "Gain7" DstPort 1 } Line { SrcBlock "Math\nFunction2" SrcPort 1 Points [0, 5] DstBlock "Gain5" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Math\nFunction2" DstPort 1 } Line { SrcBlock "Constant2" SrcPort 1 Points [0, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "T_w" SrcPort 1 Points [0, 0; 30, 0] Branch { DstBlock "Sum2" DstPort 2 } Branch { Points [50, 0] DstBlock "Gain11" DstPort 1 } } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Math\nFunction3" DstPort 1 } Line { SrcBlock "Math\nFunction3" SrcPort 1 Points [0, 35] DstBlock "Gain8" DstPort 1 } Line { SrcBlock "Gain8" SrcPort 1 Points [5, 0; 0, 10] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Gain6" SrcPort 1 Points [-80, 0] DstBlock "Sum" DstPort 8 } Line { SrcBlock "Gain5" SrcPort 1 Points [-100, 0; 0, -155] DstBlock "Sum" DstPort 7 } Line { SrcBlock "Gain4" SrcPort 1 Points [0, 0] DstBlock "Sum" DstPort 4 } Line { SrcBlock "m_C" SrcPort 1 Points [0, 0] DstBlock "Gain4" DstPort 1 } Line { SrcBlock "Gain11" SrcPort 1 Points [0, 0] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, 0] DstBlock "Math\nFunction2" DstPort 2 } Line { SrcBlock "Constant4" SrcPort 1 Points [75, 0] DstBlock "Math\nFunction3" DstPort 2 } Line { SrcBlock "Gain1" SrcPort 1 Points [0, 20] DstBlock "Product" DstPort 1 } Line { Labels [0, 0] SrcBlock "Gain2" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [-50, 0; 0, -250] DstBlock "Sum" DstPort 6 } Line { SrcBlock "m_g" SrcPort 1 Points [0, 0] DstBlock "Product" DstPort 2 } Line { SrcBlock "Constant5" SrcPort 1 Points [20, 0] DstBlock "Sum3" DstPort 1 } Line { Name "T_bc" Labels [0, 0] SrcBlock "Integrator" SrcPort 1 Points [0, 0] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, 45; -60, 0] Branch { DstBlock "Sum1" DstPort 1 } Branch { Points [-40, 0; 0, 60] Branch { DstBlock "Gain6" DstPort 1 } Branch { Points [0, 150] DstBlock "Gain1" DstPort 1 } } } Branch { DstBlock "T_bc" DstPort 1 } } Line { SrcBlock "Gain16" SrcPort 1 DstBlock "Gain15" DstPort 1 } Line { Name "g/s" Labels [-1, 0] SrcBlock "Gain" SrcPort 1 Points [0, 0] DstBlock "Gain16" DstPort 1 } Line { SrcBlock "m_sf" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain15" SrcPort 1 Points [20, 0; 0, -30] DstBlock "Sum" DstPort 5 } } } Block { BlockType SubSystem Name "T_eg" Ports [3, 1] Position [290, 315, 350, 405] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off Port { PortNumber 1 Name "T_eg" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "T_eg" Location [805, 254, 1543, 623] 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 "T_w" Position [208, 15, 222, 45] Orientation "down" NamePlacement "alternate" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "T_gc" Position [15, 113, 45, 127] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_g" Position [15, 188, 45, 202] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant1" Position [415, 70, 445, 100] NamePlacement "alternate" ShowName off Value "106" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain1" Position [320, 130, 350, 160] NamePlacement "alternate" ShowName off Gain "1/(M_eg*c_eg)" 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 "Gain2" Position [200, 70, 230, 100] Orientation "down" NamePlacement "alternate" ShowName off Gain "(alpha_A_egw)" 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 "Gain3" Position [350, 245, 380, 275] Orientation "left" ShowName off Gain "(alpha_A_egw)" 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 "Gain6" Position [350, 295, 380, 325] Orientation "left" ShowName off Gain "(c_eg)" 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 "Gain8" Position [80, 105, 110, 135] NamePlacement "alternate" ShowName off Gain "(c_gc)" 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 Integrator Name "Integrator" Ports [1, 1] Position [370, 130, 400, 160] Port { PortNumber 1 Name "T_eg" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Product Name "Product" Ports [2, 1] Position [280, 302, 310, 333] Orientation "left" NamePlacement "alternate" ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product2" Ports [2, 1] Position [165, 112, 195, 143] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [4, 1] Position [250, 90, 295, 195] ShowName off Inputs "++--" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [480, 120, 510, 155] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "T_eg" Position [565, 168, 595, 182] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { Labels [0, 0] SrcBlock "Sum" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "T_w" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [0, 0] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Product2" SrcPort 1 Points [0, 0] DstBlock "Sum" DstPort 2 } Line { SrcBlock "Gain3" SrcPort 1 Points [-110, 0] DstBlock "Sum" DstPort 4 } Line { SrcBlock "Gain6" SrcPort 1 Points [0, 0] DstBlock "Product" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [-60, 0; 0, -165] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain8" SrcPort 1 Points [0, 0] DstBlock "Product2" DstPort 1 } Line { SrcBlock "m_g" SrcPort 1 Points [0, 0; 85, 0] Branch { Points [0, -60] DstBlock "Product2" DstPort 2 } Branch { Points [0, 150; 190, 0] DstBlock "Product" DstPort 2 } } Line { SrcBlock "T_gc" SrcPort 1 Points [0, 0] DstBlock "Gain8" DstPort 1 } Line { Labels [0, 0] SrcBlock "Gain1" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Constant1" SrcPort 1 Points [15, 0] DstBlock "Sum2" DstPort 1 } Line { Name "T_eg" Labels [0, 0] SrcBlock "Integrator" SrcPort 1 Points [0, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "Sum2" SrcPort 1 Points [30, 0; 0, 35] Branch { Points [0, 85; -70, 0] Branch { DstBlock "Gain3" DstPort 1 } Branch { Points [0, 50] DstBlock "Gain6" DstPort 1 } } Branch { DstBlock "T_eg" DstPort 1 } } } } Block { BlockType SubSystem Name "T_gc" Ports [3, 1] Position [290, 165, 350, 255] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off Port { PortNumber 1 Name "T_gc" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "T_gc" Location [870, 201, 1601, 571] 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 "T_w" Position [203, 15, 217, 45] Orientation "down" NamePlacement "alternate" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "T_bc" Position [15, 123, 45, 137] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_g" Position [20, 213, 50, 227] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant5" Position [335, 25, 365, 55] NamePlacement "alternate" ShowName off Value "135" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain1" Position [350, 270, 380, 300] Orientation "left" ShowName off Gain "(c_gc)" 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 "Gain2" Position [195, 70, 225, 100] Orientation "down" NamePlacement "alternate" ShowName off Gain "(alpha_A_gcw)" 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 "Gain3" Position [335, 140, 365, 170] NamePlacement "alternate" ShowName off Gain "1/(M_gc*c_gc)" 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 "Gain6" Position [325, 220, 355, 250] Orientation "left" ShowName off Gain "(alpha_A_gcw)" 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 "Gain7" Position [80, 115, 110, 145] NamePlacement "alternate" ShowName off Gain "(c_bc)" 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 Integrator Name "Integrator" Ports [1, 1] Position [380, 140, 410, 170] Port { PortNumber 1 Name "T_gc" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Product Name "Product" Ports [2, 1] Position [165, 122, 195, 153] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Product1" Ports [2, 1] Position [290, 297, 320, 328] Orientation "left" NamePlacement "alternate" ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum" Ports [4, 1] Position [270, 96, 315, 214] ShowName off Inputs "++--" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [445, 130, 475, 165] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "T_gc" Position [505, 143, 535, 157] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { Labels [0, 0] SrcBlock "Sum" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "T_bc" SrcPort 1 DstBlock "Gain7" DstPort 1 } Line { SrcBlock "T_w" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [0, 5] DstBlock "Sum" DstPort 1 } Line { SrcBlock "Gain7" SrcPort 1 DstBlock "Product" DstPort 1 } Line { SrcBlock "m_g" SrcPort 1 Points [0, 0; 80, 0] Branch { Points [0, -75] DstBlock "Product" DstPort 2 } Branch { Points [0, 120; 200, 0] DstBlock "Product1" DstPort 2 } } Line { SrcBlock "Gain1" SrcPort 1 Points [0, 20] DstBlock "Product1" DstPort 1 } Line { Labels [0, 0] SrcBlock "Gain3" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Gain6" SrcPort 1 Points [-65, 0] DstBlock "Sum" DstPort 4 } Line { SrcBlock "Product1" SrcPort 1 Points [-40, 0; 0, -145] DstBlock "Sum" DstPort 3 } Line { SrcBlock "Constant5" SrcPort 1 Points [60, 0] DstBlock "Sum3" DstPort 1 } Line { Name "T_gc" Labels [0, 0] SrcBlock "Integrator" SrcPort 1 DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 Points [0, 0; 5, 0] Branch { DstBlock "T_gc" DstPort 1 } Branch { Points [0, 85] Branch { Points [0, 50] DstBlock "Gain1" DstPort 1 } Branch { DstBlock "Gain6" DstPort 1 } } } } } Block { BlockType SubSystem Name "T_w" Ports [4, 1] Position [445, 165, 505, 255] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off Port { PortNumber 1 Name "T_w" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "T_w" Location [637, 307, 1383, 688] 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 "T_bc" Position [15, 83, 45, 97] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "T_gc" Position [135, 133, 165, 147] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "T_eg" Position [253, 220, 267, 250] Orientation "up" NamePlacement "alternate" Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "load" Position [415, 88, 445, 102] Orientation "left" NamePlacement "alternate" Port "4" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant1" Position [490, 205, 520, 235] Orientation "down" ShowName off Value "273.15" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant2" Position [20, 25, 50, 55] NamePlacement "alternate" ShowName off Value "273.15" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant3" Position [550, 280, 580, 310] Orientation "left" NamePlacement "alternate" ShowName off Value "4" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant4" Position [490, 25, 520, 55] NamePlacement "alternate" ShowName off Value "61.2" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant5" Position [100, 85, 130, 115] NamePlacement "alternate" ShowName off Value "4" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gai1" Position [365, 220, 395, 250] Orientation "left" ShowName off Gain "(alpha_A_bcw+alpha_A_gcw+alpha_A_egw+m_w*c_w)" 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 "Gain2" Position [370, 125, 400, 155] ShowName off Gain "1/(M_w*c_w)" 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 "Gain3" Position [345, 35, 375, 65] Orientation "left" NamePlacement "alternate" ShowName off Gain "(m_w*c_w)" 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 "Gain4" Position [355, 330, 385, 360] Orientation "left" NamePlacement "alternate" ShowName off Gain "(epsilon_A_bcw*sigma)" 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 "Gain5" Position [245, 165, 275, 195] Orientation "up" NamePlacement "alternate" ShowName off Gain "(alpha_A_egw)" 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 "Gain6" Position [225, 125, 255, 155] ShowName off Gain "(alpha_A_gcw)" 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 "Gain8" Position [180, 105, 210, 135] NamePlacement "alternate" ShowName off Gain "(alpha_A_bcw)" 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 "Gain9" Position [235, 85, 265, 115] NamePlacement "alternate" ShowName off Gain "(epsilon_A_bcw*sigma)" 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 Integrator Name "Integrator" Ports [1, 1] Position [420, 125, 450, 155] Port { PortNumber 1 Name "T_w" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Math Name "Math\nFunction1" Ports [2, 1] Position [155, 42, 185, 73] NamePlacement "alternate" ShowName off Operator "pow" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Math Name "Math\nFunction2" Ports [2, 1] Position [487, 310, 518, 340] Orientation "down" ShowName off Operator "pow" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Sum Name "Sum" Ports [7, 1] Position [305, 65, 350, 215] ShowName off Inputs "+++++--" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [477, 265, 513, 290] Orientation "down" NamePlacement "alternate" ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" Ports [2, 1] Position [105, 32, 130, 68] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [555, 30, 585, 65] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "T_w" Position [555, 133, 585, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Constant1" SrcPort 1 DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 DstBlock "Math\nFunction2" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 Points [-50, 0] DstBlock "Sum" DstPort 1 } Line { Labels [0, 0] SrcBlock "Sum" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "T_gc" SrcPort 1 DstBlock "Gain6" DstPort 1 } Line { SrcBlock "T_eg" SrcPort 1 Points [0, 0] DstBlock "Gain5" DstPort 1 } Line { SrcBlock "Gai1" SrcPort 1 Points [-70, 0] DstBlock "Sum" DstPort 7 } Line { SrcBlock "Gain4" SrcPort 1 Points [-70, 0; 0, -165] DstBlock "Sum" DstPort 6 } Line { SrcBlock "Gain5" SrcPort 1 DstBlock "Sum" DstPort 5 } Line { SrcBlock "Gain6" SrcPort 1 DstBlock "Sum" DstPort 4 } Line { SrcBlock "Constant2" SrcPort 1 DstBlock "Sum2" DstPort 1 } Line { SrcBlock "T_bc" SrcPort 1 Points [0, 0; 20, 0] Branch { Points [20, 0] DstBlock "Sum2" DstPort 2 } Branch { Points [0, 30] DstBlock "Gain8" DstPort 1 } } Line { SrcBlock "Sum2" SrcPort 1 DstBlock "Math\nFunction1" DstPort 1 } Line { SrcBlock "Gain8" SrcPort 1 DstBlock "Sum" DstPort 3 } Line { SrcBlock "Gain9" SrcPort 1 DstBlock "Sum" DstPort 2 } Line { SrcBlock "Math\nFunction1" SrcPort 1 Points [30, 0] DstBlock "Gain9" DstPort 1 } Line { SrcBlock "Constant5" SrcPort 1 Points [5, 0] DstBlock "Math\nFunction1" DstPort 2 } Line { SrcBlock "Math\nFunction2" SrcPort 1 Points [0, 0] DstBlock "Gain4" DstPort 1 } Line { SrcBlock "Constant3" SrcPort 1 Points [0, 0] DstBlock "Math\nFunction2" DstPort 2 } Line { Labels [0, 0] SrcBlock "Gain2" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Constant4" SrcPort 1 DstBlock "Sum3" DstPort 1 } Line { Name "T_w" Labels [0, 0] SrcBlock "Integrator" SrcPort 1 Points [70, 0; 0, -85] DstBlock "Sum3" DstPort 2 } Line { SrcBlock "Sum3" SrcPort 1 Points [0, 75; -50, 0; 0, 15] Branch { DstBlock "T_w" DstPort 1 } Branch { Points [0, 45; -55, 0] Branch { Points [-75, 0] DstBlock "Gai1" DstPort 1 } Branch { DstBlock "Sum1" DstPort 1 } } } Line { SrcBlock "load" SrcPort 1 Points [-5, 0; 0, -45] DstBlock "Gain3" DstPort 1 } } } Block { BlockType SubSystem Name "m_C" Ports [2, 1] Position [125, 30, 185, 85] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off Port { PortNumber 1 Name "m_C" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } System { Name "m_C" Location [717, 473, 1442, 819] 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 "m_sf" Position [25, 58, 55, 72] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_a" Position [130, 203, 160, 217] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [500, 30, 530, 60] ShowName off Gain "chi" 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 [555, 75, 585, 105] ShowName off Gain "gamma_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 "Gain10" Position [235, 195, 265, 225] ShowName off Gain "chi" 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 "Gain11" Position [185, 195, 215, 225] ShowName off Gain "gamma_blower" 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 "Gain2" Position [560, 30, 590, 60] ShowName off Gain "gamma_1" 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 "Gain3" Position [285, 195, 315, 225] ShowName off Gain "gamma_1" 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 "Gain4" Position [120, 125, 150, 155] ShowName off Gain "gamma_motor" 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 "Gain5" Position [165, 125, 195, 155] ShowName off Gain "eta_cho" 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 "Gain6" Position [210, 125, 240, 155] ShowName off Gain "(1*12.011)/(12.011+kappa_H*1.00797+kappa_O*15.999)" 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 "Gain7" Position [440, 195, 470, 225] Orientation "left" NamePlacement "alternate" ShowName off Gain "gamma_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 "Gain9" Position [440, 30, 470, 60] ShowName off Gain "gamma_blower" 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 Integrator Name "Integrator1" Ports [1, 1] Position [455, 135, 485, 165] Port { PortNumber 1 Name "M_c,char" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Product Name "Product1" Ports [2, 1] Position [300, 117, 330, 148] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum1" Ports [2, 1] Position [620, 48, 645, 92] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum4" Ports [3, 1] Position [385, 126, 420, 174] ShowName off Inputs "+--" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType InportShadow Name "m_a1" Position [380, 38, 410, 52] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off } Block { BlockType SubSystem Name "zeta_char" Ports [1, 1] Position [120, 33, 230, 97] MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off System { Name "zeta_char" Location [412, 634, 1307, 929] 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 "m_sf" Position [25, 163, 55, 177] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Constant Name "Constant1" Position [375, 205, 405, 235] ShowName off Value "2" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Product Name "Divide1" Ports [2, 1] Position [515, 172, 545, 203] ShowName off Inputs "/*" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Divide2" Ports [2, 1] Position [585, 137, 615, 168] ShowName off Inputs "**" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType Product Name "Divide3" Ports [2, 1] Position [760, 57, 790, 88] ShowName off Inputs "/*" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" RndMeth "Floor" SaturateOnIntegerOverflow off } Block { BlockType Gain Name "Gain" Position [80, 155, 110, 185] ShowName off Gain "gamma_motor" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "kg/s" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain10" Position [150, 155, 180, 185] NamePlacement "alternate" ShowName off Gain "eta_cho" 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 "Gain17" Position [220, 155, 250, 185] ShowName off Gain "(1*12.011)/(12.011+kappa_H*1.00797+kappa_O*15.999)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "g/s C" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain18" Position [295, 155, 325, 185] ShowName off Gain "1/12.011" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "mol C/s" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain2" Position [220, 240, 250, 270] ShowName off Gain "(kappa_H*1.00797)/(12.011+kappa_H*1.00797+kappa_O*15.999)" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "g/s H" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain25" Position [300, 240, 330, 270] ShowName off Gain "1/1.00797" ParameterDataTypeMode "Inherit via internal rule" ParameterDataType "sfix(16)" ParameterScaling "2^0" OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off Port { PortNumber 1 Name "mol H/s" RTWStorageClass "Auto" DataLoggingNameMode "SignalName" } } Block { BlockType Gain Name "Gain35" Position [375, 155, 405, 185] ShowName off Gain "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 "Gain38" Position [695, 85, 725, 115] ShowName off Gain "12.011" 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 "Sum7" Ports [2, 1] Position [650, 80, 675, 115] ShowName off Inputs "+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum8" Ports [2, 1] Position [455, 160, 480, 195] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Outport Name "zeta_char" Position [840, 68, 870, 82] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { Name "mol H/s" Labels [0, 0] SrcBlock "Gain25" SrcPort 1 Points [165, 0] DstBlock "Divide1" DstPort 2 } Line { SrcBlock "Sum8" SrcPort 1 DstBlock "Divide1" DstPort 1 } Line { Name "kg/s" Labels [0, 0] SrcBlock "Gain" SrcPort 1 Points [0, 0] DstBlock "Gain10" DstPort 1 } Line { SrcBlock "Divide3" SrcPort 1 Points [0, 0] DstBlock "zeta_char" DstPort 1 } Line { SrcBlock "Divide1" SrcPort 1 Points [15, 0; 0, -30] DstBlock "Divide2" DstPort 2 } Line { SrcBlock "Gain35" SrcPort 1 Points [0, 0] DstBlock "Sum8" DstPort 1 } Line { SrcBlock "Gain38" SrcPort 1 Points [10, 0; 0, -20] DstBlock "Divide3" DstPort 2 } Line { SrcBlock "Sum7" SrcPort 1 DstBlock "Gain38" DstPort 1 } Line { SrcBlock "Divide2" SrcPort 1 Points [5, 0; 0, -50] DstBlock "Sum7" DstPort 2 } Line { SrcBlock "Constant1" SrcPort 1 Points [30, 0] DstBlock "Sum8" DstPort 2 } Line { Name "g/s H" Labels [0, 0] SrcBlock "Gain2" SrcPort 1 Points [0, 0] DstBlock "Gain25" DstPort 1 } Line { Name "mol C/s" Labels [0, 0] SrcBlock "Gain18" SrcPort 1 Points [0, 0; 20, 0] Branch { DstBlock "Gain35" DstPort 1 } Branch { Points [0, -25; 215, 0] Branch { DstBlock "Divide2" DstPort 1 } Branch { Points [0, -55] DstBlock "Sum7" DstPort 1 } } } Line { Name "g/s C" Labels [0, 0] SrcBlock "Gain17" SrcPort 1 Points [0, 0; 15, 0] Branch { DstBlock "Gain18" DstPort 1 } Branch { Points [0, -105] DstBlock "Divide3" DstPort 1 } } Line { Labels [0, 0] SrcBlock "Gain10" SrcPort 1 Points [0, 0; 10, 0] Branch { Points [0, 85] DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Gain17" DstPort 1 } } Line { SrcBlock "m_sf" SrcPort 1 Points [0, 0] DstBlock "Gain" DstPort 1 } } } Block { BlockType Outport Name "m_C" Position [675, 133, 705, 147] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "m_a1" SrcPort 1 DstBlock "Gain9" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Gain2" DstPort 1 } Line { SrcBlock "Gain9" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [5, 0; 0, 15] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 Points [0, -10] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [10, 0] DstBlock "m_C" DstPort 1 } Line { SrcBlock "m_a" SrcPort 1 DstBlock "Gain11" DstPort 1 } Line { SrcBlock "Gain10" SrcPort 1 DstBlock "Gain3" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 Points [30, 0; 0, -60] DstBlock "Sum4" DstPort 2 } Line { SrcBlock "Gain11" SrcPort 1 DstBlock "Gain10" DstPort 1 } Line { SrcBlock "Gain7" SrcPort 1 Points [-65, 0] DstBlock "Sum4" DstPort 3 } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Sum4" DstPort 1 } Line { Name "M_c,char" Labels [1, 0] SrcBlock "Integrator1" SrcPort 1 Points [50, 0] Branch { Points [0, 60] DstBlock "Gain7" DstPort 1 } Branch { DstBlock "Gain1" DstPort 1 } } Line { SrcBlock "Sum4" SrcPort 1 DstBlock "Integrator1" DstPort 1 } Line { SrcBlock "Gain5" SrcPort 1 DstBlock "Gain6" DstPort 1 } Line { SrcBlock "Gain4" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { SrcBlock "m_sf" SrcPort 1 Points [45, 0] Branch { DstBlock "zeta_char" DstPort 1 } Branch { DstBlock "Gain4" DstPort 1 } } Line { SrcBlock "zeta_char" SrcPort 1 Points [40, 0; 0, 60] DstBlock "Product1" DstPort 1 } Line { SrcBlock "Gain6" SrcPort 1 DstBlock "Product1" DstPort 2 } Annotation { Position [259, 63] } } } Block { BlockType SubSystem Name "m_g" Ports [3, 1] Position [125, 257, 185, 313] NamePlacement "alternate" MinAlgLoopOccurrences off RTWSystemCode "Auto" FunctionWithSeparateData off System { Name "m_g" Location [763, 346, 1368, 786] 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 "m_C" Position [388, 15, 402, 45] Orientation "down" NamePlacement "alternate" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_sf" Position [85, 153, 115, 167] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Inport Name "m_a" Position [35, 243, 65, 257] Port "3" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Gain Name "Gain" Position [140, 145, 170, 175] NamePlacement "alternate" ShowName off Gain "gamma_motor" 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 [475, 190, 505, 220] ShowName off Gain "1/1000" 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 "Gain10" Position [240, 265, 270, 295] NamePlacement "alternate" ShowName off Gain "(kappa_O*15.999)/(12.011+kappa_H*1.00797+kappa_O*15.999)" 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 "Gain12" Position [295, 375, 325, 405] ShowName off Gain "(kappa_H*15.999)/(12.011+kappa_H*1.00797+kappa_O*15.999)" 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 "Gain13" Position [245, 375, 275, 405] ShowName off Gain "1/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 "Gain14" Position [380, 65, 410, 95] Orientation "down" ShowName off 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 "Gain15" Position [180, 315, 210, 345] ShowName off 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 "Gain2" Position [190, 145, 220, 175] NamePlacement "alternate" ShowName off Gain "eta_h2o" 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 "Gain3" Position [240, 315, 270, 345] ShowName off Gain "(2*15.999)/12.011" 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 "Gain4" Position [190, 200, 220, 230] NamePlacement "alternate" ShowName off Gain "eta_cho" 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 "Gain5" Position [240, 200, 270, 230] NamePlacement "alternate" ShowName off Gain "(kappa_H)/(12.011+kappa_H*1.00797+kappa_O*15.999)" 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 "Gain6" Position [290, 200, 320, 230] NamePlacement "alternate" ShowName off Gain "18.01494/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 "Gain7" Position [85, 235, 115, 265] NamePlacement "alternate" ShowName off Gain "gamma_blower" 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 "Gain8" Position [380, 115, 410, 145] Orientation "down" NamePlacement "alternate" ShowName off Gain "(1+(2*15.999/12.011))" 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 "Gain9" Position [140, 290, 170, 320] NamePlacement "alternate" ShowName off Gain "(15.999)/(2*kappa_N+2*15.999)" 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 "Gan8" Position [140, 235, 170, 265] NamePlacement "alternate" ShowName off Gain "(kappa_N*14.007)/(2*kappa_N+2*15.999)" 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 "Sum1" Ports [2, 1] Position [345, 170, 375, 205] ShowName off InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum2" Ports [4, 1] Position [345, 270, 385, 365] ShowName off Inputs "++--" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Sum Name "Sum5" Ports [4, 1] Position [410, 156, 450, 249] ShowName off Inputs "++++" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType InportShadow Name "m_C1" Position [95, 323, 125, 337] Port "1" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off } Block { BlockType Outport Name "m_g" Position [530, 198, 560, 212] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { SrcBlock "Sum5" SrcPort 1 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "m_g" DstPort 1 } Line { SrcBlock "m_C" SrcPort 1 DstBlock "Gain14" DstPort 1 } Line { SrcBlock "Gain8" SrcPort 1 Points [0, 0] DstBlock "Sum5" DstPort 1 } Line { SrcBlock "Gain2" SrcPort 1 Points [105, 0] DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Gain" SrcPort 1 Points [0, 0] Branch { DstBlock "Gain2" DstPort 1 } Branch { DstBlock "Gain4" DstPort 1 } } Line { SrcBlock "m_sf" SrcPort 1 DstBlock "Gain" DstPort 1 } Line { SrcBlock "Gain4" SrcPort 1 Points [0, 0] Branch { DstBlock "Gain5" DstPort 1 } Branch { Points [0, 65] Branch { DstBlock "Gain10" DstPort 1 } Branch { Points [0, 110] DstBlock "Gain13" DstPort 1 } } } Line { SrcBlock "Gain5" SrcPort 1 DstBlock "Gain6" DstPort 1 } Line { SrcBlock "Gain6" SrcPort 1 Points [5, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Gain7" SrcPort 1 Points [0, 0; 5, 0] Branch { DstBlock "Gan8" DstPort 1 } Branch { DstBlock "Gain9" DstPort 1 } } Line { SrcBlock "m_a" SrcPort 1 DstBlock "Gain7" DstPort 1 } Line { SrcBlock "Sum1" SrcPort 1 Points [0, 0] DstBlock "Sum5" DstPort 2 } Line { SrcBlock "Gan8" SrcPort 1 Points [170, 0; 0, -35] DstBlock "Sum5" DstPort 3 } Line { SrcBlock "Sum2" SrcPort 1 Points [5, 0] DstBlock "Sum5" DstPort 4 } Line { SrcBlock "Gain10" SrcPort 1 Points [0, 0] DstBlock "Sum2" DstPort 1 } Line { SrcBlock "Gain9" SrcPort 1 Points [0, 0] DstBlock "Sum2" DstPort 2 } Line { SrcBlock "m_C1" SrcPort 1 DstBlock "Gain15" DstPort 1 } Line { SrcBlock "Gain3" SrcPort 1 Points [0, 0] DstBlock "Sum2" DstPort 3 } Line { SrcBlock "Gain12" SrcPort 1 Points [0, 0] DstBlock "Sum2" DstPort 4 } Line { SrcBlock "Gain13" SrcPort 1 DstBlock "Gain12" DstPort 1 } Line { SrcBlock "Gain14" SrcPort 1 DstBlock "Gain8" DstPort 1 } Line { SrcBlock "Gain15" SrcPort 1 DstBlock "Gain3" DstPort 1 } } } Block { BlockType Outport Name "Tw nonlin" Position [580, 203, 610, 217] IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Block { BlockType Outport Name "O2 nonlin" Position [390, 458, 420, 472] Port "2" IconDisplay "Port number" OutDataType "sfix(16)" OutScaling "2^0" } Line { Name "T_w" Labels [0, 1] SrcBlock "T_w" SrcPort 1 Points [0, 0; 35, 0] Branch { Points [0, -70; -285, 0] Branch { Points [0, 40] Branch { DstBlock "T_gc" DstPort 1 } Branch { Points [0, 150] DstBlock "T_eg" DstPort 1 } } Branch { Points [0, -110] DstBlock "T_bc" DstPort 1 } } Branch { DstBlock "Tw nonlin" DstPort 1 } } Line { Name "T_gc" Labels [0, 0] SrcBlock "T_gc" SrcPort 1 Points [0, 0; 45, 0] Branch { Points [30, 0] DstBlock "T_w" DstPort 2 } Branch { Points [0, 95; -125, 0] DstBlock "T_eg" DstPort 2 } } Line { Name "T_eg" Labels [0, 1] SrcBlock "T_eg" SrcPort 1 Points [60, 0; 0, -140] DstBlock "T_w" DstPort 3 } Line { Name "T_bc" Labels [0, 0] SrcBlock "T_bc" SrcPort 1 Points [70, 0; 0, 85] Branch { Points [-150, 0] DstBlock "T_gc" DstPort 2 } Branch { Points [0, 25] DstBlock "T_w" DstPort 1 } } Line { Name "m_C" Labels [0, 1] SrcBlock "m_C" SrcPort 1 Points [0, 0; 15, 0] Branch { Points [0, 180] Branch { Points [0, 195] DstBlock "O2" DstPort 1 } Branch { Points [-95, 0] DstBlock "m_g" DstPort 1 } } Branch { Points [70, 0] DstBlock "T_bc" DstPort 2 } } Line { SrcBlock "O2" SrcPort 1 DstBlock "O2 nonlin" DstPort 1 } Line { SrcBlock "m_g" SrcPort 1 Points [0, 0; 40, 0] Branch { Points [0, -45] Branch { DstBlock "T_gc" DstPort 3 } Branch { Points [0, -170] DstBlock "T_bc" DstPort 3 } } Branch { Points [0, 105] Branch { DstBlock "T_eg" DstPort 3 } Branch { Points [0, 65] DstBlock "O2" DstPort 2 } } } Line { SrcBlock "m_sf" SrcPort 1 Points [20, 0; 0, 10] Branch { DstBlock "m_C" DstPort 1 } Branch { Points [0, 45] Branch { DstBlock "T_bc" DstPort 4 } Branch { Points [0, 195] Branch { DstBlock "m_g" DstPort 2 } Branch { Points [0, 190] DstBlock "O2" DstPort 3 } } } } Line { SrcBlock "m_a" SrcPort 1 Points [5, 0] Branch { Points [0, -10] DstBlock "m_C" DstPort 2 } Branch { Points [0, 30] Branch { DstBlock "T_bc" DstPort 5 } Branch { Points [0, 195] Branch { DstBlock "m_g" DstPort 3 } Branch { Points [0, 190] DstBlock "O2" DstPort 4 } } } } Line { SrcBlock "load" SrcPort 1 Points [-85, 0] DstBlock "T_w" DstPort 4 } Annotation { Position [335, 442] } } } Block { BlockType Sum Name "Sum3" Ports [2, 1] Position [565, 95, 585, 115] ShowName off IconShape "round" Inputs "|+-" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^0" SaturateOnIntegerOverflow off } Block { BlockType Scope Name "error" Ports [1] Position [705, 85, 745, 125] Floating off Location [232, 56, 1033, 483] Open off NumInputPorts "1" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } TimeRange "1.364323234377821" YMin "-1" YMax "1" SaveToWorkspace on SaveName "Input1" DataFormat "StructureWithTime" LimitDataPoints off SampleTime "0" } Line { SrcBlock "Subsystem" SrcPort 1 Points [15, 0] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 Points [0, 65] Branch { DstBlock "Controller" DstPort 1 } Branch { Points [145, 0] Branch { DstBlock "Mux2" DstPort 1 } Branch { Points [0, -45] Branch { DstBlock "Mux3" DstPort 1 } Branch { DstBlock "Sum3" DstPort 2 } } } } Line { SrcBlock "Controller" SrcPort 2 Points [10, 0; 0, -35; 20, 0] Branch { Points [0, -20] DstBlock "Output" DstPort 2 } Branch { Points [0, 60] DstBlock "Mux2" DstPort 2 } } Line { SrcBlock "Demux" SrcPort 1 DstBlock "Gain5" DstPort 1 } Line { Name "m_sf" Labels [0, 0] SrcBlock "Gain5" SrcPort 1 Points [0, -80] Branch { DstBlock "Subsystem" DstPort 1 } Branch { Points [-85, 0] DstBlock "Input" DstPort 1 } } Line { SrcBlock "Demux" SrcPort 2 DstBlock "Gain1" DstPort 1 } Line { SrcBlock "Controller" SrcPort 1 Points [0, -70] DstBlock "Input Saturation" DstPort 1 } Line { SrcBlock "Mux2" SrcPort 1 Points [0, -55] DstBlock "Output" DstPort 3 } Line { SrcBlock "Input Saturation" SrcPort 1 DstBlock "Demux" DstPort 1 } Line { SrcBlock "Step1" SrcPort 1 Points [10, 0; 0, 10] DstBlock "Mux1" DstPort 1 } Line { SrcBlock "Step" SrcPort 1 Points [10, 0; 0, -10] DstBlock "Mux1" DstPort 2 } Line { Name "m_a" Labels [0, 0] SrcBlock "Gain1" SrcPort 1 Points [0, -85] Branch { Points [130, 0] DstBlock "Subsystem" DstPort 2 } Branch { DstBlock "Input" DstPort 2 } } Line { SrcBlock "Controller" SrcPort 3 Points [20, 0; 0, 15; 50, 0] Branch { DstBlock "Output" DstPort 4 } Branch { Points [0, 45; -325, 0; 0, -270] DstBlock "Subsystem" DstPort 3 } } Line { SrcBlock "Subsystem" SrcPort 2 Points [0, -10] DstBlock "Delay" DstPort 1 } Line { SrcBlock "Delay" SrcPort 1 Points [15, 0; 0, 40] DstBlock "Mux" DstPort 2 } Line { SrcBlock "Ref" SrcPort 1 Points [230, 0; 0, 45] Branch { DstBlock "Controller" DstPort 2 } Branch { Points [0, 50; 130, 0; 0, -165] Branch { DstBlock "Mux3" DstPort 2 } Branch { DstBlock "Sum3" DstPort 1 } } } Line { SrcBlock "Mux3" SrcPort 1 Points [5, 0] DstBlock "Output" DstPort 1 } Line { SrcBlock "Sum3" SrcPort 1 DstBlock "error" DstPort 1 } } }