📄 fm_lib.mdl
字号:
Library {
Name "tp332145"
Version 3.0
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar off
StatusBar off
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Sat Jan 13 13:20:27 2001"
Creator "fmilano"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Administrator"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Thu Jul 14 10:33:22 2005"
ModelVersionFormat "1.%<AutoIncrement:925>"
ConfigurationManager "none"
SimParamPage "Solver"
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigHoldOff 0
ExtModeTrigDelay 0
ExtModeTrigDirection "rising"
ExtModeTrigLevel 0
ExtModeArchiveMode "off"
ExtModeAutoIncOneShot off
ExtModeIncDirWhenArm off
ExtModeAddSuffixToVar off
ExtModeWriteAllDataToWs off
ExtModeArmWhenConnect on
SimulationMode "normal"
AlgebraicLoopMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
UnnecessaryDatatypeConvMsg "none"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
RTWRetainRTWFile 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 "tp332145"
Location [179, 139, 646, 467]
Open off
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 [0, 0, 0, 0, 0]
Position [36, 49, 91, 101]
FontSize 12
ShowPortLabels on
MaskDisplay "image(imread([Path.images,'sim_connections.jpg'"
"],'jpeg'))"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "Connections"
Location [45, 25, 396, 225]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType SubSystem
Name "Bus1"
Tag "PSATblock"
Description "Connection"
Ports [2, 1, 0, 0, 0]
Position [95, 80, 150, 85]
Orientation "down"
BackgroundColor "black"
ShowPortLabels on
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"
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"
System {
Name "Bus1"
Location [579, 460, 970, 817]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [25, 25, 45, 45]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "in_2"
Position [25, 75, 45, 95]
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Constant
Name "g1"
Position [105, 20, 130, 50]
Value "1"
}
Block {
BlockType Terminator
Name "t1"
Position [65, 20, 90, 50]
}
Block {
BlockType Terminator
Name "t2"
Position [65, 70, 90, 100]
}
Block {
BlockType Outport
Name "out_1"
Position [155, 25, 175, 45]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "g1"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "t2"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "Bus2"
Tag "PSATblock"
Description "Connection"
Ports [3, 2, 0, 0, 0]
Position [55, 81, 60, 149]
BackgroundColor "black"
ShowPortLabels on
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"
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"
System {
Name "Bus2"
Location [336, 348, 727, 705]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "in_1"
Position [25, 25, 45, 45]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "in_2"
Position [25, 75, 45, 95]
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "in_3"
Position [25, 125, 45, 145]
Port "3"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Constant
Name "g1"
Position [105, 20, 130, 50]
Value "1"
}
Block {
BlockType Constant
Name "g2"
Position [130, 70, 155, 100]
Value "1"
}
Block {
BlockType Terminator
Name "t1"
Position [65, 20, 90, 50]
}
Block {
BlockType Terminator
Name "t2"
Position [65, 70, 90, 100]
}
Block {
BlockType Terminator
Name "t3"
Position [80, 120, 105, 150]
}
Block {
BlockType Outport
Name "out_1"
Position [155, 25, 175, 45]
Port "1"
OutputWhenDisabled "held"
InitialOutput "0"
}
Block {
BlockType Outport
Name "out_2"
Position [185, 75, 205, 95]
Port "2"
OutputWhenDisabled "held"
InitialOutput "0"
}
Line {
SrcBlock "g2"
SrcPort 1
DstBlock "out_2"
DstPort 1
}
Line {
SrcBlock "in_3"
SrcPort 1
DstBlock "t3"
DstPort 1
}
Line {
SrcBlock "in_2"
SrcPort 1
DstBlock "t2"
DstPort 1
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
Line {
SrcBlock "g1"
SrcPort 1
DstBlock "out_1"
DstPort 1
}
}
}
Block {
BlockType From
Name "From Bus2"
Tag "PSATblock"
Description "Connection"
Position [265, 81, 305, 109]
CloseFcn "tagdialog Close"
GotoTag "A"
}
Block {
BlockType Goto
Name "Goto Bus1"
Tag "PSATblock"
Description "Connection"
Position [195, 80, 235, 110]
GotoTag "A"
TagVisibility "local"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -