电力电子技术第3版仿真实验模型第3章3

Model {
Name "Dxq_wyNB_120_xxfz"
Version 7.1
MdlSubVersion 0
GraphicalInterface {
NumRootInports 0
NumRootOutports 0
ParameterArgumentNames ""
ComputedModelVersion "1.34"
NumModelReferences 0
NumTestPointedSignals 0
}
SavedCharacterEncoding "GBK"
SaveDefaultBlockParams on
SampleTimeColors off
LibraryLinkDisplay "none"
WideLines off
ShowLineDimensions off
ShowPortDataTypes off
ShowLoopsOnError on
IgnoreBidirectionalLines off
ShowStorageClass off
ShowTestPointIcons on
ShowSignalResolutionIcons on
ShowViewerIcons on
SortedOrder off
ExecutionContextIcon off
ShowLinearizationAnnotations on
ScopeRefreshTime 0.035000
OverrideScopeRefreshTime on
DisableAllScopes off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
MinMaxOverflowArchiveMode "Overwrite"
BlockNameDataTip off
BlockParametersDataTip off
BlockDescriptionStringDataTip off
ToolBar on
StatusBar on
BrowserShowLibraryLinks off
BrowserLookUnderMasks off
Created "Sun May 07 15:42:37 2006"
Creator "Administrator"
UpdateHistory "UpdateHistoryNever"
ModifiedByFormat "%"
LastModifiedBy "Administrator"
ModifiedDateFormat "%"
LastModifiedDate "Sun Sep 27 09:36:39 2015"
RTWModifiedTimeStamp 0
ModelVersionFormat "1.%"
ConfigurationManager "None"
SimulationMode "normal"
LinearizationMsg "none"
Profile off
ParamWorkspaceSource "MATLABWorkspace"
AccelSystemTargetFile "accel.tlc"
AccelTemplateMakefile "accel_default_tmf"
AccelMakeCommand "make_rtw"
TryForcingSFcnDF off
RecordCoverage off
CovPath "/"
CovSaveName "covdata"
CovMetricSettings "dw"
CovNameIncrementing off
CovHtmlReporting on
covSaveCumulativeToWorkspaceVar on
CovSaveSingleToWorkspaceVar on
CovCumulativeVarName "covCumulativeData"
CovCumulativeReport off
CovReportOnPause on
CovModelRefEnable "Off"
ExtModeBatchMode off
ExtModeEnableFloating on
ExtModeTrigType "manual"
ExtModeTrigMode "normal"
ExtModeTrigPort "1"
ExtModeTrigElement "any"
ExtModeTrigDuration 1000
ExtModeTrigDurationFloating "auto"
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
ShowModelReferenceBlockVersion off
ShowModelReferenceBlockIO off
Array {
Type "Handle"
Dimension 1
Simulink.ConfigSet {
$ObjectID 1
Version "1.4.0"

Array {
Type "Handle"
Dimension 7
Simulink.SolverCC {
$ObjectID 2
Version "1.4.0"
StartTime "0.02"
StopTime "0.12"
AbsTol "auto"
FixedStep "auto"
InitialStep "auto"
MaxNumMinSteps "-1"
MaxOrder 5
ZcThreshold "auto"
ConsecutiveZCsStepRelTol "10*128*eps"
MaxConsecutiveZCs "1000000"
ExtrapolationOrder 4
NumberNewtonIterations 1
MaxStep "auto"
MinStep "auto"
MaxConsecutiveMinStep "1"
RelTol "1e-6"
SolverMode "Auto"
Solver "ode23tb"
SolverName "ode23tb"
ShapePreserveControl "DisableAll"
ZeroCrossControl "UseLocalSettings"
ZeroCrossAlgorithm "Non-adaptive"
AlgebraicLoopSolver "TrustRegion"
SolverResetMethod "Fast"
PositivePriorityOrder off
AutoInsertRateTranBlk off
SampleTimeConstraint "Unconstrained"
InsertRTBMode "Whenever possible"
}
Simulink.DataIOCC {
$ObjectID 3
Version "1.4.0"
Decimation "1"
ExternalInput "[t, u]"
FinalStateName "xFinal"
InitialState "xInitial"
LimitDataPoints on
MaxDataPoints "10000000"
LoadExternalInput off
LoadInitialState off
SaveFinalState off
SaveFormat "Array"
SaveOutput on
SaveState off
SignalLogging on
InspectSignalLogs off
SaveTime on
StateSaveName "xout"
TimeSaveName "tout"
OutputSaveName "yout"
SignalLoggingName "logsout"
OutputOption "RefineOutputTimes"
OutputTimes "[]"
Refine "1"
}
Simulink.OptimizationCC {
$ObjectID 4
Array {
Type "Cell"
Dimension 5
Cell "ZeroExternalMemoryAtStartup"
Cell "ZeroInternalMemoryAtStartup"
Cell "InitFltsAndDblsToZero"
Cell "OptimizeModelRefInitCode"
Cell "NoFixptDivByZeroProtection"
PropName "DisabledProps"
}
Version "1.4.0"
BlockReduction on
BooleanDataType on
ConditionallyExecuteInputs on
InlineParams off
InlineInvariantSignals off
OptimizeBlockIOStorage on
BufferReuse on
EnhancedBackFolding off
EnforceIntegerDowncast on
ExpressionFolding on
ExpressionDepthLimit 2147483647
FoldNonRolledExpr on
LocalBlockOutputs on
RollThreshold 5
SystemCodeInlineAuto off
StateBitsets off
DataBitsets off
UseTempVars off
ZeroExternalMemoryAtStartup on
ZeroInternalMemoryAtStartup on
InitFltsAndDblsToZero on
NoFixptDivByZeroProtection off
EfficientFloat2IntCast off
OptimizeModelRefInitCode off
LifeSpan "inf"
BufferReusableBoundary on
SimCompilerOptimization "Off"
AccelVerboseBuild off
}
Simulink.DebuggingCC {
$ObjectID 5
Version "1.4.0"
RTPrefix "error"
ConsistencyChecking "none"
ArrayBoundsChecking "none"
SignalInfNanChecking "none"

SignalRangeChecking "none"
ReadBeforeWriteMsg "UseLocalSettings"
WriteAfterWriteMsg "UseLocalSettings"
WriteAfterReadMsg "UseLocalSettings"
AlgebraicLoopMsg "warning"
ArtificialAlgebraicLoopMsg "warning"
SaveWithDisabledLinksMsg "warning"
SaveWithParameterizedLinksMsg "none"
CheckSSInitialOutputMsg on
CheckExecutionContextPreStartOutputMsg off
CheckExecutionContextRuntimeOutputMsg off
SignalResolutionControl "TryResolveAllWithWarning"
BlockPriorityViolationMsg "warning"
MinStepSizeMsg "warning"
TimeAdjustmentMsg "none"
MaxConsecutiveZCsMsg "error"
SolverPrmCheckMsg "warning"
InheritedTsInSrcMsg "warning"
DiscreteInheritContinuousMsg "warning"
MultiTaskDSMMsg "warning"
MultiTaskCondExecSysMsg "none"
MultiTaskRateTransMsg "error"
SingleTaskRateTransMsg "none"
TasksWithSamePriorityMsg "warning"
SigSpecEnsureSampleTimeMsg "warning"
CheckMatrixSingularityMsg "none"
IntegerOverflowMsg "warning"
Int32ToFloatConvMsg "warning"
ParameterDowncastMsg "error"
ParameterOverflowMsg "error"
ParameterUnderflowMsg "none"
ParameterPrecisionLossMsg "warning"
ParameterTunabilityLossMsg "warning"
UnderSpecifiedDataTypeMsg "none"
UnnecessaryDatatypeConvMsg "none"
VectorMatrixConversionMsg "none"
InvalidFcnCallConnMsg "error"
FcnCallInpInsideContextMsg "Use local settings"
SignalLabelMismatchMsg "none"
UnconnectedInputMsg "warning"
UnconnectedOutputMsg "warning"
UnconnectedLineMsg "warning"
SFcnCompatibilityMsg "none"
UniqueDataStoreMsg "none"
BusObjectLabelMismatch "warning"
RootOutportRequireBusObject "warning"
AssertControl "UseLocalSettings"
EnableOverflowDetection off
ModelReferenceIOMsg "none"
ModelReferenceVersionMismatchMessage "none"
ModelReferenceIOMismatchMessage "none"
ModelReferenceCSMismatchMessage "none"
ModelReferenceSimTargetVerbose off
UnknownTsInhSupMsg "warning"
ModelReferenceDataLoggingMessage "warning"
ModelReferenceSymbolNameMessage "warning"
ModelReferenceExtraNoncontSigs "error"
StateNameClashWarn "warning"
StrictBusMsg "Warning"
LoggingUnavailableSignals "error"
BlockIODiagnostic "none"
}
Simulink.HardwareCC {
$ObjectID 6
Version "1.4.0"
ProdBitPerChar 8
ProdBitPerShort 16
ProdBitPerInt 32
ProdBitPerLong 32
ProdIntDivRoundTo "Undefined"
ProdEndianess "Unspecified"
ProdWordSize 32
ProdShiftRightIntArith on
ProdHWDeviceType "32-bit Generic"
TargetBitPerChar 8
TargetBitPerShort 16
TargetBitPerInt 32
TargetBitPerLong 32
TargetShiftRightIntArith on
TargetIntDivRoundTo "Undefined"
TargetEndianess "Unspecified"
TargetWordSize 32
TargetTypeEmulationWarnSuppressLevel 0
TargetPreprocMaxBitsSint 32
TargetPreprocMaxBitsUint 3

2
TargetHWDeviceType "Specified"
TargetUnknown off
ProdEqTarget on
}
Simulink.ModelReferenceCC {
$ObjectID 7
Version "1.4.0"
UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange"
CheckModelReferenceTargetMessage "error"
ModelReferenceNumInstancesAllowed "Multi"
ModelReferenceSigSizeVariationType "Always allowed"
ModelReferencePassRootInputsByReference on
ModelReferenceMinAlgLoopOccurrences off
}
Simulink.RTWCC {
$BackupClass "Simulink.RTWCC"
$ObjectID 8
Array {
Type "Cell"
Dimension 1
Cell "IncludeHyperlinkInReport"
PropName "DisabledProps"
}
Version "1.4.0"
SystemTargetFile "grt.tlc"
GenCodeOnly off
MakeCommand "make_rtw"
GenerateMakefile on
TemplateMakefile "grt_default_tmf"
GenerateReport off
SaveLog off
RTWVerbose on
RetainRTWFile off
ProfileTLC off
TLCDebug off
TLCCoverage off
TLCAssert off
ProcessScriptMode "Default"
ConfigurationMode "Optimized"
ConfigAtBuild off
IncludeHyperlinkInReport off
LaunchReport off
TargetLang "C"
IncludeBusHierarchyInRTWFileBlockHierarchyMap off
IncludeERTFirstTime on
GenerateTraceInfo off
GenerateTraceReport off
GenerateTraceReportSl off
GenerateTraceReportSf off
GenerateTraceReportEml off
GenerateCodeInfo off
RTWCompilerOptimization "Off"
Array {
Type "Handle"
Dimension 2
Simulink.CodeAppCC {
$ObjectID 9
Array {
Type "Cell"
Dimension 9
Cell "IgnoreCustomStorageClasses"
Cell "InsertBlockDesc"
Cell "SFDataObjDesc"
Cell "SimulinkDataObjDesc"
Cell "DefineNamingRule"
Cell "SignalNamingRule"
Cell "ParamNamingRule"
Cell "InlinedPrmAccess"
Cell "CustomSymbolStr"
PropName "DisabledProps"
}
Version "1.4.0"
ForceParamTrailComments off
GenerateComments on
IgnoreCustomStorageClasses on
IncHierarchyInIds off
MaxIdLength 31
PreserveName off
PreserveNameWithParent off
ShowEliminatedStatement off
IncAutoGenComments off
SimulinkDataObjDesc off
SFDataObjDesc off
IncDataTypeInIds off
MangleLength 1
CustomSymbolStrGlobalVar "$R$N$M"
CustomSymbolStrType "$N$R$M"
CustomSymbolStrField "$N$M"
CustomSymbolStrFcn "$R$N$M$F"
CustomSymbolStrBlkIO "rtb_$N$M"
CustomSymbolStrTmpVar "$N$M"
CustomSymbolStrMacro "$R$N$M"
DefineNamingRule "None"
ParamNamingRule "None"
SignalNamingRule "None"
InsertBlockDesc off
SimulinkBlockComments on
EnableCustomComments off
InlinedPrmAccess "Litera

ls"
ReqsInCode off
}
Simulink.GRTTargetCC {
$BackupClass "Simulink.TargetCC"
$ObjectID 10
Array {
Type "Cell"
Dimension 12
Cell "IncludeMdlTerminateFcn"
Cell "CombineOutputUpdateFcns"
Cell "SuppressErrorStatus"
Cell "ERTCustomFileBanners"
Cell "GenerateSampleERTMain"
Cell "MultiInstanceERTCode"
Cell "PurelyIntegerCode"
Cell "SupportNonFinite"
Cell "SupportComplex"
Cell "SupportAbsoluteTime"
Cell "SupportContinuousTime"
Cell "SupportNonInlinedSFcns"
PropName "DisabledProps"
}
Version "1.4.0"
TargetFcnLib "ansi_tfl_tmw.mat"
TargetLibSuffix ""
TargetPreCompLibLocation ""
TargetFunctionLibrary "ANSI_C"
UtilityFuncGeneration "Auto"
GenerateFullHeader on
GenerateSampleERTMain off
GenerateTestInterfaces off
IsPILTarget off
ModelReferenceCompliant on
CompOptLevelCompliant on
IncludeMdlTerminateFcn on
CombineOutputUpdateFcns off
SuppressErrorStatus off
ERTFirstTimeCompliant off
IncludeFileDelimiter "Auto"
ERTCustomFileBanners off
SupportAbsoluteTime on
LogVarNameModifier "rt_"
MatFileLogging on
MultiInstanceERTCode off
SupportNonFinite on
SupportComplex on
PurelyIntegerCode off
SupportContinuousTime on
SupportNonInlinedSFcns on
EnableShiftOperators on
ParenthesesLevel "Nominal"
PortableWordSizes off
ModelStepFunctionPrototypeControlCompliant off
AutosarCompliant off
ExtMode off
ExtModeStaticAlloc off
ExtModeTesting off
ExtModeStaticAllocSize 1000000
ExtModeTransport 0
ExtModeMexFile "ext_comm"
ExtModeIntrfLevel "Level1"
RTWCAPISignals off
RTWCAPIParams off
RTWCAPIStates off
GenerateASAP2 off
}
PropName "Components"
}
}
PropName "Components"
}
Name "Configuration"
CurrentDlgPage "Solver"
}
PropName "ConfigurationSets"
}
Simulink.ConfigSet {
$PropName "ActiveConfigurationSet"
$ObjectID 1
}
BlockDefaults {
Orientation "right"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
NamePlacement "normal"
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
ShowName on
}
BlockParameterDefaults {
Block {
BlockType BusCreator
Inputs "4"
DisplayOption "none"
UseBusObject off
BusObject "BusObject"
NonVirtualBu

s off
}
Block {
BlockType DataTypeConversion
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Inherit via back propagation"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Inherit via back propagation"
LockScale off
ConvertRealWorld "Real World Value (RWV)"
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Demux
Outputs "4"
DisplayOption "none"
BusSelectionMode off
}
Block {
BlockType EnablePort
StatesWhenEnabling "held"
ShowOutputPort off
ZeroCross on
}
Block {
BlockType From
IconDisplay "Tag"
TagVisibility "local"
}
Block {
BlockType Gain
Gain "1"
Multiplication "Element-wise(K.*u)"
ParamMin "[]"
ParamMax "[]"
ParameterDataTypeMode "Same as input"
ParameterDataType "fixdt(1,16,0)"
ParameterScalingMode "Best Precision: Matrix-wise"
ParameterScaling "[]"
ParamDataTypeStr "Inherit: Same as input"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as input"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Goto
IconDisplay "Tag"
}
Block {
BlockType Ground
}
Block {
BlockType Inport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: auto"
SignalType "auto"
SamplingMode "auto"
LatchByDelayingOutsideSignal off
LatchByCopyingInsideSignal off
Interpolate on
}
Block {
BlockType Integrator
ExternalReset "none"
InitialConditionSource "internal"
InitialCondition "0"
LimitOutput off
UpperSaturationLimit "inf"
LowerSaturationLimit "-inf"
ShowSaturationPort off
ShowStatePort off
AbsoluteTolerance "auto"
IgnoreLimit off
ZeroCross on
ContinuousStateAttributes "''"
}
Block {
BlockType Memory
X0 "0"
InheritSampleTime off
Lineari

zeMemory off
LinearizeAsDelay off
StateMustResolveToSignalObject off
RTWStateStorageClass "Auto"
}
Block {
BlockType Mux
Inputs "4"
DisplayOption "none"
UseBusObject off
BusObject "BusObject"
NonVirtualBus off
}
Block {
BlockType Outport
Port "1"
UseBusObject off
BusObject "BusObject"
BusOutputAsStruct off
PortDimensions "-1"
SampleTime "-1"
OutMin "[]"
OutMax "[]"
DataType "auto"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: auto"
SignalType "auto"
SamplingMode "auto"
OutputWhenDisabled "held"
InitialOutput "[]"
}
Block {
BlockType PMComponent
SubClassName "unknown"
}
Block {
BlockType Product
Inputs "2"
Multiplication "Element-wise(.*)"
CollapseMode "All dimensions"
CollapseDim "1"
InputSameDT on
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as first input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as first input"
LockScale off
RndMeth "Zero"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Scope
ModelBased off
TickLabels "OneTimeTick"
ZoomMode "on"
Grid "on"
TimeRange "auto"
YMin "-5"
YMax "5"
SaveToWorkspace off
SaveName "ScopeData"
LimitDataPoints on
MaxDataPoints "5000"
Decimation "1"
SampleInput off
SampleTime "-1"
}
Block {
BlockType SubSystem
ShowPortLabels "FromPortIcon"
Permissions "ReadWrite"
PermitHierarchicalResolution "All"
TreatAsAtomicUnit off
CheckFcnCallInpInsideContextMsg off
SystemSampleTime "-1"
RTWFcnNameOpts "Auto"
RTWFileNameOpts "Auto"
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
SimViewingDevice off
DataTypeOverride "UseLocalSettings"
MinMaxOverflowLogging "UseLocalSettings"
}
Block {
BlockType Sum
IconShape "rectangular"
Inputs "++"
CollapseMode "All dimensions"
CollapseDim "1"
InputSameDT

on
AccumDataTypeStr "Inherit: Inherit via internal rule"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as first input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as first input"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
SampleTime "-1"
}
Block {
BlockType Switch
Criteria "u2 >= Threshold"
Threshold "0"
InputSameDT on
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Inherit via internal rule"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Inherit via internal rule"
LockScale off
RndMeth "Floor"
SaturateOnIntegerOverflow on
ZeroCross on
SampleTime "-1"
}
Block {
BlockType Terminator
}
Block {
BlockType PMIOPort
}
Block {
BlockType Constant
Value "1"
VectorParams1D on
SamplingMode "Sample based"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Inherit from 'Constant value'"
OutDataType "fixdt(1,16,0)"
ConRadixGroup "Use specified scaling"
OutScaling "[]"
OutDataTypeStr "Inherit: Inherit from 'Constant value'"
SampleTime "inf"
FramePeriod "inf"
}
Block {
BlockType DiscretePulseGenerator
PulseType "Sample based"
TimeSource "Use simulation time"
Amplitude "1"
Period "2"
PulseWidth "1"
PhaseDelay "0"
SampleTime "1"
VectorParams1D on
}
Block {
BlockType Saturate
UpperLimit "0.5"
LowerLimit "-0.5"
LinearizeAsGain on
ZeroCross on
SampleTime "-1"
OutMin "[]"
OutMax "[]"
OutDataTypeMode "Same as input"
OutDataType "fixdt(1,16,0)"
OutScaling "[]"
OutDataTypeStr "Inherit: Same as input"
LockScale off
RndMeth "Floor"
}
}
AnnotationDefaults {
HorizontalAlignment "center"
VerticalAlignment "middle"
ForegroundColor "black"
BackgroundColor "white"
DropShadow off
FontName "arial"
FontSize 10
FontWeight "normal"
FontAngle "normal"
UseDisplayTextAsClickCallback off
}
LineDefaults {
FontName "arial"
FontSize 9
FontWeight "normal"
FontAngle "normal"
}
System {
Name "Dxq_wyNB_120_xxfz"
Location [6, 82, 1266, 744]
Open on
ModelBrowserVisibi

lity off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
ReportName "simulink-default.rpt"
Block {
BlockType Reference
Name "Ca"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [635, 223, 660, 247]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Cb"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [635, 268, 660, 292]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}
Block {
BlockType Reference
Name "Cc"
Ports [0, 1, 0, 0, 0, 1, 1]
Position [635, 313, 660, 337]
DialogController "POWERSYS.PowerSysDialog"
FontName "Verdana"
FontSize 11
SourceBlock "powerlib/Measurements/Current Measurement"
SourceType "Current Measurement"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
PhasorSimulation off
OutputType "Complex"
PSBequivalent "0"
}


Block {
BlockType SubSystem
Name "IG2"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [575, 360, 615, 415]
Orientation "down"
NamePlacement "alternate"
AncestorBlock "powerlib/Power\nElectronics/IGBT"
DialogController "POWERSYS.PowerSysDialog"
CopyFcn "powericon('power_gototags',gcb,'update',1);"
FontName "Verdana"
FontSize 11
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskType "IGBT"
MaskDescription "Implements an IGBT device in parallel with a series RC snubber circuit.\nIn on-state the IGBT model has internal resistance (Ron) and inductance (Lon).\nFor most applications, Lon should be set to zero.\nIn off-state the IGBT model has infinite impedance."
MaskHelp "web(psbhelp);"
MaskPromptString "Resistance Ron (Ohms) : |Inductance Lon (H) : |Forward voltage Vf (V) : |Current 10% fall time Tf (s) : |Current tail time Tt (s):|Initial current Ic (A) : |Snubber resistance Rs (Ohms) : |Snubber capacitance Cs (F) : |Show measurement port"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,checkbox"
MaskTunableValueString "off,off,off,off,off,off,off,off,off"
MaskCallbackString "||||||||powericon('OutputMCback',gcb);"
MaskEnableString "on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,"
MaskVariables "Ron=@1;Lon=@2;Vf=@3;Tf=@4;Tt=@5;IC=@6;Rs=@7;Cs=@8;Measurements=@9;"
MaskInitialization "block = gcb;\n[WantBlockChoice,Ts,X,Y] = powericon('SwitchesInit','IGBT',block,Rs,Cs);\npowericon('SetInternalModels','set',block,WantBlockChoice);\n"
MaskDisplay "plot(X.p1,Y.p1,X.p2,Y.p2,X.p3,Y.p3,X.p4,Y.p4,X.p5,Y.p5,X.p6,Y.p6)"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "0.001|0|1|1e-6|2e-6|0|1e5|inf|on"
MaskTabNameString ",,,,,,,,"
System {
Name "IG2"
Location [555, 465, 914, 805]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "g"
Position [20, 103, 50, 117]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"

}
Block {
BlockType Goto
Name "Goto"
Position [250, 210, 325, 230]
ForegroundColor "blue"
GotoTag "tpcd035360_dc93_4143_a6a2_a6b557cbca17"
TagVisibility "global"
}
Block {
BlockType PMComponent
Name "IGBT"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [85, 16, 170, 44]
BackgroundColor "yellow"
PhysicalDomain "powersysdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
MaskType "InnerPowersysBlock"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Terminator
Name "ISWITCH"
Position [260, 90, 330, 110]
ForegroundColor "blue"
}
Block {
BlockType Goto
Name "ITAIL"
Position [250, 250, 325, 270]
GotoTag "tp1f19f13f_5825_46cf_82b8_f702b2ff17a3"
TagVisibility "global"
}
Block {
BlockType SubSystem
Name "Model"
Ports [3, 5]
Position [115, 76, 215, 284]
BackgroundColor "lightBlue"
AttributesFormatString "%"
FontSize 12
BlockChoice "Continuous"
TemplateBlock "spsIGBTModel/model"
MemberBlocks "Continuous,Current source,Discrete,Interpolation,SPID"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Model"
Location [148, 182, 646, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "gate "
Position [20, 40, 40, 60]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Uswitch"
Position [20, 80, 40, 100]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "status"
Position [20, 120, 40, 140]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Continuous"
Ports [3, 5]
Position [100, 40, 140, 80]
BackgroundColor "lightBlue"
FontSi

ze 12
SourceBlock "spsIGBTModel/Continuous"
SourceType "ContinuousModel"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
}
Block {
BlockType Outport
Name "iSwitch"
Position [200, 40, 220, 60]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "m"
Position [200, 80, 220, 100]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "vf"
Position [200, 120, 220, 140]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "gate"
Position [200, 160, 220, 180]
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "iTail"
Position [200, 200, 220, 220]
Port "5"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "gate "
SrcPort 1
DstBlock "Continuous"
DstPort 1
}
Line {
SrcBlock "Uswitch"
SrcPort 1
DstBlock "Continuous"
DstPort 2
}
Line {
SrcBlock "status"
SrcPort 1
DstBlock "Continuous"
DstPort 3
}
Line {
SrcBlock "Continuous"
SrcPort 1
DstBlock "iSwitch"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 2
DstBlock "m"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 3
DstBlock "vf"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 4
DstBlock "gate"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 5
DstBlock "iTail"
DstPort 1
}
}
}
Block {
BlockType From
Name "Status"
Position [20, 236, 85, 264]
ForegroundColor

"blue"
CloseFcn "tagdialog Close"
GotoTag "tpc6ce7e25_bb94_4941_a107_e4af118dd7b1"
TagVisibility "global"
}
Block {
BlockType From
Name "Uswitch"
Position [20, 166, 85, 194]
CloseFcn "tagdialog Close"
GotoTag "tpcb469b79_ee8c_4e6f_81d1_3de14c60f922"
TagVisibility "global"
}
Block {
BlockType Goto
Name "VF"
Position [250, 169, 320, 191]
ForegroundColor "blue"
GotoTag "tpa66835be_483f_401c_8523_c5354fec9642"
TagVisibility "global"
}
Block {
BlockType PMIOPort
Name "C"
Position [25, 23, 55, 37]
BackgroundColor "yellow"
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "E"
Position [205, 23, 235, 37]
Orientation "left"
BackgroundColor "yellow"
Port "2"
Side "Right"
}
Line {
LineType "Connection"
SrcBlock "IGBT"
SrcPort RConn1
DstBlock "E"
DstPort RConn1
}
Line {
LineType "Connection"
SrcBlock "C"
SrcPort RConn1
DstBlock "IGBT"
DstPort LConn1
}
Line {
SrcBlock "Model"
SrcPort 2
Points [35, 0]
}
Line {
SrcBlock "Model"
SrcPort 4
DstBlock "Goto"
DstPort 1
}
Line {
SrcBlock "Status"
SrcPort 1
DstBlock "Model"
DstPort 3
}
Line {
SrcBlock "g"
SrcPort 1
DstBlock "Model"
DstPort 1
}
Line {
SrcBlock "Uswitch"
SrcPort 1
DstBlock "Model"
DstPort 2
}
Line {
SrcBlock "Model"
SrcPort 5
DstBlock "ITAIL"
DstPort 1
}
Line {
SrcBlock "Model"
SrcPort 3
DstBlock "VF"
DstPort 1
}
Line {
SrcBlock "Model"
SrcPort 1
DstBlock "ISWITCH"
DstPort 1
}
}
}
Block {
BlockType SubSystem
Name "IG3"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [510, 165, 550, 220]
Orientation "down"
NamePlacement "alternate"
AncestorBlock "powerlib/Power\nElectronics/IGBT"
DialogController "POWERSYS.PowerSysDialog"
CopyFcn "powericon('power_gototags',gcb,'update',1);"
FontName "Verdana"
FontSize 11
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskType "IGBT"
MaskDescription "Implements an IGBT device in parallel with a series RC snubber circuit.\nIn on-state the IGBT model has internal resistance (Ron) and inductance (Lon).\nFor most applications, Lon should be set to zero.\nIn off-state the IGBT model has infinite impedance."
MaskHelp "web(psbhelp);"
Mas

kPromptString "Resistance Ron (Ohms) : |Inductance Lon (H) : |Forward voltage Vf (V) : |Current 10% fall time Tf (s) : |Current tail time Tt (s):|Initial current Ic (A) : |Snubber resistance Rs (Ohms) : |Snubber capacitance Cs (F) : |Show measurement port"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,checkbox"
MaskTunableValueString "off,off,off,off,off,off,off,off,off"
MaskCallbackString "||||||||powericon('OutputMCback',gcb);"
MaskEnableString "on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,"
MaskVariables "Ron=@1;Lon=@2;Vf=@3;Tf=@4;Tt=@5;IC=@6;Rs=@7;Cs=@8;Measurements=@9;"
MaskInitialization "block = gcb;\n[WantBlockChoice,Ts,X,Y] = powericon('SwitchesInit','IGBT',block,Rs,Cs);\npowericon('SetInternalModels','set',block,WantBlockChoice);\n"
MaskDisplay "plot(X.p1,Y.p1,X.p2,Y.p2,X.p3,Y.p3,X.p4,Y.p4,X.p5,Y.p5,X.p6,Y.p6)"
MaskSelfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "0.001|0|1|1e-6|2e-6|0|1e5|inf|on"
MaskTabNameString ",,,,,,,,"
System {
Name "IG3"
Location [555, 465, 914, 805]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "g"
Position [20, 103, 50, 117]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Goto
Name "Goto"
Position [250, 210, 325, 230]
ForegroundColor "blue"
GotoTag "tp88b48461_3faf_45e6_8017_d41ddab9c119"
TagVisibility "global"
}
Block {
BlockType PMComponent
Name "IGBT"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [85, 16, 170, 44]
BackgroundColor "yellow"
PhysicalDomain "powersysdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
MaskType "InnerPowersysBlock"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Terminator
Name "ISWITCH"
Position [260, 90, 330, 110]
ForegroundColor "blue"
}
Block {
BlockType Goto
Name "ITAIL"
Position [250, 250, 325, 270]
GotoTag "tp7259b7f7_ea02_422d_abef_5b2a041f5704"
TagVisibility "global"
}
Block {
BlockType SubSystem
Name "Model"
Ports [3, 5]
Position [115, 76, 215, 284

]
BackgroundColor "lightBlue"
AttributesFormatString "%"
FontSize 12
BlockChoice "Continuous"
TemplateBlock "spsIGBTModel/model"
MemberBlocks "Continuous,Current source,Discrete,Interpolation,SPID"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Model"
Location [148, 182, 646, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "gate "
Position [20, 40, 40, 60]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Uswitch"
Position [20, 80, 40, 100]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "status"
Position [20, 120, 40, 140]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Continuous"
Ports [3, 5]
Position [100, 40, 140, 80]
BackgroundColor "lightBlue"
FontSize 12
SourceBlock "spsIGBTModel/Continuous"
SourceType "ContinuousModel"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
}
Block {
BlockType Outport
Name "iSwitch"
Position [200, 40, 220, 60]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "m"
Position [200, 80, 220, 100]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "vf"
Position [200,

120, 220, 140]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "gate"
Position [200, 160, 220, 180]
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "iTail"
Position [200, 200, 220, 220]
Port "5"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "gate "
SrcPort 1
DstBlock "Continuous"
DstPort 1
}
Line {
SrcBlock "Uswitch"
SrcPort 1
DstBlock "Continuous"
DstPort 2
}
Line {
SrcBlock "status"
SrcPort 1
DstBlock "Continuous"
DstPort 3
}
Line {
SrcBlock "Continuous"
SrcPort 1
DstBlock "iSwitch"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 2
DstBlock "m"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 3
DstBlock "vf"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 4
DstBlock "gate"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 5
DstBlock "iTail"
DstPort 1
}
}
}
Block {
BlockType From
Name "Status"
Position [20, 236, 85, 264]
ForegroundColor "blue"
CloseFcn "tagdialog Close"
GotoTag "tp2a175907_7041_4b0c_a428_111af6e26e2f"
TagVisibility "global"
}
Block {
BlockType From
Name "Uswitch"
Position [20, 166, 85, 194]
CloseFcn "tagdialog Close"
GotoTag "tp0b6bf36e_9f70_46e1_a518_0227eba2badc"
TagVisibility "global"
}
Block {
BlockType Goto
Name "VF"
Position [250, 169, 320, 191]
ForegroundColor "blue"
GotoTag "tp23d17ea1_e524_47b2_925f_602b0e15367e"
TagVisibility "global"
}
Block {
BlockType PMIOPort
Name "C"
Position [25, 23, 55, 37]
BackgroundColor "yellow"
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "E"
Position [205, 23, 235, 37]
Orientation "left"
BackgroundColor "yellow"
Port "2"
Side "Right"
}
Line {
SrcBlock "Model"
SrcPort 1
DstBlock "ISWITCH"
DstPort 1
}
Line {
SrcBlock "Model"
SrcPort 3
DstBlock "VF"
DstPort 1
}

Line {
SrcBlock "Model"
SrcPort 5
DstBlock "ITAIL"
DstPort 1
}
Line {
SrcBlock "Uswitch"
SrcPort 1
DstBlock "Model"
DstPort 2
}
Line {
SrcBlock "g"
SrcPort 1
DstBlock "Model"
DstPort 1
}
Line {
SrcBlock "Status"
SrcPort 1
DstBlock "Model"
DstPort 3
}
Line {
SrcBlock "Model"
SrcPort 4
DstBlock "Goto"
DstPort 1
}
Line {
SrcBlock "Model"
SrcPort 2
Points [35, 0]
}
Line {
LineType "Connection"
SrcBlock "C"
SrcPort RConn1
DstBlock "IGBT"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "IGBT"
SrcPort RConn1
DstBlock "E"
DstPort RConn1
}
}
}
Block {
BlockType SubSystem
Name "IG5"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [585, 165, 625, 220]
Orientation "down"
NamePlacement "alternate"
AncestorBlock "powerlib/Power\nElectronics/IGBT"
DialogController "POWERSYS.PowerSysDialog"
CopyFcn "powericon('power_gototags',gcb,'update',1);"
FontName "Verdana"
FontSize 11
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
MaskType "IGBT"
MaskDescription "Implements an IGBT device in parallel with a series RC snubber circuit.\nIn on-state the IGBT model has internal resistance (Ron) and inductance (Lon).\nFor most applications, Lon should be set to zero.\nIn off-state the IGBT model has infinite impedance."
MaskHelp "web(psbhelp);"
MaskPromptString "Resistance Ron (Ohms) : |Inductance Lon (H) : |Forward voltage Vf (V) : |Current 10% fall time Tf (s) : |Current tail time Tt (s):|Initial current Ic (A) : |Snubber resistance Rs (Ohms) : |Snubber capacitance Cs (F) : |Show measurement port"
MaskStyleString "edit,edit,edit,edit,edit,edit,edit,edit,checkbox"
MaskTunableValueString "off,off,off,off,off,off,off,off,off"
MaskCallbackString "||||||||powericon('OutputMCback',gcb);"
MaskEnableString "on,on,on,on,on,on,on,on,on"
MaskVisibilityString "on,on,on,on,on,on,on,on,on"
MaskToolTipString "on,on,on,on,on,on,on,on,on"
MaskVarAliasString ",,,,,,,,"
MaskVariables "Ron=@1;Lon=@2;Vf=@3;Tf=@4;Tt=@5;IC=@6;Rs=@7;Cs=@8;Measurements=@9;"
MaskInitialization "block = gcb;\n[WantBlockChoice,Ts,X,Y] = powericon('SwitchesInit','IGBT',block,Rs,Cs);\npowericon('SetInternalModels','set',block,WantBlockChoice);\n"
MaskDisplay "plot(X.p1,Y.p1,X.p2,Y.p2,X.p3,Y.p3,X.p4,Y.p4,X.p5,Y.p5,X.p6,Y.p6)"
MaskSe

lfModifiable on
MaskIconFrame on
MaskIconOpaque off
MaskIconRotate "port"
MaskIconUnits "autoscale"
MaskValueString "0.001|0|1|1e-6|2e-6|0|1e5|inf|on"
MaskTabNameString ",,,,,,,,"
System {
Name "IG5"
Location [555, 465, 914, 805]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "g"
Position [20, 103, 50, 117]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Goto
Name "Goto"
Position [250, 210, 325, 230]
ForegroundColor "blue"
GotoTag "tp92d754c0_900e_44f5_ae06_4923f81acaf4"
TagVisibility "global"
}
Block {
BlockType PMComponent
Name "IGBT"
Ports [0, 0, 0, 0, 0, 1, 1]
Position [85, 16, 170, 44]
BackgroundColor "yellow"
PhysicalDomain "powersysdomain"
LeftPortType "p1"
RightPortType "p1"
LConnTagsString "a"
RConnTagsString "__new0"
MaskType "InnerPowersysBlock"
MaskIconFrame on
MaskIconOpaque on
MaskIconRotate "none"
MaskIconUnits "autoscale"
}
Block {
BlockType Terminator
Name "ISWITCH"
Position [260, 90, 330, 110]
ForegroundColor "blue"
}
Block {
BlockType Goto
Name "ITAIL"
Position [250, 250, 325, 270]
GotoTag "tpc07ac236_fcb2_485e_bf6d_827ff8fc3b87"
TagVisibility "global"
}
Block {
BlockType SubSystem
Name "Model"
Ports [3, 5]
Position [115, 76, 215, 284]
BackgroundColor "lightBlue"
AttributesFormatString "%"
FontSize 12
BlockChoice "Continuous"
TemplateBlock "spsIGBTModel/model"
MemberBlocks "Continuous,Current source,Discrete,Interpolation,SPID"
MinAlgLoopOccurrences off
PropExecContextOutsideSubsystem off
RTWSystemCode "Auto"
FunctionWithSeparateData off
Opaque off
RequestExecContextInheritance off
MaskHideContents off
System {
Name "Model"
Location [148, 182, 646, 482]
Open off
ModelBrowserVisibility off
ModelBrowserWidth 200
ScreenColor "white"
PaperOrientation "landscape"
PaperPositionMode "auto"
PaperType "A4"
PaperUnits "centimeters"
TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000]
TiledPageScale 1
ShowPageBoundaries off
ZoomFactor "100"
Block {
BlockType Inport
Name "gate "
Position [20, 40, 40, 60]
IconDisplay

"Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "Uswitch"
Position [20, 80, 40, 100]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Inport
Name "status"
Position [20, 120, 40, 140]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Reference
Name "Continuous"
Ports [3, 5]
Position [100, 40, 140, 80]
BackgroundColor "lightBlue"
FontSize 12
SourceBlock "spsIGBTModel/Continuous"
SourceType "ContinuousModel"
ShowPortLabels "FromPortIcon"
SystemSampleTime "-1"
FunctionWithSeparateData off
RTWMemSecFuncInitTerm "Inherit from model"
RTWMemSecFuncExecute "Inherit from model"
RTWMemSecDataConstants "Inherit from model"
RTWMemSecDataInternal "Inherit from model"
RTWMemSecDataParameters "Inherit from model"
}
Block {
BlockType Outport
Name "iSwitch"
Position [200, 40, 220, 60]
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "m"
Position [200, 80, 220, 100]
Port "2"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "vf"
Position [200, 120, 220, 140]
Port "3"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "gate"
Position [200, 160, 220, 180]
Port "4"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Block {
BlockType Outport
Name "iTail"
Position [200, 200, 220, 220]
Port "5"
IconDisplay "Port number"
OutDataType "sfix(16)"
OutScaling "2^0"
}
Line {
SrcBlock "gate "
SrcPort 1
DstBlock "Continuous"
DstPort 1
}
Line {
SrcBlock "Uswitch"
SrcPort 1
DstBlock "Continuous"
DstPort 2
}
Line {
SrcBlock "status"
SrcPort 1
DstBlock "Continuous"
DstPort 3

}
Line {
SrcBlock "Continuous"
SrcPort 1
DstBlock "iSwitch"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 2
DstBlock "m"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 3
DstBlock "vf"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 4
DstBlock "gate"
DstPort 1
}
Line {
SrcBlock "Continuous"
SrcPort 5
DstBlock "iTail"
DstPort 1
}
}
}
Block {
BlockType From
Name "Status"
Position [20, 236, 85, 264]
ForegroundColor "blue"
CloseFcn "tagdialog Close"
GotoTag "tp17cdecd6_4866_42b5_a855_5bae8bd206a2"
TagVisibility "global"
}
Block {
BlockType From
Name "Uswitch"
Position [20, 166, 85, 194]
CloseFcn "tagdialog Close"
GotoTag "tp5966b2d1_34af_4309_b8d2_d6077107b828"
TagVisibility "global"
}
Block {
BlockType Goto
Name "VF"
Position [250, 169, 320, 191]
ForegroundColor "blue"
GotoTag "tp159a5333_0269_4886_8853_71277010790a"
TagVisibility "global"
}
Block {
BlockType PMIOPort
Name "C"
Position [25, 23, 55, 37]
BackgroundColor "yellow"
Port "1"
Side "Left"
}
Block {
BlockType PMIOPort
Name "E"
Position [205, 23, 235, 37]
Orientation "left"
BackgroundColor "yellow"
Port "2"
Side "Right"
}
Line {
SrcBlock "Model"
SrcPort 1
DstBlock "ISWITCH"
DstPort 1
}
Line {
SrcBlock "Model"
SrcPort 3
DstBlock "VF"
DstPort 1
}
Line {
SrcBlock "Model"
SrcPort 5
DstBlock "ITAIL"
DstPort 1
}
Line {
SrcBlock "Uswitch"
SrcPort 1
DstBlock "Model"
DstPort 2
}
Line {
SrcBlock "g"
SrcPort 1
DstBlock "Model"
DstPort 1
}
Line {
SrcBlock "Status"
SrcPort 1
DstBlock "Model"
DstPort 3
}
Line {
SrcBlock "Model"
SrcPort 4
DstBlock "Goto"
DstPort 1
}
Line {
SrcBlock "Model"
SrcPort 2
Points [35, 0]
}
Line {
LineType "Connection"
SrcBlock "C"
SrcPort RConn1
DstBlock "IGBT"
DstPort LConn1
}
Line {
LineType "Connection"
SrcBlock "IGBT"
SrcPort RConn1
DstBlock "E"
DstPort RConn1
}
}
}
Block {
BlockType SubSystem
Name "IG6"
Ports [1, 0, 0, 0, 0, 1, 1]
Position [500, 360, 540, 415]
Orientation "down"
NamePlacement "alternate"
AncestorBlock "powerlib/Pow

相关文档
最新文档