📄 fm_libsps.mdl
字号:
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 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" 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 "fm_libsps" Location [315, 347, 861, 736] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "A4" PaperUnits "inches" ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType SubSystem Name "Connections" Tag "PSATfolder" Description "Connections" Ports [] Position [61, 84, 116, 136] ShowName off FontSize 12 TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskDisplay "image(imread([Path.images,'sim_connections.jpg'""],'jpeg'))" MaskIconFrame off MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" System { Name "Connections" Location [42, 122, 335, 325] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType PMComponent Name "Bus1" Tag "PSATblock" Description "Connection" Ports [0, 0, 0, 0, 0, 2, 1] Position [100, 80, 155, 85] Orientation "down" BackgroundColor "black" PhysicalDomain "powersysdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0|__newl1" RConnTagsString "__newr0" MaskType "Bus" MaskDescription "Bus block." MaskPromptString "Number of inputs:|Number of outputs:|Voltag""e Rating [kV]|Voltage initial guess [p.u. rad]|Area number|Region number" MaskStyleString "edit,edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on,on" MaskCallbackString "||||fm_block|" MaskEnableString "on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on" MaskVarAliasString ",,,,," MaskVariables "in=@1;out=@2;p2q=@3;p3_4q=@4;p5q=@5;p6q=@6;" MaskInitialization "fm_inout\n\n" MaskDisplay "plot([0 1 1 0 0],[0 0 1 1 0])" MaskSelfModifiable on MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "2|1|400|[1.00 0.00]|1|1" MaskTabNameString ",,,,," } Block { BlockType PMComponent Name "Bus2" Tag "PSATblock" Description "Connection" Ports [0, 0, 0, 0, 0, 3, 2] Position [60, 81, 65, 149] BackgroundColor "black" PhysicalDomain "powersysdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0|__newl1|__newl2" RConnTagsString "__newr0|__newr1" MaskType "Bus" MaskDescription "Bus block" MaskPromptString "Number of inputs:|Number of outputs:|Voltag""e Rating [kV]|Voltage initial guess [p.u. rad]|Area number|Region number" MaskStyleString "edit,edit,edit,edit,edit,edit" MaskTunableValueString "on,on,on,on,on,on" MaskCallbackString "||||fm_block|" MaskEnableString "on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on" MaskVarAliasString ",,,,," MaskVariables "in=@1;out=@2;p2q=@3;p3_4q=@4;p5q=@5;p6q=@6;" MaskInitialization "fm_inout\n\n" MaskDisplay "plot([0 1 1 0 0],[0 0 1 1 0])" MaskSelfModifiable on MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "3|2|400|[1.00 0.00]|1|1" MaskTabNameString ",,,,," } Block { BlockType SubSystem Name "Bus3" Tag "PSATblock" Description "Connection" Ports [0, 1, 0, 0, 0, 3, 2] Position [230, 72, 235, 148] BackgroundColor "black" TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskType "Bus" MaskDescription "Bus block." MaskPromptString "Number of inputs:|Number of outputs:|Voltag""e Rating [kV]|Voltage initial guess [p.u. rad]|Area number|Region number|Inp""ut Signals |Output Signals" MaskStyleString "edit,edit,edit,edit,edit,edit,popup(0|1|2|3""),popup(0|1|2|3)" MaskTunableValueString "on,on,on,on,on,on,on,on" MaskCallbackString "|||||||" MaskEnableString "on,on,on,on,on,on,on,on" MaskVisibilityString "on,on,on,on,on,on,on,on" MaskToolTipString "on,on,on,on,on,on,on,on" MaskVarAliasString ",,,,,,," MaskVariables "in=@1;out=@2;p2q=@3;p3_4q=@4;p5q=@5;p6q=@6;""ins=@7;ous=@8;" MaskInitialization "fm_inout" MaskDisplay "plot([0 1 1 0 0],[0 0 1 1 0])" MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" MaskValueString "3|2|400|[1.00 0.00]|1|1|0|1" MaskTabNameString ",,,,,,," System { Name "Bus3" Location [63, 386, 519, 688] Open off ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" Block { BlockType Constant Name "g1" Position [130, 20, 155, 50] } Block { BlockType PMComponent Name "pmc" Ports [0, 0, 0, 0, 0, 2, 3] Position [130, 73, 230, 277] PhysicalDomain "powersysdomain" LeftPortType "p1" RightPortType "p1" LConnTagsString "__newl0|__newl1" RConnTagsString "__newr0|__newr1|__newr2" } Block { BlockType PMIOPort Name "pmc_out_0" Tag "PMCPort" Position [275, 56, 305, 74] Orientation "left" Port "1" Side "Left" } Block { BlockType PMIOPort Name "pmc_in_0" Tag "PMCPort" Position [55, 56, 85, 74] Port "2" Side "Right" } Block { BlockType PMIOPort Name "pmc_in_1" Position [60, 71, 90, 89] Port "3" Side "Right" } Block { BlockType PMIOPort Name "pmc_out_1" Position [260, 71, 290, 89] Orientation "left" Port "4" Side "Left" } Block { BlockType PMIOPort Name "pmc_out_2" Position [260, 56, 290, 74] Orientation "left" Port "5" Side "Left" } Block { BlockType Outport Name "out_1" Position [185, 25, 205, 45] IconDisplay "Port number" BusOutputAsStruct off } Line { LineType "Connection" SrcBlock "pmc_in_0" SrcPort RConn1 Points [0, 60] DstBlock "pmc" DstPort LConn1 } Line { LineType "Connection" SrcBlock "pmc" SrcPort RConn1 Points [15, 0] DstBlock "pmc_out_0" DstPort RConn1 } Line { SrcBlock "g1" SrcPort 1 DstBlock "out_1" DstPort 1 } Line { LineType "Connection" SrcBlock "pmc_in_1" SrcPort RConn1 DstBlock "pmc" DstPort LConn2 } Line { LineType "Connection" SrcBlock "pmc" SrcPort RConn2 DstBlock "pmc_out_1" DstPort RConn1 } Line { LineType "Connection" SrcBlock "pmc" SrcPort RConn3 DstBlock "pmc_out_2" DstPort RConn1 } Annotation { Name "Tap Changer Under Load " Position [164, 45] } } } Block { BlockType SubSystem Name "Link1" Tag "PSATblock" Description "Connection" Ports [0, 0, 1, 0, 0, 1, 1] Position [123, 125, 157, 155] Orientation "down" ShowName off TreatAsAtomicUnit off MinAlgLoopOccurrences off RTWSystemCode "Auto" MaskType "Link" MaskDescription "Link block" MaskInitialization "if strcmp(get_param(gcb,'NamePlacement'),'a""lternate')\n rot = 0;\nelse\n rot = 1;\nend\n\n" MaskDisplay "plot([0.45 0],[0.5 0.5],[1 0.55],[0.5 0.5])""\ncolor('green')\nplot([0.45 0.55 0.55 0.45 0.45],[0.45 0.45 0.55 0.55 0.45],""[0.5 0.5],rot*0.45+[0.1 0.45])\nplot([0.45 0.55 0.55 0.45 0.45],rot*0.9+[0 0 ""0.1 0.1 0],1-rot,1-rot)\n" MaskSelfModifiable on MaskIconFrame off MaskIconOpaque on MaskIconRotate "port" MaskIconUnits "autoscale" System { Name "Link1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -