📄 sofc_5kw.mdl
字号:
SrcBlock "0-1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "iL3"
DstPort 1
}
Branch {
Points [20, 0]
Branch {
DstBlock "iL2"
DstPort 1
}
Branch {
Points [0, -75]
DstBlock "Sum3"
DstPort 1
}
}
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Fcn"
DstPort 1
}
Line {
SrcBlock "Fcn"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "iL4"
DstPort 1
}
Branch {
Points [-5, 0]
DstBlock "Vdc"
DstPort 1
}
}
Line {
SrcBlock "Vstack"
SrcPort 1
DstBlock "1/L"
DstPort 1
}
Line {
SrcBlock "From"
SrcPort 1
DstBlock "Mux"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
Points [15, 0]
Branch {
DstBlock "Mux"
DstPort 2
}
Branch {
Points [0, 25]
DstBlock "iL5"
DstPort 1
}
}
Line {
SrcBlock "Vdc ref1"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Annotation {
Name "Vc"
Position [255, 141]
}
Annotation {
Name "iL"
Position [254, 32]
}
}
}
Block {
BlockType Product
Name "Divide2"
Ports [3, 1]
Position [1695, 585, 1725, 625]
Orientation "left"
ForegroundColor "white"
BackgroundColor "red"
ShowName off
Inputs "*/*"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Product
Name "Divide3"
Ports [2, 1]
Position [1580, 487, 1610, 518]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
Inputs "*/"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^-10"
RndMeth "Floor"
SaturateOnIntegerOverflow off
}
Block {
BlockType Reference
Name "Fourier"
Ports [1, 2]
Position [1310, 722, 1360, 778]
Orientation "left"
ForegroundColor "white"
BackgroundColor "red"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Fourier"
SourceType "Fourier analyser"
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"
f1 "50"
n "1"
}
Block {
BlockType Reference
Name "Fourier1"
Ports [1, 2]
Position [1500, 802, 1550, 858]
Orientation "left"
ForegroundColor "white"
BackgroundColor "red"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Fourier"
SourceType "Fourier analyser"
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"
f1 "50"
n "1"
}
Block {
BlockType Reference
Name "Fourier2"
Ports [1, 2]
Position [1845, 382, 1895, 438]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Fourier"
SourceType "Fourier analyser"
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"
f1 "50"
n "1"
}
Block {
BlockType Reference
Name "Fourier5"
Ports [1, 2]
Position [1890, 507, 1940, 563]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
DialogController "POWERSYS.PowerSysDialog"
SourceBlock "powerlib_extras/Measurements/Fourier"
SourceType "Fourier analyser"
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"
f1 "50"
n "1"
}
Block {
BlockType SubSystem
Name "I_step"
Ports [0, 1]
Position [610, 621, 650, 659]
ForegroundColor "white"
BackgroundColor "red"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "I_step"
Location [585, 105, 820, 242]
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 Step
Name "Step"
Position [25, 80, 55, 110]
Time "1000"
After "80"
SampleTime "0"
}
Block {
BlockType Step
Name "Step1"
Position [25, 25, 55, 55]
Time "8000"
After "-50"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [100, 85, 120, 105]
ShowName off
IconShape "round"
Inputs "++|"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Istep"
Position [180, 88, 210, 102]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Step1"
SrcPort 1
Points [50, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Istep"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "I_step1"
Ports [0, 1]
Position [170, 121, 210, 159]
ForegroundColor "white"
BackgroundColor "red"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
System {
Name "I_step1"
Location [585, 105, 820, 242]
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 Step
Name "Step"
Position [25, 80, 55, 110]
Time "1000"
After "80"
SampleTime "0"
}
Block {
BlockType Step
Name "Step1"
Position [25, 25, 55, 55]
Time "8000"
After "-50"
SampleTime "0"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [100, 85, 120, 105]
ShowName off
IconShape "round"
Inputs "++|"
CollapseMode "All dimensions"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "Istep"
Position [180, 88, 210, 102]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Istep"
DstPort 1
}
Line {
SrcBlock "Step1"
SrcPort 1
Points [50, 0]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Step"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
}
}
Block {
BlockType Scope
Name "Iload"
Ports [1]
Position [345, 24, 375, 56]
ForegroundColor "white"
BackgroundColor "red"
Floating off
Location [5, 52, 1029, 737]
Open off
NumInputPorts "1"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
YMin "95"
YMax "105"
SaveToWorkspace on
SaveName "Iload"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Integrator
Name "Integrator1"
Ports [1, 1]
Position [1665, 490, 1695, 520]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
}
Block {
BlockType Constant
Name "MH2"
Position [165, 234, 205, 266]
ForegroundColor "white"
BackgroundColor "red"
Value "0.9e-3"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "MH2O"
Position [165, 291, 205, 319]
ForegroundColor "white"
BackgroundColor "red"
Value "1.0e-4"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Mair"
Position [175, 455, 205, 485]
ForegroundColor "white"
BackgroundColor "red"
Value "12e-3"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [1075, 546, 1080, 599]
ForegroundColor "white"
BackgroundColor "red"
ShowName off
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Scope
Name "P"
Ports [1]
Position [660, 74, 690, 106]
ForegroundColor "white"
BackgroundColor "red"
Floating off
Location [5, 34, 1033, 753]
Open off
NumInputPorts "1"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "Sofc_Power"
}
TimeRange "16000"
YMin "0"
YMax "5000"
SaveToWorkspace on
SaveName "Psofc"
DataFormat "Array"
LimitDataPoints off
SampleTime "0"
}
Block {
BlockType Constant
Name "P (atm)"
Position [170, 180, 200, 210]
ForegroundColor "white"
BackgroundColor "red"
Value "3"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -