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

📄 membraneim.mdl

📁 These are matlab and simulink files to model the membrane crystallization system, including the matl
💻 MDL
📖 第 1 页 / 共 4 页
字号:
    NamePlacement	    "normal"
    FontName		    "Arial"
    FontSize		    10
    FontWeight		    "normal"
    FontAngle		    "normal"
    ShowName		    on
  }
  BlockParameterDefaults {
    Block {
      BlockType		      Constant
      Value		      "1"
      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		      Derivative
      LinearizePole	      "inf"
    }
    Block {
      BlockType		      Display
      Format		      "short"
      Decimation	      "10"
      Floating		      off
      SampleTime	      "-1"
    }
    Block {
      BlockType		      From
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      Fcn
      Expr		      "sin(u[1])"
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Goto
      IconDisplay	      "Tag"
    }
    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		      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"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    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
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      TransferFcn
      Numerator		      "[1]"
      Denominator	      "[1 2 1]"
      AbsoluteTolerance	      "auto"
      ContinuousStateAttributes	"''"
      Realization	      "auto"
    }
    Block {
      BlockType		      TransportDelay
      DelayTime		      "1"
      InitialOutput	      "0"
      BufferSize	      "1024"
      FixedBuffer	      off
      TransDelayFeedthrough   off
      PadeOrder		      "0"
    }
  }
  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		    "membraneim"
    Location		    [2, 70, 1278, 988]
    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		      From
      Name		      "                                           2"
      Position		      [980, 580, 1050, 630]
      Orientation	      "down"
      BackgroundColor	      "red"
      NamePlacement	      "alternate"
      ShowName		      off
      CloseFcn		      "tagdialog Close"
      GotoTag		      "water"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "    11"
      Position		      [811, 580, 909, 625]
      Orientation	      "up"
      BackgroundColor	      "green"
      ShowName		      off
      GotoTag		      "MembraneArea"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      "  Membrane entering mass fraction [%]"
      Position		      [700, 514, 790, 566]
      BackgroundColor	      "green"
      ShowName		      off
      GotoTag		      "T_E_M"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Goto
      Name		      " Membrane BH entering pressure [bar]"
      Position		      [695, 436, 790, 484]
      BackgroundColor	      "green"
      ShowName		      off
      GotoTag		      "P_E_M"
      TagVisibility	      "global"
    }
    Block {
      BlockType		      Gain
      Name		      "1/Ti"
      Position		      [250, 515, 280, 545]
      Gain		      "1/22"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Derivative
      Name		      "Derivative1"
      Position		      [360, 390, 390, 420]
    }
    Block {
      BlockType		      Constant
      Name		      "Entering concentration[%]"
      Position		      [495, 374, 595, 406]
      BackgroundColor	      "yellow"
      Value		      "0.2066"
    }
    Block {
      BlockType		      Constant
      Name		      "Entering flow[kg/min]"
      Position		      [570, 310, 600, 340]
      BackgroundColor	      "yellow"
      Value		      "52.52"
    }
    Block {
      BlockType		      Constant
      Name		      "Entering pressure[bar]"
      Position		      [575, 480, 605, 510]
      BackgroundColor	      "yellow"
      Value		      "60"
    }
    Block {
      BlockType		      Constant
      Name		      "Entering temperature[C]"
      Position		      [570, 525, 600, 555]
      BackgroundColor	      "yellow"
      Value		      "53"
    }
    Block {
      BlockType		      Integrator
      Name		      "Iaction3"
      Ports		      [1, 1]
      Position		      [305, 515, 335, 545]
      InitialCondition	      "55"
      IgnoreLimit	      off
    }
    Block {
      BlockType		      Gain
      Name		      "Kc"
      Position		      [195, 455, 225, 485]
      Gain		      "198"
      ParameterDataTypeMode   "Inherit via internal rule"
      OutDataTypeMode	      "Inherit via internal rule"
      SaturateOnIntegerOverflow	off
    }
    Block {
      BlockType		      Display
      Name		      "Leaving Temperature[C]"
      Ports		      [1]
      Position		      [1265, 527, 1350, 553]
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Display
      Name		      "Leaving concentration[%]"
      Ports		      [1]
      Position		      [1260, 387, 1345, 413]
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Display
      Name		      "Leaving flow [kg/min]"
      Ports		      [1]
      Position		      [1260, 322, 1345, 348]
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      Display
      Name		      "Leaving pressure[bar]"
      Ports		      [1]
      Position		      [1260, 457, 1345, 483]
      Decimation	      "1"
      Lockdown		      off
    }
    Block {
      BlockType		      SubSystem
      Name		      "Membrane"
      Ports		      []
      Position		      [790, 304, 1097, 579]
      ShowName		      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      FunctionWithSeparateData off
      MaskHideContents	      off
      System {
	Name			"Membrane"
	Location		[29, 82, 1280, 983]
	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		  Fcn
	  Name			  "DeltaP"
	  Position		  [635, 400, 695, 430]
	  Expr			  "u[1]-1.01325"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "DeltaPi"
	  Position		  [640, 290, 700, 320]
	  Expr			  "(u[3]+273.15)*u[4]*u[5]*1000*u[1]/(u[2]*100"
"000)"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Density"
	  Position		  [500, 315, 560, 345]
	  Expr			  "1/(u[3]/u[1]+(1-u[3])/u[2])"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "Diameter"
	  Position		  [890, 550, 950, 580]
	  Expr			  "(u[1]/(u[2]*u[3]))/(3.14)"
	}
	Block {
	  BlockType		  Constant
	  Name			  "E_A, activation energy1"
	  Position		  [290, 79, 335, 111]
	  BackgroundColor	  "yellow"
	  Value			  "25.96"
	}
	Block {
	  BlockType		  From
	  Name			  "Entering mass flow[kg/min]"
	  Position		  [905, 376, 950, 404]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "f_E_M"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  From
	  Name			  "Entering mass fraction[%]"
	  Position		  [255, 501, 300, 529]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "w_E_M"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  From
	  Name			  "Entering pressure[bar]"
	  Position		  [140, 400, 185, 430]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "P_E_M"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  From
	  Name			  "Entering temperature [C]"
	  Position		  [55, 236, 100, 264]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"
	  GotoTag		  "T_E_M"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Integrator
	  Name			  "Integrator"
	  Ports			  [2, 1]
	  Position		  [1385, 512, 1415, 543]
	  InitialConditionSource  "external"
	  IgnoreLimit		  off
	}
	Block {
	  BlockType		  Fcn
	  Name			  "J"
	  Position		  [780, 240, 840, 270]
	  Expr			  "u(1)*exp(-u(2)/(1e-3*8.314*(u(3)+273.15)))*"
"(u(5)-u(4))"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Leaving mass fraction[%]"
	  Position		  [1620, 514, 1670, 546]
	  BackgroundColor	  "red"
	  GotoTag		  "w_L_M"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Goto
	  Name			  "Leavinging mass flow[kg/min]"
	  Position		  [1605, 324, 1655, 356]
	  BackgroundColor	  "red"
	  GotoTag		  "f_L_M"
	  TagVisibility		  "global"
	}
	Block {
	  BlockType		  Fcn
	  Name			  "M"
	  Position		  [1035, 710, 1095, 740]
	  Expr			  "3.14*(u[1]/2)^2*u[2]*u[3]*u[4]"
	}
	Block {
	  BlockType		  Constant
	  Name			  "Membrane height"
	  Position		  [725, 550, 755, 580]
	  BackgroundColor	  "yellow"
	  Value			  "4"
	}
	Block {
	  BlockType		  From
	  Name			  "MembraneArea[m2]"
	  Position		  [780, 326, 825, 354]
	  BackgroundColor	  "green"
	  CloseFcn		  "tagdialog Close"

⌨️ 快捷键说明

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