Model { Name "Sat_Temp" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "10.0" SolverMode "Auto" Solver "ode45" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "auto" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip on BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "oneshot" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect off Created "Fri Sep 14 20:39:41 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Fri Sep 14 22:57:15 2001" ModelVersionFormat "1.%" ConfigurationManager "none" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "Sat_Temp" Location [377, 93, 766, 265] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Display Name "Display" Ports [1, 0, 0, 0, 0] Position [240, 60, 330, 90] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Constant Name "P" Position [55, 60, 85, 90] Value "150" } Block { BlockType SubSystem Name "SatTemp" Ports [1, 1, 0, 0, 0] Position [135, 50, 185, 100] ForegroundColor "red" BackgroundColor "yellow" ShowPortLabels on MaskDescription "Saturation Temperature (T) for the given Satura" "tion Pressure (P) and Antoine Equation Constants (A, B, C)" MaskHelp "Saturation Temperature (T):\nInput: Saturation " "Pressure (P)\nParameters: Antoine Constants (A, B, C)\nOutput: Saturation Tem" "perature (T)\nDone on 14-Sep-2001 by \nM.Subramanian, msubbu@svce.ac.in" MaskPromptString "A|B|C" MaskStyleString "edit,edit,edit" MaskTunableValueString "on,on,on" MaskCallbackString "||" MaskEnableString "on,on,on" MaskVisibilityString "on,on,on" MaskVariables "A=@1;B=@2;C=@3;" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "14.5463|2940.46|237.22" System { Name "SatTemp" Location [175, 136, 592, 281] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "P" Position [120, 73, 150, 87] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Constant Name "Antoine Contstants: A,B,C" Position [25, 29, 145, 51] Value "[A, B, C]" } Block { BlockType Fcn Name "AntoineEquation" Position [215, 56, 295, 84] ForegroundColor "orange" Expr "(u[2]/(u[1] - log(u[4])))-u[3]" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [175, 52, 200, 88] ForegroundColor "blue" BackgroundColor "magenta" ShowName off Inputs "2" DisplayOption "none" } Block { BlockType Outport Name "T" Position [320, 63, 350, 77] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Antoine Contstants: A,B,C" SrcPort 1 Points [10, 0] DstBlock "Mux" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 DstBlock "AntoineEquation" DstPort 1 } Line { SrcBlock "AntoineEquation" SrcPort 1 DstBlock "T" DstPort 1 } Line { SrcBlock "P" SrcPort 1 DstBlock "Mux" DstPort 2 } } } Line { SrcBlock "SatTemp" SrcPort 1 DstBlock "Display" DstPort 1 } Line { SrcBlock "P" SrcPort 1 DstBlock "SatTemp" DstPort 1 } } }