Model {
  Name			  "BUBL_PY"
  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	  "%<Auto>"
  LastModifiedBy	  "msubbu"
  ModifiedDateFormat	  "%<Auto>"
  LastModifiedDate	  "Sat Sep 15 13:11:10 2001"
  ModelVersionFormat	  "1.%<AutoIncrement:191>"
  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		    "BUBL_PY"
    Location		    [284, 96, 774, 400]
    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		      "BUBL_P"
      Ports		      [2, 2, 0, 0, 0]
      Position		      [265, 28, 310, 92]
      ShowPortLabels	      on
      System {
	Name			"BUBL_P"
	Location		[364, 76, 745, 447]
	Open			on
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"automatic"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	ZoomFactor		"100"
	AutoZoom		on
	Block {
	  BlockType		  Inport
	  Name			  "X"
	  Position		  [55, 23, 85, 37]
	  Port			  "1"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	Block {
	  BlockType		  Inport
	  Name			  "VapP"
	  Position		  [65, 173, 95, 187]
	  Port			  "2"
	  PortWidth		  "-1"
	  SampleTime		  "-1"
	  DataType		  "auto"
	  SignalType		  "auto"
	  Interpolate		  on
	}
	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		  [201, 145, 239, 175]
	  Orientation		  "down"
	  NamePlacement		  "alternate"
	  ShowName		  off
	  Expr			  "1/u"
	}
	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			  "Y"
	  Position		  [280, 208, 310, 222]
	  Port			  "2"
	  OutputWhenDisabled	  "held"
	  InitialOutput		  "[]"
	}
	Line {
	  SrcBlock		  "X"
	  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		  "Product2"
	  SrcPort		  1
	  DstBlock		  "Y"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "VapP"
	  SrcPort		  1
	  Points		  [25, 0]
	  Branch {
	    Points		    [5, 0]
	    DstBlock		    "Dot Product"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 45]
	    DstBlock		    "Product1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Dot Product"
	  SrcPort		  1
	  Points		  [40, 0]
	  Branch {
	    DstBlock		    "P"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Fcn"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Fcn"
	  SrcPort		  1
	  DstBlock		  "Product2"
	  DstPort		  1
	}
	Annotation {
	  Position		  [154, 325]
	  Text			  "BUBL_P:\nOutput: Bubble Pressure(P) and Com"
"position of Vapor(Y)\nInput: Vapor Pressure(P_sat) and Composition of Liquid("
"X)\nDone on: 15-Sep-2001. M.Subramanian"
	}
      }
    }
    Block {
      BlockType		      Mux
      Name		      "Mux"
      Ports		      [3, 1, 0, 0, 0]
      Position		      [205, 128, 225, 192]
      ForegroundColor	      "red"
      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		[4, 78, 800, 576]
	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		      Constant
      Name		      "X"
      Position		      [95, 30, 175, 60]
      Value		      "[0.3 0.45 0.25]"
    }
    Block {
      BlockType		      Display
      Name		      "Y"
      Ports		      [1, 0, 0, 0, 0]
      Position		      [385, 87, 465, 163]
      Format		      "short"
      Decimation	      "1"
      Floating		      off
      SampleTime	      "-1"
    }
    Line {
      Labels		      [0, 0]
      SrcBlock		      "BUBL_P"
      SrcPort		      2
      Points		      [45, 0; 0, 50]
      DstBlock		      "Y"
      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		      "X"
      SrcPort		      1
      DstBlock		      "BUBL_P"
      DstPort		      1
    }
    Line {
      SrcBlock		      "Mux"
      SrcPort		      1
      Points		      [20, 0]
      DstBlock		      "BUBL_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		      "BUBL_P"
      SrcPort		      1
      DstBlock		      "P"
      DstPort		      1
    }
    Annotation {
      Position		      [339, 229]
      Text		      "BUBL Pressure (P) and Composition (Y)"
    }
    Annotation {
      Position		      [308, 260]
      Text		      "Done on 15-Sep-2001\nM.Subramanian"
    }
  }
}
