📄 imsistline.mdl
字号:
Model {
Name "imSIstline"
Version 3.00
SimParamPage "WorkspaceI/O"
SampleTimeColors off
InvariantConstants off
WideVectorLines off
ShowLineWidths off
ShowPortDataTypes off
StartTime "0.0"
StopTime "1.5"
SolverMode "Auto"
Solver "ode45"
RelTol "1e-3"
AbsTol "auto"
Refine "1"
MaxStep "1e-3"
InitialStep "auto"
FixedStep "auto"
MaxOrder 5
OutputOption "RefineOutputTimes"
OutputTimes "[]"
LoadExternalInput off
ExternalInput "[t, u]"
SaveTime on
TimeSaveName "t"
SaveState on
StateSaveName "x"
SaveOutput on
OutputSaveName "y"
LoadInitialState off
InitialState "xInitial"
SaveFinalState off
FinalStateName "xFinal"
SaveFormat "Matrix"
LimitMaxRows off
MaxRows "1000"
Decimation "1"
AlgebraicLoopMsg "warning"
MinStepSizeMsg "warning"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
InheritedTsInSrcMsg "warning"
IntegerOverflowMsg "warning"
UnnecessaryDatatypeConvMsg "none"
Int32ToFloatConvMsg "warning"
SignalLabelMismatchMsg "none"
ConsistencyChecking "off"
ZeroCross on
SimulationMode "normal"
BlockDataTips on
BlockParametersDataTip on
BlockAttributesDataTip off
BlockPortWidthsDataTip off
BlockDescriptionStringDataTip off
BlockMaskParametersDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
OptimizeBlockIOStorage on
BufferReuse on
BooleanDataType off
RTWSystemTargetFile "grt.tlc"
RTWInlineParameters off
RTWRetainRTWFile off
RTWTemplateMakefile "grt_default_tmf"
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
ExtModeMexFile "ext_comm"
ExtModeBatchMode off
ExtModeTrigType "manual"
ExtModeTrigMode "oneshot"
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 off
Created "Wed Dec 22 09:39:29 1999"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Mon Dec 27 16:43:57 1999"
ModelVersionFormat "1.%<AutoIncrement:9>"
ConfigurationManager "none"
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 "imSIstline"
Location [372, 473, 748, 693]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "45"
AutoZoom on
ReportName "simulink-default.rpt"
Block {
BlockType Sin
Name "A"
Position [35, 185, 65, 215]
Amplitude "220*sqrt(2/3)"
Frequency "2*pi*60"
Phase "pi/2"
SampleTime "0"
Port {
PortNumber 1
Name "A"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Sin
Name "B"
Position [35, 230, 65, 260]
Amplitude "220*sqrt(2/3)"
Frequency "2*pi*60"
Phase "0"
SampleTime "0"
Port {
PortNumber 1
Name "B"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Demux
Name "Demux1"
Ports [1, 4, 0, 0, 0]
Position [500, 170, 505, 370]
BackgroundColor "black"
ShowName off
Outputs "4"
Port {
PortNumber 1
Name "wm"
TestPoint off
RTWStorageClass "Auto"
}
Port {
PortNumber 2
Name "Te"
TestPoint off
RTWStorageClass "Auto"
}
Port {
PortNumber 3
Name "ias"
TestPoint off
RTWStorageClass "Auto"
}
Port {
PortNumber 4
Name "ibs"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType Ground
Name "Ground1"
Position [200, 280, 220, 300]
Port {
PortNumber 1
Name "wk"
TestPoint off
RTWStorageClass "Auto"
}
}
Block {
BlockType SubSystem
Name "Line drop"
Ports [2, 2, 0, 0, 0]
Position [335, 407, 415, 463]
Orientation "left"
ShowPortLabels on
MaskPromptString "Rline [ Ohms]|Lline [H]"
MaskStyleString "edit,edit"
MaskTunableValueString "on,on"
MaskCallbackString "|"
MaskEnableString "on,on"
MaskVisibilityString "on,on"
MaskVariables "Rline=@1;Lline=@2;"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
MaskValueString "0.01|0.8*0.001"
System {
Name "Line drop"
Location [384, 123, 700, 308]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "80"
AutoZoom on
Block {
BlockType Inport
Name "Ina"
Position [335, 60, 365, 80]
Orientation "left"
NamePlacement "alternate"
Port "1"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Inport
Name "Inb"
Position [330, 160, 360, 180]
Orientation "left"
NamePlacement "alternate"
Port "2"
PortWidth "-1"
SampleTime "-1"
DataType "auto"
SignalType "auto"
Interpolate on
}
Block {
BlockType Derivative
Name "Derivative"
Position [145, 35, 175, 65]
Orientation "left"
}
Block {
BlockType Derivative
Name "Derivative1"
Position [145, 130, 175, 160]
Orientation "left"
}
Block {
BlockType Gain
Name "Llinea"
Position [235, 35, 265, 65]
Orientation "left"
Gain "Lline"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Llineb"
Position [235, 130, 265, 160]
Orientation "left"
Gain "Lline"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Rlinea"
Position [235, 80, 265, 110]
Orientation "left"
Gain "Rline"
SaturateOnIntegerOverflow on
}
Block {
BlockType Gain
Name "Rlineb"
Position [235, 180, 265, 210]
Orientation "left"
Gain "Rline"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum2"
Ports [2, 1, 0, 0, 0]
Position [100, 40, 120, 60]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Sum
Name "Sum3"
Ports [2, 1, 0, 0, 0]
Position [100, 135, 120, 155]
Orientation "left"
ShowName off
IconShape "round"
Inputs "|++"
SaturateOnIntegerOverflow on
}
Block {
BlockType Outport
Name "Outa"
Position [45, 43, 75, 57]
Orientation "left"
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Outb"
Position [45, 138, 75, 152]
Orientation "left"
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Llinea"
SrcPort 1
DstBlock "Derivative"
DstPort 1
}
Line {
SrcBlock "Llineb"
SrcPort 1
DstBlock "Derivative1"
DstPort 1
}
Line {
SrcBlock "Derivative"
SrcPort 1
DstBlock "Sum2"
DstPort 1
}
Line {
SrcBlock "Rlinea"
SrcPort 1
Points [-120, 0]
DstBlock "Sum2"
DstPort 2
}
Line {
SrcBlock "Rlineb"
SrcPort 1
Points [-120, 0]
DstBlock "Sum3"
DstPort 2
}
Line {
SrcBlock "Derivative1"
SrcPort 1
DstBlock "Sum3"
DstPort 1
}
Line {
SrcBlock "Sum2"
SrcPort 1
DstBlock "Outa"
DstPort 1
}
Line {
SrcBlock "Sum3"
SrcPort 1
DstBlock "Outb"
DstPort 1
}
Line {
SrcBlock "Ina"
SrcPort 1
Points [-15, 0]
Branch {
Points [0, -20]
DstBlock "Llinea"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Rlinea"
DstPort 1
}
}
Line {
SrcBlock "Inb"
SrcPort 1
Points [-25, 0]
Branch {
Points [0, -25]
DstBlock "Llineb"
DstPort 1
}
Branch {
Points [0, 25]
DstBlock "Rlineb"
DstPort 1
}
}
}
}
Block {
BlockType SubSystem
Name "More Info"
Ports [0, 0, 0, 0, 0]
Position [345, 141, 400, 192]
BackgroundColor "yellow"
DropShadow on
ShowName off
ShowPortLabels on
MaskDisplay "disp('?')"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
System {
Name "More Info"
Location [352, 138, 727, 241]
Open on
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "usletter"
PaperUnits "inches"
ZoomFactor "100"
AutoZoom on
Annotation {
Position [186, 39]
Text "This demo simulates the starting characteri"
"stics of an induction motor \nincluding line impedance\n(voltage dip)\n[SI un"
"its]"
FontName "Arial"
FontSize 11
}
}
}
Block {
BlockType Mux
Name "Mux1"
Ports [4, 1, 0, 0, 0]
Position [270, 180, 275, 355]
ShowName off
Inputs "4"
DisplayOption "bar"
}
Block {
BlockType Mux
Name "Mux6"
Ports [2, 1, 0, 0, 0]
Position [610, 272, 615, 368]
ShowName off
Inputs "2"
DisplayOption "bar"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -