📄 psi_system.mdl
字号:
Model {
Name "psi_system"
Version 5.0
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ExecutionOrder off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Sun Oct 19 09:48:14 2003"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "pxs"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Sun Oct 19 10:04:26 2003"
ModelVersionFormat "1.%<AutoIncrement:1>"
ConfigurationManager "None"
SimParamPage "Solver"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
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
BufferReuse on
RTWExpressionDepthLimit 5
SimulationMode "normal"
Solver "ode45"
SolverMode "Auto"
StartTime "0.0"
StopTime "10.0"
MaxOrder 5
MaxStep "auto"
MinStep "auto"
MaxNumMinSteps "-1"
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 "Array"
Decimation "1"
LimitDataPoints on
MaxDataPoints "1000"
SignalLoggingName "sigsOut"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
AlgebraicLoopMsg "warning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
CheckForMatrixSingularity "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterPrecisionLossMsg "warning"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SfunCompatibilityCheckMsg "none"
RTWInlineParameters off
BlockReductionOpt on
BooleanDataType on
ConditionallyExecuteInputs on
ParameterPooling on
OptimizeBlockIOStorage on
ZeroCross on
AssertionControl "UseLocalSettings"
ProdHWDeviceType "Microprocessor"
ProdHWWordLengths "8,16,32,32"
RTWSystemTargetFile "grt.tlc"
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
RTWRetainRTWFile off
TLCProfiler off
TLCDebug off
TLCCoverage off
TLCAssertion off
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "Helvetica"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ShowAdditionalParam off
ParameterDataTypeMode "Same as input"
ParameterDataType "sfix(16)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "2^0"
OutDataTypeMode "Same as input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
}
Block {
BlockType Inport
Port "1"
PortDimensions "-1"
SampleTime "-1"
ShowAdditionalParam off
LatchInput off
DataType "auto"
OutDataType "sfix(16)"
OutScaling "2^0"
SignalType "auto"
SamplingMode "auto"
Interpolate on
}
Block {
BlockType Outport
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType SubSystem
ShowPortLabels on
Permissions "ReadWrite"
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
ShowAdditionalParam off
InputSameDT on
OutDataTypeMode "Same as first input"
OutDataType "sfix(16)"
OutScaling "2^0"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow 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 "psi_system"
Location [2, 70, 1022, 720]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Inport
Name "ps1_alpha1"
Position [175, 333, 205, 347]
}
Block {
BlockType Inport
Name "ps1_alpha2"
Position [175, 375, 205, 385]
Port "2"
}
Block {
BlockType Inport
Name "ps1_beta1"
Position [175, 413, 205, 427]
Port "3"
}
Block {
BlockType Inport
Name "ps1_beta2"
Position [175, 453, 205, 467]
Port "4"
}
Block {
BlockType SubSystem
Name "psi_system"
Ports [4, 4]
Position [255, 315, 360, 485]
TreatAsAtomicUnit off
System {
Name "psi_system"
Location [152, 155, 482, 675]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "ps1_alpha1"
Position [25, 33, 55, 47]
}
Block {
BlockType Inport
Name "ps1_alpha2"
Position [25, 205, 55, 215]
Port "2"
}
Block {
BlockType Inport
Name "ps1_beta1"
Position [25, 308, 55, 322]
Port "3"
}
Block {
BlockType Inport
Name "ps1_beta2"
Position [25, 473, 55, 487]
Port "4"
}
Block {
BlockType Gain
Name "1/Lm"
Position [195, 40, 225, 70]
}
Block {
BlockType Gain
Name "1/Lm2"
Position [195, 180, 225, 210]
NamePlacement "alternate"
}
Block {
BlockType Gain
Name "1/Lm3"
Position [195, 315, 225, 345]
}
Block {
BlockType Gain
Name "1/Lm4"
Position [195, 450, 225, 480]
}
Block {
BlockType Gain
Name "Lr"
Position [80, 170, 110, 190]
NamePlacement "alternate"
}
Block {
BlockType Gain
Name "Lr1"
Position [80, 441, 110, 459]
}
Block {
BlockType Gain
Name "Ls"
Position [90, 61, 120, 79]
}
Block {
BlockType Gain
Name "Ls1"
Position [80, 336, 110, 354]
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1]
Position [135, 25, 160, 85]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1]
Position [135, 166, 160, 224]
ShowName off
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum4"
Ports [2, 1]
Position [135, 300, 160, 360]
ShowName off
Inputs "+-"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Sum
Name "Sum5"
Ports [2, 1]
Position [135, 437, 160, 493]
ShowName off
Inputs "-+"
InputSameDT off
OutDataTypeMode "Inherit via internal rule"
}
Block {
BlockType Outport
Name "ialpha2"
Position [275, 48, 305, 62]
}
Block {
BlockType Outport
Name "ialpha1"
Position [275, 190, 305, 200]
NamePlacement "alternate"
Port "2"
}
Block {
BlockType Outport
Name "ibeta2"
Position [275, 323, 305, 337]
Port "3"
}
Block {
BlockType Outport
Name "ibeta1"
Position [275, 458, 305, 472]
Port "4"
}
Line {
SrcBlock "ps1_alpha1"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "1/Lm"
DstPort 1
}
Line {
SrcBlock "1/Lm"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [15, 0]
DstBlock "ialpha2"
DstPort 1
}
Branch {
Points [0, 80; -180, 0]
DstBlock "Lr"
DstPort 1
}
}
Line {
SrcBlock "1/Lm2"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [20, 0]
DstBlock "ialpha1"
DstPort 1
}
Branch {
Points [0, -75; -165, 0]
DstBlock "Ls"
DstPort 1
}
}
Line {
SrcBlock "ps1_beta1"
SrcPort 1
DstBlock "Sum4"
DstPort 1
}
Line {
SrcBlock "Sum4"
SrcPort 1
DstBlock "1/Lm3"
DstPort 1
}
Line {
SrcBlock "1/Lm3"
SrcPort 1
Points [0, 0; 10, 0]
Branch {
Points [20, 0]
DstBlock "ibeta2"
DstPort 1
}
Branch {
Points [0, 90; -175, 0]
DstBlock "Lr1"
DstPort 1
}
}
Line {
SrcBlock "Sum5"
SrcPort 1
DstBlock "1/Lm4"
DstPort 1
}
Line {
SrcBlock "1/Lm4"
SrcPort 1
Points [0, 0; 15, 0]
Branch {
Points [15, 0]
DstBlock "ibeta1"
DstPort 1
}
Branch {
Points [0, -80; -180, 0]
DstBlock "Ls1"
DstPort 1
}
}
Line {
SrcBlock "ps1_alpha2"
SrcPort 1
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "1/Lm2"
DstPort 1
}
Line {
SrcBlock "Lr"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "ps1_beta2"
SrcPort 1
DstBlock "Sum5"
DstPort 2
}
Line {
SrcBlock "Lr1"
SrcPort 1
DstBlock "Sum5"
DstPort 1
}
Line {
SrcBlock "Ls"
SrcPort 1
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Ls1"
SrcPort 1
DstBlock "Sum4"
DstPort 2
}
}
}
Block {
BlockType Outport
Name "ialpha2"
Position [405, 333, 435, 347]
}
Block {
BlockType Outport
Name "ialpha1"
Position [405, 375, 435, 385]
Port "2"
}
Block {
BlockType Outport
Name "ibeta2"
Position [405, 413, 435, 427]
Port "3"
}
Block {
BlockType Outport
Name "ibeta1"
Position [405, 453, 435, 467]
Port "4"
}
Line {
SrcBlock "ps1_alpha1"
SrcPort 1
DstBlock "psi_system"
DstPort 1
}
Line {
SrcBlock "psi_system"
SrcPort 1
DstBlock "ialpha2"
DstPort 1
}
Line {
SrcBlock "psi_system"
SrcPort 2
DstBlock "ialpha1"
DstPort 1
}
Line {
SrcBlock "ps1_alpha2"
SrcPort 1
DstBlock "psi_system"
DstPort 2
}
Line {
SrcBlock "ps1_beta1"
SrcPort 1
DstBlock "psi_system"
DstPort 3
}
Line {
SrcBlock "psi_system"
SrcPort 3
DstBlock "ibeta2"
DstPort 1
}
Line {
SrcBlock "psi_system"
SrcPort 4
DstBlock "ibeta1"
DstPort 1
}
Line {
SrcBlock "ps1_beta2"
SrcPort 1
DstBlock "psi_system"
DstPort 4
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -