?? evapsoc_grad.mdl
字號:
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [90, 65, 120, 95]
Orientation "left"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [130, 25, 160, 45]
VariableName "Jv"
MaxDataPoints "1"
SaveFormat "Array"
}
Block {
BlockType Outport
Name "Cost"
Position [25, 73, 55, 87]
Orientation "left"
}
Line {
SrcBlock "Integrator1"
SrcPort 1
Points [0, 0; -10, 0]
Branch {
Points [0, -45]
DstBlock "To Workspace1"
DstPort 1
}
Branch {
DstBlock "Cost"
DstPort 1
}
}
Line {
SrcBlock "Gain"
SrcPort 1
DstBlock "Integrator1"
DstPort 1
}
Line {
SrcBlock "Cost / Hr"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Disturbance"
Ports [0, 4]
Position [255, 172, 310, 273]
BackgroundColor "orange"
RTWSystemCode "Auto"
System {
Name "Disturbance"
Location [362, 327, 766, 590]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [280, 26, 285, 119]
BackgroundColor "black"
ShowName off
}
Block {
BlockType Gain
Name "Dist Selector"
Position [110, 117, 170, 173]
Gain "[1 1 1 1]"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Distturbances"
Ports [0, 1]
Position [25, 130, 65, 160]
RTWSystemCode "Auto"
System {
Name "Distturbances"
Location [707, 559, 1085, 848]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [160, 13, 170, 232]
BackgroundColor "black"
ShowName off
}
Block {
BlockType UniformRandomNumber
Name "Dist"
Position [15, 99, 45, 131]
Minimum "[-2 -1 -8 -5]"
Maximum "[2 1 8 5]"
Seed "[1001 0 10001 100001]"
SampleTime "0"
}
Block {
BlockType FromWorkspace
Name "From\nWorkspace"
Position [15, 167, 65, 193]
VariableName "DistData"
SampleTime "0"
}
Block {
BlockType Reference
Name "Manual Switch"
Ports [2, 1]
Position [95, 107, 125, 143]
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
SystemSampleTime "-1"
sw "0"
action "0"
}
Block {
BlockType Mux
Name "Mux"
Ports [4, 1]
Position [280, 14, 290, 231]
ShowName off
DisplayOption "bar"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn"
Position [200, 23, 255, 57]
Denominator "[20 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn1"
Position [205, 78, 260, 112]
Denominator "[20 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn2"
Position [200, 133, 255, 167]
Denominator "[20 1]"
}
Block {
BlockType TransferFcn
Name "Transfer Fcn3"
Position [200, 188, 255, 222]
Denominator "[20 1]"
}
Block {
BlockType Outport
Name "Out"
Position [335, 118, 365, 132]
}
Line {
SrcBlock "Transfer Fcn"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 1
DstBlock "Transfer Fcn"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "Transfer Fcn1"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Demux"
SrcPort 3
DstBlock "Transfer Fcn2"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn2"
SrcPort 1
DstBlock "Mux"
DstPort 3
}
Line {
SrcBlock "Demux"
SrcPort 4
DstBlock "Transfer Fcn3"
DstPort 1
}
Line {
SrcBlock "Transfer Fcn3"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "From\nWorkspace"
SrcPort 1
Points [5, 0; 0, -45]
DstBlock "Manual Switch"
DstPort 2
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Out"
DstPort 1
}
Line {
SrcBlock "Dist"
SrcPort 1
DstBlock "Manual Switch"
DstPort 1
}
Line {
SrcBlock "Manual Switch"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Nominal \nDisturbances"
Position [25, 60, 90, 90]
Value "[10 5 40 25]"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [195, 65, 215, 85]
ShowName off
IconShape "round"
Inputs "|++"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Scope
Name "dist"
Ports [1]
Position [185, 175, 215, 215]
Orientation "left"
Floating off
Location [273, 78, 622, 507]
Open off
NumInputPorts "1"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
TimeRange "1440"
YMin "2.5"
YMax "47.5"
SaveName "dist"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "1441"
SampleInput on
SampleTime "1"
}
Block {
BlockType Outport
Name "F1"
Position [330, 13, 360, 27]
}
Block {
BlockType Outport
Name "X1"
Position [330, 53, 360, 67]
Port "2"
}
Block {
BlockType Outport
Name "T1"
Position [335, 88, 365, 102]
Port "3"
}
Block {
BlockType Outport
Name "T200"
Position [335, 123, 365, 137]
Port "4"
}
Line {
SrcBlock "Nominal \nDisturbances"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Distturbances"
SrcPort 1
DstBlock "Dist Selector"
DstPort 1
}
Line {
SrcBlock "Dist Selector"
SrcPort 1
Points [30, 0]
DstBlock "Sum4"
DstPort 2
}
Line {
SrcBlock "Sum4"
SrcPort 1
Points [35, 0]
Branch {
DstBlock "Demux"
DstPort 1
}
Branch {
Points [0, 120]
DstBlock "dist"
DstPort 1
}
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [25, 0]
DstBlock "F1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
DstBlock "X1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [30, 0]
DstBlock "T1"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [30, 0]
DstBlock "T200"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Evaporator SOC"
Ports [8, 1]
Position [355, 73, 485, 272]
BackgroundColor "lightBlue"
DropShadow on
FontName "Arial"
RTWSystemCode "Auto"
MaskPromptString "rhoA|M|C|Cp|lambda|lambdas|UA2|Initial Satets [L2 X2 P2]|Costs [SP WP PP]"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on,on,on,on"
MaskCallbackString "||||||||"
MaskEnableString "on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,"
MaskVariables "roA=@1;M=@2;C=@3;Cp=@4;lambda=@5;lambdas=@6;UA2=@7;x0=@8;uc=@9;"
MaskInitialization "x1=[.3 .3 .7 .7 .3 NaN .4 .4 NaN .5 .5 NaN .6 .6 NaN 0.1 0.3 NaN 0.7 "
"0.9];\ny1=[.8 .2 .2 .8 .8 NaN .8 .2 NaN .8 .2 NaN .8 .2 NaN 0.67 0.67 NaN 0.35 0.35];\nx2=0.3:0.0"
"5:0.7;\ny2=sqrt(0.0625-(x2-0.5).^2);\nx3=[.5 .5 .9 NaN 0.1 0.4 0.4 NaN 0.6 0.6 0.9];\ny3=[y2(5)+0.65 "
"0.95 0.95 NaN .1 .1 0.35-y2(3) NaN 0.35-y2(7) .1 .1];\n"
MaskDisplay "plot([x1 NaN x2 NaN x2 NaN x3],[y1 NaN 0.65+y2 NaN 0.35-y2 NaN y3])\nport_la"
"bel('output',1,'y')\nport_label('input',1,'F2')\nport_label('input',2,'P100')\nport_label('inpu"
"t',3,'F200')\nport_label('input',4,'F3')\nport_label('input',5,'F1')\nport_label('input',6,'X1')\npor"
"t_label('input',7,'T1')\nport_label('input',8,'T200')\n"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "20|20|4|0.07|38.5|36.6|6.84|[1 35.5 56.4245]|[600 0.6 1.009]"
System {
Name "Evaporator SOC"
Location [52, 152, 1216, 842]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "F2SP"
Position [40, 143, 70, 157]
OutDataType "sfix(16)"
OutScaling "2^0"
Port {
PortNumber 1
Name "F2"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Inport
Name "P100SP"
Position [25, 328, 55, 342]
Port "2"
OutDataType "sfix(16)"
OutScaling "2^0"
Port {
PortNumber 1
Name "P100"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Inport
Name "F200SP"
Position [40, 258, 70, 272]
Port "3"
OutDataType "sfix(16)"
OutScaling "2^0"
Port {
PortNumber 1
Name "F200"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Inport
Name "F3SP"
Position [40, 403, 70, 417]
Port "4"
OutDataType "sfix(16)"
OutScaling "2^0"
Port {
PortNumber 1
Name "F3"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Inport
Name "F1"
Position [20, 73, 50, 87]
Port "5"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "X1"
Position [70, 198, 100, 212]
Port "6"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "T1"
Position [290, 178, 320, 192]
Port "7"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "T200"
Position [65, 298, 95, 312]
Port "8"
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -