📄 evapsoc_grad.mdl
字号:
Position [25, 38, 55, 52]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Saturate
Name "Saturation"
Position [150, 30, 180, 60]
UpperLimit "4"
LowerLimit "0"
}
Block {
BlockType Reference
Name "Transfer Fcn\n(with initial outputs)"
Ports [1, 1]
Position [80, 27, 130, 63]
SourceBlock "simulink_extras/Additional\nLinear/Transfer Fcn\n(with initial outputs)"
SourceType "Transfer Function with Initial Outputs"
SystemSampleTime "-1"
N "[1]"
D "[1.2 1]"
Y0 "1.4085"
U0 "1.4085"
}
Block {
BlockType Outport
Name "Out1"
Position [205, 38, 235, 52]
}
Line {
SrcBlock "Transfer Fcn\n(with initial outputs)"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Transfer Fcn\n(with initial outputs)"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "F2s"
Position [95, 96, 140, 124]
Value "1.4085"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "F3 Valve"
Ports [1, 1]
Position [295, 174, 345, 196]
RTWSystemCode "Auto"
System {
Name "F3 Valve"
Location [425, 350, 702, 457]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [25, 38, 55, 52]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Saturate
Name "Saturation"
Position [150, 30, 180, 60]
UpperLimit "100"
LowerLimit "0"
}
Block {
BlockType Reference
Name "Transfer Fcn\n(with initial outputs)"
Ports [1, 1]
Position [80, 27, 130, 63]
SourceBlock "simulink_extras/Additional\nLinear/Transfer Fcn\n(with initial outputs)"
SourceType "Transfer Function with Initial Outputs"
SystemSampleTime "-1"
N "[1]"
D "[1.2 1]"
Y0 "27.9972"
U0 "27.9972"
}
Block {
BlockType Outport
Name "Out1"
Position [205, 38, 235, 52]
}
Line {
SrcBlock "Transfer Fcn\n(with initial outputs)"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Transfer Fcn\n(with initial outputs)"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "F3s"
Position [125, 173, 170, 197]
Value "27.9972"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Level Controller "
Ports [1, 1]
Position [135, 241, 180, 279]
RTWSystemCode "Auto"
System {
Name "Level Controller "
Location [595, 303, 918, 483]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "L2"
Position [200, 33, 230, 47]
Orientation "left"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "L2 Setpoint"
Position [105, 105, 135, 135]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "PID Controller"
Ports [1, 1]
Position [85, 25, 115, 55]
Orientation "left"
SourceBlock "simulink_extras/Additional\nLinear/PID Controller"
SourceType "PID Controller"
SystemSampleTime "-1"
P "200"
I "40"
D "0"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [145, 30, 165, 50]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|-+"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "F3"
Position [25, 33, 55, 47]
Orientation "left"
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "PID Controller"
DstPort 1
}
Line {
SrcBlock "L2 Setpoint"
SrcPort 1
Points [15, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "L2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "PID Controller"
SrcPort 1
DstBlock "F3"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "P100s"
Position [130, 134, 160, 156]
Value "400"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Quality Controller"
Ports [1, 1]
Position [105, 21, 150, 59]
RTWSystemCode "Auto"
System {
Name "Quality Controller"
Location [540, 441, 868, 674]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "X2"
Position [250, 33, 280, 47]
Orientation "left"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "PID Controller"
Ports [1, 1]
Position [135, 25, 165, 55]
Orientation "left"
SourceBlock "simulink_extras/Additional\nLinear/PID Controller"
SourceType "PID Controller"
SystemSampleTime "-1"
P "0.3674*100"
I "0.3674/4.6619*100"
D "0"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [195, 30, 215, 50]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|-+"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "X2 Setpoint"
Position [30, 70, 60, 100]
Value "35.5"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "F2"
Position [25, 33, 55, 47]
Orientation "left"
}
Line {
SrcBlock "PID Controller"
SrcPort 1
DstBlock "F2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "PID Controller"
DstPort 1
}
Line {
SrcBlock "X2"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "X2 Setpoint"
SrcPort 1
Points [140, 0]
DstBlock "Sum2"
DstPort 2
}
}
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [200, 100, 220, 120]
ShowName off
IconShape "round"
Inputs "-+|"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [235, 175, 255, 195]
ShowName off
IconShape "round"
Inputs "|+-"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "F2"
Position [390, 103, 420, 117]
}
Block {
BlockType Outport
Name "P100"
Position [390, 138, 420, 152]
Port "2"
}
Block {
BlockType Outport
Name "F3"
Position [390, 178, 420, 192]
Port "3"
}
Line {
SrcBlock "F2s"
SrcPort 1
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "F2 Valve"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "F3 Valve"
DstPort 1
}
Line {
SrcBlock "F3s"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "F2 Valve"
SrcPort 1
DstBlock "F2"
DstPort 1
}
Line {
SrcBlock "P100s"
SrcPort 1
DstBlock "P100"
DstPort 1
}
Line {
SrcBlock "F3 Valve"
SrcPort 1
DstBlock "F3"
DstPort 1
}
Line {
SrcBlock "L2"
SrcPort 1
DstBlock "Level Controller "
DstPort 1
}
Line {
SrcBlock "Level Controller "
SrcPort 1
Points [60, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "X2"
SrcPort 1
DstBlock "Quality Controller"
DstPort 1
}
Line {
SrcBlock "Quality Controller"
SrcPort 1
Points [55, 0]
DstBlock "Sum1"
DstPort 1
}
}
}
Block {
BlockType Scope
Name "Cost"
Ports [2]
Position [720, 199, 760, 261]
BackgroundColor "yellow"
Floating off
Location [888, 69, 1227, 331]
Open off
NumInputPorts "2"
ZoomMode "yonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
axes2 "%<SignalLabel>"
}
TimeRange "1440"
YMin "4500~-1.25"
YMax "7500~0.25"
SaveToWorkspace on
SaveName "Cost"
DataFormat "StructureWithTime"
LimitDataPoints off
MaxDataPoints "1441"
SampleInput on
SampleTime "1"
}
Block {
BlockType SubSystem
Name "Cost Integrator"
Ports [1, 1]
Position [475, 305, 555, 345]
Orientation "left"
BackgroundColor "yellow"
RTWSystemCode "Auto"
System {
Name "Cost Integrator"
Location [797, 466, 1062, 592]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Cost / Hr"
Position [210, 73, 240, 87]
Orientation "left"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "Gain"
Position [140, 61, 175, 99]
Orientation "left"
Gain "1/60"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -