Model { Name "DEW_PX" 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 21:19:31 2001" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" ModifiedDateFormat "%" LastModifiedDate "Fri Sep 14 22:55:04 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 "DEW_PX" Location [294, 88, 784, 392] 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 SubSystem Name "DEW_P" Ports [2, 2, 0, 0, 0] Position [265, 28, 310, 92] ShowPortLabels on System { Name "DEW_P" Location [356, 84, 737, 455] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "Y" Position [55, 23, 85, 37] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Inport Name "VapP" Position [35, 163, 65, 177] Port "2" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Constant Name "Constant" Position [65, 240, 85, 260] Orientation "up" NamePlacement "alternate" ShowName off Value "1" } Block { BlockType Reference Name "Dot Product" Ports [2, 1, 0, 0, 0] Position [145, 96, 175, 129] ShowName off SourceBlock "simulink3/Math/Dot Product" SourceType "Dot Product" } Block { BlockType Fcn Name "Fcn" Position [200, 101, 230, 129] Expr "1/u" } Block { BlockType Product Name "Product" Ports [2, 1, 0, 0, 0] Position [90, 160, 110, 195] ShowName off Inputs "/*" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product1" Ports [2, 1, 0, 0, 0] Position [180, 202, 200, 233] ShowName off Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Product Name "Product2" Ports [2, 1, 0, 0, 0] Position [235, 197, 255, 228] ShowName off Inputs "2" SaturateOnIntegerOverflow on } Block { BlockType Outport Name "P" Position [265, 108, 295, 122] Port "1" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType Outport Name "X" Position [280, 208, 310, 222] Port "2" OutputWhenDisabled "held" InitialOutput "[]" } Line { SrcBlock "Dot Product" SrcPort 1 DstBlock "Fcn" DstPort 1 } Line { SrcBlock "Product" SrcPort 1 Points [10, 0] Branch { Points [5, 0] DstBlock "Dot Product" DstPort 2 } Branch { Points [0, 45] DstBlock "Product1" DstPort 2 } } Line { SrcBlock "Y" SrcPort 1 Points [15, 0] Branch { Points [25, 0] DstBlock "Dot Product" DstPort 1 } Branch { Points [0, 120; 60, 0] DstBlock "Product1" DstPort 1 } } Line { SrcBlock "Product1" SrcPort 1 DstBlock "Product2" DstPort 2 } Line { SrcBlock "Fcn" SrcPort 1 Points [10, 0] Branch { Points [0, 40; -25, 0] DstBlock "Product2" DstPort 1 } Branch { DstBlock "P" DstPort 1 } } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Product" DstPort 2 } Line { SrcBlock "Product2" SrcPort 1 DstBlock "X" DstPort 1 } Line { SrcBlock "VapP" SrcPort 1 DstBlock "Product" DstPort 1 } Annotation { Position [154, 325] Text "DEW_P:\nOutput: Dew Pressure(P) and Composi" "tion of Liquid(X)\nInput: Vapor Pressure(P_sat) and Composition of Vapor(Y)\n" "Done on: 14-Sep-2001. M.Subramanian" } } } Block { BlockType Mux Name "Mux" Ports [3, 1, 0, 0, 0] Position [205, 128, 225, 192] ShowName off Inputs "3" DisplayOption "bar" } Block { BlockType Display Name "P" Ports [1, 0, 0, 0, 0] Position [390, 33, 465, 57] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Constant Name "T" Position [20, 145, 50, 175] Value "110" } Block { BlockType SubSystem Name "VP-1" Ports [1, 1, 0, 0, 0] Position [125, 96, 150, 124] ForegroundColor "blue" BackgroundColor "cyan" ShowPortLabels on MaskDescription "Vapor Pressure(P) from Antoine Equation Consta" "nts (A, B, C) and Temperature(T)" MaskHelp "Input: Temperature(T)\nOutput: VaporPressure(P)" "\nParameters: Antoine Equation Constants (A, B, C)\nln P = A - B/(T+C)" 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 "VP-1" Location [2, 80, 798, 578] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "T" Position [120, 68, 150, 82] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Constant Name "Antoine Contstants: A,B,C" Position [25, 24, 145, 46] Value "[A, B, C]" } Block { BlockType Fcn Name "AntoineEquation" Position [225, 51, 305, 79] ForegroundColor "orange" Expr "exp(u[1] - u[2]/(u[3] + u[4]))" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [175, 47, 200, 83] ForegroundColor "blue" BackgroundColor "magenta" ShowName off Inputs "2" DisplayOption "none" } Block { BlockType Outport Name "P" Position [330, 58, 360, 72] 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 "P" DstPort 1 } Line { SrcBlock "T" SrcPort 1 DstBlock "Mux" DstPort 2 } } } Block { BlockType SubSystem Name "VP-2" Ports [1, 1, 0, 0, 0] Position [125, 146, 150, 174] ForegroundColor "blue" BackgroundColor "cyan" ShowPortLabels on MaskDescription "Vapor Pressure(P) from Antoine Equation Consta" "nts (A, B, C) and Temperature(T)" MaskHelp "Input: Temperature(T)\nOutput: VaporPressure(P)" "\nParameters: Antoine Equation Constants (A, B, C)\nln P = A - B/(T+C)" 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.2724|2945.47|224" System { Name "VP-2" Location [2, 80, 798, 578] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "T" Position [120, 68, 150, 82] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Constant Name "Antoine Contstants: A,B,C" Position [25, 24, 145, 46] Value "[A, B, C]" } Block { BlockType Fcn Name "AntoineEquation" Position [225, 51, 305, 79] ForegroundColor "orange" Expr "exp(u[1] - u[2]/(u[3] + u[4]))" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [175, 47, 200, 83] ForegroundColor "blue" BackgroundColor "magenta" ShowName off Inputs "2" DisplayOption "none" } Block { BlockType Outport Name "P" Position [330, 58, 360, 72] 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 "P" DstPort 1 } Line { SrcBlock "T" SrcPort 1 DstBlock "Mux" DstPort 2 } } } Block { BlockType SubSystem Name "VP-3" Ports [1, 1, 0, 0, 0] Position [125, 201, 150, 229] ForegroundColor "blue" BackgroundColor "cyan" ShowPortLabels on MaskDescription "Vapor Pressure(P) from Antoine Equation Consta" "nts (A, B, C) and Temperature(T)" MaskHelp "Input: Temperature(T)\nOutput: VaporPressure(P)" "\nParameters: Antoine Equation Constants (A, B, C)\nln P = A - B/(T+C)" 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.2043|2972.64|209" System { Name "VP-3" Location [2, 80, 798, 578] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on Block { BlockType Inport Name "T" Position [120, 68, 150, 82] Port "1" PortWidth "-1" SampleTime "-1" DataType "auto" SignalType "auto" Interpolate on } Block { BlockType Constant Name "Antoine Contstants: A,B,C" Position [25, 24, 145, 46] Value "[A, B, C]" } Block { BlockType Fcn Name "AntoineEquation" Position [225, 51, 305, 79] ForegroundColor "orange" Expr "exp(u[1] - u[2]/(u[3] + u[4]))" } Block { BlockType Mux Name "Mux" Ports [2, 1, 0, 0, 0] Position [175, 47, 200, 83] ForegroundColor "blue" BackgroundColor "magenta" ShowName off Inputs "2" DisplayOption "none" } Block { BlockType Outport Name "P" Position [330, 58, 360, 72] 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 "P" DstPort 1 } Line { SrcBlock "T" SrcPort 1 DstBlock "Mux" DstPort 2 } } } Block { BlockType Display Name "X" Ports [1, 0, 0, 0, 0] Position [385, 87, 465, 163] Format "short" Decimation "1" Floating off SampleTime "-1" } Block { BlockType Constant Name "Y" Position [95, 30, 175, 60] Value "[0.3 0.45 0.25]" } Line { Labels [0, 0] SrcBlock "DEW_P" SrcPort 2 Points [45, 0; 0, 50] DstBlock "X" DstPort 1 } Line { SrcBlock "T" SrcPort 1 Points [25, 0] Branch { DstBlock "VP-2" DstPort 1 } Branch { Points [0, -50] DstBlock "VP-1" DstPort 1 } Branch { Points [0, 55] DstBlock "VP-3" DstPort 1 } } Line { SrcBlock "Y" SrcPort 1 DstBlock "DEW_P" DstPort 1 } Line { SrcBlock "Mux" SrcPort 1 Points [20, 0] DstBlock "DEW_P" DstPort 2 } Line { SrcBlock "VP-3" SrcPort 1 Points [35, 0] DstBlock "Mux" DstPort 3 } Line { SrcBlock "VP-2" SrcPort 1 DstBlock "Mux" DstPort 2 } Line { SrcBlock "VP-1" SrcPort 1 Points [35, 0] DstBlock "Mux" DstPort 1 } Line { SrcBlock "DEW_P" SrcPort 1 DstBlock "P" DstPort 1 } Annotation { Position [339, 229] Text "Dew Pressure (P) and Composition (X)" } Annotation { Position [308, 260] Text "Done on 14-Sep-2001\nM.Subramanian" } } }