📄 pvmodel.mdl
字号:
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType From
IconDisplay "Tag"
TagVisibility "local"
}
Block {
BlockType Fcn
Expr "sin(u[1])"
SampleTime "-1"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParamMin "[]"
ParamMax "[]"
ParameterDataTypeMode "Same as input"
ParameterDataType "fixdt(1,16,0)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "[]"
ParamDataTypeStr "Inherit: Same as input"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as input"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Goto
IconDisplay "Tag"
}
Block {
BlockType InitialCondition
Value "1"
SampleTime "-1"
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: auto"
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
Block {
BlockType Math
Operator "exp"
OutputSignalType "auto"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as first input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as first input"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: auto"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
CollapseMode "All dimensions"
CollapseDim "1"
InputSameDT on
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as first input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as first input"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType SubSystem
ShowPortLabels "FromPortIcon"
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
CheckFcnCallInpInsideContextMsg 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 Sum
IconShape "rectangular"
Inputs "++"
CollapseMode "All dimensions"
CollapseDim "1"
InputSameDT on
AccumDataTypeStr "Inherit: Inherit via internal rule"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as first input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as first input"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Constant
Value "1"
VectorParams1D on
SamplingMode "Sample based"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "fixdt(1,16,0)"
ConRadixGroup "Use specified scaling"
OutScaling "[]"
OutDataTypeStr "Inherit: Inherit from 'Constant value'"
SampleTime "inf"
FramePeriod "inf"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
UseDisplayTextAsClickCallback off
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "pvmodel"
Location [2, 72, 1421, 849]
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 Constant
Name "Array volatge"
Position [545, 830, 575, 860]
Value "Va"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Band gap energy"
Position [225, 530, 255, 560]
Value "Eg"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Boltzmans Constant"
Position [220, 460, 250, 490]
Value "K"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Boltzmans Constant1"
Position [815, 650, 845, 680]
Value "K"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Charge of an Electron"
Position [150, 495, 180, 525]
Value "q"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Charge of an Electron1"
Position [825, 750, 855, 780]
Value "q"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Diode ideality factor"
Position [320, 425, 350, 455]
Value "n"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Diode ideality factor1"
Position [810, 420, 840, 450]
Value "n"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Diode ideality factor2"
Position [895, 610, 925, 640]
Value "n"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType From
Name "From"
Position [720, 244, 755, 266]
CloseFcn "tagdialog Close"
GotoTag "Vt_Tr"
}
Block {
BlockType From
Name "From1"
Position [735, 514, 770, 536]
CloseFcn "tagdialog Close"
GotoTag "b"
}
Block {
BlockType From
Name "From2"
Position [745, 469, 780, 491]
CloseFcn "tagdialog Close"
GotoTag "Ir_Tr"
}
Block {
BlockType From
Name "From3"
Position [190, 704, 225, 726]
CloseFcn "tagdialog Close"
GotoTag "Ir_Tr"
}
Block {
BlockType From
Name "From4"
Position [130, 734, 165, 756]
CloseFcn "tagdialog Close"
GotoTag "Vt_Tr"
}
Block {
BlockType From
Name "From5"
Position [380, 954, 415, 976]
CloseFcn "tagdialog Close"
GotoTag "Rs"
}
Block {
BlockType From
Name "From6"
Position [375, 910, 430, 940]
CloseFcn "tagdialog Close"
GotoTag "Vt_Tk"
}
Block {
BlockType From
Name "From7"
Position [320, 990, 375, 1020]
CloseFcn "tagdialog Close"
GotoTag "Ir"
}
Block {
BlockType Goto
Name "Goto"
Position [645, 95, 685, 125]
GotoTag "Isc"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto1"
Position [650, 215, 690, 245]
GotoTag "Iph"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto2"
Position [630, 415, 670, 445]
GotoTag "Vt_Tr"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto3"
Position [635, 510, 675, 540]
GotoTag "b"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto4"
Position [1245, 185, 1285, 215]
GotoTag "Ir_Tr"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto5"
Position [1330, 420, 1370, 450]
GotoTag "Ir"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto6"
Position [630, 715, 670, 745]
GotoTag "Rs"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto7"
Position [1325, 665, 1365, 695]
GotoTag "Vt_Tk"
TagVisibility "local"
}
Block {
BlockType Goto
Name "Goto8"
Position [1320, 905, 1360, 935]
GotoTag "Ia"
TagVisibility "local"
}
Block {
BlockType Constant
Name "Module temp in K"
Position [250, 65, 280, 95]
NamePlacement "alternate"
Value "Tk"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Module temp in K1"
Position [1005, 330, 1035, 360]
NamePlacement "alternate"
Value "Tk"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Module temp in K2"
Position [865, 715, 895, 745]
NamePlacement "alternate"
Value "Tk"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "No of series Connected 1"
Position [275, 660, 305, 690]
Value "Ns"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "No of series Connected 2"
Position [475, 870, 505, 900]
Value "Ns"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Open ckt voltage per cell"
Position [775, 185, 805, 215]
Value "VocTr"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Open ckt voltage per cell1"
Position [45, 765, 75, 795]
Value "VocTr"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Radiation level"
Position [155, 245, 185, 275]
Value "G"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Reference temperature in Kelvin"
Position [210, 110, 240, 140]
Value "Tr"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Reference temperature in Kelvin1"
Position [935, 375, 965, 405]
Value "Tr"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Short ckt current per cell"
Position [40, 200, 70, 230]
Value "IscTr"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Constant
Name "Short ckt current per cell1"
Position [875, 130, 905, 160]
Value "IscTr"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType SubSystem
Name "Subsystem"
Ports [5, 2]
Position [405, 52, 590, 288]
FontName "Arial Black"
FontSize 12
FontWeight "bold"
FontAngle "italic"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -