📄 mrasnn730.mdl
字号:
RConnTagsString "__newr0"
MaskType "InnerPowersysBlock"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType From
Name "From"
Position [315, 204, 385, 226]
BackgroundColor "cyan"
CloseFcn "tagdialog Close"
GotoTag "tp152009"
TagVisibility "global"
}
Block {
BlockType Goto
Name "Goto"
Position [660, 274, 730, 296]
BackgroundColor "cyan"
GotoTag "tp152007"
TagVisibility "global"
}
Block {
BlockType Reference
Name "Measurement list"
Ports [2, 1]
Position [650, 379, 705, 401]
SourceBlock "powerlib_models/Continuous/Measurement list"
SourceType "SubSystem"
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"
}
Block {
BlockType Reference
Name "PMSM_mechanics"
Ports [2, 3]
Position [425, 422, 490, 538]
Orientation "left"
SourceBlock "powerlib_models/Continuous/PMSM_mechanics"
SourceType ""
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"
}
Block {
BlockType SubSystem
Name "Source"
Ports [3, 4]
Position [445, 184, 570, 376]
AncestorBlock "powerlib_models/Continuous/PM_synchronous_m"
"achine"
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
System {
Name "Source"
Location [7, 75, 1000, 711]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "85"
Block {
BlockType Inport
Name "v"
Position [135, 70, 155, 90]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "we"
Position [250, 170, 270, 190]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "the"
Position [115, 150, 135, 170]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Integrator
Name " "
Ports [1, 1]
Position [300, 905, 360, 1005]
Orientation "left"
IgnoreLimit off
}
Block {
BlockType SubSystem
Name "Adaptive2"
Ports [4, 1]
Position [630, 887, 715, 1013]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
Port {
PortNumber 1
Name "wm"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
System {
Name "Adaptive2"
Location [0, 81, 1012, 744]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0.5000"
"00]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "id"
Position [25, 28, 55, 42]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "iq"
Position [25, 108, 55, 122]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "id2"
Position [25, 188, 55, 202]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "iq2"
Position [20, 343, 50, 357]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "Changer"
Ports [4, 1]
Position [385, 119, 465, 321]
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Array {
Type "Handle"
Dimension 0
PropName "AvailSigsLoadSave"
}
MaskHideContents off
MaskType "Stateflow"
MaskDescription "Embedded MATLAB block"
MaskDisplay "disp('fcn');"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Changer"
Location [257, 457, 812, 717]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0."
"500000]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "id"
Position [20, 101, 40, 119]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "iq"
Position [20, 136, 40, 154]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "id2"
Position [20, 171, 40, 189]
Port "3"
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "iq2"
Position [20, 206, 40, 224]
Port "4"
IconDisplay "Port number"
}
Block {
BlockType Demux
Name " Demux "
Ports [1, 1]
Position [270, 205, 320, 245]
Outputs "1"
}
Block {
BlockType "S-Function"
Name " SFunction "
Tag "Stateflow S-Function MRASNN730 6"
Ports [4, 2]
Position [180, 102, 230, 203]
FunctionName "sf_sfun"
PortCounts "[4 2]"
Port {
PortNumber 2
Name "int"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
}
Block {
BlockType Terminator
Name " Terminator "
Position [460, 216, 480, 234]
}
Block {
BlockType Outport
Name "int"
Position [460, 101, 480, 119]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock " SFunction "
SrcPort 1
Points [0, 95]
DstBlock " Demux "
DstPort 1
}
Line {
SrcBlock " Demux "
SrcPort 1
DstBlock " Terminator "
DstPort 1
}
Line {
SrcBlock "id"
SrcPort 1
DstBlock " SFunction "
DstPort 1
}
Line {
SrcBlock "iq"
SrcPort 1
Points [120, 0]
DstBlock " SFunction "
DstPort 2
}
Line {
SrcBlock "id2"
SrcPort 1
DstBlock " SFunction "
DstPort 3
}
Line {
SrcBlock "iq2"
SrcPort 1
DstBlock " SFunction "
DstPort 4
}
Line {
Name "int"
Labels [0, 0]
SrcBlock " SFunction "
SrcPort 2
DstBlock "int"
DstPort 1
}
}
}
Block {
BlockType Constant
Name "Flux/L"
Position [15, 274, 110, 296]
Value "0.1852/0.00635"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [170, 219, 190, 266]
Inputs "+-"
}
Block {
BlockType SubSystem
Name "iqref1"
Ports [1, 1]
Position [745, 208, 770, 232]
ShowName off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
FunctionWithSeparateData off
MaskHideContents off
MaskType "PI Controller"
MaskPromptString "Proportional:|Integral|Minimum and "
"maximum outputs:"
MaskStyleString "edit,edit,edit"
MaskTunableValueString "on,on,on"
MaskCallbackString "||"
MaskEnableString "on,on,on"
MaskVisibilityString "on,on,on"
MaskToolTipString "on,on,on"
MaskVarAliasString ",,"
MaskVariables "P=@1;I=@2;sat=@3;"
MaskInitialization "min=sat(1);max=sat(2);"
MaskDisplay "disp('PI')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.01|200| [-inf,inf]"
MaskTabNameString ",,"
System {
Name "iqref1"
Location [136, 98, 490, 268]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins "[0.500000, 0.500000, 0.500000, 0."
"500000]"
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "In_1"
Position [25, 75, 45, 95]
IconDisplay "Port number"
}
Block {
BlockType TransferFcn
Name "Integral"
Position [110, 67, 145, 103]
Numerator "[I]"
Denominator "[1 0]"
}
Block {
BlockType Gain
Name "Proportional"
Position [120, 28, 140, 52]
NamePlacement "alternate"
Gain "P"
}
Block {
BlockType Saturate
Name "Saturation"
Position [225, 53, 255, 77]
UpperLimit "max"
LowerLimit "min"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [180, 15, 200, 110]
}
Block {
BlockType Outport
Name "Out_1"
Position [285, 55, 305, 75]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Saturation"
SrcPort 1
DstBlock "Out_1"
DstPort 1
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Saturation"
DstPort 1
}
Line {
SrcBlock "Proportional"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "In_1"
SrcPort 1
Points [15, 0; 15, 0]
Branch {
Points [0, -45]
DstBlock "Proportional"
DstPort 1
}
Branch {
DstBlock "Integral"
DstPort 1
}
}
Line {
SrcBlock "Integral"
SrcPort 1
DstBlock "Sum"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "we"
Position [885, 213, 915, 227]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Flux/L"
SrcPort 1
Points [20, 0; 0, -30]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "id2"
SrcPort 1
Points [45, 0; 0, 35]
DstBlock "Sum3"
DstPort 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -