⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 crystallizationversion4.mdl

📁 These are matlab and simulink files to model the membrane crystallization system, including the matl
💻 MDL
📖 第 1 页 / 共 5 页
字号:
	  Value			  "1000"
	  VectorParams1D	  on
	  SamplingMode		  "Sample based"
	  OutDataTypeMode	  "Inherit from 'Constant value'"
	  OutDataType		  "sfix(16)"
	  ConRadixGroup		  "Use specified scaling"
	  OutScaling		  "2^0"
	  SampleTime		  "inf"
	  FramePeriod		  "inf"
	}
	Block {
	  BlockType		  From
	  Name			  "Water flow[kg/min]"
	  Position		  [110, 676, 155, 704]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "water"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Constant
	  Name			  "k_0, pre-exponential factor "
	  Position		  [115, 114, 160, 146]
	  BackgroundColor	  "yellow"
	  Value			  "3.17e4"
	  VectorParams1D	  on
	  SamplingMode		  "Sample based"
	  OutDataTypeMode	  "Inherit from 'Constant value'"
	  OutDataType		  "sfix(16)"
	  ConRadixGroup		  "Use specified scaling"
	  OutScaling		  "2^0"
	  SampleTime		  "inf"
	  FramePeriod		  "inf"
	}
	Block {
	  BlockType		  Goto
	  Name			  "leaving pressure"
	  Position		  [1110, 69, 1160, 101]
	  BackgroundColor	  "red"
	  GotoTag		  "P_L_M"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Goto
	  Name			  "leaving temperature"
	  Position		  [1110, 14, 1160, 46]
	  BackgroundColor	  "red"
	  GotoTag		  "T_L_M"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "membrane flux, kg/s2"
	  Position		  [970, 560, 1030, 590]
	  ShowName		  off
	  Expr			  "u(2)*u(1)/u(3)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "w"
	  Position		  [230, 390, 290, 420]
	  Expr			  "(u[1]+u[2])/2"
	}
	Line {
	  SrcBlock		  "k_0, pre-exponential factor "
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "E_A, activation energy"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux"
	  SrcPort		  1
	  DstBlock		  "J, permeate flux"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Entering pressure[bar]"
	  SrcPort		  1
	  Points		  [110, 0]
	  Branch {
	    DstBlock		    "      dP, pressure difference"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -210]
	    DstBlock		    "leaving pressure"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "      dP, pressure difference"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  4
	}
	Line {
	  SrcBlock		  "      dPi, osmotic pressure difference"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  5
	}
	Line {
	  SrcBlock		  "Entering temperature [C]"
	  SrcPort		  1
	  DstBlock		  "leaving temperature"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux3"
	  SrcPort		  1
	  Points		  [30, 0]
	  DstBlock		  "      dPi, osmotic pressure difference"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Entering temperature[C]"
	  SrcPort		  1
	  DstBlock		  "Mux"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Entering temperature[c]"
	  SrcPort		  1
	  Points		  [150, 0]
	  DstBlock		  "Mux3"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Leaving mass flow[kg/min]"
	  SrcPort		  1
	  Points		  [290, 0]
	  Branch {
	    Points		    [0, 50]
	    DstBlock		    "Add1"
	    DstPort		    1
	  }
	  Branch {
	    DstBlock		    "Mux2"
	    DstPort		    3
	  }
	}
	Line {
	  SrcBlock		  "J, permeate flux"
	  SrcPort		  1
	  DstBlock		  "Mux1"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux1"
	  SrcPort		  1
	  DstBlock		  "Membrane area[m2]"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Membrane area[m2]"
	  SrcPort		  1
	  DstBlock		  "Membrane Area[m2]"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Entering mass fraction [%]"
	  SrcPort		  1
	  DstBlock		  "Mux2"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux2"
	  SrcPort		  1
	  DstBlock		  "membrane flux, kg/s2"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "membrane flux, kg/s2"
	  SrcPort		  1
	  Points		  [15, 0]
	  Branch {
	    DstBlock		    "Leaving mass fraction[%]"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -125; -860, 0]
	    DstBlock		    "Mux5"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Add1"
	  SrcPort		  1
	  Points		  [50, 0]
	  Branch {
	    DstBlock		    "Entering mass flow[kg/min]"
	    DstPort		    1
	  }
	  Branch {
	    Points		    [0, -160]
	    DstBlock		    "Mux2"
	    DstPort		    1
	  }
	}
	Line {
	  SrcBlock		  "Water flow[kg/min]"
	  SrcPort		  1
	  Points		  [420, 0]
	  Branch {
	    DstBlock		    "Add1"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, -395]
	    DstBlock		    "Mux1"
	    DstPort		    2
	  }
	}
	Line {
	  SrcBlock		  "Rho lactose[kg/m3]"
	  SrcPort		  1
	  Points		  [30, 0; 0, 25]
	  DstBlock		  "Mux4"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Rho water[kg/m3]"
	  SrcPort		  1
	  DstBlock		  "Mux4"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Mux4"
	  SrcPort		  1
	  DstBlock		  "Liquid density,E"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Liquid density,E"
	  SrcPort		  1
	  Points		  [80, 0; 0, -45; -120, 0]
	  DstBlock		  "Mux3"
	  DstPort		  3
	}
	Line {
	  SrcBlock		  "Entering mass fraction[%]"
	  SrcPort		  1
	  DstBlock		  "Mux5"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Mux5"
	  SrcPort		  1
	  DstBlock		  "w"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "w"
	  SrcPort		  1
	  Points		  [5, 0; 0, 0]
	  Branch {
	    Points		    [0, -15]
	    DstBlock		    "Mux3"
	    DstPort		    2
	  }
	  Branch {
	    Points		    [0, 35; -70, 0]
	    DstBlock		    "Mux4"
	    DstPort		    3
	  }
	}
      }
    }
    Block {
      BlockType		      Display
      Name		      "Membrane area[m2]"
      Ports		      [1]
      Position		      [3660, 621, 3745, 649]
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Goto
      Name		      "Membrane entering mass fraction [%]"
      Position		      [3318, 745, 3372, 785]
      Orientation	      "up"
      BackgroundColor	      "green"
      ShowName		      off
      GotoTag		      "w_E_M"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "Membrane leaving mass flow [kg/s]"
      Position		      [3244, 535, 3306, 580]
      Orientation	      "down"
      BackgroundColor	      "green"
      ShowName		      off
      GotoTag		      "f_L_M"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      From
      Name		      "Membrane leaving mass fraction [%]"
      Position		      [3311, 535, 3369, 580]
      Orientation	      "up"
      BackgroundColor	      "red"
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "w_L_M"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      From
      Name		      "Membrane leaving pressure [bar]"
      Position		      [3453, 535, 3517, 580]
      Orientation	      "up"
      BackgroundColor	      "red"
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "P_L_M"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      From
      Name		      "Membrane leaving temperature [C]"
      Position		      [3385, 535, 3435, 580]
      Orientation	      "up"
      BackgroundColor	      "red"
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "T_L_M"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Mix"
      Ports		      []
      Position		      [1715, 951, 1996, 1189]
      NamePlacement	      "alternate"
      ShowName		      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"Mix"
	Location		[-198, 118, 1070, 779]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"usletter"
	PaperUnits		"inches"
	TiledPaperMargins	[0.500000, 0.500000, 0.500000, 0.500000]
	TiledPageScale		1
	ShowPageBoundaries	off
	ZoomFactor		"100"
	Block {
	  BlockType		  Goto
	  Name			  "Entering mass flow[kg/min]"
	  Position		  [825, 180, 900, 210]
	  BackgroundColor	  "red"
	  GotoTag		  "F_E_Mix"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  From
	  Name			  "Entering mass fraction[%]"
	  Position		  [340, 345, 425, 375]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "w_E_Mix"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  From
	  Name			  "Entering pressure[bar]"
	  Position		  [340, 595, 425, 625]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "P_E_Mix"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  From
	  Name			  "Entering temperature[C]"
	  Position		  [340, 475, 425, 505]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "T_E_Mix"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn"
	  Position		  [555, 180, 615, 210]
	  ShowName		  off
	  Expr			  "u[2]-u[1]"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn1"
	  Position		  [730, 325, 790, 355]
	  ShowName		  off
	  Expr			  "(u[1]*u[3]+u[2]*u[4])/(u[1]+u[2])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn2"
	  Position		  [730, 555, 790, 585]
	  ShowName		  off
	  Expr			  "(u[1]*u[3]+u[2]*u[4])/(u[1]+u[2])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Fcn3"
	  Position		  [730, 410, 790, 440]
	  ShowName		  off
	  Expr			  "(u[1]*u[3]+u[2]*u[4])/(u[1]+u[2])"
	}
	Block {
	  BlockType		  From
	  Name			  "Feed flow[kg/min]"
	  Position		  [340, 145, 425, 175]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Feed"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  From
	  Name			  "Feed mass fraction[%]"
	  Position		  [340, 275, 425, 305]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Feed_Conc"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  From
	  Name			  "Feed pressure[bar]"
	  Position		  [340, 540, 425, 570]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Feed_P"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  From
	  Name			  "Feed temperature[C]"
	  Position		  [340, 415, 425, 445]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "Feed_T"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  From
	 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -