📄 powerwindowlib.mdl
字号:
Library {
Name "powerwindowlib"
Version 4.1.1
LibraryLinkDisplay "none"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar off
StatusBar off
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
InitFcn "powericon('psbinitsys',bdroot);"
Created "Tue Dec 04 13:40:04 2001"
Creator "pmosterm"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%<Auto>"
LastModifiedBy "pmosterm"
ModifiedDateFormat "%<Auto>"
LastModifiedDate "Fri Feb 22 16:22:02 2002"
ModelVersionFormat "1.%<AutoIncrement:60>"
ConfigurationManager "None"
SimParamPage "Solver"
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"
Profile off
SimulationMode "normal"
RTWRetainRTWFile off
RTWMakeCommand "make_rtw"
RTWGenerateCodeOnly off
TLCProfiler off
TLCDebug off
TLCCoverage 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
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 "powerwindowlib"
Location [109, 296, 521, 712]
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 "ADC"
Ports [1, 1]
Position [55, 123, 95, 157]
ForegroundColor "darkGreen"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
MaskType "AD Converter"
MaskDescription "Analog (A) to digital (D) converter with sample"
" rate, conversion delay, range, and number of bits used for conversion."
MaskPromptString "sample time (-1 for inherited)|peak|delay (-1 f"
"or inherited)|bits"
MaskStyleString "edit,edit,edit,edit"
MaskTunableValueString "on,on,on,on"
MaskCallbackString "|||"
MaskEnableString "on,on,on,on"
MaskVisibilityString "on,on,on,on"
MaskToolTipString "on,on,on,on"
MaskVariables "Ts=@1;peak=@2;Td=@3;bits=@4;"
MaskInitialization "\n"
MaskDisplay "plot([0.5 1.5 1.5 2.5 2.5 3.5 3.5 4.5], [0 0 1 "
"1 2 2 3 3])\nplot([0 3], [0 3])"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "0.01|3.5|0.005|8"
MaskVariableAliases ",,,"
System {
Name "ADC"
Location [438, 180, 964, 295]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "A"
Position [25, 43, 55, 57]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Reference
Name "Uniform\nEncoder"
Ports [1, 1]
Position [215, 29, 285, 71]
SourceBlock "dspquant2/Uniform\nEncoder"
SourceType "Uniform Encoder"
peak "peak"
bits "bits"
otype "Signed integer"
}
Block {
BlockType UnitDelay
Name "Unit Delay"
Position [85, 30, 120, 70]
X0 "0"
SampleTime "Td"
RTWStateStorageClass "Auto"
}
Block {
BlockType ZeroOrderHold
Name "Zero-Order\nHold"
Position [150, 31, 185, 69]
SampleTime "Ts"
}
Block {
BlockType Outport
Name "D"
Position [475, 43, 505, 57]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Uniform\nEncoder"
SrcPort 1
DstBlock "D"
DstPort 1
}
Line {
SrcBlock "A"
SrcPort 1
DstBlock "Unit Delay"
DstPort 1
}
Line {
SrcBlock "Unit Delay"
SrcPort 1
DstBlock "Zero-Order\nHold"
DstPort 1
}
Line {
SrcBlock "Zero-Order\nHold"
SrcPort 1
DstBlock "Uniform\nEncoder"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "actuator"
Ports [4, 2]
Position [155, 23, 220, 172]
ForegroundColor "red"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "actuator"
Location [466, 284, 990, 679]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "automatic"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "Vcc"
Position [165, 135, 185, 155]
ForegroundColor "orange"
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "A-"
Position [485, 210, 505, 230]
Orientation "left"
ForegroundColor "darkGreen"
Port "2"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "A+"
Position [35, 160, 55, 180]
ForegroundColor "darkGreen"
Port "3"
LatchInput off
Interpolate on
}
Block {
BlockType Inport
Name "tL"
Position [40, 197, 70, 213]
ForegroundColor "red"
Port "4"
LatchInput off
Interpolate on
}
Block {
BlockType Scope
Name "A+\nmeasurement"
Ports [1]
Position [145, 34, 175, 66]
Floating off
Location [550, 462, 899, 700]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.12"
YMin "11.8065"
YMax "11.8095"
SaveToWorkspace off
SaveName "ScopeData2"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Scope
Name "A-\nmeasurement"
Ports [1]
Position [320, 39, 350, 71]
Orientation "left"
Floating off
Location [31, 489, 367, 727]
Open off
NumInputPorts "1"
TickLabels "OneTimeTick"
ZoomMode "xonly"
List {
ListType AxesTitles
axes1 "%<SignalLabel>"
}
Grid "on"
TimeRange "0.12"
YMin "11.9431"
YMax "11.9433"
SaveToWorkspace off
SaveName "ScopeData3"
DataFormat "StructureWithTime"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "0"
}
Block {
BlockType Reference
Name "DC Machine"
Ports [3, 3]
Position [230, 130, 305, 210]
SourceBlock "powerlib2/Machines/DC Machine"
SourceType "DC machine"
RLa "[0.15 0.036]"
RLf "[1.5 3]"
Laf "1"
J "0.085"
Bm "5"
Tf "0"
w0 "0"
PSBOutputType "110"
}
Block {
BlockType SubSystem
Name "Demux"
Ports [1, 4]
Position [260, 243, 285, 352]
Orientation "left"
ShowPortLabels on
TreatAsAtomicUnit off
RTWSystemCode "Auto"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
System {
Name "Demux"
Location [446, 290, 642, 464]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
ZoomFactor "100"
Block {
BlockType Inport
Name "m"
Position [25, 58, 55, 72]
Port "1"
LatchInput off
Interpolate on
}
Block {
BlockType Demux
Name "Demux"
Ports [1, 4]
Position [80, 28, 95, 97]
ShowName off
Outputs "4"
BusSelectionMode off
}
Block {
BlockType Outport
Name "wm"
Position [120, 13, 150, 27]
Port "1"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Ia"
Position [120, 43, 150, 57]
Port "2"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "If"
Position [130, 78, 160, 92]
Port "3"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType Outport
Name "Te"
Position [120, 118, 150, 132]
Port "4"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Line {
SrcBlock "Demux"
SrcPort 1
Points [5, 0]
DstBlock "wm"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 2
Points [5, 0]
DstBlock "Ia"
DstPort 1
}
Line {
SrcBlock "m"
SrcPort 1
DstBlock "Demux"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 3
Points [15, 0]
DstBlock "If"
DstPort 1
}
Line {
SrcBlock "Demux"
SrcPort 4
Points [5, 0]
DstBlock "Te"
DstPort 1
}
}
}
Block {
BlockType Reference
Name "Ground"
Tag "PoWeRsYsTeMbLoCk"
Ports [1]
Position [395, 160, 425, 190]
Orientation "down"
ForegroundColor "orange"
SourceBlock "powerlib2/Connectors/Ground (input)"
SourceType "Ground"
}
Block {
BlockType Reference
Name "L connector"
Tag "PoWeRsYsTeMbLoCk"
Ports [1, 0, 1]
Position [365, 210, 385, 230]
Orientation "left"
ForegroundColor "darkGreen"
SourceBlock "powerlib2/Connectors/L connector"
SourceType "Bus Bar"
}
Block {
BlockType Product
Name "Product2"
Ports [2, 1]
Position [155, 197, 175, 228]
ShowName off
Inputs "2"
Multiplication "Element-wise(.*)"
SaturateOnIntegerOverflow on
}
Block {
BlockType Signum
Name "Sign"
Position [110, 210, 135, 230]
}
Block {
BlockType Terminator
Name "Terminator2"
Position [220, 304, 235, 316]
Orientation "left"
ShowName off
}
Block {
BlockType Terminator
Name "Terminator3"
Position [220, 329, 235, 341]
Orientation "left"
ShowName off
}
Block {
BlockType Reference
Name "Vd"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [100, 38, 125, 62]
SourceBlock "powerlib2/Measurements/Voltage Measurement"
SourceType "Voltage Measurement"
PSBOutputType "0"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Vd1"
Tag "PoWeRsYsTeMmEaSuReMeNt"
Ports [2, 1]
Position [375, 43, 400, 67]
Orientation "left"
SourceBlock "powerlib2/Measurements/Voltage Measurement"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -