📄 upfcsimulink1.mdl
字号:
Model {
Name "UPFCsimulink1"
Version 2.20
SimParamPage Solver
SampleTimeColors off
InvariantConstants off
WideVectorLines on
ShowLineWidths off
StartTime "0.0"
StopTime "5"
Solver ode15s
RelTol "1e-6"
AbsTol "1e-6"
Refine "1"
MaxStep "1e-2"
InitialStep "auto"
FixedStep "1e-3"
MaxOrder 5
OutputOption RefineOutputTimes
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg warning
MinStepSizeMsg warning
UnconnectedInputMsg warning
UnconnectedOutputMsg warning
UnconnectedLineMsg warning
ConsistencyChecking off
ZeroCross on
SimulationMode normal
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWPlaceOutputsASAP off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
BlockDefaults {
Orientation right
ForegroundColor black
BackgroundColor white
DropShadow off
NamePlacement normal
FontName "Helvetica"
FontSize 10
FontWeight normal
FontAngle normal
ShowName on
}
AnnotationDefaults {
HorizontalAlignment center
VerticalAlignment middle
ForegroundColor black
BackgroundColor white
DropShadow off
FontName "Helvetica"
FontSize 10
FontWeight normal
FontAngle normal
}
LineDefaults {
FontName "Helvetica"
FontSize 9
FontWeight normal
FontAngle normal
}
System {
Name "UPFCsimulink1"
Location [0, 70, 800, 581]
Open on
ToolBar on
StatusBar on
ScreenColor white
PaperOrientation landscape
PaperPositionMode auto
PaperType usletter
PaperUnits inches
Block {
BlockType Constant
Name "Constant"
Position [185, 295, 205, 315]
Value "PTs"
}
Block {
BlockType Constant
Name "Constant1"
Position [350, 345, 370, 365]
Value "PLs"
}
Block {
BlockType Constant
Name "Constant2"
Position [355, 385, 375, 405]
Value "0"
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 9, 0, 0, 0]
Position [35, 215, 100, 335]
Outputs "9"
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 7, 0, 0, 0]
Position [435, 215, 500, 305]
Outputs "7"
}
Block {
BlockType Gain
Name "Gain"
Position [625, 370, 655, 400]
Gain "180/pi"
}
Block {
BlockType Gain
Name "Gain1"
Position [130, 420, 160, 450]
Gain "180/pi"
}
Block {
BlockType Gain
Name "Gain2"
Position [530, 88, 545, 112]
NamePlacement alternate
Gain "180/pi"
}
Block {
BlockType Gain
Name "Gain3"
Position [550, 120, 565, 140]
Gain "180/pi"
}
Block {
BlockType Gain
Name "Gain4"
Position [620, 148, 635, 172]
NamePlacement alternate
Gain "180/pi"
}
Block {
BlockType Gain
Name "Gain5"
Position [615, 180, 630, 200]
Gain "180/pi"
}
Block {
BlockType Mux
Name "Mux"
Ports [7, 1, 0, 0, 0]
Position [230, 201, 290, 319]
Inputs "7"
}
Block {
BlockType Mux
Name "Mux1"
Ports [8, 1, 0, 0, 0]
Position [635, 216, 695, 314]
Inputs "8"
}
Block {
BlockType Scope
Name "PC"
Ports [1, 0, 0, 0, 0]
Position [215, 149, 235, 171]
Floating off
Location [244, 199, 545, 438]
Open off
Grid on
TickLabels on
ZoomMode xonly
TimeRange "3"
YMin "-3"
YMax "3"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "Pe"
Ports [1, 0, 0, 0, 0]
Position [170, 123, 190, 147]
Floating off
Location [281, 271, 605, 510]
Open off
Grid on
TickLabels on
ZoomMode xonly
TimeRange "5"
YMin "-0.5"
YMax "2"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "QL"
Ports [1, 0, 0, 0, 0]
Position [200, 379, 220, 401]
Floating off
Location [188, 133, 512, 372]
Open off
Grid on
TickLabels on
ZoomMode on
TimeRange "5 "
YMin "0 "
YMax "0.8 "
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType "S-Function"
Name "S-Function"
Ports [1, 1, 0, 0, 0]
Position [325, 213, 400, 307]
BackgroundColor orange
FunctionName "UPFCModel1"
Parameters "Tr1,Tr2,Ta1,Ta2,Cd,D,SB,Tj,r1s,a1s,r2s,a2s,aEqs"
",UCs,wN"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType "S-Function"
Name "S-Function1"
Ports [1, 1, 0, 0, 0]
Position [185, 44, 280, 96]
Orientation left
BackgroundColor cyan
FunctionName "UPFCModel2"
Parameters "ku1,ku2,PTs,Eq1s,USs,wN,UCs,PLs,QLs,aEqs,UAs,X1"
",x2,X3,X31,xl,xT2,K"
PortCounts "[]"
SFunctionModules "''"
}
Block {
BlockType Sum
Name "Sum"
Ports [2, 1, 0, 0, 0]
Position [450, 347, 480, 378]
Inputs "+-"
}
Block {
BlockType ToWorkspace
Name "To Workspace"
Position [205, 455, 265, 485]
VariableName "AI2"
Buffer "inf"
Decimation "1"
SampleTime "-1"
}
Block {
BlockType ToWorkspace
Name "To Workspace1"
Position [685, 435, 745, 465]
VariableName "AEq"
Buffer "inf"
Decimation "1"
SampleTime "-1"
}
Block {
BlockType Scope
Name "UA"
Ports [1, 0, 0, 0, 0]
Position [200, 338, 220, 362]
Floating off
Location [188, 133, 512, 372]
Open off
Grid on
TickLabels on
ZoomMode on
TimeRange "5 "
YMin "0.9 "
YMax "1.4 "
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "UC"
Ports [1, 0, 0, 0, 0]
Position [535, 425, 565, 455]
Floating off
Location [260, 292, 584, 531]
Open off
Grid on
TickLabels on
ZoomMode xonly
TimeRange "5 "
YMin "24.9 "
YMax "25.3 "
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "a1"
Ports [1, 0, 0, 0, 0]
Position [585, 118, 605, 142]
Floating off
Location [188, 133, 512, 372]
Open off
Grid on
TickLabels on
ZoomMode on
TimeRange "2"
YMin "0"
YMax "400"
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "a2"
Ports [1, 0, 0, 0, 0]
Position [650, 178, 670, 202]
Floating off
Location [188, 133, 512, 372]
Open off
Grid on
TickLabels on
ZoomMode on
TimeRange "5 "
YMin "130 "
YMax "190 "
SaveToWorkspace off
SaveName "ScopeData"
LimitMaxRows off
MaxRows "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "aEq"
Ports [1, 0, 0, 0, 0]
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -