📄 cryim.mdl
字号:
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
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
}
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 "S-Function"
FunctionName "system"
SFunctionModules "''"
PortCounts "[]"
}
Block {
BlockType SubSystem
ShowPortLabels on
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 Switch
Criteria "u2 >= Threshold"
Threshold "0"
InputSameDT on
OutDataTypeMode "Inherit via internal rule"
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
SampleTime "-1"
}
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"
}
LineDefaults {
FontName "Arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "cryim"
Location [142, 82, 1164, 503]
Open on
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"
ReportName "simulink-default.rpt"
Block {
BlockType Goto
Name "Crystallizer entering mass flow [kg/s]"
Position [495, 370, 640, 400]
BackgroundColor "green"
ShowName off
GotoTag "F_E_Cry"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Crystallizer entering mass fraction [%]"
Position [495, 440, 640, 470]
BackgroundColor "green"
ShowName off
GotoTag "w_E_Cry"
TagVisibility "global"
}
Block {
BlockType From
Name "Crystallizer entering pressure [bar]"
Position [935, 357, 1085, 393]
BackgroundColor "red"
NamePlacement "alternate"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "F_L_Cry"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Crystallizer entering temperature [C]"
Position [500, 508, 640, 542]
BackgroundColor "green"
ShowName off
GotoTag "T_E_Cry"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Crystallizer entering temperature [C]1"
Position [500, 593, 640, 627]
BackgroundColor "green"
ShowName off
GotoTag "P_E_Cry"
TagVisibility "global"
}
Block {
BlockType From
Name "Crystallizer leaving mass fraction [%]"
Position [935, 427, 1085, 463]
BackgroundColor "red"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "w_L_Cry"
TagVisibility "global"
}
Block {
BlockType From
Name "Crystallizer leaving pressure [bar]"
Position [935, 587, 1085, 623]
BackgroundColor "red"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "P_L_Cry"
TagVisibility "global"
}
Block {
BlockType From
Name "Crystallizer leaving temperature [C]"
Position [935, 497, 1085, 533]
BackgroundColor "red"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "T_L_Cry"
TagVisibility "global"
}
Block {
BlockType Constant
Name "Crystallizer volume [m3]"
Position [945, 754, 980, 786]
Orientation "left"
BackgroundColor "cyan"
Value "20"
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 "Entering mass flow[kg/min]"
Position [365, 369, 400, 401]
BackgroundColor "cyan"
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 "Entering mass fraction[%]"
Position [370, 439, 405, 471]
BackgroundColor "cyan"
Value "0.28"
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 "Entering pressure[bar]"
Position [375, 594, 410, 626]
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 "Entering tepmerature[C]"
Position [375, 509, 410, 541]
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 Fcn
Name "Fcn1"
Position [530, 915, 590, 945]
Expr "0.0058489*u[1]-0.0002766"
}
Block {
BlockType Display
Name "Fout[m3/min]"
Ports [1]
Position [915, 915, 1005, 945]
Decimation "1"
Lockdown off
}
Block {
BlockType From
Name "From4"
Position [642, 635, 698, 690]
Orientation "down"
BackgroundColor "red"
NamePlacement "alternate"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Product"
TagVisibility "global"
}
Block {
BlockType From
Name "From5"
Position [697, 635, 753, 690]
Orientation "down"
BackgroundColor "red"
NamePlacement "alternate"
CloseFcn "tagdialog Close"
GotoTag "MeanSize"
TagVisibility "global"
}
Block {
BlockType From
Name "From6"
Position [752, 635, 808, 690]
Orientation "down"
BackgroundColor "red"
NamePlacement "alternate"
CloseFcn "tagdialog Close"
GotoTag "LiquidVF"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Leaving P1"
Position [822, 635, 868, 695]
Orientation "up"
BackgroundColor "cyan"
ShowName off
FontSize 14
GotoTag "Fout"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Leaving P12"
Position [868, 635, 932, 695]
Orientation "up"
BackgroundColor "cyan"
ShowName off
FontSize 14
GotoTag "Volume"
TagVisibility "global"
}
Block {
BlockType Display
Name "Leaving mass flow[kg/min]"
Ports [1]
Position [1175, 360, 1265, 390]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Leaving mass fraction [%]"
Ports [1]
Position [1175, 430, 1265, 460]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Leaving pressure[bar]"
Ports [1]
Position [1180, 590, 1270, 620]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Leaving temperature [C]"
Ports [1]
Position [1175, 500, 1265, 530]
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Liquid volume fraction [%]"
Ports [1]
Position [650, 855, 740, 885]
Orientation "left"
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Product [kg/min]"
Ports [1]
Position [565, 706, 645, 734]
Orientation "left"
Decimation "1"
Lockdown off
}
Block {
BlockType Display
Name "Product mean size [um]"
Ports [1]
Position [610, 760, 700, 790]
Orientation "left"
Decimation "1"
Lockdown off
}
Block {
BlockType Scope
Name "Scope"
Ports [1]
Position [635, 819, 665, 851]
Orientation "left"
NamePlacement "alternate"
Floating off
Location [5, 56, 1285, 1031]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Scope
Name "Scope1"
Ports [1]
Position [565, 669, 595, 701]
Orientation "left"
NamePlacement "alternate"
Floating off
Location [5, 40, 1285, 1018]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType SubSystem
Name "crystallizer"
Ports []
Position [643, 353, 932, 633]
NamePlacement "alternate"
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskPromptString "Physical properties KV|Kinetic parameters KB[m-"
"3/s]|Kinetic parameters KG|Water density[kg/m3]|Lactose density[kg/m3]"
MaskStyleString "edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on"
MaskCallbackString "||||"
MaskEnableString "on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on"
MaskToolTipString "on,on,on,on,on"
MaskVarAliasString ",,,,"
MaskVariables "KV=@1;KB=@2;KG=@3;WaterDen=@4;LactoseDen=@5;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.43|1.8e11|2.27e-8|1000|1550"
MaskTabNameString ",,,,"
System {
Name "crystallizer"
Location [214, 266, 1090, 979]
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 From
Name "From"
Position [70, 387, 220, 423]
BackgroundColor "green"
ShowName off
CloseFcn "tagdialog Close"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -