?? hevelectricdrive75.mdl
字號:
Block {
BlockType Demux
Name "Demux"
Tag "STV Demux"
Ports [1, 1]
Position [150, 34, 160, 606]
Outputs "1"
}
Block {
BlockType FromWorkspace
Name "FromWs"
Tag "STV FromWs"
Position [30, 300, 115, 350]
VariableName "tuvar"
SampleTime "0"
ZeroCross on
SigBuilderData "DataTag0"
VnvData "DataTag1"
}
Block {
BlockType Outport
Name "Signal 1"
Tag "STV Outport"
Position [280, 30, 300, 40]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [50, 0; 0, -285]
DstBlock "Signal 1"
DstPort 1
}
Line {
SrcBlock "FromWs"
SrcPort 1
Points [5, 0; 0, -5]
DstBlock "Demux"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Manual Switch"
Ports [2, 1]
Position [280, 47, 310, 83]
SourceBlock "simulink/Signal\nRouting/Manual Switch"
SourceType "Manual Switch"
ShowPortLabels on
sw "1"
action "0"
}
Block {
BlockType Product
Name "Product"
Ports [2, 1]
Position [150, 27, 180, 58]
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
SaturateOnIntegerOverflow off
}
Block {
BlockType Constant
Name "speed ref (rpm)"
Position [60, 60, 90, 90]
Value "2500"
}
Block {
BlockType Outport
Name "Speed ref (rpm)"
Position [335, 58, 365, 72]
IconDisplay "Port number"
BusOutputAsStruct off
}
Line {
SrcBlock "Product"
SrcPort 1
Points [40, 0; 0, 10]
DstBlock "Manual Switch"
DstPort 1
}
Line {
SrcBlock "10s cycle"
SrcPort 1
Points [30, 0]
DstBlock "Product"
DstPort 1
}
Line {
SrcBlock "speed ref (rpm)"
SrcPort 1
Points [0, 0; 20, 0]
Branch {
Points [0, -25]
DstBlock "Product"
DstPort 2
}
Branch {
DstBlock "Manual Switch"
DstPort 2
}
}
Line {
SrcBlock "Manual Switch"
SrcPort 1
Points [0, 0]
DstBlock "Speed ref (rpm)"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Emotor"
Ports [2, 2]
Position [195, 87, 530, 258]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskDisplay "image(imread('ths.jpg'))"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
Port {
PortNumber 1
Name "U DCbus (V)"
PropagatedSignals "UatBus"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
Port {
PortNumber 2
Name "Emotor Torque (Nm)"
PropagatedSignals "Electromagnetic Torque"
RTWStorageClass "Auto"
DataLoggingNameMode "SignalName"
}
System {
Name "Emotor"
Location [19, 181, 978, 758]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Speed"
Position [15, 38, 45, 52]
IconDisplay "Port number"
}
Block {
BlockType Inport
Name "wm (rpm)"
Position [15, 68, 45, 82]
Port "2"
IconDisplay "Port number"
}
Block {
BlockType SubSystem
Name "Battery"
Ports [0, 0, 0, 0, 0, 2]
Position [385, 246, 425, 299]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Battery"
Location [548, 289, 729, 561]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Reference
Name "DC"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [95, 165, 115, 200]
Orientation "up"
SourceBlock "powerlib/Electrical\nSources/DC Voltage"
" Source"
SourceType "DC Voltage Source"
ShowPortLabels on
Amplitude "200"
Measurements "None"
}
Block {
BlockType Reference
Name "R"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [91, 55, 119, 125]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "R"
Resistance ".01"
Inductance "1e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "100e-4"
Setx0 on
InitialVoltage "560"
Measurements "None"
}
Block {
BlockType PMIOPort
Name "+ bat."
Tag "PMCPort"
Position [25, 26, 55, 44]
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "- bat."
Tag "PMCPort"
Position [40, 231, 70, 249]
Port "2"
Side "Left"
}
Line {
LineType "Connection"
SrcBlock "- bat."
SrcPort RConn1
Points [20, 0]
DstBlock "DC"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "R"
SrcPort RConn1
Points [0, 0]
DstBlock "DC"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "+ bat."
SrcPort RConn1
Points [35, 0]
DstBlock "R"
DstPort LConn1
}
}
}
Block {
BlockType SubSystem
Name "Bus Capacitor"
Ports [1, 1, 0, 0, 0, 2, 2]
Position [205, 221, 315, 299]
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
System {
Name "Bus Capacitor"
Location [0, 42, 1016, 742]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Pulses"
Position [315, 68, 345, 82]
IconDisplay "Port number"
}
Block {
BlockType Reference
Name "CBus"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [151, 190, 179, 260]
Orientation "down"
NamePlacement "alternate"
SourceBlock "powerlib/Elements/Series RLC Branch"
SourceType "Series RLC Branch"
PhysicalDomain "powersysdomain"
SubClassName "unknown"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "__new0"
RConnTagsString "__new0"
BranchType "RC"
Resistance "0.01"
Inductance "1e-3"
SetiL0 off
InitialCurrent "0"
Capacitance "35e-3"
Setx0 on
InitialVoltage "560"
Measurements "None"
}
Block {
BlockType SubSystem
Name "Chopper"
Ports [1, 0, 0, 0, 0, 2, 1]
Position [375, 61, 445, 139]
FontName "Arial"
FontSize 12
TreatAsAtomicUnit off
MinAlgLoopOccurrences off
RTWSystemCode "Auto"
MaskHideContents off
MaskType "SPSdrives Converter"
MaskDescription "This model implements an average-value "
"buck converter.\"Duty Cycle\" contains the duty cycle of the internal IGBT de"
"vice."
MaskPromptString "Snubber resistance Rs (Ohms):|Snubber c"
"apacitance Cs (F):|Ron (Ohms):|Forward voltages [Device Vf(V), Diode Vd (V)]|"
"[Tf(s), Tt(s)]:|Converter type:"
MaskStyleString "edit,edit,edit,edit,edit,popup(Rectifie"
"r|Inverter)"
MaskTunableValueString "off,off,off,off,off,off"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "off,off,off,off,off,off"
MaskToolTipString "on,on,on,on,on,on"
MaskVarAliasString ",,,,,"
MaskVariables "SnubberResistance=&1;SnubberCapacitance"
"=&2;Ron=&3;ForwardVoltages=&4;IGBTParameters=&5;converterType=@6;"
MaskDisplay "plot(0,0,100,100,[39 39 23.8],[71 28 28"
"],[44 56 49.6 56 52.8 56 61 61],[39.2 33.6 32.8 33.6 40.8 33.6 30 12.4],[44 4"
"4 44 61 61],[28 71 60 66.4 90],[75 67 83 75 67 83 75 75],[54 42 42 54 54 54 5"
"4 66],[61 75 75],[24 24 42],[75 75 61],[66,76,76])"
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "10e3|inf|1e-3|[1.3,1.3]|[0,0]|Inverter"
MaskTabNameString ",,,,,"
System {
Name "Chopper"
Location [9, 142, 769, 533]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "Duty Cycle"
Position [45, 23, 75, 37]
FontName "Arial"
FontSize 12
IconDisplay "Port number"
}
Block {
BlockType Fcn
Name "Average-value\narmature voltage"
Position [310, 24, 385, 56]
FontName "Arial"
FontSize 12
Expr "u(1)*u(2)"
}
Block {
BlockType Fcn
Name "Average-value\nsource current"
Position [310, 205, 390, 235]
Orientation "left"
FontName "Arial"
FontSize 12
Expr "u(1)*u(2)"
}
Block {
BlockType Reference
Name "Controlled Current Source"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [150, 240, 190, 285]
Orientation "down"
NamePlacement "alternate"
FontName "Arial"
FontSize 12
SourceBlock "powerlib/Electrical\nSources/Contro"
"lled Current Source"
SourceType "Controlled Current Source"
ShowPortLabels on
Initialize on
SourceType "AC"
Amplitude "0"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Controlled Voltage Source"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [510, 27, 550, 83]
FontName "Arial"
FontSize 12
SourceBlock "powerlib/Electrical\nSources/Contro"
"lled Voltage Source"
SourceType "Controlled Voltage Source"
ShowPortLabels on
Initialize on
SourceType "AC"
Amplitude "0"
Phase "0"
Frequency "0"
Measurements "None"
}
Block {
BlockType Reference
Name "Current Measurement"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [570, 45, 600, 65]
NamePlacement "alternate"
ShowName off
AttributesFormatString "\\n"
SourceBlock "powerlib/Measurements/Current Measu"
"rement"
SourceType "Current Measurement"
ShowPortLabels on
PhasorSimulation off
OutputType "Magnitude"
PSBequivalent "0"
}
Block {
BlockType Mux
Name "Mux"
Ports [2, 1]
Position [285, 21, 290, 59]
ShowName off
FontName "Arial"
FontSize 12
Inputs "2"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux1"
Ports [2, 1]
Position [420, 200, 425, 240]
Orientation "left"
NamePlacement "alternate"
ShowName off
FontName "Arial"
FontSize 12
Inputs "2"
DisplayOption "bar"
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -