📄 hysteresis_grid0.mdl
字号:
SrcBlock "id*"
SrcPort 1
DstBlock "dq to ABC\nconversion\ninvariante en amplit"
"ud"
DstPort 2
}
Line {
SrcBlock "iq*"
SrcPort 1
Points [50, 0; 0, -30]
DstBlock "dq to ABC\nconversion\ninvariante en amplit"
"ud"
DstPort 3
}
Line {
SrcBlock "Digital Clock"
SrcPort 1
DstBlock "Gain"
DstPort 1
}
Line {
SrcBlock "Gain"
SrcPort 1
Points [15, 0; 0, 45]
DstBlock "dq to ABC\nconversion\ninvariante en amplit"
"ud"
DstPort 1
}
Annotation {
Name "Con esta transformaci髇: id potencia activa"
" e iq potencia reactiva"
Position [249, 195]
UseDisplayTextAsClickCallback off
}
}
}
Block {
BlockType SubSystem
Name "Controlador de corriente \nde hysteresis1"
Ports [0, 1]
Position [110, 431, 175, 479]
ForegroundColor "blue"
BackgroundColor "cyan"
FontName "Arial"
FontWeight "bold"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Controlador de corriente \nde hysteresis1"
Location [2, 86, 1270, 752]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "Current\nRegulator"
Ports [2, 1]
Position [300, 55, 360, 115]
BackgroundColor "lightBlue"
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "Regulateur de courant a hysteresis"
MaskPromptString "Hysteresis band (A)"
MaskStyleString "edit"
MaskTunableValueString "on"
MaskEnableString "on"
MaskVisibilityString "on"
MaskToolTipString "on"
MaskVariables "h=@1;"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "10"
System {
Name "Current\nRegulator"
Location [251, 575, 715, 769]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Iabc"
Position [25, 33, 55, 47]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Iabc*"
Position [25, 128, 55, 142]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion"
Position [260, 44, 280, 66]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion1"
Position [345, 44, 365, 66]
ShowName off
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion2"
Position [345, 94, 365, 116]
ShowName off
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion3"
Position [345, 144, 365, 166]
ShowName off
OutDataTypeMode "double"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion4"
Position [250, 94, 270, 116]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType DataTypeConversion
Name "Data Type \nConversion5"
Position [250, 144, 270, 166]
ShowName off
OutDataTypeMode "boolean"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 3]
Position [85, 20, 90, 60]
ShowName off
Outputs "3"
}
Block {
BlockType Demux
Name "Demux2"
Ports [1, 3]
Position [85, 115, 90, 155]
ShowName off
Outputs "3"
}
Block {
BlockType Logic
Name "Logical\nOperator"
Ports [1, 1]
Position [295, 45, 325, 65]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator1"
Ports [1, 1]
Position [290, 95, 320, 115]
ShowName off
Operator "NOT"
}
Block {
BlockType Logic
Name "Logical\nOperator2"
Ports [1, 1]
Position [290, 145, 320, 165]
ShowName off
Operator "NOT"
}
Block {
BlockType Mux
Name "Mux"
Ports [6, 1]
Position [400, 15, 405, 170]
ShowName off
Inputs "6"
}
Block {
BlockType Relay
Name "Relay"
Position [200, 17, 220, 43]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Relay
Name "Relay1"
Position [200, 67, 220, 93]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Relay
Name "Relay2"
Position [200, 117, 220, 143]
ShowName off
OnSwitchValue "h/2"
OffSwitchValue "-h/2"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1]
Position [160, 19, 180, 41]
ShowName off
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum1"
Ports [2, 1]
Position [160, 69, 180, 91]
ShowName off
Inputs "-+"
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [160, 119, 180, 141]
ShowName off
Inputs "-+"
}
Block {
BlockType Outport
Name "Pulses"
Position [425, 88, 455, 102]
IconDisplay "Port number"
BusOutputAsStruct off
InitialOutput "0"
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock "Relay"
DstPort 1
}
Line {
SrcBlock "Sum1"
SrcPort 1
DstBlock "Relay1"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 2
Points [25, 0; 0, 35]
DstBlock "Sum1"
DstPort 1
}
Line {
SrcBlock "Mux"
SrcPort 1
DstBlock "Pulses"
DstPort 1
}
Line {
SrcBlock "Iabc"
SrcPort 1
DstBlock "Demux1"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Relay2"
DstPort 1
}
Line {
SrcBlock "Demux1"
SrcPort 3
Points [15, 0; 0, 70]
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Demux2"
SrcPort 3
Points [50, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Demux2"
SrcPort 2
Points [45, 0; 0, -50]
DstBlock "Sum1"
DstPort 2
}
Line {
SrcBlock "Demux2"
SrcPort 1
Points [35, 0; 0, -85]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Iabc*"
SrcPort 1
DstBlock "Demux2"
DstPort 1
}
Line {
SrcBlock "Relay"
SrcPort 1
Points [20, 0]
Branch {
DstBlock "Mux"
DstPort 1
}
Branch {
DstBlock "Data Type \nConversion"
DstPort 1
}
}
Line {
SrcBlock "Relay1"
SrcPort 1
Points [10, 0]
Branch {
DstBlock "Mux"
DstPort 3
}
Branch {
DstBlock "Data Type \nConversion4"
DstPort 1
}
}
Line {
SrcBlock "Relay2"
SrcPort 1
Points [5, 0]
Branch {
DstBlock "Mux"
DstPort 5
}
Branch {
Points [0, 25]
DstBlock "Data Type \nConversion5"
DstPort 1
}
}
Line {
SrcBlock "Data Type \nConversion"
SrcPort 1
DstBlock "Logical\nOperator"
DstPort 1
}
Line {
SrcBlock "Logical\nOperator"
SrcPort 1
DstBlock "Data Type \nConversion1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion1"
SrcPort 1
DstBlock "Mux"
DstPort 2
}
Line {
SrcBlock "Logical\nOperator1"
SrcPort 1
DstBlock "Data Type \nConversion2"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion2"
SrcPort 1
DstBlock "Mux"
DstPort 4
}
Line {
SrcBlock "Logical\nOperator2"
SrcPort 1
DstBlock "Data Type \nConversion3"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion3"
SrcPort 1
DstBlock "Mux"
DstPort 6
}
Line {
SrcBlock "Data Type \nConversion4"
SrcPort 1
DstBlock "Logical\nOperator1"
DstPort 1
}
Line {
SrcBlock "Data Type \nConversion5"
SrcPort 1
DstBlock "Logical\nOperator2"
DstPort 1
}
}
}
Block {
BlockType DigitalClock
Name "Digital Clock"
Position [35, 18, 65, 42]
SampleTime "Ts"
}
Block {
BlockType From
Name "From2"
Position [235, 60, 280, 80]
BackgroundColor "[0.501961, 1.000000, 1.000000]"
ShowName off
CloseFcn "tagdialog Close"
GotoTag "Iabc1"
}
Block {
BlockType Gain
Name "Gain"
Position [95, 15, 125, 45]
Gain "2*pi*50"
ParameterDataTypeMode "Inherit via internal rule"
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType SubSystem
Name "dq to ABC\nconversion\ninvariante en amplit"
"ud"
Ports [3, 1]
Position [175, 59, 225, 141]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "dq to ABC\nconversion\ninvariante en ampl"
"itud"
Location [402, 607, 826, 770]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Teta"
Position [15, 23, 45, 37]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "Id*"
Position [55, 113, 85, 127]
Port "2"
IconDisplay "Port number"
}
Block {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -