d_kundur_upfc.mdl
来自「基于PSAT 软件的多目标最优潮流计算用于中小型电力系统的分析和管理」· MDL 代码 · 共 1,947 行 · 第 1/5 页
MDL
1,947 行
MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" SimulationMode "normal" ExtraOptions "-aInitFltsAndDblsToZero=1 " CurrentDlgPage "Solver" } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Constant Value "1" VectorParams1D on OutDataTypeMode "Inherit from 'Constant value'" OutDataType "sfix(16)" ConRadixGroup "Use specified scaling" OutScaling "2^0" SampleTime "inf" } Block { BlockType EnablePort StatesWhenEnabling "held" ShowOutputPort off ZeroCross on } Block { BlockType Inport UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" Interpolate on } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" DataType "auto" OutDataType "sfix(16)" OutScaling "2^0" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType PMComponent SubClassName "unknown" } Block { BlockType PMIOPort } Block { BlockType SubSystem ShowPortLabels on Permissions "ReadWrite" PermitHierarchicalResolution "All" SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Terminator } } 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 "d_kundur_upfc" Location [54, 111, 1078, 461] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "80" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "AVR1" Tag "PSATblock" Description "Controls" Ports [0, 1] Position [35, 130, 65, 150] ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskType "Exc" MaskDescription "This block defines an Automatic Voltage Regulat""or." MaskHelp "This block defines an Automatic Voltage Regulat""or.\nThere are three kind of regulators:\n\nType 1:\n\n IEEE Model 1\n\nT""ype 2:\n\n IEEE Model 2\n\nType 3:\n \n IEEE Model 3" MaskPromptString "Automatic Voltage Regulator Type|Maximum Regula""tor Voltage [p.u.]|Minimum Regulator Voltage [p.u.]|Regulator Gain m0 [p.u./p"".u.]|First Regulator Pole T1 [s]|First Regulator Zero T2 [s]|Second Regulator"" Pole T3 [s]|Second Regulator Zero T4 [s]|Time Constant of the Field Circuit ""Td [s]|Time Delay of the Measurement System Tr [s]|Coefficient of the Ceiling"" Function (A B)|Number of input signals" MaskStyleString "popup(1|2|3),edit,edit,edit,edit,edit,edit,edit"",edit,edit,edit,popup(0|1|2|3)" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on" MaskCallbackString "fm_block|||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,,,," MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5q=@4;p6q=@5;p7q=@6;p8q=@""7;p9q=@8;p10q=@9;p11q=@10;p12_13q=@11;in=@12;" MaskInitialization "fm_inout\n[x,y] = fm_draw('R');" MaskDisplay "plot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1.""5 -1.5])\ncolor('red')\nplot([-1.3 -0.5],[-1 1],[-0.5 0.3],[1 -1],[-0.9 -0.1]"",[0.0 0.0])\nplot(2.8+1.3*x,2*y,1.5+[-1.3 -0.5],[1 -1],1.5+[-0.5 0.3],[-1 1])""\n" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "3|5.00|-5.00|200|1|1|1.00|0.01|1.00|0.01|[0.000""6 0.9]|0" MaskTabNameString ",,,,,,,,,,," System { Name "AVR1" Location [158, 247, 492, 439] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Constant" Position [170, 100, 200, 130] ShowName off } Block { BlockType Outport Name "Out1" Position [240, 105, 260, 125] ShowName off IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Out1" DstPort 1 } Annotation { Name "Automatic Voltage Regulator" Position [234, 30] } } } Block { BlockType SubSystem Name "AVR2" Tag "PSATblock" Description "Controls" Ports [0, 1] Position [105, 224, 135, 246] ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskType "Exc" MaskDescription "This block defines an Automatic Voltage Regulat""or." MaskHelp "This block defines an Automatic Voltage Regulat""or.\nThere are three kind of regulators:\n\nType 1:\n\n IEEE Model 1\n\nT""ype 2:\n\n IEEE Model 2\n\nType 3:\n \n IEEE Model 3" MaskPromptString "Automatic Voltage Regulator Type|Maximum Regula""tor Voltage [p.u.]|Minimum Regulator Voltage [p.u.]|Regulator Gain m0 [p.u./p"".u.]|First Regulator Pole T1 [s]|First Regulator Zero T2 [s]|Second Regulator"" Pole T3 [s]|Second Regulator Zero T4 [s]|Time Constant of the Field Circuit ""Td [s]|Time Delay of the Measurement System Tr [s]|Coefficient of the Ceiling"" Function (A B)|Number of input signals" MaskStyleString "popup(1|2|3),edit,edit,edit,edit,edit,edit,edit"",edit,edit,edit,popup(0|1|2|3)" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on" MaskCallbackString "fm_block|||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,,,," MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5q=@4;p6q=@5;p7q=@6;p8q=@""7;p9q=@8;p10q=@9;p11q=@10;p12_13q=@11;in=@12;" MaskInitialization "fm_inout\n[x,y] = fm_draw('R');" MaskDisplay "plot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1.""5 -1.5])\ncolor('red')\nplot([-1.3 -0.5],[-1 1],[-0.5 0.3],[1 -1],[-0.9 -0.1]"",[0.0 0.0])\nplot(2.8+1.3*x,2*y,1.5+[-1.3 -0.5],[1 -1],1.5+[-0.5 0.3],[-1 1])""\n" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "3|5.00|-5.00|200|1|1|1.00|0.01|1.00|0.01|[0.000""6 0.9]|0" MaskTabNameString ",,,,,,,,,,," System { Name "AVR2" Location [158, 247, 492, 439] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Constant" Position [170, 100, 200, 130] ShowName off } Block { BlockType Outport Name "Out1" Position [240, 105, 260, 125] ShowName off IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Out1" DstPort 1 } Annotation { Name "Automatic Voltage Regulator" Position [234, 30] } } } Block { BlockType SubSystem Name "AVR3" Tag "PSATblock" Description "Controls" Ports [0, 1] Position [1120, 244, 1150, 266] Orientation "left" NamePlacement "alternate" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskType "Exc" MaskDescription "This block defines an Automatic Voltage Regulat""or." MaskHelp "This block defines an Automatic Voltage Regulat""or.\nThere are three kind of regulators:\n\nType 1:\n\n IEEE Model 1\n\nT""ype 2:\n\n IEEE Model 2\n\nType 3:\n \n IEEE Model 3" MaskPromptString "Automatic Voltage Regulator Type|Maximum Regula""tor Voltage [p.u.]|Minimum Regulator Voltage [p.u.]|Regulator Gain m0 [p.u./p"".u.]|First Regulator Pole T1 [s]|First Regulator Zero T2 [s]|Second Regulator"" Pole T3 [s]|Second Regulator Zero T4 [s]|Time Constant of the Field Circuit ""Td [s]|Time Delay of the Measurement System Tr [s]|Coefficient of the Ceiling"" Function (A B)|Number of input signals" MaskStyleString "popup(1|2|3),edit,edit,edit,edit,edit,edit,edit"",edit,edit,edit,popup(0|1|2|3)" MaskTunableValueString "on,on,on,on,on,on,on,on,on,on,on,on" MaskCallbackString "fm_block|||||||||||" MaskEnableString "on,on,on,on,on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,,,,,," MaskVariables "p2q=@1;p3q=@2;p4q=@3;p5q=@4;p6q=@5;p7q=@6;p8q=@""7;p9q=@8;p10q=@9;p11q=@10;p12_13q=@11;in=@12;" MaskInitialization "fm_inout\n[x,y] = fm_draw('R');" MaskDisplay "plot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1.""5 -1.5])\ncolor('red')\nplot([-1.3 -0.5],[-1 1],[-0.5 0.3],[1 -1],[-0.9 -0.1]"",[0.0 0.0])\nplot(2.8+1.3*x,2*y,1.5+[-1.3 -0.5],[1 -1],1.5+[-0.5 0.3],[-1 1])""\n" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "3|5.00|-5.00|200|1|1|1.00|0.01|1.00|0.01|[0.000""6 0.9]|0" MaskTabNameString ",,,,,,,,,,," System { Name "AVR3" Location [158, 247, 492, 439] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "Constant" Position [170, 100, 200, 130] ShowName off } Block { BlockType Outport Name "Out1" Position [240, 105, 260, 125] ShowName off IconDisplay "Port number" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Out1" DstPort 1 } Annotation { Name "Automatic Voltage Regulator"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?