📄 m4_7_2.mdl
字号:
Model {
Name "m4_7_2"
Version 4.00
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Sat Sep 28 10:29:19 2002"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "Guangda Chen"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Fri May 23 11:07:10 2003"
ModelVersionFormat "1.%<AutoIncrement:11>"
ConfigurationManager "None"
SimParamPage "Solver"
StartTime "0.0"
StopTime "10.0"
SolverMode "Auto"
Solver "ode45"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
InitialStep "auto"
FixedStep "auto"
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"
SaveFormat "Array"
LimitDataPoints on
MaxDataPoints "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
SingleTaskRateTransMsg "none"
MultiTaskRateTransMsg "error"
IntegerOverflowMsg "warning"
CheckForMatrixSingularity "none"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
LinearizationMsg "none"
VectorMatrixConversionMsg "none"
SfunCompatibilityCheckMsg "none"
BlockPriorityViolationMsg "warning"
ArrayBoundsChecking "none"
ConsistencyChecking "none"
ZeroCross on
Profile off
SimulationMode "normal"
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
TLCProfiler off
TLCDebug off
TLCCoverage off
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
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
ExtModeSkipDownloadWhenConnect off
ExtModeLogAll on
ExtModeAutoUpdateStatusClock on
OptimizeBlockIOStorage on
BufferReuse on
ParameterPooling on
BlockReductionOpt on
RTWExpressionDepthLimit 5
BooleanDataType 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 "m4_7_2"
Location [833, 340, 1197, 570]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType SubSystem
Name "Subsystem"
Ports [1, 1]
Position [145, 60, 230, 120]
AttributesFormatString "PID Governor"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "PID Governor"
MaskDescription "This block is a conventional PID Regulator for "
"hydro-turbine governing system with saturation nonlinear characteristics."
MaskHelp "This block is a conventional PID Regulator for "
"hydro-turbine governing system with saturation nonlinear characteristics.\n\n"
"There are six parameters which include:\n(1) Td, Temporary-feedback time-cons"
"tant;\n(2) bt, Temporary-feedback coefficient;\n(3) Tn, Derivative time-const"
"ant;\n(4) bp, Permanent-feedback coefficient;\n(5)U, Upper limit;\n(6)L, Lowe"
"r limit."
MaskPromptString "Lower limit|Upper limit|Permanent-feedback coef"
"ficient|Derivative time-constant|Temporary-feedback coefficient|Temporary-fee"
"dback time-constant"
MaskStyleString "edit,edit,edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on,on,on"
MaskCallbackString "|||||"
MaskEnableString "on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on"
MaskVariables "L=@1;U=@2;bp=@3;Tn=@4;bt=@5;Td=@6;"
MaskInitialization "Td=7.5\nbt=1.1\nTn=1.2\nbp=0\nU=1\nL=0"
MaskDisplay "disp('Regulator PID')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "|||||"
MaskVariableAliases ",,,,,"
System {
Name "Subsystem"
Location [424, 312, 838, 548]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "In1"
Position [15, 38, 45, 52]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Gain
Name " Time \nconstant"
Position [215, 43, 270, 77]
Gain "1/0.05"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType TransferFcn
Name "Derivative"
Position [60, 27, 120, 63]
Numerator "[Tn 1]"
Denominator "[0.1*Tn 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType Integrator
Name "Integrator"
Ports [1, 1]
Position [285, 45, 315, 75]
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput on
UpperSaturationLimit "U"
LowerSaturationLimit "L"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
}
Block {
BlockType Gain
Name "Permanent feedback \n"
Position [275, 165, 305, 195]
Orientation "left"
Gain "bp"
Multiplication "Element-wise(K.*u)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum"
Ports [3, 1]
Position [175, 36, 195, 84]
ShowName off
IconShape "rectangular"
Inputs "+--"
SaturateOnIntegerOverflow on
}
Block {
BlockType TransferFcn
Name "Temporary feedback "
Position [255, 107, 315, 143]
Orientation "left"
Numerator "[bt*Td 0]"
Denominator "[Td 1]"
AbsoluteTolerance "auto"
Realization "auto"
}
Block {
BlockType Outport
Name "Out1"
Position [365, 53, 395, 67]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock " Time \nconstant"
SrcPort 1
DstBlock "Integrator"
DstPort 1
}
Line {
SrcBlock "Integrator"
SrcPort 1
Points [0, 0; 25, 0]
Branch {
Points [0, 65]
Branch {
DstBlock "Temporary feedback "
DstPort 1
}
Branch {
Points [0, 55]
DstBlock "Permanent feedback \n"
DstPort 1
}
}
Branch {
DstBlock "Out1"
DstPort 1
}
}
Line {
SrcBlock "Sum"
SrcPort 1
DstBlock " Time \nconstant"
DstPort 1
}
Line {
SrcBlock "Temporary feedback "
SrcPort 1
Points [-90, 0]
DstBlock "Sum"
DstPort 3
}
Line {
SrcBlock "Permanent feedback \n"
SrcPort 1
Points [-120, 0; 0, -120]
DstBlock "Sum"
DstPort 2
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "Sum"
DstPort 1
}
Line {
SrcBlock "In1"
SrcPort 1
DstBlock "Derivative"
DstPort 1
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -