📄 d_ex13_2.mdl
字号:
Model {
Name "tp370407"
Version 3.0
SampleTimeColors off
ShowPortDataTypes off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Wed Jul 7 11:51:28 2004"
Creator "fmilano"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Administrator"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Thu Jul 14 10:37:04 2005"
ModelVersionFormat "1.%<AutoIncrement:29>"
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
BufferReuse on
SimulationMode "normal"
Solver "ode45"
SolverMode "Auto"
StartTime "0.0"
StopTime "10.0"
MaxOrder 5
MaxStep "auto"
InitialStep "auto"
FixedStep "auto"
RelTol "1e-3"
AbsTol "auto"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
Refine "1"
LoadExternalInput off
ExternalInput "[t, u]"
LoadInitialState off
InitialState "xInitial"
SaveTime on
TimeSaveName "tout"
SaveState off
StateSaveName "xout"
SaveOutput on
OutputSaveName "yout"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
Decimation "1"
AlgebraicLoopMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
UnnecessaryDatatypeConvMsg "none"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
RTWInlineParameters off
BooleanDataType on
OptimizeBlockIOStorage on
ZeroCross on
RTWSystemTargetFile "grt.tlc"
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
RTWRetainRTWFile off
RTWOptions "-aEnforceIntegerDowncast=1 -aFoldNonRolledExpr=1 -a"
"InlineInvariantSignals=1 -aInlineParameters=0 -aLocalBlockOutputs=1 -aRollThr"
"eshold=5 -aZeroInternalMemoryAtStartup=1 -aZeroExternalMemoryAtStartup=1 -aIn"
"itFltsAndDblsToZero=1 -aGenerateReport=0 -aGenCodeOnly=0 -aRTWVerbose=1 -aInc"
"ludeHyperlinkInReport=0 -aLaunchReport=0 -aForceParamTrailComments=0 -aGenera"
"teComments=1 -aIgnoreCustomStorageClasses=1 -aIncHierarchyInIds=0 -aMaxRTWIdL"
"en=31 -aShowEliminatedStatements=0 -aPrefixModelToSubsysFcnNames=1 -aIncDataT"
"ypeInIds=0 -aInsertBlockDesc=0 -aSimulinkBlockComments=1 -aInlinedPrmAccess="
"\"Literals\" -aSuppressErrorStatus=0 -aModelReferenceCompliant=1 -aSupportNo"
"nInlinedSFcns=1 -aSupportContinuousTime=1 -aSupportComplex=1 -aSupportNonFini"
"te=1 -aSupportAbsoluteTime=1 -aTargetFcnLib=\"ansi_tfl_tmw.mat\" -aMultiInsta"
"nceERTCode=0 -aLogVarNameModifier=\"rt_\" -aIsPILTarget=0 -aCombineOutputUpda"
"teFcns=0 -aGenerateASAP2=0 -aGenerateSampleERTMain=0 -aGenerateFullHeader=1 -"
"aUtilityFuncGeneration=\"Auto\" -aIncludeFileDelimiter=\"Auto\" -aIncludeMdlT"
"erminateFcn=1 -aPurelyIntegerCode=0 -aERTCustomFileBanners=0 -aRTWCAPIStates="
"0 -aRTWCAPIParams=0 -aRTWCAPISignals=0 -aMatFileLogging=1 -aGenFloatMathFcnCa"
"lls=\"ANSI_C\" -aExtModeMexFile=\"ext_comm\" -aExtModeTransport=0 -aExtModeSt"
"aticAllocSize=1000000 -aExtModeTesting=0 -aExtModeStaticAlloc=0 -aExtMode=0 "
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 "tp370407"
Location [469, 388, 1067, 971]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "AVR1"
Tag "PSATblock"
Description "Controls"
Ports [0, 1, 0, 0, 0]
Position [120, 216, 165, 244]
ShowName off
ShowPortLabels on
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 [p.u./p.u."
"]|Regulator Pole T2 [s]|Regulator Zero T1 [s]|Second Regulator Pole T3 [s]|Se"
"cond Regulator Zero T4 [s]|Time Constant of the Field Circuit Td [s]|Time Del"
"ay 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,off,off,off,on,off,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on"
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.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])\nplot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1.5 -1.5])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "3|7.00|-6.40|200|1|1|1.00|0.01|1.00|0.015|[0.00"
"06 0.9]|0"
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
Value "1"
}
Block {
BlockType Outport
Name "Out1"
Position [240, 105, 260, 125]
ShowName off
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Text "Automatic Voltage Regulator"
Position [234, 30]
}
}
}
Block {
BlockType SubSystem
Name "AVR2"
Tag "PSATblock"
Description "Controls"
Ports [1, 1, 0, 0, 0]
Position [120, 386, 165, 414]
ShowName off
ShowPortLabels on
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 [p.u./p.u."
"]|Regulator Pole T2 [s]|Regulator Zero T1 [s]|Second Regulator Pole T3 [s]|Se"
"cond Regulator Zero T4 [s]|Time Constant of the Field Circuit Td [s]|Time Del"
"ay 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,off,off,off,on,off,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on,on,on,on"
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.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])\nplot([-1.8 4.1 4.1 -1.8 -1.8],[-1.5 -1.5 1.5 1.5 -1.5])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "3|7.00|-6.40|200|1|1|1.00|0.01|1.00|0.015|[0.00"
"06 0.9]|1"
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 Inport
Name "in_1"
Position [25, 25, 45, 45]
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Constant
Name "Constant"
Position [170, 100, 200, 130]
ShowName off
Value "1"
}
Block {
BlockType Terminator
Name "t1"
Position [80, 20, 105, 50]
}
Block {
BlockType Outport
Name "Out1"
Position [240, 105, 260, 125]
ShowName off
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "in_1"
SrcPort 1
DstBlock "t1"
DstPort 1
}
Line {
SrcBlock "Constant"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Text "Automatic Voltage Regulator"
Position [234, 30]
}
}
}
Block {
BlockType SubSystem
Name "Breaker"
Tag "PSATblock"
Description "Faults & Breakers"
Ports [1, 1, 0, 0, 0]
Position [365, 80, 385, 100]
ShowName off
ShowPortLabels on
MaskType "Breaker"
MaskDescription "This block defines a breaker."
MaskPromptString "Power, Voltage and Frequency rates [MVA, kV, H"
"z]|Initially close|First intervention time [s]|Second intervention time [s]"
MaskStyleString "edit,checkbox,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|fm_block||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskVariables "p3_4_5q=@1;p6q=@2;p7q=@3;p8q=@4;"
MaskDisplay "plot([1 2 2 1 1],[-1 -1 1 1 -1],[1 2],[-1 1],[2"
" 1],[-1 1])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[2220 400 60]|on|0.57|100"
System {
Name "Breaker"
Location [65, 203, 399, 395]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [65, 105, 85, 125]
ShowName off
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Outport
Name "Out1"
Position [260, 105, 280, 125]
ShowName off
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Out1"
DstPort 1
}
Annotation {
Text "Breaker"
Position [164, 45]
}
}
}
Block {
BlockType SubSystem
Name "Breaker1"
Tag "PSATblock"
Description "Faults & Breakers"
Ports [1, 1, 0, 0, 0]
Position [365, 240, 385, 260]
ShowName off
ShowPortLabels on
MaskType "Breaker"
MaskDescription "This block defines a breaker."
MaskPromptString "Power, Voltage and Frequency rates [MVA, kV, H"
"z]|Initially close|First intervention time [s]|Second intervention time [s]"
MaskStyleString "edit,checkbox,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|fm_block||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskVariables "p3_4_5q=@1;p6q=@2;p7q=@3;p8q=@4;"
MaskDisplay "plot([1 2 2 1 1],[-1 -1 1 1 -1],[1 2],[-1 1],[2"
" 1],[-1 1])"
MaskIconFrame off
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "[2220 400 60]|on|0.57|100"
System {
Name "Breaker1"
Location [65, 203, 399, 395]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [65, 105, 85, 125]
ShowName off
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Outport
Name "Out1"
Position [260, 105, 280, 125]
ShowName off
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "In1"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -