📄 sofc_5kw.mdl
字号:
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "PID Controller"
Ports [1, 1]
Position [960, 715, 990, 745]
Orientation "left"
ForegroundColor "white"
BackgroundColor "red"
SourceBlock "simulink_extras/Additional\nLinear/PID Controller"
SourceType "PID Controller"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
P "1.2"
I "0.36"
D "0"
}
Block {
BlockType Constant
Name "Pcathode1"
Position [825, 638, 850, 662]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
Value "0.9"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Pcathode2"
Position [1085, 468, 1110, 492]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Pcathode3"
Position [1085, 498, 1110, 522]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
Value "0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Pcathode4"
Position [1090, 628, 1115, 652]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
Value "0"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Pcathode5"
Position [1090, 658, 1115, 682]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Pcathode7"
Position [975, 768, 1015, 792]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
Value "120"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Pcathode8"
Position [1610, 659, 1645, 681]
Orientation "left"
ForegroundColor "white"
BackgroundColor "red"
ShowName off
Value "100e-3"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [565, 71, 610, 104]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
CollapseMode "All dimensions"
InputSameDT off
OutDataType "sfix(16)"
OutScaling "2^0"
RndMeth "Floor"
}
Block {
BlockType Product
Name "Product1"
Ports [2, 1]
Position [935, 559, 960, 586]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [1180, 794, 1205, 821]
Orientation "left"
ForegroundColor "white"
BackgroundColor "red"
ShowName off
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Product3"
Ports [2, 1]
Position [2065, 439, 2090, 466]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Ramp1"
Ports [0, 1]
Position [615, 550, 645, 580]
ForegroundColor "white"
BackgroundColor "red"
SourceBlock "simulink/Sources/Ramp"
SourceType "Ramp"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
slope "0.01"
start "0"
X0 "0"
VectorParams1D on
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator"
Position [1010, 567, 1040, 598]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
InputSameDT off
LogicOutDataTypeMode "boolean"
}
Block {
BlockType RelationalOperator
Name "Relational\nOperator1"
Position [1005, 637, 1035, 668]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
Operator "<"
InputSameDT off
LogicOutDataTypeMode "boolean"
}
Block {
BlockType SubSystem
Name "SOFC"
Ports [9, 2]
Position [365, 115, 535, 605]
ForegroundColor "white"
BackgroundColor "green"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "SOFC"
Location [2, 82, 997, 705]
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 Inport
Name "I"
Position [15, 38, 45, 52]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Pa"
Position [15, 68, 45, 82]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "MH2"
Position [15, 98, 45, 112]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "MH2O"
Position [15, 128, 45, 142]
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Pc"
Position [15, 158, 45, 172]
Port "5"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Tairinlet"
Position [15, 958, 45, 972]
Port "6"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Mair"
Position [15, 988, 45, 1002]
Port "7"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Tfuelinlet"
Position [15, 1138, 45, 1152]
Port "8"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "SteadyState"
Position [15, 1243, 45, 1257]
Port "9"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Saturate
Name "0-1.5V"
Position [870, 390, 900, 420]
UpperLimit "1.5"
LowerLimit "0"
}
Block {
BlockType Saturate
Name "0-159A"
Position [130, 30, 160, 60]
UpperLimit "199"
LowerLimit "0"
}
Block {
BlockType Saturate
Name "0.00001--10"
Position [570, 745, 600, 775]
UpperLimit "10"
LowerLimit "0.00001"
}
Block {
BlockType Constant
Name "0.1mA"
Position [258, 735, 302, 765]
Orientation "up"
Value "0.0001"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Saturate
Name "1e-4 -- 0.1"
Position [90, 90, 120, 120]
UpperLimit "0.1"
LowerLimit "1.0e-4"
}
Block {
BlockType Saturate
Name "1e-5 -- 1.0e-3"
Position [355, 120, 385, 150]
UpperLimit "1.0e-3"
LowerLimit "1.0e-5"
}
Block {
BlockType Constant
Name "298"
Position [295, 425, 325, 455]
Value "298"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Ceq"
Position [555, 615, 585, 645]
BackgroundColor "yellow"
Value "0.0004"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "E0 standard"
Position [390, 420, 420, 450]
Value "1.18"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Effective Partial Pressures"
Ports [7, 7]
Position [460, 28, 595, 242]
BackgroundColor "orange"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "Effective Partial Pressures"
Location [6, 82, 1001, 727]
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 Inport
Name "I"
Position [30, 73, 60, 87]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Pa"
Position [25, 293, 55, 307]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "MH2"
Position [25, 338, 55, 352]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "MH2O"
Position [15, 538, 45, 552]
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Pc"
Position [30, 1058, 60, 1072]
Port "5"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "T"
Position [20, 443, 50, 457]
Port "6"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Mair"
Position [30, 818, 60, 832]
Port "7"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "1.0"
Position [290, 915, 320, 945]
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Gain
Name "1/1.1"
Position [1025, 940, 1055, 970]
Orientation "left"
NamePlacement "alternate"
Gain "1/1.1"
ParameterDataType "sfix(16)"
ParameterScaling "2^0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -