📄 crystallizationversion4.mdl
字号:
Block {
BlockType From
Name "Leaving w10"
Position [1765, 114, 1850, 156]
Orientation "left"
BackgroundColor "red"
NamePlacement "alternate"
ShowName off
CloseFcn "tagdialog Close"
FontSize 14
GotoTag "Lconc_L_Flash"
TagVisibility "global"
}
Block {
BlockType From
Name "Leaving w11"
Position [2060, 51, 2155, 99]
BackgroundColor "red"
ShowName off
CloseFcn "tagdialog Close"
FontSize 14
GotoTag "f_E_Flash"
TagVisibility "global"
}
Block {
BlockType From
Name "Leaving w8"
Position [1765, 51, 1850, 99]
Orientation "left"
BackgroundColor "red"
NamePlacement "alternate"
ShowName off
CloseFcn "tagdialog Close"
FontSize 14
GotoTag "f_L_Flash"
TagVisibility "global"
}
Block {
BlockType From
Name "Leaving w9"
Position [1760, 170, 1850, 220]
Orientation "left"
BackgroundColor "red"
NamePlacement "alternate"
ShowName off
CloseFcn "tagdialog Close"
FontSize 14
GotoTag "T_L_Flash"
TagVisibility "global"
}
Block {
BlockType Display
Name "Liquid volume fraction [%]"
Ports [1]
Position [1060, 1025, 1150, 1055]
Orientation "left"
Decimation "1"
Lockdown off
}
Block {
BlockType Constant
Name "Low pressure[bar]"
Position [2030, 421, 2070, 459]
Orientation "left"
BackgroundColor "cyan"
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 Constant
Name "Low pressure[bar]2"
Position [1906, 435, 1944, 475]
Orientation "up"
BackgroundColor "cyan"
NamePlacement "alternate"
ShowName off
Value "8.523"
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 Constant
Name "Low temperature[C]"
Position [2100, 381, 2140, 419]
Orientation "left"
BackgroundColor "cyan"
Value "25"
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 Display
Name "Mass flow [kg/min]-bh"
Ports [1]
Position [3250, 970, 3340, 1000]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass flow [kg/min]-c"
Ports [1]
Position [1595, 530, 1685, 560]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass flow [kg/min]-f"
Ports [1]
Position [1515, 25, 1605, 55]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass flow [kg/min]-m"
Ports [1]
Position [2190, 895, 2280, 925]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass flow [kg/min]-mem"
Ports [1]
Position [3315, 155, 3405, 185]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass flow [kg/min]-p"
Ports [1]
Position [2770, 900, 2860, 930]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass flow [kg/min]-s"
Ports [1]
Position [2690, 60, 2780, 90]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass fraction [%]-bh"
Ports [1]
Position [3295, 1035, 3385, 1065]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass fraction [%]-c"
Ports [1]
Position [1595, 595, 1685, 625]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass fraction [%]-f"
Ports [1]
Position [1515, 90, 1605, 120]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass fraction [%]-m"
Ports [1]
Position [2185, 980, 2275, 1010]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass fraction [%]-mem"
Ports [1]
Position [3365, 215, 3455, 245]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass fraction [%]-p"
Ports [1]
Position [2775, 1030, 2865, 1060]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Mass fraction [%]-s"
Ports [1]
Position [2545, 130, 2635, 160]
Decimation "1"
Lockdown off
}
Block {
BlockType SubSystem
Name "Membrane"
Ports []
Position [3243, 611, 3517, 741]
Orientation "up"
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Membrane"
Location [0, 449, 1191, 1146]
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 " dP, pressure difference"
Position [380, 280, 440, 310]
Expr "u(1)-1.01325"
}
Block {
BlockType Fcn
Name " dPi, osmotic pressure difference"
Position [380, 335, 440, 365]
Expr "(u(1)+273.15)*u[3]*u(2)*1000*8.314/(342.296"
"48*100000)"
}
Block {
BlockType Sum
Name "Add1"
Ports [2, 1]
Position [800, 667, 830, 698]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutScaling "2^-10"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "E_A, activation energy"
Position [115, 169, 160, 201]
BackgroundColor "yellow"
Value "25.96"
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 "Entering mass flow[kg/min]"
Position [1115, 669, 1165, 701]
BackgroundColor "red"
GotoTag "f_E_M"
TagVisibility "global"
}
Block {
BlockType From
Name "Entering mass fraction [%]"
Position [115, 561, 160, 589]
BackgroundColor "green"
CloseFcn "tagdialog Close"
GotoTag "w_E_M"
TagVisibility "global"
}
Block {
BlockType From
Name "Entering mass fraction[%]"
Position [110, 376, 155, 404]
BackgroundColor "green"
CloseFcn "tagdialog Close"
GotoTag "w_E_M"
TagVisibility "global"
}
Block {
BlockType From
Name "Entering pressure[bar]"
Position [115, 280, 160, 310]
BackgroundColor "green"
CloseFcn "tagdialog Close"
GotoTag "P_E_M"
TagVisibility "global"
}
Block {
BlockType From
Name "Entering temperature [C]"
Position [115, 16, 160, 44]
BackgroundColor "green"
CloseFcn "tagdialog Close"
GotoTag "T_E_M"
TagVisibility "global"
}
Block {
BlockType From
Name "Entering temperature[C]"
Position [115, 226, 160, 254]
BackgroundColor "green"
CloseFcn "tagdialog Close"
GotoTag "T_E_M"
TagVisibility "global"
}
Block {
BlockType From
Name "Entering temperature[c]"
Position [110, 331, 155, 359]
BackgroundColor "green"
CloseFcn "tagdialog Close"
GotoTag "T_E_M"
TagVisibility "global"
}
Block {
BlockType Fcn
Name "J, permeate flux"
Position [535, 225, 595, 255]
Expr "u(1)*exp(-u(2)/(1e-3*8.314*(u(3)+273.15)))*"
"(u(4)-u(5))"
}
Block {
BlockType From
Name "Leaving mass flow[kg/min]"
Position [115, 611, 160, 639]
BackgroundColor "green"
CloseFcn "tagdialog Close"
GotoTag "f_L_M"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Leaving mass fraction[%]"
Position [1110, 559, 1160, 591]
BackgroundColor "red"
GotoTag "w_L_M"
TagVisibility "global"
}
Block {
BlockType Fcn
Name "Liquid density,E"
Position [290, 505, 345, 535]
Expr "1/(u[3]/u[1]+(1-u[3])/u[2])"
}
Block {
BlockType Goto
Name "Membrane Area[m2]"
Position [1090, 253, 1185, 287]
BackgroundColor "red"
GotoTag "MembraneArea"
TagVisibility "global"
}
Block {
BlockType Fcn
Name "Membrane area[m2]"
Position [695, 255, 755, 285]
Expr "u[2]/(u[1]/60)"
}
Block {
BlockType Mux
Name "Mux"
Ports [5, 1]
Position [500, 97, 505, 383]
ShowName off
Inputs "5"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [640, 210, 645, 325]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux2"
Ports [3, 1]
Position [920, 502, 925, 648]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux3"
Ports [3, 1]
Position [325, 332, 330, 448]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux4"
Ports [3, 1]
Position [245, 477, 250, 563]
ShowName off
Inputs "3"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux5"
Ports [2, 1]
Position [205, 373, 210, 437]
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Constant
Name "Rho lactose[kg/m3]"
Position [115, 449, 160, 481]
BackgroundColor "yellow"
Value "1550"
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 Constant
Name "Rho water[kg/m3]"
Position [115, 504, 160, 536]
BackgroundColor "yellow"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -