├── .gitattributes ├── Boost.mdl ├── Buck.mdl ├── Current_reversible_chopper.mdl ├── Fb_inverter3.mdl ├── Forword.mdl ├── LICENSE ├── Multiphase_Buck.mdl ├── Multiphase_Buck2.mdl ├── Mutiphase_inverter.mdl ├── PWM_rectifier2.mdl ├── README.md ├── Three_phase_bridge_LCR.mdl ├── Three_phase_bridge_LR2.mdl ├── Three_phase_bridge_R.mdl ├── buck_boost.mdl ├── dc_dc_fb.mdl ├── dc_dc_fb_fszvs.mdl ├── dc_dc_hb.mdl ├── double_star_controlled_rectifier.mdl ├── fb_inverter1.mdl ├── fb_inverter2.mdl ├── fb_inverter_pwm1.mdl ├── fb_inverter_pwm2.mdl ├── flyback.mdl ├── hb_inverter.mdl ├── hysteretic_control.mdl ├── multiple_inverter.mdl ├── pwm_rectifier.mdl ├── resonant_dc_link.mdl ├── single_phase_ac_regulator_r.mdl ├── single_phase_ac_regulator_rl.mdl ├── single_phase_bridge_cr.mdl ├── single_phase_bridge_er.mdl ├── single_phase_bridge_hc.mdl ├── single_phase_bridge_lcr.mdl ├── single_phase_bridge_r.mdl ├── single_phase_csi.mdl ├── single_phase_cycloconverter.mdl ├── single_phase_fw.mdl ├── three_phase_ac_regulator.mdl ├── three_phase_bridge_cr.mdl ├── three_phase_bridge_inversion.mdl ├── three_phase_bridge_lr1.mdl ├── three_phase_csi.mdl ├── three_phase_fb_inverter.mdl ├── three_phase_hw_inversion.mdl ├── three_phase_hw_lr.mdl ├── three_phase_hw_r.mdl ├── three_phase_hw_x.mdl ├── three_phase_inverter_pwm.mdl ├── twelvepulses.mdl ├── zvs_qrc_buck.mdl ├── zvt_boost.mdl └── 目录.txt /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2020 isJDongYa 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Power-Eletronics-simulink 2 | 电力电子技术(王兆安)matlab仿真程序 3 | -------------------------------------------------------------------------------- /fb_inverter1.mdl: -------------------------------------------------------------------------------- 1 | Model { 2 | Name "fb_inverter1" 3 | Version 6.1 4 | MdlSubVersion 0 5 | GraphicalInterface { 6 | NumRootInports 0 7 | NumRootOutports 0 8 | ParameterArgumentNames "" 9 | ComputedModelVersion "1.67" 10 | NumModelReferences 0 11 | NumTestPointedSignals 0 12 | } 13 | SavedCharacterEncoding "ibm-1386_P100-2002" 14 | SaveDefaultBlockParams on 15 | SampleTimeColors off 16 | LibraryLinkDisplay "none" 17 | WideLines off 18 | ShowLineDimensions off 19 | ShowPortDataTypes off 20 | ShowLoopsOnError on 21 | IgnoreBidirectionalLines off 22 | ShowStorageClass off 23 | ShowTestPointIcons on 24 | ShowViewerIcons on 25 | SortedOrder off 26 | ExecutionContextIcon off 27 | ShowLinearizationAnnotations on 28 | RecordCoverage off 29 | CovPath "/" 30 | CovSaveName "covdata" 31 | CovMetricSettings "dw" 32 | CovNameIncrementing off 33 | CovHtmlReporting on 34 | covSaveCumulativeToWorkspaceVar on 35 | CovSaveSingleToWorkspaceVar on 36 | CovCumulativeVarName "covCumulativeData" 37 | CovCumulativeReport off 38 | CovReportOnPause on 39 | ScopeRefreshTime 0.035000 40 | OverrideScopeRefreshTime on 41 | DisableAllScopes off 42 | DataTypeOverride "UseLocalSettings" 43 | MinMaxOverflowLogging "UseLocalSettings" 44 | MinMaxOverflowArchiveMode "Overwrite" 45 | BlockNameDataTip off 46 | BlockParametersDataTip off 47 | BlockDescriptionStringDataTip off 48 | ToolBar on 49 | StatusBar on 50 | BrowserShowLibraryLinks off 51 | BrowserLookUnderMasks off 52 | Created "Thu Jan 21 20:44:19 2010" 53 | UpdateHistory "UpdateHistoryNever" 54 | ModifiedByFormat "%" 55 | LastModifiedBy "ThinkPad" 56 | ModifiedDateFormat "%" 57 | LastModifiedDate "Wed Jul 11 01:35:06 2012" 58 | ModelVersionFormat "1.%" 59 | ConfigurationManager "None" 60 | LinearizationMsg "none" 61 | Profile off 62 | ParamWorkspaceSource "MATLABWorkspace" 63 | AccelSystemTargetFile "accel.tlc" 64 | AccelTemplateMakefile "accel_default_tmf" 65 | AccelMakeCommand "make_rtw" 66 | TryForcingSFcnDF off 67 | ExtModeBatchMode off 68 | ExtModeEnableFloating on 69 | ExtModeTrigType "manual" 70 | ExtModeTrigMode "normal" 71 | ExtModeTrigPort "1" 72 | ExtModeTrigElement "any" 73 | ExtModeTrigDuration 1000 74 | ExtModeTrigDurationFloating "auto" 75 | ExtModeTrigHoldOff 0 76 | ExtModeTrigDelay 0 77 | ExtModeTrigDirection "rising" 78 | ExtModeTrigLevel 0 79 | ExtModeArchiveMode "off" 80 | ExtModeAutoIncOneShot off 81 | ExtModeIncDirWhenArm off 82 | ExtModeAddSuffixToVar off 83 | ExtModeWriteAllDataToWs off 84 | ExtModeArmWhenConnect on 85 | ExtModeSkipDownloadWhenConnect off 86 | ExtModeLogAll on 87 | ExtModeAutoUpdateStatusClock on 88 | BufferReuse on 89 | StrictBusMsg "None" 90 | ProdHWDeviceType "32-bit Generic" 91 | ShowModelReferenceBlockVersion off 92 | ShowModelReferenceBlockIO off 93 | Array { 94 | Type "Handle" 95 | Dimension 1 96 | Simulink.ConfigSet { 97 | $ObjectID 1 98 | Version "1.0.4" 99 | Array { 100 | Type "Handle" 101 | Dimension 7 102 | Simulink.SolverCC { 103 | $ObjectID 2 104 | Version "1.0.4" 105 | StartTime "0.0" 106 | StopTime "0.1499" 107 | AbsTol ".01" 108 | FixedStep "auto" 109 | InitialStep "auto" 110 | MaxNumMinSteps "-1" 111 | MaxOrder 5 112 | ExtrapolationOrder 4 113 | NumberNewtonIterations 1 114 | MaxStep "5e-5" 115 | MinStep "auto" 116 | RelTol "1e-3" 117 | SolverMode "Auto" 118 | Solver "ode23tb" 119 | SolverName "ode23tb" 120 | ZeroCrossControl "UseLocalSettings" 121 | PositivePriorityOrder off 122 | AutoInsertRateTranBlk off 123 | SampleTimeConstraint "Unconstrained" 124 | RateTranMode "Deterministic" 125 | } 126 | Simulink.DataIOCC { 127 | $ObjectID 3 128 | Version "1.0.4" 129 | Decimation "1" 130 | ExternalInput "[t, u]" 131 | FinalStateName "xFinal" 132 | InitialState "xInitial" 133 | LimitDataPoints on 134 | MaxDataPoints "1000" 135 | LoadExternalInput off 136 | LoadInitialState off 137 | SaveFinalState off 138 | SaveFormat "Array" 139 | SaveOutput on 140 | SaveState off 141 | SignalLogging on 142 | SaveTime on 143 | StateSaveName "xout" 144 | TimeSaveName "tout" 145 | OutputSaveName "yout" 146 | SignalLoggingName "logsout" 147 | OutputOption "RefineOutputTimes" 148 | OutputTimes "[]" 149 | Refine "1" 150 | } 151 | Simulink.OptimizationCC { 152 | $ObjectID 4 153 | Array { 154 | Type "Cell" 155 | Dimension 5 156 | Cell "ZeroExternalMemoryAtStartup" 157 | Cell "ZeroInternalMemoryAtStartup" 158 | Cell "InitFltsAndDblsToZero" 159 | Cell "OptimizeModelRefInitCode" 160 | Cell "NoFixptDivByZeroProtection" 161 | PropName "DisabledProps" 162 | } 163 | Version "1.0.4" 164 | BlockReduction on 165 | BooleanDataType on 166 | ConditionallyExecuteInputs on 167 | ConditionalExecOptimization "on_for_testing" 168 | InlineParams off 169 | InlineInvariantSignals on 170 | OptimizeBlockIOStorage on 171 | BufferReuse on 172 | EnforceIntegerDowncast on 173 | ExpressionFolding on 174 | FoldNonRolledExpr on 175 | LocalBlockOutputs on 176 | ParameterPooling on 177 | RollThreshold 5 178 | SystemCodeInlineAuto off 179 | StateBitsets off 180 | DataBitsets off 181 | UseTempVars off 182 | ZeroExternalMemoryAtStartup on 183 | ZeroInternalMemoryAtStartup on 184 | InitFltsAndDblsToZero on 185 | NoFixptDivByZeroProtection off 186 | OptimizeModelRefInitCode off 187 | LifeSpan "inf" 188 | } 189 | Simulink.DebuggingCC { 190 | $ObjectID 5 191 | Version "1.0.4" 192 | RTPrefix "error" 193 | ConsistencyChecking "none" 194 | ArrayBoundsChecking "none" 195 | AlgebraicLoopMsg "warning" 196 | ArtificialAlgebraicLoopMsg "warning" 197 | CheckSSInitialOutputMsg on 198 | CheckExecutionContextPreStartOutputMsg off 199 | CheckExecutionContextRuntimeOutputMsg off 200 | SignalResolutionControl "TryResolveAllWithWarning" 201 | BlockPriorityViolationMsg "warning" 202 | MinStepSizeMsg "warning" 203 | SolverPrmCheckMsg "warning" 204 | InheritedTsInSrcMsg "warning" 205 | DiscreteInheritContinuousMsg "warning" 206 | MultiTaskDSMMsg "warning" 207 | MultiTaskRateTransMsg "error" 208 | SingleTaskRateTransMsg "none" 209 | TasksWithSamePriorityMsg "warning" 210 | CheckMatrixSingularityMsg "none" 211 | IntegerOverflowMsg "warning" 212 | Int32ToFloatConvMsg "warning" 213 | ParameterDowncastMsg "error" 214 | ParameterOverflowMsg "error" 215 | ParameterPrecisionLossMsg "warning" 216 | UnderSpecifiedDataTypeMsg "none" 217 | UnnecessaryDatatypeConvMsg "none" 218 | VectorMatrixConversionMsg "none" 219 | InvalidFcnCallConnMsg "error" 220 | FcnCallInpInsideContextMsg "Use local settings" 221 | SignalLabelMismatchMsg "none" 222 | UnconnectedInputMsg "warning" 223 | UnconnectedOutputMsg "warning" 224 | UnconnectedLineMsg "warning" 225 | SFcnCompatibilityMsg "none" 226 | UniqueDataStoreMsg "none" 227 | RootOutportRequireBusObject "warning" 228 | AssertControl "UseLocalSettings" 229 | EnableOverflowDetection off 230 | ModelReferenceIOMsg "none" 231 | ModelReferenceVersionMismatchMessage "none" 232 | ModelReferenceIOMismatchMessage "none" 233 | ModelReferenceCSMismatchMessage "none" 234 | ModelReferenceSimTargetVerbose off 235 | UnknownTsInhSupMsg "warning" 236 | ModelReferenceDataLoggingMessage "warning" 237 | ModelReferenceSymbolNameMessage "warning" 238 | } 239 | Simulink.HardwareCC { 240 | $ObjectID 6 241 | Version "1.0.4" 242 | ProdBitPerChar 8 243 | ProdBitPerShort 16 244 | ProdBitPerInt 32 245 | ProdBitPerLong 32 246 | ProdIntDivRoundTo "Undefined" 247 | ProdEndianess "Unspecified" 248 | ProdWordSize 32 249 | ProdShiftRightIntArith on 250 | ProdHWDeviceType "32-bit Generic" 251 | TargetBitPerChar 8 252 | TargetBitPerShort 16 253 | TargetBitPerInt 32 254 | TargetBitPerLong 32 255 | TargetShiftRightIntArith on 256 | TargetIntDivRoundTo "Undefined" 257 | TargetEndianess "Unspecified" 258 | TargetWordSize 32 259 | TargetTypeEmulationWarnSuppressLevel 0 260 | TargetPreprocMaxBitsSint 32 261 | TargetPreprocMaxBitsUint 32 262 | TargetHWDeviceType "Specified" 263 | TargetUnknown off 264 | ProdEqTarget on 265 | } 266 | Simulink.ModelReferenceCC { 267 | $ObjectID 7 268 | Version "1.0.4" 269 | UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" 270 | CheckModelReferenceTargetMessage "error" 271 | ModelReferenceNumInstancesAllowed "Multi" 272 | ModelReferencePassRootInputsByReference on 273 | ModelReferenceMinAlgLoopOccurrences off 274 | } 275 | Simulink.RTWCC { 276 | $BackupClass "Simulink.RTWCC" 277 | $ObjectID 8 278 | Array { 279 | Type "Cell" 280 | Dimension 1 281 | Cell "IncludeHyperlinkInReport" 282 | PropName "DisabledProps" 283 | } 284 | Version "1.0.4" 285 | SystemTargetFile "grt.tlc" 286 | GenCodeOnly off 287 | MakeCommand "make_rtw" 288 | TemplateMakefile "grt_default_tmf" 289 | GenerateReport off 290 | SaveLog off 291 | RTWVerbose on 292 | RetainRTWFile off 293 | ProfileTLC off 294 | TLCDebug off 295 | TLCCoverage off 296 | TLCAssert off 297 | ProcessScriptMode "Default" 298 | ConfigurationMode "Optimized" 299 | ConfigAtBuild off 300 | IncludeHyperlinkInReport off 301 | LaunchReport off 302 | Array { 303 | Type "Handle" 304 | Dimension 2 305 | Simulink.CodeAppCC { 306 | $ObjectID 9 307 | Array { 308 | Type "Cell" 309 | Dimension 9 310 | Cell "IgnoreCustomStorageClasses" 311 | Cell "InsertBlockDesc" 312 | Cell "SFDataObjDesc" 313 | Cell "SimulinkDataObjDesc" 314 | Cell "DefineNamingRule" 315 | Cell "SignalNamingRule" 316 | Cell "ParamNamingRule" 317 | Cell "InlinedPrmAccess" 318 | Cell "CustomSymbolStr" 319 | PropName "DisabledProps" 320 | } 321 | Version "1.0.4" 322 | ForceParamTrailComments off 323 | GenerateComments on 324 | IgnoreCustomStorageClasses on 325 | IncHierarchyInIds off 326 | MaxIdLength 31 327 | PreserveName off 328 | PreserveNameWithParent off 329 | ShowEliminatedStatement off 330 | IncAutoGenComments off 331 | SimulinkDataObjDesc off 332 | SFDataObjDesc off 333 | IncDataTypeInIds off 334 | PrefixModelToSubsysFcnNames on 335 | CustomSymbolStr "$R$N$M" 336 | MangleLength 1 337 | DefineNamingRule "None" 338 | ParamNamingRule "None" 339 | SignalNamingRule "None" 340 | InsertBlockDesc off 341 | SimulinkBlockComments on 342 | EnableCustomComments off 343 | InlinedPrmAccess "Literals" 344 | ReqsInCode off 345 | } 346 | Simulink.GRTTargetCC { 347 | $BackupClass "Simulink.TargetCC" 348 | $ObjectID 10 349 | Array { 350 | Type "Cell" 351 | Dimension 12 352 | Cell "IncludeMdlTerminateFcn" 353 | Cell "CombineOutputUpdateFcns" 354 | Cell "SuppressErrorStatus" 355 | Cell "ERTCustomFileBanners" 356 | Cell "GenerateSampleERTMain" 357 | Cell "MultiInstanceERTCode" 358 | Cell "PurelyIntegerCode" 359 | Cell "SupportNonFinite" 360 | Cell "SupportComplex" 361 | Cell "SupportAbsoluteTime" 362 | Cell "SupportContinuousTime" 363 | Cell "SupportNonInlinedSFcns" 364 | PropName "DisabledProps" 365 | } 366 | Version "1.0.4" 367 | TargetFcnLib "ansi_tfl_tmw.mat" 368 | GenFloatMathFcnCalls "ANSI_C" 369 | UtilityFuncGeneration "Auto" 370 | GenerateFullHeader on 371 | GenerateSampleERTMain off 372 | IsPILTarget off 373 | ModelReferenceCompliant on 374 | IncludeMdlTerminateFcn on 375 | CombineOutputUpdateFcns off 376 | SuppressErrorStatus off 377 | IncludeFileDelimiter "Auto" 378 | ERTCustomFileBanners off 379 | SupportAbsoluteTime on 380 | LogVarNameModifier "rt_" 381 | MatFileLogging on 382 | MultiInstanceERTCode off 383 | SupportNonFinite on 384 | SupportComplex on 385 | PurelyIntegerCode off 386 | SupportContinuousTime on 387 | SupportNonInlinedSFcns on 388 | ExtMode off 389 | ExtModeStaticAlloc off 390 | ExtModeTesting off 391 | ExtModeStaticAllocSize 1000000 392 | ExtModeTransport 0 393 | ExtModeMexFile "ext_comm" 394 | RTWCAPISignals off 395 | RTWCAPIParams off 396 | RTWCAPIStates off 397 | GenerateASAP2 off 398 | } 399 | PropName "Components" 400 | } 401 | } 402 | PropName "Components" 403 | } 404 | Name "Configuration" 405 | SimulationMode "normal" 406 | CurrentDlgPage "Solver" 407 | } 408 | PropName "ConfigurationSets" 409 | } 410 | Simulink.ConfigSet { 411 | $PropName "ActiveConfigurationSet" 412 | $ObjectID 1 413 | } 414 | BlockDefaults { 415 | Orientation "right" 416 | ForegroundColor "black" 417 | BackgroundColor "white" 418 | DropShadow off 419 | NamePlacement "normal" 420 | FontName "Helvetica" 421 | FontSize 10 422 | FontWeight "normal" 423 | FontAngle "normal" 424 | ShowName on 425 | } 426 | BlockParameterDefaults { 427 | Block { 428 | BlockType BusCreator 429 | Inputs "4" 430 | DisplayOption "none" 431 | BusObject "BusObject" 432 | NonVirtualBus off 433 | } 434 | Block { 435 | BlockType Constant 436 | Value "1" 437 | VectorParams1D on 438 | OutDataTypeMode "Inherit from 'Constant value'" 439 | OutDataType "sfix(16)" 440 | ConRadixGroup "Use specified scaling" 441 | OutScaling "2^0" 442 | SampleTime "inf" 443 | } 444 | Block { 445 | BlockType Demux 446 | Outputs "4" 447 | DisplayOption "none" 448 | BusSelectionMode off 449 | } 450 | Block { 451 | BlockType DiscretePulseGenerator 452 | PulseType "Sample based" 453 | TimeSource "Use simulation time" 454 | Amplitude "1" 455 | Period "2" 456 | PulseWidth "1" 457 | PhaseDelay "0" 458 | SampleTime "1" 459 | VectorParams1D on 460 | } 461 | Block { 462 | BlockType EnablePort 463 | StatesWhenEnabling "held" 464 | ShowOutputPort off 465 | ZeroCross on 466 | } 467 | Block { 468 | BlockType From 469 | IconDisplay "Tag" 470 | } 471 | Block { 472 | BlockType Gain 473 | Gain "1" 474 | Multiplication "Element-wise(K.*u)" 475 | ParameterDataTypeMode "Same as input" 476 | ParameterDataType "sfix(16)" 477 | ParameterScalingMode "Best Precision: Matrix-wise" 478 | ParameterScaling "2^0" 479 | OutDataTypeMode "Same as input" 480 | OutDataType "sfix(16)" 481 | OutScaling "2^0" 482 | LockScale off 483 | RndMeth "Floor" 484 | SaturateOnIntegerOverflow on 485 | SampleTime "-1" 486 | } 487 | Block { 488 | BlockType Goto 489 | IconDisplay "Tag" 490 | } 491 | Block { 492 | BlockType Inport 493 | BusObject "BusObject" 494 | BusOutputAsStruct off 495 | PortDimensions "-1" 496 | SampleTime "-1" 497 | DataType "auto" 498 | OutDataType "sfix(16)" 499 | OutScaling "2^0" 500 | SignalType "auto" 501 | SamplingMode "auto" 502 | Interpolate on 503 | } 504 | Block { 505 | BlockType Outport 506 | Port "1" 507 | BusObject "BusObject" 508 | BusOutputAsStruct off 509 | PortDimensions "-1" 510 | SampleTime "-1" 511 | DataType "auto" 512 | OutDataType "sfix(16)" 513 | OutScaling "2^0" 514 | SignalType "auto" 515 | SamplingMode "auto" 516 | OutputWhenDisabled "held" 517 | InitialOutput "[]" 518 | } 519 | Block { 520 | BlockType PMComponent 521 | SubClassName "unknown" 522 | } 523 | Block { 524 | BlockType PMIOPort 525 | } 526 | Block { 527 | BlockType Scope 528 | Floating off 529 | ModelBased off 530 | TickLabels "OneTimeTick" 531 | ZoomMode "on" 532 | Grid "on" 533 | TimeRange "auto" 534 | YMin "-5" 535 | YMax "5" 536 | SaveToWorkspace off 537 | SaveName "ScopeData" 538 | LimitDataPoints on 539 | MaxDataPoints "5000" 540 | Decimation "1" 541 | SampleInput off 542 | SampleTime "0" 543 | } 544 | Block { 545 | BlockType Selector 546 | InputType "Vector" 547 | IndexMode "One-based" 548 | ElementSrc "Internal" 549 | Elements "1" 550 | RowSrc "Internal" 551 | Rows "1" 552 | ColumnSrc "Internal" 553 | Columns "1" 554 | InputPortWidth "-1" 555 | IndexIsStartValue off 556 | OutputPortSize "1" 557 | } 558 | Block { 559 | BlockType SubSystem 560 | ShowPortLabels on 561 | Permissions "ReadWrite" 562 | PermitHierarchicalResolution "All" 563 | SystemSampleTime "-1" 564 | RTWFcnNameOpts "Auto" 565 | RTWFileNameOpts "Auto" 566 | SimViewingDevice off 567 | DataTypeOverride "UseLocalSettings" 568 | MinMaxOverflowLogging "UseLocalSettings" 569 | } 570 | Block { 571 | BlockType Terminator 572 | } 573 | Block { 574 | BlockType ToWorkspace 575 | VariableName "simulink_output" 576 | MaxDataPoints "1000" 577 | Decimation "1" 578 | SampleTime "0" 579 | FixptAsFi off 580 | } 581 | } 582 | AnnotationDefaults { 583 | HorizontalAlignment "center" 584 | VerticalAlignment "middle" 585 | ForegroundColor "black" 586 | BackgroundColor "white" 587 | DropShadow off 588 | FontName "Helvetica" 589 | FontSize 10 590 | FontWeight "normal" 591 | FontAngle "normal" 592 | } 593 | LineDefaults { 594 | FontName "Helvetica" 595 | FontSize 9 596 | FontWeight "normal" 597 | FontAngle "normal" 598 | } 599 | System { 600 | Name "fb_inverter1" 601 | Location [7, 87, 625, 777] 602 | Open on 603 | ModelBrowserVisibility off 604 | ModelBrowserWidth 200 605 | ScreenColor "white" 606 | PaperOrientation "landscape" 607 | PaperPositionMode "auto" 608 | PaperType "A4" 609 | PaperUnits "centimeters" 610 | ZoomFactor "100" 611 | ReportName "simulink-default.rpt" 612 | Block { 613 | BlockType DiscretePulseGenerator 614 | Name "Gate\nDrive1" 615 | Ports [0, 1] 616 | Position [75, 199, 110, 221] 617 | ForegroundColor "blue" 618 | PulseType "Time based" 619 | Period "0.02" 620 | PulseWidth "49.5" 621 | PhaseDelay "0.01" 622 | } 623 | Block { 624 | BlockType DiscretePulseGenerator 625 | Name "Gate\nDrive2" 626 | Ports [0, 1] 627 | Position [80, 328, 115, 352] 628 | ForegroundColor "magenta" 629 | PulseType "Time based" 630 | Period "0.02" 631 | PulseWidth "49.5" 632 | } 633 | Block { 634 | BlockType Reference 635 | Name "Load" 636 | Ports [0, 0, 0, 0, 0, 1, 1] 637 | Position [200, 316, 270, 344] 638 | Orientation "left" 639 | NamePlacement "alternate" 640 | SourceBlock "powerlib/Elements/Series RLC Branch" 641 | SourceType "Series RLC Branch" 642 | PhysicalDomain "powersysdomain" 643 | SubClassName "unknown" 644 | LeftPortType "p1" 645 | RightPortType "p1" 646 | LConnTagsString "__new0" 647 | RConnTagsString "__new0" 648 | Resistance "1" 649 | Inductance "0.01" 650 | Capacitance "inf" 651 | Measurements "Branch voltage and current" 652 | } 653 | Block { 654 | BlockType Reference 655 | Name "Multimeter" 656 | Ports [0, 1] 657 | Position [370, 156, 410, 194] 658 | SourceBlock "powerlib/Measurements/Multimeter" 659 | SourceType "MultimeterPSB" 660 | ShowPortLabels on 661 | PhasorSimulation off 662 | OutputType "Complex" 663 | sel "[1 2]" 664 | L "2" 665 | Gain "[1 1]" 666 | yselected "{'Ub: Load','Ib: Load'};" 667 | PSBOutputType "1" 668 | PSBequivalent "0" 669 | AxesSetting "[0,0.1,-100,100]" 670 | Display "0" 671 | SavedBlockNames "-11" 672 | } 673 | Block { 674 | BlockType Scope 675 | Name "Scope" 676 | Ports [2] 677 | Position [500, 147, 565, 263] 678 | Location [634, 56, 1275, 570] 679 | Open on 680 | NumInputPorts "2" 681 | ZoomMode "xonly" 682 | List { 683 | ListType AxesTitles 684 | axes1 "Load voltage/Load current" 685 | axes2 " Current/Voltage of VT3" 686 | } 687 | TimeRange "0.05" 688 | YMin "-200~-200" 689 | YMax "200~200" 690 | DataFormat "StructureWithTime" 691 | LimitDataPoints off 692 | SampleTime "2e-4" 693 | } 694 | Block { 695 | BlockType Terminator 696 | Name "Terminator1" 697 | Position [118, 445, 132, 455] 698 | Orientation "down" 699 | NamePlacement "alternate" 700 | ShowName off 701 | } 702 | Block { 703 | BlockType Terminator 704 | Name "Terminator2" 705 | Position [118, 310, 132, 320] 706 | Orientation "down" 707 | NamePlacement "alternate" 708 | ShowName off 709 | } 710 | Block { 711 | BlockType Terminator 712 | Name "Terminator4" 713 | Position [323, 445, 337, 455] 714 | Orientation "down" 715 | NamePlacement "alternate" 716 | ShowName off 717 | } 718 | Block { 719 | BlockType Reference 720 | Name "Ud1" 721 | Ports [0, 0, 0, 0, 0, 1, 1] 722 | Position [45, 320, 75, 375] 723 | Orientation "up" 724 | NamePlacement "alternate" 725 | SourceBlock "powerlib/Electrical\nSources/DC Voltage Source" 726 | SourceType "DC Voltage Source" 727 | ShowPortLabels on 728 | Amplitude "100" 729 | Measurements "None" 730 | } 731 | Block { 732 | BlockType Reference 733 | Name "VT1" 734 | Ports [1, 1, 0, 0, 0, 1, 1] 735 | Position [115, 235, 155, 290] 736 | Orientation "down" 737 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 738 | SourceType "Mosfet" 739 | ShowPortLabels on 740 | Ron "0.01" 741 | Lon "1e-7" 742 | Rd ".01" 743 | IC "0" 744 | Rs "5" 745 | Cs "1e-6" 746 | Measurements on 747 | } 748 | Block { 749 | BlockType Reference 750 | Name "VT2" 751 | Ports [1, 1, 0, 0, 0, 1, 1] 752 | Position [115, 375, 155, 430] 753 | Orientation "down" 754 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 755 | SourceType "Mosfet" 756 | ShowPortLabels on 757 | Ron "0.01" 758 | Lon "1e-7" 759 | Rd ".01" 760 | IC "0" 761 | Rs "5" 762 | Cs "1e-6" 763 | Measurements on 764 | } 765 | Block { 766 | BlockType Reference 767 | Name "VT3" 768 | Ports [1, 1, 0, 0, 0, 1, 1] 769 | Position [320, 235, 360, 290] 770 | Orientation "down" 771 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 772 | SourceType "Mosfet" 773 | ShowPortLabels on 774 | Ron "0.01" 775 | Lon "1e-7" 776 | Rd ".01" 777 | IC "0" 778 | Rs "5" 779 | Cs "1e-6" 780 | Measurements on 781 | } 782 | Block { 783 | BlockType Reference 784 | Name "VT4" 785 | Ports [1, 1, 0, 0, 0, 1, 1] 786 | Position [320, 375, 360, 430] 787 | Orientation "down" 788 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 789 | SourceType "Mosfet" 790 | ShowPortLabels on 791 | Ron "0.01" 792 | Lon "1e-7" 793 | Rd ".01" 794 | IC "0" 795 | Rs "5" 796 | Cs "1e-6" 797 | Measurements on 798 | } 799 | Line { 800 | LineType "Connection" 801 | SrcBlock "VT3" 802 | SrcPort RConn1 803 | Points [0, 0; 0, 25] 804 | Branch { 805 | ConnectType "DEST_SRC" 806 | DstBlock "VT4" 807 | DstPort LConn1 808 | } 809 | Branch { 810 | ConnectType "DEST_SRC" 811 | DstBlock "Load" 812 | DstPort LConn1 813 | } 814 | } 815 | Line { 816 | LineType "Connection" 817 | SrcBlock "VT2" 818 | SrcPort LConn1 819 | Points [0, 20; 0, -50] 820 | Branch { 821 | ConnectType "DEST_DEST" 822 | SrcBlock "Load" 823 | SrcPort RConn1 824 | Points [-25, 0; -15, 0] 825 | } 826 | Branch { 827 | ConnectType "DEST_DEST" 828 | SrcBlock "VT1" 829 | SrcPort RConn1 830 | Points [0, 25] 831 | } 832 | } 833 | Line { 834 | SrcBlock "Gate\nDrive1" 835 | SrcPort 1 836 | Points [10, 0] 837 | Branch { 838 | Points [170, 0; 0, 150] 839 | DstBlock "VT4" 840 | DstPort 1 841 | } 842 | Branch { 843 | DstBlock "VT1" 844 | DstPort 1 845 | } 846 | } 847 | Line { 848 | SrcBlock "Gate\nDrive2" 849 | SrcPort 1 850 | Points [5, 0] 851 | Branch { 852 | DstBlock "VT2" 853 | DstPort 1 854 | } 855 | Branch { 856 | Points [60, 0; 0, -120] 857 | DstBlock "VT3" 858 | DstPort 1 859 | } 860 | } 861 | Line { 862 | SrcBlock "VT3" 863 | SrcPort 1 864 | Points [0, 15; 130, 0; 0, -75] 865 | DstBlock "Scope" 866 | DstPort 2 867 | } 868 | Line { 869 | LineType "Connection" 870 | SrcBlock "VT4" 871 | SrcPort RConn1 872 | Points [0, 25; -205, 0] 873 | Branch { 874 | ConnectType "DEST_SRC" 875 | Points [-85, 0] 876 | DstBlock "Ud1" 877 | DstPort LConn1 878 | } 879 | Branch { 880 | ConnectType "DEST_DEST" 881 | SrcBlock "VT2" 882 | SrcPort RConn1 883 | Points [0, 25] 884 | } 885 | } 886 | Line { 887 | LineType "Connection" 888 | SrcBlock "VT1" 889 | SrcPort LConn1 890 | Points [0, 5; 0, -35] 891 | Branch { 892 | ConnectType "DEST_SRC" 893 | Points [205, 0] 894 | DstBlock "VT3" 895 | DstPort LConn1 896 | } 897 | Branch { 898 | ConnectType "DEST_DEST" 899 | SrcBlock "Ud1" 900 | SrcPort RConn1 901 | Points [0, -115; 85, 0] 902 | } 903 | } 904 | Line { 905 | SrcBlock "Multimeter" 906 | SrcPort 1 907 | DstBlock "Scope" 908 | DstPort 1 909 | } 910 | Line { 911 | SrcBlock "VT1" 912 | SrcPort 1 913 | DstBlock "Terminator2" 914 | DstPort 1 915 | } 916 | Line { 917 | SrcBlock "VT2" 918 | SrcPort 1 919 | DstBlock "Terminator1" 920 | DstPort 1 921 | } 922 | Line { 923 | SrcBlock "VT4" 924 | SrcPort 1 925 | DstBlock "Terminator4" 926 | DstPort 1 927 | } 928 | } 929 | } 930 | -------------------------------------------------------------------------------- /fb_inverter2.mdl: -------------------------------------------------------------------------------- 1 | Model { 2 | Name "fb_inverter2" 3 | Version 6.1 4 | MdlSubVersion 0 5 | GraphicalInterface { 6 | NumRootInports 0 7 | NumRootOutports 0 8 | ParameterArgumentNames "" 9 | ComputedModelVersion "1.72" 10 | NumModelReferences 0 11 | NumTestPointedSignals 0 12 | } 13 | SavedCharacterEncoding "ibm-1386_P100-2002" 14 | SaveDefaultBlockParams on 15 | SampleTimeColors off 16 | LibraryLinkDisplay "none" 17 | WideLines off 18 | ShowLineDimensions off 19 | ShowPortDataTypes off 20 | ShowLoopsOnError on 21 | IgnoreBidirectionalLines off 22 | ShowStorageClass off 23 | ShowTestPointIcons on 24 | ShowViewerIcons on 25 | SortedOrder off 26 | ExecutionContextIcon off 27 | ShowLinearizationAnnotations on 28 | RecordCoverage off 29 | CovPath "/" 30 | CovSaveName "covdata" 31 | CovMetricSettings "dw" 32 | CovNameIncrementing off 33 | CovHtmlReporting on 34 | covSaveCumulativeToWorkspaceVar on 35 | CovSaveSingleToWorkspaceVar on 36 | CovCumulativeVarName "covCumulativeData" 37 | CovCumulativeReport off 38 | CovReportOnPause on 39 | ScopeRefreshTime 0.035000 40 | OverrideScopeRefreshTime on 41 | DisableAllScopes off 42 | DataTypeOverride "UseLocalSettings" 43 | MinMaxOverflowLogging "UseLocalSettings" 44 | MinMaxOverflowArchiveMode "Overwrite" 45 | BlockNameDataTip off 46 | BlockParametersDataTip off 47 | BlockDescriptionStringDataTip off 48 | ToolBar on 49 | StatusBar on 50 | BrowserShowLibraryLinks off 51 | BrowserLookUnderMasks off 52 | Created "Thu Jan 21 20:44:19 2010" 53 | UpdateHistory "UpdateHistoryNever" 54 | ModifiedByFormat "%" 55 | LastModifiedBy "ThinkPad" 56 | ModifiedDateFormat "%" 57 | LastModifiedDate "Thu Jul 12 01:00:11 2012" 58 | ModelVersionFormat "1.%" 59 | ConfigurationManager "None" 60 | LinearizationMsg "none" 61 | Profile off 62 | ParamWorkspaceSource "MATLABWorkspace" 63 | AccelSystemTargetFile "accel.tlc" 64 | AccelTemplateMakefile "accel_default_tmf" 65 | AccelMakeCommand "make_rtw" 66 | TryForcingSFcnDF off 67 | ExtModeBatchMode off 68 | ExtModeEnableFloating on 69 | ExtModeTrigType "manual" 70 | ExtModeTrigMode "normal" 71 | ExtModeTrigPort "1" 72 | ExtModeTrigElement "any" 73 | ExtModeTrigDuration 1000 74 | ExtModeTrigDurationFloating "auto" 75 | ExtModeTrigHoldOff 0 76 | ExtModeTrigDelay 0 77 | ExtModeTrigDirection "rising" 78 | ExtModeTrigLevel 0 79 | ExtModeArchiveMode "off" 80 | ExtModeAutoIncOneShot off 81 | ExtModeIncDirWhenArm off 82 | ExtModeAddSuffixToVar off 83 | ExtModeWriteAllDataToWs off 84 | ExtModeArmWhenConnect on 85 | ExtModeSkipDownloadWhenConnect off 86 | ExtModeLogAll on 87 | ExtModeAutoUpdateStatusClock on 88 | BufferReuse on 89 | StrictBusMsg "None" 90 | ProdHWDeviceType "32-bit Generic" 91 | ShowModelReferenceBlockVersion off 92 | ShowModelReferenceBlockIO off 93 | Array { 94 | Type "Handle" 95 | Dimension 1 96 | Simulink.ConfigSet { 97 | $ObjectID 1 98 | Version "1.0.4" 99 | Array { 100 | Type "Handle" 101 | Dimension 7 102 | Simulink.SolverCC { 103 | $ObjectID 2 104 | Version "1.0.4" 105 | StartTime "0.0" 106 | StopTime "0.1499" 107 | AbsTol ".1" 108 | FixedStep "auto" 109 | InitialStep "auto" 110 | MaxNumMinSteps "-1" 111 | MaxOrder 5 112 | ExtrapolationOrder 4 113 | NumberNewtonIterations 1 114 | MaxStep "5e-5" 115 | MinStep "1e-8" 116 | RelTol "1e-3" 117 | SolverMode "Auto" 118 | Solver "ode23tb" 119 | SolverName "ode23tb" 120 | ZeroCrossControl "UseLocalSettings" 121 | PositivePriorityOrder off 122 | AutoInsertRateTranBlk off 123 | SampleTimeConstraint "Unconstrained" 124 | RateTranMode "Deterministic" 125 | } 126 | Simulink.DataIOCC { 127 | $ObjectID 3 128 | Version "1.0.4" 129 | Decimation "1" 130 | ExternalInput "[t, u]" 131 | FinalStateName "xFinal" 132 | InitialState "xInitial" 133 | LimitDataPoints on 134 | MaxDataPoints "1000" 135 | LoadExternalInput off 136 | LoadInitialState off 137 | SaveFinalState off 138 | SaveFormat "Array" 139 | SaveOutput on 140 | SaveState off 141 | SignalLogging on 142 | SaveTime on 143 | StateSaveName "xout" 144 | TimeSaveName "tout" 145 | OutputSaveName "yout" 146 | SignalLoggingName "logsout" 147 | OutputOption "RefineOutputTimes" 148 | OutputTimes "[]" 149 | Refine "1" 150 | } 151 | Simulink.OptimizationCC { 152 | $ObjectID 4 153 | Array { 154 | Type "Cell" 155 | Dimension 5 156 | Cell "ZeroExternalMemoryAtStartup" 157 | Cell "ZeroInternalMemoryAtStartup" 158 | Cell "InitFltsAndDblsToZero" 159 | Cell "OptimizeModelRefInitCode" 160 | Cell "NoFixptDivByZeroProtection" 161 | PropName "DisabledProps" 162 | } 163 | Version "1.0.4" 164 | BlockReduction on 165 | BooleanDataType on 166 | ConditionallyExecuteInputs on 167 | ConditionalExecOptimization "on_for_testing" 168 | InlineParams off 169 | InlineInvariantSignals on 170 | OptimizeBlockIOStorage on 171 | BufferReuse on 172 | EnforceIntegerDowncast on 173 | ExpressionFolding on 174 | FoldNonRolledExpr on 175 | LocalBlockOutputs on 176 | ParameterPooling on 177 | RollThreshold 5 178 | SystemCodeInlineAuto off 179 | StateBitsets off 180 | DataBitsets off 181 | UseTempVars off 182 | ZeroExternalMemoryAtStartup on 183 | ZeroInternalMemoryAtStartup on 184 | InitFltsAndDblsToZero on 185 | NoFixptDivByZeroProtection off 186 | OptimizeModelRefInitCode off 187 | LifeSpan "inf" 188 | } 189 | Simulink.DebuggingCC { 190 | $ObjectID 5 191 | Version "1.0.4" 192 | RTPrefix "error" 193 | ConsistencyChecking "none" 194 | ArrayBoundsChecking "none" 195 | AlgebraicLoopMsg "warning" 196 | ArtificialAlgebraicLoopMsg "warning" 197 | CheckSSInitialOutputMsg on 198 | CheckExecutionContextPreStartOutputMsg off 199 | CheckExecutionContextRuntimeOutputMsg off 200 | SignalResolutionControl "TryResolveAllWithWarning" 201 | BlockPriorityViolationMsg "warning" 202 | MinStepSizeMsg "warning" 203 | SolverPrmCheckMsg "warning" 204 | InheritedTsInSrcMsg "warning" 205 | DiscreteInheritContinuousMsg "warning" 206 | MultiTaskDSMMsg "warning" 207 | MultiTaskRateTransMsg "error" 208 | SingleTaskRateTransMsg "none" 209 | TasksWithSamePriorityMsg "warning" 210 | CheckMatrixSingularityMsg "none" 211 | IntegerOverflowMsg "warning" 212 | Int32ToFloatConvMsg "warning" 213 | ParameterDowncastMsg "error" 214 | ParameterOverflowMsg "error" 215 | ParameterPrecisionLossMsg "warning" 216 | UnderSpecifiedDataTypeMsg "none" 217 | UnnecessaryDatatypeConvMsg "none" 218 | VectorMatrixConversionMsg "none" 219 | InvalidFcnCallConnMsg "error" 220 | FcnCallInpInsideContextMsg "Use local settings" 221 | SignalLabelMismatchMsg "none" 222 | UnconnectedInputMsg "warning" 223 | UnconnectedOutputMsg "warning" 224 | UnconnectedLineMsg "warning" 225 | SFcnCompatibilityMsg "none" 226 | UniqueDataStoreMsg "none" 227 | RootOutportRequireBusObject "warning" 228 | AssertControl "UseLocalSettings" 229 | EnableOverflowDetection off 230 | ModelReferenceIOMsg "none" 231 | ModelReferenceVersionMismatchMessage "none" 232 | ModelReferenceIOMismatchMessage "none" 233 | ModelReferenceCSMismatchMessage "none" 234 | ModelReferenceSimTargetVerbose off 235 | UnknownTsInhSupMsg "warning" 236 | ModelReferenceDataLoggingMessage "warning" 237 | ModelReferenceSymbolNameMessage "warning" 238 | } 239 | Simulink.HardwareCC { 240 | $ObjectID 6 241 | Version "1.0.4" 242 | ProdBitPerChar 8 243 | ProdBitPerShort 16 244 | ProdBitPerInt 32 245 | ProdBitPerLong 32 246 | ProdIntDivRoundTo "Undefined" 247 | ProdEndianess "Unspecified" 248 | ProdWordSize 32 249 | ProdShiftRightIntArith on 250 | ProdHWDeviceType "32-bit Generic" 251 | TargetBitPerChar 8 252 | TargetBitPerShort 16 253 | TargetBitPerInt 32 254 | TargetBitPerLong 32 255 | TargetShiftRightIntArith on 256 | TargetIntDivRoundTo "Undefined" 257 | TargetEndianess "Unspecified" 258 | TargetWordSize 32 259 | TargetTypeEmulationWarnSuppressLevel 0 260 | TargetPreprocMaxBitsSint 32 261 | TargetPreprocMaxBitsUint 32 262 | TargetHWDeviceType "Specified" 263 | TargetUnknown off 264 | ProdEqTarget on 265 | } 266 | Simulink.ModelReferenceCC { 267 | $ObjectID 7 268 | Version "1.0.4" 269 | UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" 270 | CheckModelReferenceTargetMessage "error" 271 | ModelReferenceNumInstancesAllowed "Multi" 272 | ModelReferencePassRootInputsByReference on 273 | ModelReferenceMinAlgLoopOccurrences off 274 | } 275 | Simulink.RTWCC { 276 | $BackupClass "Simulink.RTWCC" 277 | $ObjectID 8 278 | Array { 279 | Type "Cell" 280 | Dimension 1 281 | Cell "IncludeHyperlinkInReport" 282 | PropName "DisabledProps" 283 | } 284 | Version "1.0.4" 285 | SystemTargetFile "grt.tlc" 286 | GenCodeOnly off 287 | MakeCommand "make_rtw" 288 | TemplateMakefile "grt_default_tmf" 289 | GenerateReport off 290 | SaveLog off 291 | RTWVerbose on 292 | RetainRTWFile off 293 | ProfileTLC off 294 | TLCDebug off 295 | TLCCoverage off 296 | TLCAssert off 297 | ProcessScriptMode "Default" 298 | ConfigurationMode "Optimized" 299 | ConfigAtBuild off 300 | IncludeHyperlinkInReport off 301 | LaunchReport off 302 | Array { 303 | Type "Handle" 304 | Dimension 2 305 | Simulink.CodeAppCC { 306 | $ObjectID 9 307 | Array { 308 | Type "Cell" 309 | Dimension 9 310 | Cell "IgnoreCustomStorageClasses" 311 | Cell "InsertBlockDesc" 312 | Cell "SFDataObjDesc" 313 | Cell "SimulinkDataObjDesc" 314 | Cell "DefineNamingRule" 315 | Cell "SignalNamingRule" 316 | Cell "ParamNamingRule" 317 | Cell "InlinedPrmAccess" 318 | Cell "CustomSymbolStr" 319 | PropName "DisabledProps" 320 | } 321 | Version "1.0.4" 322 | ForceParamTrailComments off 323 | GenerateComments on 324 | IgnoreCustomStorageClasses on 325 | IncHierarchyInIds off 326 | MaxIdLength 31 327 | PreserveName off 328 | PreserveNameWithParent off 329 | ShowEliminatedStatement off 330 | IncAutoGenComments off 331 | SimulinkDataObjDesc off 332 | SFDataObjDesc off 333 | IncDataTypeInIds off 334 | PrefixModelToSubsysFcnNames on 335 | CustomSymbolStr "$R$N$M" 336 | MangleLength 1 337 | DefineNamingRule "None" 338 | ParamNamingRule "None" 339 | SignalNamingRule "None" 340 | InsertBlockDesc off 341 | SimulinkBlockComments on 342 | EnableCustomComments off 343 | InlinedPrmAccess "Literals" 344 | ReqsInCode off 345 | } 346 | Simulink.GRTTargetCC { 347 | $BackupClass "Simulink.TargetCC" 348 | $ObjectID 10 349 | Array { 350 | Type "Cell" 351 | Dimension 12 352 | Cell "IncludeMdlTerminateFcn" 353 | Cell "CombineOutputUpdateFcns" 354 | Cell "SuppressErrorStatus" 355 | Cell "ERTCustomFileBanners" 356 | Cell "GenerateSampleERTMain" 357 | Cell "MultiInstanceERTCode" 358 | Cell "PurelyIntegerCode" 359 | Cell "SupportNonFinite" 360 | Cell "SupportComplex" 361 | Cell "SupportAbsoluteTime" 362 | Cell "SupportContinuousTime" 363 | Cell "SupportNonInlinedSFcns" 364 | PropName "DisabledProps" 365 | } 366 | Version "1.0.4" 367 | TargetFcnLib "ansi_tfl_tmw.mat" 368 | GenFloatMathFcnCalls "ANSI_C" 369 | UtilityFuncGeneration "Auto" 370 | GenerateFullHeader on 371 | GenerateSampleERTMain off 372 | IsPILTarget off 373 | ModelReferenceCompliant on 374 | IncludeMdlTerminateFcn on 375 | CombineOutputUpdateFcns off 376 | SuppressErrorStatus off 377 | IncludeFileDelimiter "Auto" 378 | ERTCustomFileBanners off 379 | SupportAbsoluteTime on 380 | LogVarNameModifier "rt_" 381 | MatFileLogging on 382 | MultiInstanceERTCode off 383 | SupportNonFinite on 384 | SupportComplex on 385 | PurelyIntegerCode off 386 | SupportContinuousTime on 387 | SupportNonInlinedSFcns on 388 | ExtMode off 389 | ExtModeStaticAlloc off 390 | ExtModeTesting off 391 | ExtModeStaticAllocSize 1000000 392 | ExtModeTransport 0 393 | ExtModeMexFile "ext_comm" 394 | RTWCAPISignals off 395 | RTWCAPIParams off 396 | RTWCAPIStates off 397 | GenerateASAP2 off 398 | } 399 | PropName "Components" 400 | } 401 | } 402 | PropName "Components" 403 | } 404 | Name "Configuration" 405 | SimulationMode "normal" 406 | CurrentDlgPage "Solver" 407 | } 408 | PropName "ConfigurationSets" 409 | } 410 | Simulink.ConfigSet { 411 | $PropName "ActiveConfigurationSet" 412 | $ObjectID 1 413 | } 414 | BlockDefaults { 415 | Orientation "right" 416 | ForegroundColor "black" 417 | BackgroundColor "white" 418 | DropShadow off 419 | NamePlacement "normal" 420 | FontName "Helvetica" 421 | FontSize 10 422 | FontWeight "normal" 423 | FontAngle "normal" 424 | ShowName on 425 | } 426 | BlockParameterDefaults { 427 | Block { 428 | BlockType BusCreator 429 | Inputs "4" 430 | DisplayOption "none" 431 | BusObject "BusObject" 432 | NonVirtualBus off 433 | } 434 | Block { 435 | BlockType Constant 436 | Value "1" 437 | VectorParams1D on 438 | OutDataTypeMode "Inherit from 'Constant value'" 439 | OutDataType "sfix(16)" 440 | ConRadixGroup "Use specified scaling" 441 | OutScaling "2^0" 442 | SampleTime "inf" 443 | } 444 | Block { 445 | BlockType Demux 446 | Outputs "4" 447 | DisplayOption "none" 448 | BusSelectionMode off 449 | } 450 | Block { 451 | BlockType DiscretePulseGenerator 452 | PulseType "Sample based" 453 | TimeSource "Use simulation time" 454 | Amplitude "1" 455 | Period "2" 456 | PulseWidth "1" 457 | PhaseDelay "0" 458 | SampleTime "1" 459 | VectorParams1D on 460 | } 461 | Block { 462 | BlockType EnablePort 463 | StatesWhenEnabling "held" 464 | ShowOutputPort off 465 | ZeroCross on 466 | } 467 | Block { 468 | BlockType From 469 | IconDisplay "Tag" 470 | } 471 | Block { 472 | BlockType Gain 473 | Gain "1" 474 | Multiplication "Element-wise(K.*u)" 475 | ParameterDataTypeMode "Same as input" 476 | ParameterDataType "sfix(16)" 477 | ParameterScalingMode "Best Precision: Matrix-wise" 478 | ParameterScaling "2^0" 479 | OutDataTypeMode "Same as input" 480 | OutDataType "sfix(16)" 481 | OutScaling "2^0" 482 | LockScale off 483 | RndMeth "Floor" 484 | SaturateOnIntegerOverflow on 485 | SampleTime "-1" 486 | } 487 | Block { 488 | BlockType Goto 489 | IconDisplay "Tag" 490 | } 491 | Block { 492 | BlockType Inport 493 | BusObject "BusObject" 494 | BusOutputAsStruct off 495 | PortDimensions "-1" 496 | SampleTime "-1" 497 | DataType "auto" 498 | OutDataType "sfix(16)" 499 | OutScaling "2^0" 500 | SignalType "auto" 501 | SamplingMode "auto" 502 | Interpolate on 503 | } 504 | Block { 505 | BlockType Outport 506 | Port "1" 507 | BusObject "BusObject" 508 | BusOutputAsStruct off 509 | PortDimensions "-1" 510 | SampleTime "-1" 511 | DataType "auto" 512 | OutDataType "sfix(16)" 513 | OutScaling "2^0" 514 | SignalType "auto" 515 | SamplingMode "auto" 516 | OutputWhenDisabled "held" 517 | InitialOutput "[]" 518 | } 519 | Block { 520 | BlockType PMComponent 521 | SubClassName "unknown" 522 | } 523 | Block { 524 | BlockType PMIOPort 525 | } 526 | Block { 527 | BlockType Scope 528 | Floating off 529 | ModelBased off 530 | TickLabels "OneTimeTick" 531 | ZoomMode "on" 532 | Grid "on" 533 | TimeRange "auto" 534 | YMin "-5" 535 | YMax "5" 536 | SaveToWorkspace off 537 | SaveName "ScopeData" 538 | LimitDataPoints on 539 | MaxDataPoints "5000" 540 | Decimation "1" 541 | SampleInput off 542 | SampleTime "0" 543 | } 544 | Block { 545 | BlockType Selector 546 | InputType "Vector" 547 | IndexMode "One-based" 548 | ElementSrc "Internal" 549 | Elements "1" 550 | RowSrc "Internal" 551 | Rows "1" 552 | ColumnSrc "Internal" 553 | Columns "1" 554 | InputPortWidth "-1" 555 | IndexIsStartValue off 556 | OutputPortSize "1" 557 | } 558 | Block { 559 | BlockType SubSystem 560 | ShowPortLabels on 561 | Permissions "ReadWrite" 562 | PermitHierarchicalResolution "All" 563 | SystemSampleTime "-1" 564 | RTWFcnNameOpts "Auto" 565 | RTWFileNameOpts "Auto" 566 | SimViewingDevice off 567 | DataTypeOverride "UseLocalSettings" 568 | MinMaxOverflowLogging "UseLocalSettings" 569 | } 570 | Block { 571 | BlockType Terminator 572 | } 573 | Block { 574 | BlockType ToWorkspace 575 | VariableName "simulink_output" 576 | MaxDataPoints "1000" 577 | Decimation "1" 578 | SampleTime "0" 579 | FixptAsFi off 580 | } 581 | } 582 | AnnotationDefaults { 583 | HorizontalAlignment "center" 584 | VerticalAlignment "middle" 585 | ForegroundColor "black" 586 | BackgroundColor "white" 587 | DropShadow off 588 | FontName "Helvetica" 589 | FontSize 10 590 | FontWeight "normal" 591 | FontAngle "normal" 592 | } 593 | LineDefaults { 594 | FontName "Helvetica" 595 | FontSize 9 596 | FontWeight "normal" 597 | FontAngle "normal" 598 | } 599 | System { 600 | Name "fb_inverter2" 601 | Location [7, 87, 625, 777] 602 | Open on 603 | ModelBrowserVisibility off 604 | ModelBrowserWidth 200 605 | ScreenColor "white" 606 | PaperOrientation "landscape" 607 | PaperPositionMode "auto" 608 | PaperType "A4" 609 | PaperUnits "centimeters" 610 | ZoomFactor "100" 611 | ReportName "simulink-default.rpt" 612 | Block { 613 | BlockType DiscretePulseGenerator 614 | Name "Gate\nDrive1" 615 | Ports [0, 1] 616 | Position [75, 199, 110, 221] 617 | ForegroundColor "blue" 618 | PulseType "Time based" 619 | Period "0.02" 620 | PulseWidth "49.5" 621 | } 622 | Block { 623 | BlockType DiscretePulseGenerator 624 | Name "Gate\nDrive2" 625 | Ports [0, 1] 626 | Position [75, 358, 110, 382] 627 | ForegroundColor "magenta" 628 | PulseType "Time based" 629 | Period "0.02" 630 | PulseWidth "49.5" 631 | PhaseDelay "0.01" 632 | } 633 | Block { 634 | BlockType DiscretePulseGenerator 635 | Name "Gate\nDrive3" 636 | Ports [0, 1] 637 | Position [265, 203, 300, 227] 638 | ForegroundColor "green" 639 | PulseType "Time based" 640 | Period "0.02" 641 | PulseWidth "49.5" 642 | PhaseDelay "0.012" 643 | } 644 | Block { 645 | BlockType DiscretePulseGenerator 646 | Name "Gate\nDrive4" 647 | Ports [0, 1] 648 | Position [265, 358, 300, 382] 649 | ForegroundColor "red" 650 | PulseType "Time based" 651 | Period "0.02" 652 | PulseWidth "49.5" 653 | PhaseDelay "0.002" 654 | } 655 | Block { 656 | BlockType Reference 657 | Name "Load" 658 | Ports [0, 0, 0, 0, 0, 1, 1] 659 | Position [200, 316, 270, 344] 660 | SourceBlock "powerlib/Elements/Series RLC Branch" 661 | SourceType "Series RLC Branch" 662 | PhysicalDomain "powersysdomain" 663 | SubClassName "unknown" 664 | LeftPortType "p1" 665 | RightPortType "p1" 666 | LConnTagsString "__new0" 667 | RConnTagsString "__new0" 668 | Resistance "1" 669 | Inductance "0.01" 670 | Capacitance "inf" 671 | Measurements "Branch voltage and current" 672 | } 673 | Block { 674 | BlockType Reference 675 | Name "Multimeter" 676 | Ports [0, 1] 677 | Position [360, 120, 405, 160] 678 | SourceBlock "powerlib/Measurements/Multimeter" 679 | SourceType "MultimeterPSB" 680 | ShowPortLabels on 681 | PhasorSimulation off 682 | OutputType "Complex" 683 | sel "[1 2]" 684 | L "2" 685 | Gain "[1 1]" 686 | yselected "{'Ub: Load','Ib: Load'};" 687 | PSBOutputType "1" 688 | PSBequivalent "0" 689 | AxesSetting "[0,0.1,-100,100]" 690 | Display "0" 691 | SavedBlockNames "-11" 692 | } 693 | Block { 694 | BlockType Scope 695 | Name "Scope" 696 | Ports [5] 697 | Position [500, 137, 565, 253] 698 | Location [634, 57, 1275, 794] 699 | Open on 700 | NumInputPorts "5" 701 | ZoomMode "xonly" 702 | List { 703 | ListType AxesTitles 704 | axes1 "Load voltage/Load current" 705 | axes2 "uG1" 706 | axes3 "uG2" 707 | axes4 "uG3" 708 | axes5 "uG4" 709 | } 710 | TimeRange "0.05" 711 | YMin "-200~-1~-1~-1~-1" 712 | YMax "200~2~2~2~2" 713 | DataFormat "StructureWithTime" 714 | LimitDataPoints off 715 | SampleTime "2e-4" 716 | } 717 | Block { 718 | BlockType Terminator 719 | Name "Terminator1" 720 | Position [323, 305, 337, 315] 721 | Orientation "down" 722 | NamePlacement "alternate" 723 | ShowName off 724 | } 725 | Block { 726 | BlockType Terminator 727 | Name "Terminator2" 728 | Position [323, 465, 337, 475] 729 | Orientation "down" 730 | NamePlacement "alternate" 731 | ShowName off 732 | } 733 | Block { 734 | BlockType Terminator 735 | Name "Terminator3" 736 | Position [118, 465, 132, 475] 737 | Orientation "down" 738 | NamePlacement "alternate" 739 | ShowName off 740 | } 741 | Block { 742 | BlockType Terminator 743 | Name "Terminator4" 744 | Position [118, 305, 132, 315] 745 | Orientation "down" 746 | NamePlacement "alternate" 747 | ShowName off 748 | } 749 | Block { 750 | BlockType Reference 751 | Name "Ud" 752 | Ports [0, 0, 0, 0, 0, 1, 1] 753 | Position [45, 305, 75, 360] 754 | Orientation "up" 755 | NamePlacement "alternate" 756 | SourceBlock "powerlib/Electrical\nSources/DC Voltage Source" 757 | SourceType "DC Voltage Source" 758 | ShowPortLabels on 759 | Amplitude "100" 760 | Measurements "None" 761 | } 762 | Block { 763 | BlockType Reference 764 | Name "VT1" 765 | Ports [1, 1, 0, 0, 0, 1, 1] 766 | Position [115, 235, 155, 290] 767 | Orientation "down" 768 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 769 | SourceType "Mosfet" 770 | ShowPortLabels on 771 | Ron "0.01" 772 | Lon "1e-7" 773 | Rd ".01" 774 | IC "0" 775 | Rs "5" 776 | Cs "1e-6" 777 | Measurements on 778 | } 779 | Block { 780 | BlockType Reference 781 | Name "VT2" 782 | Ports [1, 1, 0, 0, 0, 1, 1] 783 | Position [115, 395, 155, 450] 784 | Orientation "down" 785 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 786 | SourceType "Mosfet" 787 | ShowPortLabels on 788 | Ron "0.01" 789 | Lon "1e-7" 790 | Rd ".01" 791 | IC "0" 792 | Rs "5" 793 | Cs "1e-6" 794 | Measurements on 795 | } 796 | Block { 797 | BlockType Reference 798 | Name "VT3" 799 | Ports [1, 1, 0, 0, 0, 1, 1] 800 | Position [320, 235, 360, 290] 801 | Orientation "down" 802 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 803 | SourceType "Mosfet" 804 | ShowPortLabels on 805 | Ron "0.01" 806 | Lon "1e-7" 807 | Rd ".01" 808 | IC "0" 809 | Rs "5" 810 | Cs "1e-6" 811 | Measurements on 812 | } 813 | Block { 814 | BlockType Reference 815 | Name "VT4" 816 | Ports [1, 1, 0, 0, 0, 1, 1] 817 | Position [320, 395, 360, 450] 818 | Orientation "down" 819 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 820 | SourceType "Mosfet" 821 | ShowPortLabels on 822 | Ron "0.01" 823 | Lon "1e-7" 824 | Rd ".01" 825 | IC "0" 826 | Rs "5" 827 | Cs "1e-6" 828 | Measurements on 829 | } 830 | Line { 831 | LineType "Connection" 832 | SrcBlock "VT4" 833 | SrcPort LConn1 834 | Points [0, 0; 0, -50] 835 | Branch { 836 | ConnectType "DEST_SRC" 837 | DstBlock "VT3" 838 | DstPort RConn1 839 | } 840 | Branch { 841 | ConnectType "DEST_DEST" 842 | SrcBlock "Load" 843 | SrcPort RConn1 844 | Points [65, 0] 845 | } 846 | } 847 | Line { 848 | LineType "Connection" 849 | SrcBlock "VT1" 850 | SrcPort RConn1 851 | Points [0, 0; 0, 25] 852 | Branch { 853 | ConnectType "DEST_SRC" 854 | DstBlock "VT2" 855 | DstPort LConn1 856 | } 857 | Branch { 858 | ConnectType "DEST_SRC" 859 | DstBlock "Load" 860 | DstPort LConn1 861 | } 862 | } 863 | Line { 864 | SrcBlock "Gate\nDrive1" 865 | SrcPort 1 866 | Points [10, 0] 867 | Branch { 868 | DstBlock "VT1" 869 | DstPort 1 870 | } 871 | Branch { 872 | Points [0, -40] 873 | DstBlock "Scope" 874 | DstPort 2 875 | } 876 | } 877 | Line { 878 | SrcBlock "Gate\nDrive2" 879 | SrcPort 1 880 | Points [10, 0] 881 | Branch { 882 | DstBlock "VT2" 883 | DstPort 1 884 | } 885 | Branch { 886 | Points [55, 0; 0, -175] 887 | DstBlock "Scope" 888 | DstPort 3 889 | } 890 | } 891 | Line { 892 | LineType "Connection" 893 | SrcBlock "VT4" 894 | SrcPort RConn1 895 | Points [0, 15; -205, 0] 896 | Branch { 897 | ConnectType "DEST_SRC" 898 | Points [-85, 0] 899 | DstBlock "Ud" 900 | DstPort LConn1 901 | } 902 | Branch { 903 | ConnectType "DEST_DEST" 904 | SrcBlock "VT2" 905 | SrcPort RConn1 906 | Points [0, 15] 907 | } 908 | } 909 | Line { 910 | LineType "Connection" 911 | SrcBlock "VT1" 912 | SrcPort LConn1 913 | Points [0, 5; 0, -35] 914 | Branch { 915 | ConnectType "DEST_SRC" 916 | Points [205, 0] 917 | DstBlock "VT3" 918 | DstPort LConn1 919 | } 920 | Branch { 921 | ConnectType "DEST_DEST" 922 | SrcBlock "Ud" 923 | SrcPort RConn1 924 | Points [0, -100; 85, 0] 925 | } 926 | } 927 | Line { 928 | SrcBlock "Multimeter" 929 | SrcPort 1 930 | Points [0, 5] 931 | DstBlock "Scope" 932 | DstPort 1 933 | } 934 | Line { 935 | SrcBlock "Gate\nDrive3" 936 | SrcPort 1 937 | Points [25, 0] 938 | Branch { 939 | DstBlock "VT3" 940 | DstPort 1 941 | } 942 | Branch { 943 | Points [155, 0] 944 | DstBlock "Scope" 945 | DstPort 4 946 | } 947 | } 948 | Line { 949 | SrcBlock "Gate\nDrive4" 950 | SrcPort 1 951 | Points [25, 0] 952 | Branch { 953 | DstBlock "VT4" 954 | DstPort 1 955 | } 956 | Branch { 957 | Points [75, 0; 0, -125] 958 | DstBlock "Scope" 959 | DstPort 5 960 | } 961 | } 962 | Line { 963 | SrcBlock "VT1" 964 | SrcPort 1 965 | DstBlock "Terminator4" 966 | DstPort 1 967 | } 968 | Line { 969 | SrcBlock "VT3" 970 | SrcPort 1 971 | DstBlock "Terminator1" 972 | DstPort 1 973 | } 974 | Line { 975 | SrcBlock "VT2" 976 | SrcPort 1 977 | DstBlock "Terminator3" 978 | DstPort 1 979 | } 980 | Line { 981 | SrcBlock "VT4" 982 | SrcPort 1 983 | DstBlock "Terminator2" 984 | DstPort 1 985 | } 986 | } 987 | } 988 | -------------------------------------------------------------------------------- /flyback.mdl: -------------------------------------------------------------------------------- 1 | Model { 2 | Name "flyback" 3 | Version 6.1 4 | MdlSubVersion 0 5 | GraphicalInterface { 6 | NumRootInports 0 7 | NumRootOutports 0 8 | ParameterArgumentNames "" 9 | ComputedModelVersion "1.76" 10 | NumModelReferences 0 11 | NumTestPointedSignals 0 12 | } 13 | SavedCharacterEncoding "ibm-1386_P100-2002" 14 | SaveDefaultBlockParams on 15 | SampleTimeColors off 16 | LibraryLinkDisplay "none" 17 | WideLines off 18 | ShowLineDimensions off 19 | ShowPortDataTypes off 20 | ShowLoopsOnError on 21 | IgnoreBidirectionalLines off 22 | ShowStorageClass off 23 | ShowTestPointIcons on 24 | ShowViewerIcons on 25 | SortedOrder off 26 | ExecutionContextIcon off 27 | ShowLinearizationAnnotations on 28 | RecordCoverage off 29 | CovPath "/" 30 | CovSaveName "covdata" 31 | CovMetricSettings "dw" 32 | CovNameIncrementing off 33 | CovHtmlReporting on 34 | covSaveCumulativeToWorkspaceVar on 35 | CovSaveSingleToWorkspaceVar on 36 | CovCumulativeVarName "covCumulativeData" 37 | CovCumulativeReport off 38 | CovReportOnPause on 39 | ScopeRefreshTime 0.035000 40 | OverrideScopeRefreshTime on 41 | DisableAllScopes off 42 | DataTypeOverride "UseLocalSettings" 43 | MinMaxOverflowLogging "UseLocalSettings" 44 | MinMaxOverflowArchiveMode "Overwrite" 45 | BlockNameDataTip off 46 | BlockParametersDataTip off 47 | BlockDescriptionStringDataTip off 48 | ToolBar on 49 | StatusBar on 50 | BrowserShowLibraryLinks off 51 | BrowserLookUnderMasks off 52 | Created "Thu Jan 21 20:44:19 2010" 53 | UpdateHistory "UpdateHistoryNever" 54 | ModifiedByFormat "%" 55 | LastModifiedBy "ThinkPad" 56 | ModifiedDateFormat "%" 57 | LastModifiedDate "Sun Jul 15 00:09:20 2012" 58 | ModelVersionFormat "1.%" 59 | ConfigurationManager "None" 60 | LinearizationMsg "none" 61 | Profile off 62 | ParamWorkspaceSource "MATLABWorkspace" 63 | AccelSystemTargetFile "accel.tlc" 64 | AccelTemplateMakefile "accel_default_tmf" 65 | AccelMakeCommand "make_rtw" 66 | TryForcingSFcnDF off 67 | ExtModeBatchMode off 68 | ExtModeEnableFloating on 69 | ExtModeTrigType "manual" 70 | ExtModeTrigMode "normal" 71 | ExtModeTrigPort "1" 72 | ExtModeTrigElement "any" 73 | ExtModeTrigDuration 1000 74 | ExtModeTrigDurationFloating "auto" 75 | ExtModeTrigHoldOff 0 76 | ExtModeTrigDelay 0 77 | ExtModeTrigDirection "rising" 78 | ExtModeTrigLevel 0 79 | ExtModeArchiveMode "off" 80 | ExtModeAutoIncOneShot off 81 | ExtModeIncDirWhenArm off 82 | ExtModeAddSuffixToVar off 83 | ExtModeWriteAllDataToWs off 84 | ExtModeArmWhenConnect on 85 | ExtModeSkipDownloadWhenConnect off 86 | ExtModeLogAll on 87 | ExtModeAutoUpdateStatusClock on 88 | BufferReuse on 89 | StrictBusMsg "None" 90 | ProdHWDeviceType "32-bit Generic" 91 | ShowModelReferenceBlockVersion off 92 | ShowModelReferenceBlockIO off 93 | Array { 94 | Type "Handle" 95 | Dimension 1 96 | Simulink.ConfigSet { 97 | $ObjectID 1 98 | Version "1.0.4" 99 | Array { 100 | Type "Handle" 101 | Dimension 7 102 | Simulink.SolverCC { 103 | $ObjectID 2 104 | Version "1.0.4" 105 | StartTime "0.0" 106 | StopTime "0.001" 107 | AbsTol ".01" 108 | FixedStep "auto" 109 | InitialStep "auto" 110 | MaxNumMinSteps "-1" 111 | MaxOrder 5 112 | ExtrapolationOrder 4 113 | NumberNewtonIterations 1 114 | MaxStep "1e-6" 115 | MinStep "auto" 116 | RelTol "1e-3" 117 | SolverMode "Auto" 118 | Solver "ode23tb" 119 | SolverName "ode23tb" 120 | ZeroCrossControl "UseLocalSettings" 121 | PositivePriorityOrder off 122 | AutoInsertRateTranBlk off 123 | SampleTimeConstraint "Unconstrained" 124 | RateTranMode "Deterministic" 125 | } 126 | Simulink.DataIOCC { 127 | $ObjectID 3 128 | Version "1.0.4" 129 | Decimation "1" 130 | ExternalInput "[t, u]" 131 | FinalStateName "xFinal" 132 | InitialState "xInitial" 133 | LimitDataPoints on 134 | MaxDataPoints "1000" 135 | LoadExternalInput off 136 | LoadInitialState off 137 | SaveFinalState off 138 | SaveFormat "Array" 139 | SaveOutput on 140 | SaveState off 141 | SignalLogging on 142 | SaveTime on 143 | StateSaveName "xout" 144 | TimeSaveName "tout" 145 | OutputSaveName "yout" 146 | SignalLoggingName "logsout" 147 | OutputOption "RefineOutputTimes" 148 | OutputTimes "[]" 149 | Refine "1" 150 | } 151 | Simulink.OptimizationCC { 152 | $ObjectID 4 153 | Array { 154 | Type "Cell" 155 | Dimension 5 156 | Cell "ZeroExternalMemoryAtStartup" 157 | Cell "ZeroInternalMemoryAtStartup" 158 | Cell "InitFltsAndDblsToZero" 159 | Cell "OptimizeModelRefInitCode" 160 | Cell "NoFixptDivByZeroProtection" 161 | PropName "DisabledProps" 162 | } 163 | Version "1.0.4" 164 | BlockReduction on 165 | BooleanDataType on 166 | ConditionallyExecuteInputs on 167 | ConditionalExecOptimization "on_for_testing" 168 | InlineParams off 169 | InlineInvariantSignals on 170 | OptimizeBlockIOStorage on 171 | BufferReuse on 172 | EnforceIntegerDowncast on 173 | ExpressionFolding on 174 | FoldNonRolledExpr on 175 | LocalBlockOutputs on 176 | ParameterPooling on 177 | RollThreshold 5 178 | SystemCodeInlineAuto off 179 | StateBitsets off 180 | DataBitsets off 181 | UseTempVars off 182 | ZeroExternalMemoryAtStartup on 183 | ZeroInternalMemoryAtStartup on 184 | InitFltsAndDblsToZero on 185 | NoFixptDivByZeroProtection off 186 | OptimizeModelRefInitCode off 187 | LifeSpan "inf" 188 | } 189 | Simulink.DebuggingCC { 190 | $ObjectID 5 191 | Version "1.0.4" 192 | RTPrefix "error" 193 | ConsistencyChecking "none" 194 | ArrayBoundsChecking "none" 195 | AlgebraicLoopMsg "warning" 196 | ArtificialAlgebraicLoopMsg "warning" 197 | CheckSSInitialOutputMsg on 198 | CheckExecutionContextPreStartOutputMsg off 199 | CheckExecutionContextRuntimeOutputMsg off 200 | SignalResolutionControl "TryResolveAllWithWarning" 201 | BlockPriorityViolationMsg "warning" 202 | MinStepSizeMsg "warning" 203 | SolverPrmCheckMsg "warning" 204 | InheritedTsInSrcMsg "warning" 205 | DiscreteInheritContinuousMsg "warning" 206 | MultiTaskDSMMsg "warning" 207 | MultiTaskRateTransMsg "error" 208 | SingleTaskRateTransMsg "none" 209 | TasksWithSamePriorityMsg "warning" 210 | CheckMatrixSingularityMsg "none" 211 | IntegerOverflowMsg "warning" 212 | Int32ToFloatConvMsg "warning" 213 | ParameterDowncastMsg "error" 214 | ParameterOverflowMsg "error" 215 | ParameterPrecisionLossMsg "warning" 216 | UnderSpecifiedDataTypeMsg "none" 217 | UnnecessaryDatatypeConvMsg "none" 218 | VectorMatrixConversionMsg "none" 219 | InvalidFcnCallConnMsg "error" 220 | FcnCallInpInsideContextMsg "Use local settings" 221 | SignalLabelMismatchMsg "none" 222 | UnconnectedInputMsg "warning" 223 | UnconnectedOutputMsg "warning" 224 | UnconnectedLineMsg "warning" 225 | SFcnCompatibilityMsg "none" 226 | UniqueDataStoreMsg "none" 227 | RootOutportRequireBusObject "warning" 228 | AssertControl "UseLocalSettings" 229 | EnableOverflowDetection off 230 | ModelReferenceIOMsg "none" 231 | ModelReferenceVersionMismatchMessage "none" 232 | ModelReferenceIOMismatchMessage "none" 233 | ModelReferenceCSMismatchMessage "none" 234 | ModelReferenceSimTargetVerbose off 235 | UnknownTsInhSupMsg "warning" 236 | ModelReferenceDataLoggingMessage "warning" 237 | ModelReferenceSymbolNameMessage "warning" 238 | } 239 | Simulink.HardwareCC { 240 | $ObjectID 6 241 | Version "1.0.4" 242 | ProdBitPerChar 8 243 | ProdBitPerShort 16 244 | ProdBitPerInt 32 245 | ProdBitPerLong 32 246 | ProdIntDivRoundTo "Undefined" 247 | ProdEndianess "Unspecified" 248 | ProdWordSize 32 249 | ProdShiftRightIntArith on 250 | ProdHWDeviceType "32-bit Generic" 251 | TargetBitPerChar 8 252 | TargetBitPerShort 16 253 | TargetBitPerInt 32 254 | TargetBitPerLong 32 255 | TargetShiftRightIntArith on 256 | TargetIntDivRoundTo "Undefined" 257 | TargetEndianess "Unspecified" 258 | TargetWordSize 32 259 | TargetTypeEmulationWarnSuppressLevel 0 260 | TargetPreprocMaxBitsSint 32 261 | TargetPreprocMaxBitsUint 32 262 | TargetHWDeviceType "Specified" 263 | TargetUnknown off 264 | ProdEqTarget on 265 | } 266 | Simulink.ModelReferenceCC { 267 | $ObjectID 7 268 | Version "1.0.4" 269 | UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" 270 | CheckModelReferenceTargetMessage "error" 271 | ModelReferenceNumInstancesAllowed "Multi" 272 | ModelReferencePassRootInputsByReference on 273 | ModelReferenceMinAlgLoopOccurrences off 274 | } 275 | Simulink.RTWCC { 276 | $BackupClass "Simulink.RTWCC" 277 | $ObjectID 8 278 | Array { 279 | Type "Cell" 280 | Dimension 1 281 | Cell "IncludeHyperlinkInReport" 282 | PropName "DisabledProps" 283 | } 284 | Version "1.0.4" 285 | SystemTargetFile "grt.tlc" 286 | GenCodeOnly off 287 | MakeCommand "make_rtw" 288 | TemplateMakefile "grt_default_tmf" 289 | GenerateReport off 290 | SaveLog off 291 | RTWVerbose on 292 | RetainRTWFile off 293 | ProfileTLC off 294 | TLCDebug off 295 | TLCCoverage off 296 | TLCAssert off 297 | ProcessScriptMode "Default" 298 | ConfigurationMode "Optimized" 299 | ConfigAtBuild off 300 | IncludeHyperlinkInReport off 301 | LaunchReport off 302 | Array { 303 | Type "Handle" 304 | Dimension 2 305 | Simulink.CodeAppCC { 306 | $ObjectID 9 307 | Array { 308 | Type "Cell" 309 | Dimension 9 310 | Cell "IgnoreCustomStorageClasses" 311 | Cell "InsertBlockDesc" 312 | Cell "SFDataObjDesc" 313 | Cell "SimulinkDataObjDesc" 314 | Cell "DefineNamingRule" 315 | Cell "SignalNamingRule" 316 | Cell "ParamNamingRule" 317 | Cell "InlinedPrmAccess" 318 | Cell "CustomSymbolStr" 319 | PropName "DisabledProps" 320 | } 321 | Version "1.0.4" 322 | ForceParamTrailComments off 323 | GenerateComments on 324 | IgnoreCustomStorageClasses on 325 | IncHierarchyInIds off 326 | MaxIdLength 31 327 | PreserveName off 328 | PreserveNameWithParent off 329 | ShowEliminatedStatement off 330 | IncAutoGenComments off 331 | SimulinkDataObjDesc off 332 | SFDataObjDesc off 333 | IncDataTypeInIds off 334 | PrefixModelToSubsysFcnNames on 335 | CustomSymbolStr "$R$N$M" 336 | MangleLength 1 337 | DefineNamingRule "None" 338 | ParamNamingRule "None" 339 | SignalNamingRule "None" 340 | InsertBlockDesc off 341 | SimulinkBlockComments on 342 | EnableCustomComments off 343 | InlinedPrmAccess "Literals" 344 | ReqsInCode off 345 | } 346 | Simulink.GRTTargetCC { 347 | $BackupClass "Simulink.TargetCC" 348 | $ObjectID 10 349 | Array { 350 | Type "Cell" 351 | Dimension 12 352 | Cell "IncludeMdlTerminateFcn" 353 | Cell "CombineOutputUpdateFcns" 354 | Cell "SuppressErrorStatus" 355 | Cell "ERTCustomFileBanners" 356 | Cell "GenerateSampleERTMain" 357 | Cell "MultiInstanceERTCode" 358 | Cell "PurelyIntegerCode" 359 | Cell "SupportNonFinite" 360 | Cell "SupportComplex" 361 | Cell "SupportAbsoluteTime" 362 | Cell "SupportContinuousTime" 363 | Cell "SupportNonInlinedSFcns" 364 | PropName "DisabledProps" 365 | } 366 | Version "1.0.4" 367 | TargetFcnLib "ansi_tfl_tmw.mat" 368 | GenFloatMathFcnCalls "ANSI_C" 369 | UtilityFuncGeneration "Auto" 370 | GenerateFullHeader on 371 | GenerateSampleERTMain off 372 | IsPILTarget off 373 | ModelReferenceCompliant on 374 | IncludeMdlTerminateFcn on 375 | CombineOutputUpdateFcns off 376 | SuppressErrorStatus off 377 | IncludeFileDelimiter "Auto" 378 | ERTCustomFileBanners off 379 | SupportAbsoluteTime on 380 | LogVarNameModifier "rt_" 381 | MatFileLogging on 382 | MultiInstanceERTCode off 383 | SupportNonFinite on 384 | SupportComplex on 385 | PurelyIntegerCode off 386 | SupportContinuousTime on 387 | SupportNonInlinedSFcns on 388 | ExtMode off 389 | ExtModeStaticAlloc off 390 | ExtModeTesting off 391 | ExtModeStaticAllocSize 1000000 392 | ExtModeTransport 0 393 | ExtModeMexFile "ext_comm" 394 | RTWCAPISignals off 395 | RTWCAPIParams off 396 | RTWCAPIStates off 397 | GenerateASAP2 off 398 | } 399 | PropName "Components" 400 | } 401 | } 402 | PropName "Components" 403 | } 404 | Name "Configuration" 405 | SimulationMode "normal" 406 | CurrentDlgPage "Solver" 407 | } 408 | PropName "ConfigurationSets" 409 | } 410 | Simulink.ConfigSet { 411 | $PropName "ActiveConfigurationSet" 412 | $ObjectID 1 413 | } 414 | BlockDefaults { 415 | Orientation "right" 416 | ForegroundColor "black" 417 | BackgroundColor "white" 418 | DropShadow off 419 | NamePlacement "normal" 420 | FontName "Helvetica" 421 | FontSize 10 422 | FontWeight "normal" 423 | FontAngle "normal" 424 | ShowName on 425 | } 426 | BlockParameterDefaults { 427 | Block { 428 | BlockType BusCreator 429 | Inputs "4" 430 | DisplayOption "none" 431 | BusObject "BusObject" 432 | NonVirtualBus off 433 | } 434 | Block { 435 | BlockType Constant 436 | Value "1" 437 | VectorParams1D on 438 | OutDataTypeMode "Inherit from 'Constant value'" 439 | OutDataType "sfix(16)" 440 | ConRadixGroup "Use specified scaling" 441 | OutScaling "2^0" 442 | SampleTime "inf" 443 | } 444 | Block { 445 | BlockType Demux 446 | Outputs "4" 447 | DisplayOption "none" 448 | BusSelectionMode off 449 | } 450 | Block { 451 | BlockType DiscretePulseGenerator 452 | PulseType "Sample based" 453 | TimeSource "Use simulation time" 454 | Amplitude "1" 455 | Period "2" 456 | PulseWidth "1" 457 | PhaseDelay "0" 458 | SampleTime "1" 459 | VectorParams1D on 460 | } 461 | Block { 462 | BlockType From 463 | IconDisplay "Tag" 464 | } 465 | Block { 466 | BlockType Goto 467 | IconDisplay "Tag" 468 | } 469 | Block { 470 | BlockType Inport 471 | BusObject "BusObject" 472 | BusOutputAsStruct off 473 | PortDimensions "-1" 474 | SampleTime "-1" 475 | DataType "auto" 476 | OutDataType "sfix(16)" 477 | OutScaling "2^0" 478 | SignalType "auto" 479 | SamplingMode "auto" 480 | Interpolate on 481 | } 482 | Block { 483 | BlockType Outport 484 | Port "1" 485 | BusObject "BusObject" 486 | BusOutputAsStruct off 487 | PortDimensions "-1" 488 | SampleTime "-1" 489 | DataType "auto" 490 | OutDataType "sfix(16)" 491 | OutScaling "2^0" 492 | SignalType "auto" 493 | SamplingMode "auto" 494 | OutputWhenDisabled "held" 495 | InitialOutput "[]" 496 | } 497 | Block { 498 | BlockType PMComponent 499 | SubClassName "unknown" 500 | } 501 | Block { 502 | BlockType PMIOPort 503 | } 504 | Block { 505 | BlockType Scope 506 | Floating off 507 | ModelBased off 508 | TickLabels "OneTimeTick" 509 | ZoomMode "on" 510 | Grid "on" 511 | TimeRange "auto" 512 | YMin "-5" 513 | YMax "5" 514 | SaveToWorkspace off 515 | SaveName "ScopeData" 516 | LimitDataPoints on 517 | MaxDataPoints "5000" 518 | Decimation "1" 519 | SampleInput off 520 | SampleTime "0" 521 | } 522 | Block { 523 | BlockType SubSystem 524 | ShowPortLabels on 525 | Permissions "ReadWrite" 526 | PermitHierarchicalResolution "All" 527 | SystemSampleTime "-1" 528 | RTWFcnNameOpts "Auto" 529 | RTWFileNameOpts "Auto" 530 | SimViewingDevice off 531 | DataTypeOverride "UseLocalSettings" 532 | MinMaxOverflowLogging "UseLocalSettings" 533 | } 534 | Block { 535 | BlockType Terminator 536 | } 537 | } 538 | AnnotationDefaults { 539 | HorizontalAlignment "center" 540 | VerticalAlignment "middle" 541 | ForegroundColor "black" 542 | BackgroundColor "white" 543 | DropShadow off 544 | FontName "Helvetica" 545 | FontSize 10 546 | FontWeight "normal" 547 | FontAngle "normal" 548 | } 549 | LineDefaults { 550 | FontName "Helvetica" 551 | FontSize 9 552 | FontWeight "normal" 553 | FontAngle "normal" 554 | } 555 | System { 556 | Name "flyback" 557 | Location [7, 84, 652, 774] 558 | Open on 559 | ModelBrowserVisibility off 560 | ModelBrowserWidth 200 561 | ScreenColor "white" 562 | PaperOrientation "landscape" 563 | PaperPositionMode "auto" 564 | PaperType "A4" 565 | PaperUnits "centimeters" 566 | ZoomFactor "100" 567 | ReportName "simulink-default.rpt" 568 | Block { 569 | BlockType Reference 570 | Name "C" 571 | Ports [0, 0, 0, 0, 0, 1, 1] 572 | Position [491, 220, 519, 265] 573 | Orientation "up" 574 | SourceBlock "powerlib/Elements/Series RLC Branch" 575 | SourceType "Series RLC Branch" 576 | PhysicalDomain "powersysdomain" 577 | SubClassName "unknown" 578 | LeftPortType "p1" 579 | RightPortType "p1" 580 | LConnTagsString "__new0" 581 | RConnTagsString "__new0" 582 | Resistance "0" 583 | Inductance "0" 584 | Capacitance "1e-5" 585 | Measurements "None" 586 | } 587 | Block { 588 | BlockType Reference 589 | Name "Current Measurement" 590 | Ports [0, 1, 0, 0, 0, 1, 1] 591 | Position [430, 173, 455, 197] 592 | SourceBlock "powerlib/Measurements/Current Measurement" 593 | SourceType "Current Measurement" 594 | ShowPortLabels on 595 | PhasorSimulation off 596 | OutputType "Complex" 597 | PSBequivalent "0" 598 | } 599 | Block { 600 | BlockType Demux 601 | Name "Demux" 602 | Ports [1, 2] 603 | Position [365, 380, 370, 440] 604 | BackgroundColor "black" 605 | ShowName off 606 | Outputs "2" 607 | DisplayOption "bar" 608 | } 609 | Block { 610 | BlockType DiscretePulseGenerator 611 | Name "Gate\nDrive" 612 | Ports [0, 1] 613 | Position [110, 349, 145, 371] 614 | ForegroundColor "blue" 615 | PulseType "Time based" 616 | Period "0.00005" 617 | PulseWidth "30" 618 | } 619 | Block { 620 | BlockType Reference 621 | Name "Linear Transformer" 622 | Ports [0, 0, 0, 0, 0, 2, 2] 623 | Position [215, 188, 290, 337] 624 | NamePlacement "alternate" 625 | SourceBlock "powerlib/Elements/Linear Transformer" 626 | SourceType "Linear Transformer" 627 | PhysicalDomain "powersysdomain" 628 | SubClassName "unknown" 629 | LeftPortType "p1" 630 | RightPortType "p1" 631 | LConnTagsString "a|b" 632 | RConnTagsString "A|B" 633 | NominalPower "[500 20e3 ] " 634 | winding1 "[ 100 0.002 0.00001 ]" 635 | winding2 "[ 100 0.002 0.00001 ]" 636 | ThreeWindings off 637 | winding3 "[ 100 0.005 0.001 ]" 638 | RmLm "[ 100 1]" 639 | Measurements "Magnetization current" 640 | } 641 | Block { 642 | BlockType Reference 643 | Name "Load" 644 | Ports [0, 0, 0, 0, 0, 1, 1] 645 | Position [531, 215, 559, 260] 646 | Orientation "down" 647 | SourceBlock "powerlib/Elements/Series RLC Branch" 648 | SourceType "Series RLC Branch" 649 | PhysicalDomain "powersysdomain" 650 | SubClassName "unknown" 651 | LeftPortType "p1" 652 | RightPortType "p1" 653 | LConnTagsString "__new0" 654 | RConnTagsString "__new0" 655 | Resistance "100" 656 | Inductance "0" 657 | Capacitance "inf" 658 | Measurements "Branch voltage" 659 | } 660 | Block { 661 | BlockType Reference 662 | Name "S" 663 | Ports [1, 1, 0, 0, 0, 1, 1] 664 | Position [155, 385, 195, 440] 665 | Orientation "down" 666 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 667 | SourceType "Mosfet" 668 | ShowPortLabels on 669 | Ron "0.01" 670 | Lon "1e-9" 671 | Rd ".01" 672 | IC "0" 673 | Rs "30" 674 | Cs "1e-9" 675 | Measurements on 676 | } 677 | Block { 678 | BlockType Scope 679 | Name "Scope" 680 | Ports [4] 681 | Position [475, 381, 565, 514] 682 | Location [661, 56, 1275, 793] 683 | Open on 684 | NumInputPorts "4" 685 | ZoomMode "xonly" 686 | List { 687 | ListType AxesTitles 688 | axes1 "i S" 689 | axes2 "i VD" 690 | axes3 "u S" 691 | axes4 "Output Voltage" 692 | } 693 | TimeRange "0.0005" 694 | YMin "0~0~0~0" 695 | YMax "20~20~300~200" 696 | DataFormat "StructureWithTime" 697 | SampleTime "2e-4" 698 | } 699 | Block { 700 | BlockType Reference 701 | Name "Ud" 702 | Ports [0, 0, 0, 0, 0, 1, 1] 703 | Position [55, 285, 85, 340] 704 | Orientation "up" 705 | NamePlacement "alternate" 706 | SourceBlock "powerlib/Electrical\nSources/DC Voltage Source" 707 | SourceType "DC Voltage Source" 708 | ShowPortLabels on 709 | Amplitude "100" 710 | Measurements "None" 711 | } 712 | Block { 713 | BlockType Reference 714 | Name "VD" 715 | Ports [0, 0, 0, 0, 0, 1, 1] 716 | Position [345, 165, 400, 205] 717 | SourceBlock "powerlib/Power\nElectronics/Diode" 718 | SourceType "Diode" 719 | ShowPortLabels on 720 | Ron "0.001" 721 | Lon "0" 722 | Vf "0" 723 | IC "0" 724 | Rs "100" 725 | Cs "1e-9" 726 | Measurements off 727 | } 728 | Block { 729 | BlockType Reference 730 | Name "Vo " 731 | Ports [0, 1, 0, 0, 0, 2] 732 | Position [600, 228, 625, 252] 733 | SourceBlock "powerlib/Measurements/Voltage Measurement" 734 | SourceType "Voltage Measurement" 735 | ShowPortLabels on 736 | PhasorSimulation off 737 | OutputType "Complex" 738 | PSBequivalent "0" 739 | } 740 | Line { 741 | LineType "Connection" 742 | SrcBlock "Ud" 743 | SrcPort LConn1 744 | Points [0, 125; 115, 0] 745 | DstBlock "S" 746 | DstPort RConn1 747 | } 748 | Line { 749 | LineType "Connection" 750 | SrcBlock "Linear Transformer" 751 | SrcPort LConn2 752 | Points [-15, 0] 753 | DstBlock "S" 754 | DstPort LConn1 755 | } 756 | Line { 757 | LineType "Connection" 758 | SrcBlock "Linear Transformer" 759 | SrcPort LConn1 760 | Points [-15, 0; 0, -50; -115, 0] 761 | DstBlock "Ud" 762 | DstPort RConn1 763 | } 764 | Line { 765 | SrcBlock "Gate\nDrive" 766 | SrcPort 1 767 | Points [15, 0] 768 | DstBlock "S" 769 | DstPort 1 770 | } 771 | Line { 772 | LineType "Connection" 773 | Points [505, 290; 40, 0] 774 | Branch { 775 | ConnectType "SRC_DEST" 776 | SrcBlock "Linear Transformer" 777 | SrcPort RConn1 778 | Points [35, 0; 0, 65; 165, 0] 779 | } 780 | Branch { 781 | ConnectType "SRC_SRC" 782 | DstBlock "C" 783 | DstPort LConn1 784 | } 785 | Branch { 786 | ConnectType "DEST_SRC" 787 | Points [40, 0] 788 | DstBlock "Vo " 789 | DstPort LConn2 790 | } 791 | Branch { 792 | ConnectType "DEST_DEST" 793 | SrcBlock "Load" 794 | SrcPort RConn1 795 | Points [0, 15] 796 | } 797 | } 798 | Line { 799 | LineType "Connection" 800 | Points [505, 190; 40, 0] 801 | Branch { 802 | ConnectType "SRC_DEST" 803 | SrcBlock "Current Measurement" 804 | SrcPort RConn1 805 | Points [0, 0; 35, 0] 806 | } 807 | Branch { 808 | ConnectType "SRC_DEST" 809 | SrcBlock "C" 810 | SrcPort RConn1 811 | Points [0, -15] 812 | } 813 | Branch { 814 | ConnectType "DEST_SRC" 815 | DstBlock "Load" 816 | DstPort LConn1 817 | } 818 | Branch { 819 | ConnectType "DEST_SRC" 820 | Points [40, 0] 821 | DstBlock "Vo " 822 | DstPort LConn1 823 | } 824 | } 825 | Line { 826 | LineType "Connection" 827 | SrcBlock "Linear Transformer" 828 | SrcPort RConn2 829 | Points [10, 0; 0, -115] 830 | DstBlock "VD" 831 | DstPort LConn1 832 | } 833 | Line { 834 | SrcBlock "S" 835 | SrcPort 1 836 | Points [0, 15; 120, 0; 0, -50] 837 | DstBlock "Demux" 838 | DstPort 1 839 | } 840 | Line { 841 | SrcBlock "Demux" 842 | SrcPort 1 843 | DstBlock "Scope" 844 | DstPort 1 845 | } 846 | Line { 847 | LineType "Connection" 848 | SrcBlock "Current Measurement" 849 | SrcPort LConn1 850 | DstBlock "VD" 851 | DstPort RConn1 852 | } 853 | Line { 854 | SrcBlock "Demux" 855 | SrcPort 2 856 | Points [35, 0; 0, 40] 857 | DstBlock "Scope" 858 | DstPort 3 859 | } 860 | Line { 861 | SrcBlock "Current Measurement" 862 | SrcPort 1 863 | Points [15, 0; 0, 150; -45, 0; 0, 100] 864 | DstBlock "Scope" 865 | DstPort 2 866 | } 867 | Line { 868 | SrcBlock "Vo " 869 | SrcPort 1 870 | Points [0, 315; -200, 0; 0, -55] 871 | DstBlock "Scope" 872 | DstPort 4 873 | } 874 | } 875 | } 876 | -------------------------------------------------------------------------------- /hb_inverter.mdl: -------------------------------------------------------------------------------- 1 | Model { 2 | Name "hb_inverter" 3 | Version 6.1 4 | MdlSubVersion 0 5 | GraphicalInterface { 6 | NumRootInports 0 7 | NumRootOutports 0 8 | ParameterArgumentNames "" 9 | ComputedModelVersion "1.64" 10 | NumModelReferences 0 11 | NumTestPointedSignals 0 12 | } 13 | SavedCharacterEncoding "ibm-1386_P100-2002" 14 | SaveDefaultBlockParams on 15 | SampleTimeColors off 16 | LibraryLinkDisplay "none" 17 | WideLines off 18 | ShowLineDimensions off 19 | ShowPortDataTypes off 20 | ShowLoopsOnError on 21 | IgnoreBidirectionalLines off 22 | ShowStorageClass off 23 | ShowTestPointIcons on 24 | ShowViewerIcons on 25 | SortedOrder off 26 | ExecutionContextIcon off 27 | ShowLinearizationAnnotations on 28 | RecordCoverage off 29 | CovPath "/" 30 | CovSaveName "covdata" 31 | CovMetricSettings "dw" 32 | CovNameIncrementing off 33 | CovHtmlReporting on 34 | covSaveCumulativeToWorkspaceVar on 35 | CovSaveSingleToWorkspaceVar on 36 | CovCumulativeVarName "covCumulativeData" 37 | CovCumulativeReport off 38 | CovReportOnPause on 39 | ScopeRefreshTime 0.035000 40 | OverrideScopeRefreshTime on 41 | DisableAllScopes off 42 | DataTypeOverride "UseLocalSettings" 43 | MinMaxOverflowLogging "UseLocalSettings" 44 | MinMaxOverflowArchiveMode "Overwrite" 45 | BlockNameDataTip off 46 | BlockParametersDataTip off 47 | BlockDescriptionStringDataTip off 48 | ToolBar on 49 | StatusBar on 50 | BrowserShowLibraryLinks off 51 | BrowserLookUnderMasks off 52 | Created "Thu Jan 21 20:44:19 2010" 53 | UpdateHistory "UpdateHistoryNever" 54 | ModifiedByFormat "%" 55 | LastModifiedBy "ThinkPad" 56 | ModifiedDateFormat "%" 57 | LastModifiedDate "Tue Jul 10 01:43:06 2012" 58 | ModelVersionFormat "1.%" 59 | ConfigurationManager "None" 60 | LinearizationMsg "none" 61 | Profile off 62 | ParamWorkspaceSource "MATLABWorkspace" 63 | AccelSystemTargetFile "accel.tlc" 64 | AccelTemplateMakefile "accel_default_tmf" 65 | AccelMakeCommand "make_rtw" 66 | TryForcingSFcnDF off 67 | ExtModeBatchMode off 68 | ExtModeEnableFloating on 69 | ExtModeTrigType "manual" 70 | ExtModeTrigMode "normal" 71 | ExtModeTrigPort "1" 72 | ExtModeTrigElement "any" 73 | ExtModeTrigDuration 1000 74 | ExtModeTrigDurationFloating "auto" 75 | ExtModeTrigHoldOff 0 76 | ExtModeTrigDelay 0 77 | ExtModeTrigDirection "rising" 78 | ExtModeTrigLevel 0 79 | ExtModeArchiveMode "off" 80 | ExtModeAutoIncOneShot off 81 | ExtModeIncDirWhenArm off 82 | ExtModeAddSuffixToVar off 83 | ExtModeWriteAllDataToWs off 84 | ExtModeArmWhenConnect on 85 | ExtModeSkipDownloadWhenConnect off 86 | ExtModeLogAll on 87 | ExtModeAutoUpdateStatusClock on 88 | BufferReuse on 89 | StrictBusMsg "None" 90 | ProdHWDeviceType "32-bit Generic" 91 | ShowModelReferenceBlockVersion off 92 | ShowModelReferenceBlockIO off 93 | Array { 94 | Type "Handle" 95 | Dimension 1 96 | Simulink.ConfigSet { 97 | $ObjectID 1 98 | Version "1.0.4" 99 | Array { 100 | Type "Handle" 101 | Dimension 7 102 | Simulink.SolverCC { 103 | $ObjectID 2 104 | Version "1.0.4" 105 | StartTime "0.0" 106 | StopTime "0.1499" 107 | AbsTol ".01" 108 | FixedStep "auto" 109 | InitialStep "auto" 110 | MaxNumMinSteps "-1" 111 | MaxOrder 5 112 | ExtrapolationOrder 4 113 | NumberNewtonIterations 1 114 | MaxStep "5e-5" 115 | MinStep "auto" 116 | RelTol "1e-3" 117 | SolverMode "Auto" 118 | Solver "ode23tb" 119 | SolverName "ode23tb" 120 | ZeroCrossControl "UseLocalSettings" 121 | PositivePriorityOrder off 122 | AutoInsertRateTranBlk off 123 | SampleTimeConstraint "Unconstrained" 124 | RateTranMode "Deterministic" 125 | } 126 | Simulink.DataIOCC { 127 | $ObjectID 3 128 | Version "1.0.4" 129 | Decimation "1" 130 | ExternalInput "[t, u]" 131 | FinalStateName "xFinal" 132 | InitialState "xInitial" 133 | LimitDataPoints on 134 | MaxDataPoints "1000" 135 | LoadExternalInput off 136 | LoadInitialState off 137 | SaveFinalState off 138 | SaveFormat "Array" 139 | SaveOutput on 140 | SaveState off 141 | SignalLogging on 142 | SaveTime on 143 | StateSaveName "xout" 144 | TimeSaveName "tout" 145 | OutputSaveName "yout" 146 | SignalLoggingName "logsout" 147 | OutputOption "RefineOutputTimes" 148 | OutputTimes "[]" 149 | Refine "1" 150 | } 151 | Simulink.OptimizationCC { 152 | $ObjectID 4 153 | Array { 154 | Type "Cell" 155 | Dimension 5 156 | Cell "ZeroExternalMemoryAtStartup" 157 | Cell "ZeroInternalMemoryAtStartup" 158 | Cell "InitFltsAndDblsToZero" 159 | Cell "OptimizeModelRefInitCode" 160 | Cell "NoFixptDivByZeroProtection" 161 | PropName "DisabledProps" 162 | } 163 | Version "1.0.4" 164 | BlockReduction on 165 | BooleanDataType on 166 | ConditionallyExecuteInputs on 167 | ConditionalExecOptimization "on_for_testing" 168 | InlineParams off 169 | InlineInvariantSignals on 170 | OptimizeBlockIOStorage on 171 | BufferReuse on 172 | EnforceIntegerDowncast on 173 | ExpressionFolding on 174 | FoldNonRolledExpr on 175 | LocalBlockOutputs on 176 | ParameterPooling on 177 | RollThreshold 5 178 | SystemCodeInlineAuto off 179 | StateBitsets off 180 | DataBitsets off 181 | UseTempVars off 182 | ZeroExternalMemoryAtStartup on 183 | ZeroInternalMemoryAtStartup on 184 | InitFltsAndDblsToZero on 185 | NoFixptDivByZeroProtection off 186 | OptimizeModelRefInitCode off 187 | LifeSpan "inf" 188 | } 189 | Simulink.DebuggingCC { 190 | $ObjectID 5 191 | Version "1.0.4" 192 | RTPrefix "error" 193 | ConsistencyChecking "none" 194 | ArrayBoundsChecking "none" 195 | AlgebraicLoopMsg "warning" 196 | ArtificialAlgebraicLoopMsg "warning" 197 | CheckSSInitialOutputMsg on 198 | CheckExecutionContextPreStartOutputMsg off 199 | CheckExecutionContextRuntimeOutputMsg off 200 | SignalResolutionControl "TryResolveAllWithWarning" 201 | BlockPriorityViolationMsg "warning" 202 | MinStepSizeMsg "warning" 203 | SolverPrmCheckMsg "warning" 204 | InheritedTsInSrcMsg "warning" 205 | DiscreteInheritContinuousMsg "warning" 206 | MultiTaskDSMMsg "warning" 207 | MultiTaskRateTransMsg "error" 208 | SingleTaskRateTransMsg "none" 209 | TasksWithSamePriorityMsg "warning" 210 | CheckMatrixSingularityMsg "none" 211 | IntegerOverflowMsg "warning" 212 | Int32ToFloatConvMsg "warning" 213 | ParameterDowncastMsg "error" 214 | ParameterOverflowMsg "error" 215 | ParameterPrecisionLossMsg "warning" 216 | UnderSpecifiedDataTypeMsg "none" 217 | UnnecessaryDatatypeConvMsg "none" 218 | VectorMatrixConversionMsg "none" 219 | InvalidFcnCallConnMsg "error" 220 | FcnCallInpInsideContextMsg "Use local settings" 221 | SignalLabelMismatchMsg "none" 222 | UnconnectedInputMsg "warning" 223 | UnconnectedOutputMsg "warning" 224 | UnconnectedLineMsg "warning" 225 | SFcnCompatibilityMsg "none" 226 | UniqueDataStoreMsg "none" 227 | RootOutportRequireBusObject "warning" 228 | AssertControl "UseLocalSettings" 229 | EnableOverflowDetection off 230 | ModelReferenceIOMsg "none" 231 | ModelReferenceVersionMismatchMessage "none" 232 | ModelReferenceIOMismatchMessage "none" 233 | ModelReferenceCSMismatchMessage "none" 234 | ModelReferenceSimTargetVerbose off 235 | UnknownTsInhSupMsg "warning" 236 | ModelReferenceDataLoggingMessage "warning" 237 | ModelReferenceSymbolNameMessage "warning" 238 | } 239 | Simulink.HardwareCC { 240 | $ObjectID 6 241 | Version "1.0.4" 242 | ProdBitPerChar 8 243 | ProdBitPerShort 16 244 | ProdBitPerInt 32 245 | ProdBitPerLong 32 246 | ProdIntDivRoundTo "Undefined" 247 | ProdEndianess "Unspecified" 248 | ProdWordSize 32 249 | ProdShiftRightIntArith on 250 | ProdHWDeviceType "32-bit Generic" 251 | TargetBitPerChar 8 252 | TargetBitPerShort 16 253 | TargetBitPerInt 32 254 | TargetBitPerLong 32 255 | TargetShiftRightIntArith on 256 | TargetIntDivRoundTo "Undefined" 257 | TargetEndianess "Unspecified" 258 | TargetWordSize 32 259 | TargetTypeEmulationWarnSuppressLevel 0 260 | TargetPreprocMaxBitsSint 32 261 | TargetPreprocMaxBitsUint 32 262 | TargetHWDeviceType "Specified" 263 | TargetUnknown off 264 | ProdEqTarget on 265 | } 266 | Simulink.ModelReferenceCC { 267 | $ObjectID 7 268 | Version "1.0.4" 269 | UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" 270 | CheckModelReferenceTargetMessage "error" 271 | ModelReferenceNumInstancesAllowed "Multi" 272 | ModelReferencePassRootInputsByReference on 273 | ModelReferenceMinAlgLoopOccurrences off 274 | } 275 | Simulink.RTWCC { 276 | $BackupClass "Simulink.RTWCC" 277 | $ObjectID 8 278 | Array { 279 | Type "Cell" 280 | Dimension 1 281 | Cell "IncludeHyperlinkInReport" 282 | PropName "DisabledProps" 283 | } 284 | Version "1.0.4" 285 | SystemTargetFile "grt.tlc" 286 | GenCodeOnly off 287 | MakeCommand "make_rtw" 288 | TemplateMakefile "grt_default_tmf" 289 | GenerateReport off 290 | SaveLog off 291 | RTWVerbose on 292 | RetainRTWFile off 293 | ProfileTLC off 294 | TLCDebug off 295 | TLCCoverage off 296 | TLCAssert off 297 | ProcessScriptMode "Default" 298 | ConfigurationMode "Optimized" 299 | ConfigAtBuild off 300 | IncludeHyperlinkInReport off 301 | LaunchReport off 302 | Array { 303 | Type "Handle" 304 | Dimension 2 305 | Simulink.CodeAppCC { 306 | $ObjectID 9 307 | Array { 308 | Type "Cell" 309 | Dimension 9 310 | Cell "IgnoreCustomStorageClasses" 311 | Cell "InsertBlockDesc" 312 | Cell "SFDataObjDesc" 313 | Cell "SimulinkDataObjDesc" 314 | Cell "DefineNamingRule" 315 | Cell "SignalNamingRule" 316 | Cell "ParamNamingRule" 317 | Cell "InlinedPrmAccess" 318 | Cell "CustomSymbolStr" 319 | PropName "DisabledProps" 320 | } 321 | Version "1.0.4" 322 | ForceParamTrailComments off 323 | GenerateComments on 324 | IgnoreCustomStorageClasses on 325 | IncHierarchyInIds off 326 | MaxIdLength 31 327 | PreserveName off 328 | PreserveNameWithParent off 329 | ShowEliminatedStatement off 330 | IncAutoGenComments off 331 | SimulinkDataObjDesc off 332 | SFDataObjDesc off 333 | IncDataTypeInIds off 334 | PrefixModelToSubsysFcnNames on 335 | CustomSymbolStr "$R$N$M" 336 | MangleLength 1 337 | DefineNamingRule "None" 338 | ParamNamingRule "None" 339 | SignalNamingRule "None" 340 | InsertBlockDesc off 341 | SimulinkBlockComments on 342 | EnableCustomComments off 343 | InlinedPrmAccess "Literals" 344 | ReqsInCode off 345 | } 346 | Simulink.GRTTargetCC { 347 | $BackupClass "Simulink.TargetCC" 348 | $ObjectID 10 349 | Array { 350 | Type "Cell" 351 | Dimension 12 352 | Cell "IncludeMdlTerminateFcn" 353 | Cell "CombineOutputUpdateFcns" 354 | Cell "SuppressErrorStatus" 355 | Cell "ERTCustomFileBanners" 356 | Cell "GenerateSampleERTMain" 357 | Cell "MultiInstanceERTCode" 358 | Cell "PurelyIntegerCode" 359 | Cell "SupportNonFinite" 360 | Cell "SupportComplex" 361 | Cell "SupportAbsoluteTime" 362 | Cell "SupportContinuousTime" 363 | Cell "SupportNonInlinedSFcns" 364 | PropName "DisabledProps" 365 | } 366 | Version "1.0.4" 367 | TargetFcnLib "ansi_tfl_tmw.mat" 368 | GenFloatMathFcnCalls "ANSI_C" 369 | UtilityFuncGeneration "Auto" 370 | GenerateFullHeader on 371 | GenerateSampleERTMain off 372 | IsPILTarget off 373 | ModelReferenceCompliant on 374 | IncludeMdlTerminateFcn on 375 | CombineOutputUpdateFcns off 376 | SuppressErrorStatus off 377 | IncludeFileDelimiter "Auto" 378 | ERTCustomFileBanners off 379 | SupportAbsoluteTime on 380 | LogVarNameModifier "rt_" 381 | MatFileLogging on 382 | MultiInstanceERTCode off 383 | SupportNonFinite on 384 | SupportComplex on 385 | PurelyIntegerCode off 386 | SupportContinuousTime on 387 | SupportNonInlinedSFcns on 388 | ExtMode off 389 | ExtModeStaticAlloc off 390 | ExtModeTesting off 391 | ExtModeStaticAllocSize 1000000 392 | ExtModeTransport 0 393 | ExtModeMexFile "ext_comm" 394 | RTWCAPISignals off 395 | RTWCAPIParams off 396 | RTWCAPIStates off 397 | GenerateASAP2 off 398 | } 399 | PropName "Components" 400 | } 401 | } 402 | PropName "Components" 403 | } 404 | Name "Configuration" 405 | SimulationMode "normal" 406 | CurrentDlgPage "Solver" 407 | } 408 | PropName "ConfigurationSets" 409 | } 410 | Simulink.ConfigSet { 411 | $PropName "ActiveConfigurationSet" 412 | $ObjectID 1 413 | } 414 | BlockDefaults { 415 | Orientation "right" 416 | ForegroundColor "black" 417 | BackgroundColor "white" 418 | DropShadow off 419 | NamePlacement "normal" 420 | FontName "Helvetica" 421 | FontSize 10 422 | FontWeight "normal" 423 | FontAngle "normal" 424 | ShowName on 425 | } 426 | BlockParameterDefaults { 427 | Block { 428 | BlockType BusCreator 429 | Inputs "4" 430 | DisplayOption "none" 431 | BusObject "BusObject" 432 | NonVirtualBus off 433 | } 434 | Block { 435 | BlockType Constant 436 | Value "1" 437 | VectorParams1D on 438 | OutDataTypeMode "Inherit from 'Constant value'" 439 | OutDataType "sfix(16)" 440 | ConRadixGroup "Use specified scaling" 441 | OutScaling "2^0" 442 | SampleTime "inf" 443 | } 444 | Block { 445 | BlockType Demux 446 | Outputs "4" 447 | DisplayOption "none" 448 | BusSelectionMode off 449 | } 450 | Block { 451 | BlockType DiscretePulseGenerator 452 | PulseType "Sample based" 453 | TimeSource "Use simulation time" 454 | Amplitude "1" 455 | Period "2" 456 | PulseWidth "1" 457 | PhaseDelay "0" 458 | SampleTime "1" 459 | VectorParams1D on 460 | } 461 | Block { 462 | BlockType From 463 | IconDisplay "Tag" 464 | } 465 | Block { 466 | BlockType Goto 467 | IconDisplay "Tag" 468 | } 469 | Block { 470 | BlockType Inport 471 | BusObject "BusObject" 472 | BusOutputAsStruct off 473 | PortDimensions "-1" 474 | SampleTime "-1" 475 | DataType "auto" 476 | OutDataType "sfix(16)" 477 | OutScaling "2^0" 478 | SignalType "auto" 479 | SamplingMode "auto" 480 | Interpolate on 481 | } 482 | Block { 483 | BlockType Outport 484 | Port "1" 485 | BusObject "BusObject" 486 | BusOutputAsStruct off 487 | PortDimensions "-1" 488 | SampleTime "-1" 489 | DataType "auto" 490 | OutDataType "sfix(16)" 491 | OutScaling "2^0" 492 | SignalType "auto" 493 | SamplingMode "auto" 494 | OutputWhenDisabled "held" 495 | InitialOutput "[]" 496 | } 497 | Block { 498 | BlockType PMComponent 499 | SubClassName "unknown" 500 | } 501 | Block { 502 | BlockType PMIOPort 503 | } 504 | Block { 505 | BlockType Scope 506 | Floating off 507 | ModelBased off 508 | TickLabels "OneTimeTick" 509 | ZoomMode "on" 510 | Grid "on" 511 | TimeRange "auto" 512 | YMin "-5" 513 | YMax "5" 514 | SaveToWorkspace off 515 | SaveName "ScopeData" 516 | LimitDataPoints on 517 | MaxDataPoints "5000" 518 | Decimation "1" 519 | SampleInput off 520 | SampleTime "0" 521 | } 522 | Block { 523 | BlockType SubSystem 524 | ShowPortLabels on 525 | Permissions "ReadWrite" 526 | PermitHierarchicalResolution "All" 527 | SystemSampleTime "-1" 528 | RTWFcnNameOpts "Auto" 529 | RTWFileNameOpts "Auto" 530 | SimViewingDevice off 531 | DataTypeOverride "UseLocalSettings" 532 | MinMaxOverflowLogging "UseLocalSettings" 533 | } 534 | Block { 535 | BlockType Terminator 536 | } 537 | } 538 | AnnotationDefaults { 539 | HorizontalAlignment "center" 540 | VerticalAlignment "middle" 541 | ForegroundColor "black" 542 | BackgroundColor "white" 543 | DropShadow off 544 | FontName "Helvetica" 545 | FontSize 10 546 | FontWeight "normal" 547 | FontAngle "normal" 548 | } 549 | LineDefaults { 550 | FontName "Helvetica" 551 | FontSize 9 552 | FontWeight "normal" 553 | FontAngle "normal" 554 | } 555 | System { 556 | Name "hb_inverter" 557 | Location [7, 84, 625, 774] 558 | Open on 559 | ModelBrowserVisibility off 560 | ModelBrowserWidth 200 561 | ScreenColor "white" 562 | PaperOrientation "landscape" 563 | PaperPositionMode "auto" 564 | PaperType "A4" 565 | PaperUnits "centimeters" 566 | ZoomFactor "100" 567 | ReportName "simulink-default.rpt" 568 | Block { 569 | BlockType DiscretePulseGenerator 570 | Name "Gate\nDrive1" 571 | Ports [0, 1] 572 | Position [240, 208, 275, 232] 573 | ForegroundColor "blue" 574 | PulseType "Time based" 575 | Period "0.02" 576 | PulseWidth "49.5" 577 | } 578 | Block { 579 | BlockType DiscretePulseGenerator 580 | Name "Gate\nDrive2" 581 | Ports [0, 1] 582 | Position [240, 364, 275, 386] 583 | ForegroundColor "blue" 584 | PulseType "Time based" 585 | Period "0.02" 586 | PulseWidth "49.5" 587 | PhaseDelay "0.01" 588 | } 589 | Block { 590 | BlockType Reference 591 | Name "Load" 592 | Ports [0, 0, 0, 0, 0, 1, 1] 593 | Position [145, 316, 215, 344] 594 | Orientation "left" 595 | NamePlacement "alternate" 596 | SourceBlock "powerlib/Elements/Series RLC Branch" 597 | SourceType "Series RLC Branch" 598 | PhysicalDomain "powersysdomain" 599 | SubClassName "unknown" 600 | LeftPortType "p1" 601 | RightPortType "p1" 602 | LConnTagsString "__new0" 603 | RConnTagsString "__new0" 604 | Resistance "1" 605 | Inductance "0.01" 606 | Capacitance "inf" 607 | Measurements "None" 608 | } 609 | Block { 610 | BlockType Scope 611 | Name "Scope" 612 | Ports [3] 613 | Position [515, 137, 580, 253] 614 | Location [634, 57, 1275, 794] 615 | Open on 616 | NumInputPorts "3" 617 | List { 618 | ListType AxesTitles 619 | axes1 "Load current" 620 | axes2 "Load Voltage" 621 | axes3 "Current /Voltage of VT1" 622 | } 623 | TimeRange "0.05" 624 | YMin "-100~-200~-50" 625 | YMax "100~200~250" 626 | DataFormat "StructureWithTime" 627 | SampleTime "2e-4" 628 | } 629 | Block { 630 | BlockType Terminator 631 | Name "Terminator4" 632 | Position [293, 475, 307, 485] 633 | Orientation "down" 634 | NamePlacement "alternate" 635 | ShowName off 636 | } 637 | Block { 638 | BlockType Reference 639 | Name "Ud1" 640 | Ports [0, 0, 0, 0, 0, 1, 1] 641 | Position [100, 225, 130, 280] 642 | Orientation "up" 643 | NamePlacement "alternate" 644 | SourceBlock "powerlib/Electrical\nSources/DC Voltage Source" 645 | SourceType "DC Voltage Source" 646 | ShowPortLabels on 647 | Amplitude "100" 648 | Measurements "None" 649 | } 650 | Block { 651 | BlockType Reference 652 | Name "Ud2" 653 | Ports [0, 0, 0, 0, 0, 1, 1] 654 | Position [100, 390, 130, 445] 655 | Orientation "up" 656 | NamePlacement "alternate" 657 | SourceBlock "powerlib/Electrical\nSources/DC Voltage Source" 658 | SourceType "DC Voltage Source" 659 | ShowPortLabels on 660 | Amplitude "100" 661 | Measurements "None" 662 | } 663 | Block { 664 | BlockType Reference 665 | Name "VT1" 666 | Ports [1, 1, 0, 0, 0, 1, 1] 667 | Position [290, 235, 330, 290] 668 | Orientation "down" 669 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 670 | SourceType "Mosfet" 671 | ShowPortLabels on 672 | Ron "0.01" 673 | Lon "1e-6" 674 | Rd ".01" 675 | IC "0" 676 | Rs "10" 677 | Cs "1e-6" 678 | Measurements on 679 | } 680 | Block { 681 | BlockType Reference 682 | Name "VT2" 683 | Ports [1, 1, 0, 0, 0, 1, 1] 684 | Position [290, 400, 330, 455] 685 | Orientation "down" 686 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 687 | SourceType "Mosfet" 688 | ShowPortLabels on 689 | Ron "0.01" 690 | Lon "1e-6" 691 | Rd ".01" 692 | IC "0" 693 | Rs "10" 694 | Cs "1e-6" 695 | Measurements on 696 | } 697 | Block { 698 | BlockType Reference 699 | Name "Vo" 700 | Ports [0, 1, 0, 0, 0, 2] 701 | Position [400, 318, 425, 342] 702 | SourceBlock "powerlib/Measurements/Voltage Measurement" 703 | SourceType "Voltage Measurement" 704 | ShowPortLabels on 705 | PhasorSimulation off 706 | OutputType "Complex" 707 | PSBequivalent "0" 708 | } 709 | Block { 710 | BlockType Reference 711 | Name "io" 712 | Ports [0, 1, 0, 0, 0, 1, 1] 713 | Position [250, 313, 275, 337] 714 | Orientation "left" 715 | NamePlacement "alternate" 716 | SourceBlock "powerlib/Measurements/Current Measurement" 717 | SourceType "Current Measurement" 718 | ShowPortLabels on 719 | PhasorSimulation off 720 | OutputType "Complex" 721 | PSBequivalent "0" 722 | } 723 | Line { 724 | SrcBlock "Vo" 725 | SrcPort 1 726 | Points [0, -135] 727 | DstBlock "Scope" 728 | DstPort 2 729 | } 730 | Line { 731 | LineType "Connection" 732 | SrcBlock "Ud2" 733 | SrcPort LConn1 734 | Points [0, 35; 205, 0] 735 | DstBlock "VT2" 736 | DstPort RConn1 737 | } 738 | Line { 739 | LineType "Connection" 740 | Points [320, 325; 0, 60] 741 | DstBlock "VT2" 742 | DstPort LConn1 743 | Branch { 744 | ConnectType "SRC_SRC" 745 | DstBlock "io" 746 | DstPort LConn1 747 | } 748 | Branch { 749 | ConnectType "SRC_SRC" 750 | DstBlock "Vo" 751 | DstPort LConn1 752 | } 753 | Branch { 754 | ConnectType "SRC_DEST" 755 | SrcBlock "VT1" 756 | SrcPort RConn1 757 | Points [0, 20] 758 | } 759 | } 760 | Line { 761 | LineType "Connection" 762 | SrcBlock "Ud1" 763 | SrcPort RConn1 764 | Points [0, -20; 205, 0] 765 | DstBlock "VT1" 766 | DstPort LConn1 767 | } 768 | Line { 769 | LineType "Connection" 770 | SrcBlock "Vo" 771 | SrcPort LConn2 772 | Points [0, 10; -270, 0] 773 | Branch { 774 | ConnectType "DEST_SRC" 775 | Points [0, -5; 0, -10] 776 | Branch { 777 | ConnectType "DEST_DEST" 778 | SrcBlock "Load" 779 | SrcPort RConn1 780 | Points [0, 0; -15, 0] 781 | } 782 | Branch { 783 | ConnectType "DEST_SRC" 784 | DstBlock "Ud1" 785 | DstPort LConn1 786 | } 787 | } 788 | Branch { 789 | ConnectType "DEST_DEST" 790 | SrcBlock "Ud2" 791 | SrcPort RConn1 792 | Points [0, -30] 793 | } 794 | } 795 | Line { 796 | SrcBlock "Gate\nDrive2" 797 | SrcPort 1 798 | Points [20, 0] 799 | DstBlock "VT2" 800 | DstPort 1 801 | } 802 | Line { 803 | SrcBlock "Gate\nDrive1" 804 | SrcPort 1 805 | DstBlock "VT1" 806 | DstPort 1 807 | } 808 | Line { 809 | LineType "Connection" 810 | SrcBlock "io" 811 | SrcPort RConn1 812 | DstBlock "Load" 813 | DstPort LConn1 814 | } 815 | Line { 816 | SrcBlock "io" 817 | SrcPort 1 818 | Points [-20, 0; 0, -165] 819 | DstBlock "Scope" 820 | DstPort 1 821 | } 822 | Line { 823 | SrcBlock "VT1" 824 | SrcPort 1 825 | Points [0, 15; 185, 0; 0, -75] 826 | DstBlock "Scope" 827 | DstPort 3 828 | } 829 | Line { 830 | SrcBlock "VT2" 831 | SrcPort 1 832 | DstBlock "Terminator4" 833 | DstPort 1 834 | } 835 | } 836 | } 837 | -------------------------------------------------------------------------------- /resonant_dc_link.mdl: -------------------------------------------------------------------------------- 1 | # $Revision: 1.1.6.2 $ 2 | Model { 3 | Name "resonant_dc_link" 4 | Version 6.1 5 | MdlSubVersion 0 6 | GraphicalInterface { 7 | NumRootInports 0 8 | NumRootOutports 0 9 | ParameterArgumentNames "" 10 | ComputedModelVersion "1.32" 11 | NumModelReferences 0 12 | NumTestPointedSignals 0 13 | } 14 | SavedCharacterEncoding "US-ASCII" 15 | SaveDefaultBlockParams on 16 | SampleTimeColors off 17 | LibraryLinkDisplay "none" 18 | WideLines off 19 | ShowLineDimensions off 20 | ShowPortDataTypes off 21 | ShowLoopsOnError on 22 | IgnoreBidirectionalLines off 23 | ShowStorageClass off 24 | ShowTestPointIcons on 25 | ShowViewerIcons on 26 | SortedOrder off 27 | ExecutionContextIcon off 28 | ShowLinearizationAnnotations on 29 | RecordCoverage off 30 | CovPath "/" 31 | CovSaveName "covdata" 32 | CovMetricSettings "dw" 33 | CovNameIncrementing off 34 | CovHtmlReporting on 35 | covSaveCumulativeToWorkspaceVar on 36 | CovSaveSingleToWorkspaceVar on 37 | CovCumulativeVarName "covCumulativeData" 38 | CovCumulativeReport off 39 | CovReportOnPause on 40 | ScopeRefreshTime 0.035000 41 | OverrideScopeRefreshTime on 42 | DisableAllScopes off 43 | DataTypeOverride "UseLocalSettings" 44 | MinMaxOverflowLogging "UseLocalSettings" 45 | MinMaxOverflowArchiveMode "Overwrite" 46 | BlockNameDataTip off 47 | BlockParametersDataTip on 48 | BlockDescriptionStringDataTip off 49 | ToolBar on 50 | StatusBar on 51 | BrowserShowLibraryLinks off 52 | BrowserLookUnderMasks off 53 | Created "Sun Sep 12 06:20:38 1999" 54 | Creator "dkennedy" 55 | UpdateHistory "UpdateHistoryNever" 56 | ModifiedByFormat "%" 57 | LastModifiedBy "ThinkPad" 58 | ModifiedDateFormat "%" 59 | LastModifiedDate "Mon Jul 30 06:14:40 2012" 60 | ModelVersionFormat "1.%" 61 | ConfigurationManager "none" 62 | LinearizationMsg "none" 63 | Profile off 64 | ParamWorkspaceSource "MATLABWorkspace" 65 | AccelSystemTargetFile "accel.tlc" 66 | AccelTemplateMakefile "accel_default_tmf" 67 | AccelMakeCommand "make_rtw" 68 | TryForcingSFcnDF off 69 | ExtModeBatchMode off 70 | ExtModeEnableFloating on 71 | ExtModeTrigType "manual" 72 | ExtModeTrigMode "oneshot" 73 | ExtModeTrigPort "1" 74 | ExtModeTrigElement "any" 75 | ExtModeTrigDuration 1000 76 | ExtModeTrigDurationFloating "auto" 77 | ExtModeTrigHoldOff 0 78 | ExtModeTrigDelay 0 79 | ExtModeTrigDirection "rising" 80 | ExtModeTrigLevel 0 81 | ExtModeArchiveMode "off" 82 | ExtModeAutoIncOneShot off 83 | ExtModeIncDirWhenArm off 84 | ExtModeAddSuffixToVar off 85 | ExtModeWriteAllDataToWs off 86 | ExtModeArmWhenConnect off 87 | ExtModeSkipDownloadWhenConnect off 88 | ExtModeLogAll on 89 | ExtModeAutoUpdateStatusClock off 90 | BufferReuse on 91 | StrictBusMsg "None" 92 | ProdHWDeviceType "32-bit Generic" 93 | ShowModelReferenceBlockVersion off 94 | ShowModelReferenceBlockIO off 95 | Array { 96 | Type "Handle" 97 | Dimension 1 98 | Simulink.ConfigSet { 99 | $ObjectID 1 100 | Version "1.0.4" 101 | Array { 102 | Type "Handle" 103 | Dimension 7 104 | Simulink.SolverCC { 105 | $ObjectID 2 106 | Version "1.0.4" 107 | StartTime "0.0" 108 | StopTime "1e-3" 109 | AbsTol "1e-4" 110 | FixedStep "auto" 111 | InitialStep "auto" 112 | MaxNumMinSteps "-1" 113 | MaxOrder 5 114 | ExtrapolationOrder 4 115 | NumberNewtonIterations 1 116 | MaxStep "1e-7" 117 | MinStep "auto" 118 | RelTol "1e-4" 119 | SolverMode "Auto" 120 | Solver "ode23tb" 121 | SolverName "ode23tb" 122 | ZeroCrossControl "UseLocalSettings" 123 | PositivePriorityOrder off 124 | AutoInsertRateTranBlk off 125 | SampleTimeConstraint "Unconstrained" 126 | RateTranMode "Deterministic" 127 | } 128 | Simulink.DataIOCC { 129 | $ObjectID 3 130 | Version "1.0.4" 131 | Decimation "1" 132 | ExternalInput "[t, u]" 133 | FinalStateName "xFinal" 134 | InitialState "xInitial" 135 | LimitDataPoints off 136 | MaxDataPoints "1000" 137 | LoadExternalInput off 138 | LoadInitialState off 139 | SaveFinalState off 140 | SaveFormat "Array" 141 | SaveOutput on 142 | SaveState off 143 | SignalLogging on 144 | SaveTime on 145 | StateSaveName "xout" 146 | TimeSaveName "tout" 147 | OutputSaveName "yout" 148 | SignalLoggingName "sigsOut" 149 | OutputOption "RefineOutputTimes" 150 | OutputTimes "[]" 151 | Refine "1" 152 | } 153 | Simulink.OptimizationCC { 154 | $ObjectID 4 155 | Array { 156 | Type "Cell" 157 | Dimension 5 158 | Cell "ZeroExternalMemoryAtStartup" 159 | Cell "ZeroInternalMemoryAtStartup" 160 | Cell "InitFltsAndDblsToZero" 161 | Cell "OptimizeModelRefInitCode" 162 | Cell "NoFixptDivByZeroProtection" 163 | PropName "DisabledProps" 164 | } 165 | Version "1.0.4" 166 | BlockReduction off 167 | BooleanDataType off 168 | ConditionallyExecuteInputs on 169 | ConditionalExecOptimization "on_for_testing" 170 | InlineParams off 171 | InlineInvariantSignals on 172 | OptimizeBlockIOStorage on 173 | BufferReuse on 174 | EnforceIntegerDowncast on 175 | ExpressionFolding on 176 | FoldNonRolledExpr on 177 | LocalBlockOutputs on 178 | ParameterPooling on 179 | RollThreshold 5 180 | SystemCodeInlineAuto off 181 | StateBitsets off 182 | DataBitsets off 183 | UseTempVars off 184 | ZeroExternalMemoryAtStartup on 185 | ZeroInternalMemoryAtStartup on 186 | InitFltsAndDblsToZero on 187 | NoFixptDivByZeroProtection off 188 | OptimizeModelRefInitCode off 189 | LifeSpan "inf" 190 | } 191 | Simulink.DebuggingCC { 192 | $ObjectID 5 193 | Version "1.0.4" 194 | RTPrefix "error" 195 | ConsistencyChecking "none" 196 | ArrayBoundsChecking "none" 197 | AlgebraicLoopMsg "warning" 198 | ArtificialAlgebraicLoopMsg "warning" 199 | CheckSSInitialOutputMsg on 200 | CheckExecutionContextPreStartOutputMsg off 201 | CheckExecutionContextRuntimeOutputMsg off 202 | SignalResolutionControl "TryResolveAllWithWarning" 203 | BlockPriorityViolationMsg "warning" 204 | MinStepSizeMsg "warning" 205 | SolverPrmCheckMsg "none" 206 | InheritedTsInSrcMsg "warning" 207 | DiscreteInheritContinuousMsg "warning" 208 | MultiTaskDSMMsg "warning" 209 | MultiTaskRateTransMsg "error" 210 | SingleTaskRateTransMsg "none" 211 | TasksWithSamePriorityMsg "warning" 212 | CheckMatrixSingularityMsg "none" 213 | IntegerOverflowMsg "warning" 214 | Int32ToFloatConvMsg "warning" 215 | ParameterDowncastMsg "error" 216 | ParameterOverflowMsg "error" 217 | ParameterPrecisionLossMsg "warning" 218 | UnderSpecifiedDataTypeMsg "none" 219 | UnnecessaryDatatypeConvMsg "none" 220 | VectorMatrixConversionMsg "none" 221 | InvalidFcnCallConnMsg "error" 222 | FcnCallInpInsideContextMsg "Use local settings" 223 | SignalLabelMismatchMsg "none" 224 | UnconnectedInputMsg "warning" 225 | UnconnectedOutputMsg "warning" 226 | UnconnectedLineMsg "warning" 227 | SFcnCompatibilityMsg "none" 228 | UniqueDataStoreMsg "none" 229 | RootOutportRequireBusObject "warning" 230 | AssertControl "UseLocalSettings" 231 | EnableOverflowDetection off 232 | ModelReferenceIOMsg "none" 233 | ModelReferenceVersionMismatchMessage "none" 234 | ModelReferenceIOMismatchMessage "none" 235 | ModelReferenceCSMismatchMessage "none" 236 | ModelReferenceSimTargetVerbose off 237 | UnknownTsInhSupMsg "warning" 238 | ModelReferenceDataLoggingMessage "warning" 239 | ModelReferenceSymbolNameMessage "warning" 240 | } 241 | Simulink.HardwareCC { 242 | $ObjectID 6 243 | Version "1.0.4" 244 | ProdBitPerChar 8 245 | ProdBitPerShort 16 246 | ProdBitPerInt 32 247 | ProdBitPerLong 32 248 | ProdIntDivRoundTo "Undefined" 249 | ProdEndianess "Unspecified" 250 | ProdWordSize 32 251 | ProdShiftRightIntArith on 252 | ProdHWDeviceType "32-bit Generic" 253 | TargetBitPerChar 8 254 | TargetBitPerShort 16 255 | TargetBitPerInt 32 256 | TargetBitPerLong 32 257 | TargetShiftRightIntArith on 258 | TargetIntDivRoundTo "Undefined" 259 | TargetEndianess "Unspecified" 260 | TargetWordSize 32 261 | TargetTypeEmulationWarnSuppressLevel 0 262 | TargetPreprocMaxBitsSint 32 263 | TargetPreprocMaxBitsUint 32 264 | TargetHWDeviceType "Specified" 265 | TargetUnknown on 266 | ProdEqTarget on 267 | } 268 | Simulink.ModelReferenceCC { 269 | $ObjectID 7 270 | Version "1.0.4" 271 | UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" 272 | CheckModelReferenceTargetMessage "error" 273 | ModelReferenceNumInstancesAllowed "Multi" 274 | ModelReferencePassRootInputsByReference on 275 | ModelReferenceMinAlgLoopOccurrences off 276 | } 277 | Simulink.RTWCC { 278 | $BackupClass "Simulink.RTWCC" 279 | $ObjectID 8 280 | Array { 281 | Type "Cell" 282 | Dimension 1 283 | Cell "IncludeHyperlinkInReport" 284 | PropName "DisabledProps" 285 | } 286 | Version "1.0.4" 287 | SystemTargetFile "grt.tlc" 288 | GenCodeOnly off 289 | MakeCommand "make_rtw" 290 | TemplateMakefile "grt_default_tmf" 291 | Description "Generic Real-Time Target" 292 | GenerateReport off 293 | SaveLog off 294 | RTWVerbose on 295 | RetainRTWFile off 296 | ProfileTLC off 297 | TLCDebug off 298 | TLCCoverage off 299 | TLCAssert off 300 | ProcessScriptMode "Default" 301 | ConfigurationMode "Optimized" 302 | ConfigAtBuild off 303 | IncludeHyperlinkInReport off 304 | LaunchReport off 305 | Array { 306 | Type "Handle" 307 | Dimension 2 308 | Simulink.CodeAppCC { 309 | $ObjectID 9 310 | Array { 311 | Type "Cell" 312 | Dimension 9 313 | Cell "IgnoreCustomStorageClasses" 314 | Cell "InsertBlockDesc" 315 | Cell "SFDataObjDesc" 316 | Cell "SimulinkDataObjDesc" 317 | Cell "DefineNamingRule" 318 | Cell "SignalNamingRule" 319 | Cell "ParamNamingRule" 320 | Cell "InlinedPrmAccess" 321 | Cell "CustomSymbolStr" 322 | PropName "DisabledProps" 323 | } 324 | Version "1.0.4" 325 | ForceParamTrailComments off 326 | GenerateComments on 327 | IgnoreCustomStorageClasses on 328 | IncHierarchyInIds off 329 | MaxIdLength 31 330 | PreserveName off 331 | PreserveNameWithParent off 332 | ShowEliminatedStatement off 333 | IncAutoGenComments off 334 | SimulinkDataObjDesc off 335 | SFDataObjDesc off 336 | IncDataTypeInIds off 337 | PrefixModelToSubsysFcnNames on 338 | CustomSymbolStr "$R$N$M" 339 | MangleLength 1 340 | DefineNamingRule "None" 341 | ParamNamingRule "None" 342 | SignalNamingRule "None" 343 | InsertBlockDesc off 344 | SimulinkBlockComments on 345 | EnableCustomComments off 346 | InlinedPrmAccess "Literals" 347 | ReqsInCode off 348 | } 349 | Simulink.GRTTargetCC { 350 | $BackupClass "Simulink.TargetCC" 351 | $ObjectID 10 352 | Array { 353 | Type "Cell" 354 | Dimension 12 355 | Cell "IncludeMdlTerminateFcn" 356 | Cell "CombineOutputUpdateFcns" 357 | Cell "SuppressErrorStatus" 358 | Cell "ERTCustomFileBanners" 359 | Cell "GenerateSampleERTMain" 360 | Cell "MultiInstanceERTCode" 361 | Cell "PurelyIntegerCode" 362 | Cell "SupportNonFinite" 363 | Cell "SupportComplex" 364 | Cell "SupportAbsoluteTime" 365 | Cell "SupportContinuousTime" 366 | Cell "SupportNonInlinedSFcns" 367 | PropName "DisabledProps" 368 | } 369 | Version "1.0.4" 370 | TargetFcnLib "ansi_tfl_tmw.mat" 371 | GenFloatMathFcnCalls "ANSI_C" 372 | UtilityFuncGeneration "Auto" 373 | GenerateFullHeader on 374 | GenerateSampleERTMain off 375 | IsPILTarget off 376 | ModelReferenceCompliant on 377 | IncludeMdlTerminateFcn on 378 | CombineOutputUpdateFcns off 379 | SuppressErrorStatus off 380 | IncludeFileDelimiter "Auto" 381 | ERTCustomFileBanners off 382 | SupportAbsoluteTime on 383 | LogVarNameModifier "rt_" 384 | MatFileLogging on 385 | MultiInstanceERTCode off 386 | SupportNonFinite on 387 | SupportComplex on 388 | PurelyIntegerCode off 389 | SupportContinuousTime on 390 | SupportNonInlinedSFcns on 391 | ExtMode off 392 | ExtModeStaticAlloc off 393 | ExtModeTesting off 394 | ExtModeStaticAllocSize 1000000 395 | ExtModeTransport 0 396 | ExtModeMexFile "ext_comm" 397 | RTWCAPISignals off 398 | RTWCAPIParams off 399 | RTWCAPIStates off 400 | GenerateASAP2 off 401 | } 402 | PropName "Components" 403 | } 404 | } 405 | PropName "Components" 406 | } 407 | Name "Configuration" 408 | SimulationMode "normal" 409 | CurrentDlgPage "Solver" 410 | } 411 | PropName "ConfigurationSets" 412 | } 413 | Simulink.ConfigSet { 414 | $PropName "ActiveConfigurationSet" 415 | $ObjectID 1 416 | } 417 | BlockDefaults { 418 | Orientation "right" 419 | ForegroundColor "black" 420 | BackgroundColor "white" 421 | DropShadow off 422 | NamePlacement "normal" 423 | FontName "Helvetica" 424 | FontSize 10 425 | FontWeight "normal" 426 | FontAngle "normal" 427 | ShowName on 428 | } 429 | BlockParameterDefaults { 430 | Block { 431 | BlockType BusCreator 432 | Inputs "4" 433 | DisplayOption "none" 434 | BusObject "BusObject" 435 | NonVirtualBus off 436 | } 437 | Block { 438 | BlockType Constant 439 | Value "1" 440 | VectorParams1D on 441 | OutDataTypeMode "Inherit from 'Constant value'" 442 | OutDataType "sfix(16)" 443 | ConRadixGroup "Use specified scaling" 444 | OutScaling "2^0" 445 | SampleTime "inf" 446 | } 447 | Block { 448 | BlockType Demux 449 | Outputs "4" 450 | DisplayOption "none" 451 | BusSelectionMode off 452 | } 453 | Block { 454 | BlockType DiscretePulseGenerator 455 | PulseType "Sample based" 456 | TimeSource "Use simulation time" 457 | Amplitude "1" 458 | Period "2" 459 | PulseWidth "1" 460 | PhaseDelay "0" 461 | SampleTime "1" 462 | VectorParams1D on 463 | } 464 | Block { 465 | BlockType EnablePort 466 | StatesWhenEnabling "held" 467 | ShowOutputPort off 468 | ZeroCross on 469 | } 470 | Block { 471 | BlockType From 472 | IconDisplay "Tag" 473 | } 474 | Block { 475 | BlockType Gain 476 | Gain "1" 477 | Multiplication "Element-wise(K.*u)" 478 | ParameterDataTypeMode "Same as input" 479 | ParameterDataType "sfix(16)" 480 | ParameterScalingMode "Best Precision: Matrix-wise" 481 | ParameterScaling "2^0" 482 | OutDataTypeMode "Same as input" 483 | OutDataType "sfix(16)" 484 | OutScaling "2^0" 485 | LockScale off 486 | RndMeth "Floor" 487 | SaturateOnIntegerOverflow on 488 | SampleTime "-1" 489 | } 490 | Block { 491 | BlockType Goto 492 | IconDisplay "Tag" 493 | } 494 | Block { 495 | BlockType Inport 496 | BusObject "BusObject" 497 | BusOutputAsStruct off 498 | PortDimensions "-1" 499 | SampleTime "-1" 500 | DataType "auto" 501 | OutDataType "sfix(16)" 502 | OutScaling "2^0" 503 | SignalType "auto" 504 | SamplingMode "auto" 505 | Interpolate on 506 | } 507 | Block { 508 | BlockType Outport 509 | Port "1" 510 | BusObject "BusObject" 511 | BusOutputAsStruct off 512 | PortDimensions "-1" 513 | SampleTime "-1" 514 | DataType "auto" 515 | OutDataType "sfix(16)" 516 | OutScaling "2^0" 517 | SignalType "auto" 518 | SamplingMode "auto" 519 | OutputWhenDisabled "held" 520 | InitialOutput "[]" 521 | } 522 | Block { 523 | BlockType PMComponent 524 | SubClassName "unknown" 525 | } 526 | Block { 527 | BlockType PMIOPort 528 | } 529 | Block { 530 | BlockType Scope 531 | Floating off 532 | ModelBased off 533 | TickLabels "OneTimeTick" 534 | ZoomMode "on" 535 | Grid "on" 536 | TimeRange "auto" 537 | YMin "-5" 538 | YMax "5" 539 | SaveToWorkspace off 540 | SaveName "ScopeData" 541 | LimitDataPoints on 542 | MaxDataPoints "5000" 543 | Decimation "1" 544 | SampleInput off 545 | SampleTime "0" 546 | } 547 | Block { 548 | BlockType Selector 549 | InputType "Vector" 550 | IndexMode "One-based" 551 | ElementSrc "Internal" 552 | Elements "1" 553 | RowSrc "Internal" 554 | Rows "1" 555 | ColumnSrc "Internal" 556 | Columns "1" 557 | InputPortWidth "-1" 558 | IndexIsStartValue off 559 | OutputPortSize "1" 560 | } 561 | Block { 562 | BlockType SubSystem 563 | ShowPortLabels on 564 | Permissions "ReadWrite" 565 | PermitHierarchicalResolution "All" 566 | SystemSampleTime "-1" 567 | RTWFcnNameOpts "Auto" 568 | RTWFileNameOpts "Auto" 569 | SimViewingDevice off 570 | DataTypeOverride "UseLocalSettings" 571 | MinMaxOverflowLogging "UseLocalSettings" 572 | } 573 | Block { 574 | BlockType ToWorkspace 575 | VariableName "simulink_output" 576 | MaxDataPoints "1000" 577 | Decimation "1" 578 | SampleTime "0" 579 | FixptAsFi off 580 | } 581 | } 582 | AnnotationDefaults { 583 | HorizontalAlignment "center" 584 | VerticalAlignment "middle" 585 | ForegroundColor "black" 586 | BackgroundColor "white" 587 | DropShadow off 588 | FontName "Helvetica" 589 | FontSize 10 590 | FontWeight "normal" 591 | FontAngle "normal" 592 | } 593 | LineDefaults { 594 | FontName "Helvetica" 595 | FontSize 9 596 | FontWeight "normal" 597 | FontAngle "normal" 598 | } 599 | System { 600 | Name "resonant_dc_link" 601 | Location [10, 84, 625, 774] 602 | Open on 603 | ModelBrowserVisibility off 604 | ModelBrowserWidth 200 605 | ScreenColor "white" 606 | PaperOrientation "landscape" 607 | PaperPositionMode "auto" 608 | PaperType "usletter" 609 | PaperUnits "inches" 610 | ZoomFactor "100" 611 | ReportName "simulink-default.rpt" 612 | Block { 613 | BlockType Reference 614 | Name "C1" 615 | Ports [0, 0, 0, 0, 0, 1, 1] 616 | Position [183, 215, 207, 265] 617 | Orientation "down" 618 | AttributesFormatString "\\n" 619 | SourceBlock "powerlib/Elements/Series RLC Branch" 620 | SourceType "Series RLC Branch" 621 | PhysicalDomain "powersysdomain" 622 | SubClassName "unknown" 623 | LeftPortType "p1" 624 | RightPortType "p1" 625 | LConnTagsString "__new0" 626 | RConnTagsString "__new0" 627 | Resistance "0" 628 | Inductance "0" 629 | Capacitance "1e-6" 630 | Measurements "Branch voltage" 631 | } 632 | Block { 633 | BlockType Reference 634 | Name "E" 635 | Description "source block" 636 | Ports [0, 0, 0, 0, 0, 1, 1] 637 | Position [55, 215, 75, 250] 638 | Orientation "up" 639 | NamePlacement "alternate" 640 | AttributesFormatString "\\n" 641 | SourceBlock "powerlib/Electrical\nSources/DC Voltage Source" 642 | SourceType "DC Voltage Source" 643 | ShowPortLabels on 644 | Amplitude "50" 645 | Measurements "None" 646 | } 647 | Block { 648 | BlockType Reference 649 | Name "L2" 650 | Ports [0, 0, 0, 0, 0, 1, 1] 651 | Position [247, 175, 283, 305] 652 | Orientation "down" 653 | AttributesFormatString "\\n" 654 | SourceBlock "powerlib/Elements/Series RLC Branch" 655 | SourceType "Series RLC Branch" 656 | PhysicalDomain "powersysdomain" 657 | SubClassName "unknown" 658 | LeftPortType "p1" 659 | RightPortType "p1" 660 | LConnTagsString "__new0" 661 | RConnTagsString "__new0" 662 | Resistance "1" 663 | Inductance "1e-3" 664 | Capacitance "inf" 665 | Measurements "Branch current" 666 | } 667 | Block { 668 | BlockType Reference 669 | Name "Lr" 670 | Ports [0, 0, 0, 0, 0, 1, 1] 671 | Position [80, 128, 130, 152] 672 | NamePlacement "alternate" 673 | AttributesFormatString "\\n" 674 | SourceBlock "powerlib/Elements/Series RLC Branch" 675 | SourceType "Series RLC Branch" 676 | PhysicalDomain "powersysdomain" 677 | SubClassName "unknown" 678 | LeftPortType "p1" 679 | RightPortType "p1" 680 | LConnTagsString "__new0" 681 | RConnTagsString "__new0" 682 | Resistance "0" 683 | Inductance "1e-5" 684 | Capacitance "inf" 685 | Measurements "Branch current" 686 | } 687 | Block { 688 | BlockType Reference 689 | Name "Multimeter" 690 | Ports [0, 1] 691 | Position [375, 256, 415, 294] 692 | SourceBlock "powerlib/Measurements/Multimeter" 693 | SourceType "MultimeterPSB" 694 | ShowPortLabels on 695 | PhasorSimulation off 696 | OutputType "Complex" 697 | sel "[2 3]" 698 | L "3" 699 | Gain "[1 1]" 700 | yselected "{'Ib: L2','Ib: Lr'};" 701 | PSBOutputType "1" 702 | PSBequivalent "0" 703 | AxesSetting "[0,0.1,-100,100]" 704 | Display "0" 705 | SavedBlockNames "-11" 706 | } 707 | Block { 708 | BlockType Reference 709 | Name "S" 710 | Ports [1, 1, 0, 0, 0, 1, 1] 711 | Position [130, 210, 170, 265] 712 | Orientation "down" 713 | NamePlacement "alternate" 714 | SourceBlock "powerlib/Power\nElectronics/Mosfet" 715 | SourceType "Mosfet" 716 | ShowPortLabels on 717 | Ron "0.01" 718 | Lon "1e-9" 719 | Rd ".1" 720 | IC "0" 721 | Rs "100" 722 | Cs "0" 723 | Measurements on 724 | } 725 | Block { 726 | BlockType Scope 727 | Name "Scope" 728 | Ports [3] 729 | Position [500, 99, 560, 241] 730 | NamePlacement "alternate" 731 | Location [632, 56, 1275, 794] 732 | Open on 733 | NumInputPorts "3" 734 | ZoomMode "xonly" 735 | List { 736 | ListType AxesTitles 737 | axes1 "uGS" 738 | axes2 "uS/ iS" 739 | axes3 "iL2/ iLr" 740 | } 741 | TimeRange "0.0001" 742 | YMin "-0.5~-50~0" 743 | YMax "1.5~150~100" 744 | SaveToWorkspace on 745 | SaveName "var" 746 | DataFormat "StructureWithTime" 747 | MaxDataPoints "50000" 748 | } 749 | Block { 750 | BlockType DiscretePulseGenerator 751 | Name "uGE1" 752 | Ports [0, 1] 753 | Position [95, 180, 125, 210] 754 | ForegroundColor "blue" 755 | PulseType "Time based" 756 | Period "20e-6" 757 | PulseWidth "10" 758 | } 759 | Line { 760 | LineType "Connection" 761 | SrcBlock "L2" 762 | SrcPort RConn1 763 | Points [0, 20; -105, 0] 764 | Branch { 765 | ConnectType "DEST_SRC" 766 | Points [0, -50] 767 | Branch { 768 | ConnectType "DEST_SRC" 769 | DstBlock "S" 770 | DstPort RConn1 771 | } 772 | Branch { 773 | ConnectType "DEST_DEST" 774 | SrcBlock "C1" 775 | SrcPort RConn1 776 | Points [0, 10; -35, 0] 777 | } 778 | } 779 | Branch { 780 | ConnectType "DEST_SRC" 781 | Points [-95, 0] 782 | DstBlock "E" 783 | DstPort LConn1 784 | } 785 | } 786 | Line { 787 | LineType "Connection" 788 | SrcBlock "E" 789 | SrcPort RConn1 790 | DstBlock "Lr" 791 | DstPort LConn1 792 | } 793 | Line { 794 | SrcBlock "uGE1" 795 | SrcPort 1 796 | Points [5, 0] 797 | Branch { 798 | DstBlock "S" 799 | DstPort 1 800 | } 801 | Branch { 802 | Points [5, 0; 0, -110; 310, 0; 0, 40] 803 | DstBlock "Scope" 804 | DstPort 1 805 | } 806 | } 807 | Line { 808 | SrcBlock "S" 809 | SrcPort 1 810 | Points [0, 120; 205, 0; 0, -220] 811 | DstBlock "Scope" 812 | DstPort 2 813 | } 814 | Line { 815 | LineType "Connection" 816 | Points [160, 180; 0, -40] 817 | Branch { 818 | ConnectType "SRC_DEST" 819 | SrcBlock "S" 820 | SrcPort LConn1 821 | Points [0, 0; 0, -15] 822 | } 823 | Branch { 824 | ConnectType "SRC_SRC" 825 | Points [35, 0] 826 | DstBlock "C1" 827 | DstPort LConn1 828 | } 829 | Branch { 830 | ConnectType "DEST_SRC" 831 | DstBlock "Lr" 832 | DstPort RConn1 833 | } 834 | Branch { 835 | ConnectType "DEST_DEST" 836 | SrcBlock "L2" 837 | SrcPort LConn1 838 | Points [0, -20; -85, 0; -20, 0] 839 | } 840 | } 841 | Line { 842 | SrcBlock "Multimeter" 843 | SrcPort 1 844 | Points [35, 0; 0, -60] 845 | DstBlock "Scope" 846 | DstPort 3 847 | } 848 | Annotation { 849 | Name "uGS" 850 | Position [469, 110] 851 | } 852 | } 853 | } 854 | -------------------------------------------------------------------------------- /single_phase_ac_regulator_r.mdl: -------------------------------------------------------------------------------- 1 | Model { 2 | Name "single_phase_ac_regulator_r" 3 | Version 6.1 4 | MdlSubVersion 0 5 | GraphicalInterface { 6 | NumRootInports 0 7 | NumRootOutports 0 8 | ParameterArgumentNames "" 9 | ComputedModelVersion "1.34" 10 | NumModelReferences 0 11 | NumTestPointedSignals 0 12 | } 13 | SavedCharacterEncoding "ibm-1386_P100-2002" 14 | SaveDefaultBlockParams on 15 | SampleTimeColors off 16 | LibraryLinkDisplay "none" 17 | WideLines off 18 | ShowLineDimensions off 19 | ShowPortDataTypes off 20 | ShowLoopsOnError on 21 | IgnoreBidirectionalLines off 22 | ShowStorageClass off 23 | ShowTestPointIcons on 24 | ShowViewerIcons on 25 | SortedOrder off 26 | ExecutionContextIcon off 27 | ShowLinearizationAnnotations on 28 | RecordCoverage off 29 | CovPath "/" 30 | CovSaveName "covdata" 31 | CovMetricSettings "dw" 32 | CovNameIncrementing off 33 | CovHtmlReporting on 34 | covSaveCumulativeToWorkspaceVar on 35 | CovSaveSingleToWorkspaceVar on 36 | CovCumulativeVarName "covCumulativeData" 37 | CovCumulativeReport off 38 | CovReportOnPause on 39 | ScopeRefreshTime 0.035000 40 | OverrideScopeRefreshTime on 41 | DisableAllScopes off 42 | DataTypeOverride "UseLocalSettings" 43 | MinMaxOverflowLogging "UseLocalSettings" 44 | MinMaxOverflowArchiveMode "Overwrite" 45 | BlockNameDataTip off 46 | BlockParametersDataTip off 47 | BlockDescriptionStringDataTip off 48 | ToolBar on 49 | StatusBar on 50 | BrowserShowLibraryLinks off 51 | BrowserLookUnderMasks off 52 | Created "Thu Jan 21 20:44:19 2010" 53 | UpdateHistory "UpdateHistoryNever" 54 | ModifiedByFormat "%" 55 | LastModifiedBy "ThinkPad" 56 | ModifiedDateFormat "%" 57 | LastModifiedDate "Mon Jul 23 07:03:44 2012" 58 | ModelVersionFormat "1.%" 59 | ConfigurationManager "None" 60 | LinearizationMsg "none" 61 | Profile off 62 | ParamWorkspaceSource "MATLABWorkspace" 63 | AccelSystemTargetFile "accel.tlc" 64 | AccelTemplateMakefile "accel_default_tmf" 65 | AccelMakeCommand "make_rtw" 66 | TryForcingSFcnDF off 67 | ExtModeBatchMode off 68 | ExtModeEnableFloating on 69 | ExtModeTrigType "manual" 70 | ExtModeTrigMode "normal" 71 | ExtModeTrigPort "1" 72 | ExtModeTrigElement "any" 73 | ExtModeTrigDuration 1000 74 | ExtModeTrigDurationFloating "auto" 75 | ExtModeTrigHoldOff 0 76 | ExtModeTrigDelay 0 77 | ExtModeTrigDirection "rising" 78 | ExtModeTrigLevel 0 79 | ExtModeArchiveMode "off" 80 | ExtModeAutoIncOneShot off 81 | ExtModeIncDirWhenArm off 82 | ExtModeAddSuffixToVar off 83 | ExtModeWriteAllDataToWs off 84 | ExtModeArmWhenConnect on 85 | ExtModeSkipDownloadWhenConnect off 86 | ExtModeLogAll on 87 | ExtModeAutoUpdateStatusClock on 88 | BufferReuse on 89 | StrictBusMsg "None" 90 | ProdHWDeviceType "32-bit Generic" 91 | ShowModelReferenceBlockVersion off 92 | ShowModelReferenceBlockIO off 93 | Array { 94 | Type "Handle" 95 | Dimension 1 96 | Simulink.ConfigSet { 97 | $ObjectID 1 98 | Version "1.0.4" 99 | Array { 100 | Type "Handle" 101 | Dimension 7 102 | Simulink.SolverCC { 103 | $ObjectID 2 104 | Version "1.0.4" 105 | StartTime "0.0" 106 | StopTime "0.1" 107 | AbsTol ".01" 108 | FixedStep "auto" 109 | InitialStep "auto" 110 | MaxNumMinSteps "-1" 111 | MaxOrder 5 112 | ExtrapolationOrder 4 113 | NumberNewtonIterations 1 114 | MaxStep "1e-4" 115 | MinStep "auto" 116 | RelTol "1e-3" 117 | SolverMode "Auto" 118 | Solver "ode23tb" 119 | SolverName "ode23tb" 120 | ZeroCrossControl "UseLocalSettings" 121 | PositivePriorityOrder off 122 | AutoInsertRateTranBlk off 123 | SampleTimeConstraint "Unconstrained" 124 | RateTranMode "Deterministic" 125 | } 126 | Simulink.DataIOCC { 127 | $ObjectID 3 128 | Version "1.0.4" 129 | Decimation "1" 130 | ExternalInput "[t, u]" 131 | FinalStateName "xFinal" 132 | InitialState "xInitial" 133 | LimitDataPoints on 134 | MaxDataPoints "1000" 135 | LoadExternalInput off 136 | LoadInitialState off 137 | SaveFinalState off 138 | SaveFormat "Array" 139 | SaveOutput on 140 | SaveState off 141 | SignalLogging on 142 | SaveTime on 143 | StateSaveName "xout" 144 | TimeSaveName "tout" 145 | OutputSaveName "yout" 146 | SignalLoggingName "logsout" 147 | OutputOption "RefineOutputTimes" 148 | OutputTimes "[]" 149 | Refine "1" 150 | } 151 | Simulink.OptimizationCC { 152 | $ObjectID 4 153 | Array { 154 | Type "Cell" 155 | Dimension 5 156 | Cell "ZeroExternalMemoryAtStartup" 157 | Cell "ZeroInternalMemoryAtStartup" 158 | Cell "InitFltsAndDblsToZero" 159 | Cell "OptimizeModelRefInitCode" 160 | Cell "NoFixptDivByZeroProtection" 161 | PropName "DisabledProps" 162 | } 163 | Version "1.0.4" 164 | BlockReduction on 165 | BooleanDataType on 166 | ConditionallyExecuteInputs on 167 | ConditionalExecOptimization "on_for_testing" 168 | InlineParams off 169 | InlineInvariantSignals on 170 | OptimizeBlockIOStorage on 171 | BufferReuse on 172 | EnforceIntegerDowncast on 173 | ExpressionFolding on 174 | FoldNonRolledExpr on 175 | LocalBlockOutputs on 176 | ParameterPooling on 177 | RollThreshold 5 178 | SystemCodeInlineAuto off 179 | StateBitsets off 180 | DataBitsets off 181 | UseTempVars off 182 | ZeroExternalMemoryAtStartup on 183 | ZeroInternalMemoryAtStartup on 184 | InitFltsAndDblsToZero on 185 | NoFixptDivByZeroProtection off 186 | OptimizeModelRefInitCode off 187 | LifeSpan "inf" 188 | } 189 | Simulink.DebuggingCC { 190 | $ObjectID 5 191 | Version "1.0.4" 192 | RTPrefix "error" 193 | ConsistencyChecking "none" 194 | ArrayBoundsChecking "none" 195 | AlgebraicLoopMsg "warning" 196 | ArtificialAlgebraicLoopMsg "warning" 197 | CheckSSInitialOutputMsg on 198 | CheckExecutionContextPreStartOutputMsg off 199 | CheckExecutionContextRuntimeOutputMsg off 200 | SignalResolutionControl "TryResolveAllWithWarning" 201 | BlockPriorityViolationMsg "warning" 202 | MinStepSizeMsg "warning" 203 | SolverPrmCheckMsg "warning" 204 | InheritedTsInSrcMsg "warning" 205 | DiscreteInheritContinuousMsg "warning" 206 | MultiTaskDSMMsg "warning" 207 | MultiTaskRateTransMsg "error" 208 | SingleTaskRateTransMsg "none" 209 | TasksWithSamePriorityMsg "warning" 210 | CheckMatrixSingularityMsg "none" 211 | IntegerOverflowMsg "warning" 212 | Int32ToFloatConvMsg "warning" 213 | ParameterDowncastMsg "error" 214 | ParameterOverflowMsg "error" 215 | ParameterPrecisionLossMsg "warning" 216 | UnderSpecifiedDataTypeMsg "none" 217 | UnnecessaryDatatypeConvMsg "none" 218 | VectorMatrixConversionMsg "none" 219 | InvalidFcnCallConnMsg "error" 220 | FcnCallInpInsideContextMsg "Use local settings" 221 | SignalLabelMismatchMsg "none" 222 | UnconnectedInputMsg "warning" 223 | UnconnectedOutputMsg "warning" 224 | UnconnectedLineMsg "warning" 225 | SFcnCompatibilityMsg "none" 226 | UniqueDataStoreMsg "none" 227 | RootOutportRequireBusObject "warning" 228 | AssertControl "UseLocalSettings" 229 | EnableOverflowDetection off 230 | ModelReferenceIOMsg "none" 231 | ModelReferenceVersionMismatchMessage "none" 232 | ModelReferenceIOMismatchMessage "none" 233 | ModelReferenceCSMismatchMessage "none" 234 | ModelReferenceSimTargetVerbose off 235 | UnknownTsInhSupMsg "warning" 236 | ModelReferenceDataLoggingMessage "warning" 237 | ModelReferenceSymbolNameMessage "warning" 238 | } 239 | Simulink.HardwareCC { 240 | $ObjectID 6 241 | Version "1.0.4" 242 | ProdBitPerChar 8 243 | ProdBitPerShort 16 244 | ProdBitPerInt 32 245 | ProdBitPerLong 32 246 | ProdIntDivRoundTo "Undefined" 247 | ProdEndianess "Unspecified" 248 | ProdWordSize 32 249 | ProdShiftRightIntArith on 250 | ProdHWDeviceType "32-bit Generic" 251 | TargetBitPerChar 8 252 | TargetBitPerShort 16 253 | TargetBitPerInt 32 254 | TargetBitPerLong 32 255 | TargetShiftRightIntArith on 256 | TargetIntDivRoundTo "Undefined" 257 | TargetEndianess "Unspecified" 258 | TargetWordSize 32 259 | TargetTypeEmulationWarnSuppressLevel 0 260 | TargetPreprocMaxBitsSint 32 261 | TargetPreprocMaxBitsUint 32 262 | TargetHWDeviceType "Specified" 263 | TargetUnknown off 264 | ProdEqTarget on 265 | } 266 | Simulink.ModelReferenceCC { 267 | $ObjectID 7 268 | Version "1.0.4" 269 | UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" 270 | CheckModelReferenceTargetMessage "error" 271 | ModelReferenceNumInstancesAllowed "Multi" 272 | ModelReferencePassRootInputsByReference on 273 | ModelReferenceMinAlgLoopOccurrences off 274 | } 275 | Simulink.RTWCC { 276 | $BackupClass "Simulink.RTWCC" 277 | $ObjectID 8 278 | Array { 279 | Type "Cell" 280 | Dimension 1 281 | Cell "IncludeHyperlinkInReport" 282 | PropName "DisabledProps" 283 | } 284 | Version "1.0.4" 285 | SystemTargetFile "grt.tlc" 286 | GenCodeOnly off 287 | MakeCommand "make_rtw" 288 | TemplateMakefile "grt_default_tmf" 289 | GenerateReport off 290 | SaveLog off 291 | RTWVerbose on 292 | RetainRTWFile off 293 | ProfileTLC off 294 | TLCDebug off 295 | TLCCoverage off 296 | TLCAssert off 297 | ProcessScriptMode "Default" 298 | ConfigurationMode "Optimized" 299 | ConfigAtBuild off 300 | IncludeHyperlinkInReport off 301 | LaunchReport off 302 | Array { 303 | Type "Handle" 304 | Dimension 2 305 | Simulink.CodeAppCC { 306 | $ObjectID 9 307 | Array { 308 | Type "Cell" 309 | Dimension 9 310 | Cell "IgnoreCustomStorageClasses" 311 | Cell "InsertBlockDesc" 312 | Cell "SFDataObjDesc" 313 | Cell "SimulinkDataObjDesc" 314 | Cell "DefineNamingRule" 315 | Cell "SignalNamingRule" 316 | Cell "ParamNamingRule" 317 | Cell "InlinedPrmAccess" 318 | Cell "CustomSymbolStr" 319 | PropName "DisabledProps" 320 | } 321 | Version "1.0.4" 322 | ForceParamTrailComments off 323 | GenerateComments on 324 | IgnoreCustomStorageClasses on 325 | IncHierarchyInIds off 326 | MaxIdLength 31 327 | PreserveName off 328 | PreserveNameWithParent off 329 | ShowEliminatedStatement off 330 | IncAutoGenComments off 331 | SimulinkDataObjDesc off 332 | SFDataObjDesc off 333 | IncDataTypeInIds off 334 | PrefixModelToSubsysFcnNames on 335 | CustomSymbolStr "$R$N$M" 336 | MangleLength 1 337 | DefineNamingRule "None" 338 | ParamNamingRule "None" 339 | SignalNamingRule "None" 340 | InsertBlockDesc off 341 | SimulinkBlockComments on 342 | EnableCustomComments off 343 | InlinedPrmAccess "Literals" 344 | ReqsInCode off 345 | } 346 | Simulink.GRTTargetCC { 347 | $BackupClass "Simulink.TargetCC" 348 | $ObjectID 10 349 | Array { 350 | Type "Cell" 351 | Dimension 12 352 | Cell "IncludeMdlTerminateFcn" 353 | Cell "CombineOutputUpdateFcns" 354 | Cell "SuppressErrorStatus" 355 | Cell "ERTCustomFileBanners" 356 | Cell "GenerateSampleERTMain" 357 | Cell "MultiInstanceERTCode" 358 | Cell "PurelyIntegerCode" 359 | Cell "SupportNonFinite" 360 | Cell "SupportComplex" 361 | Cell "SupportAbsoluteTime" 362 | Cell "SupportContinuousTime" 363 | Cell "SupportNonInlinedSFcns" 364 | PropName "DisabledProps" 365 | } 366 | Version "1.0.4" 367 | TargetFcnLib "ansi_tfl_tmw.mat" 368 | GenFloatMathFcnCalls "ANSI_C" 369 | UtilityFuncGeneration "Auto" 370 | GenerateFullHeader on 371 | GenerateSampleERTMain off 372 | IsPILTarget off 373 | ModelReferenceCompliant on 374 | IncludeMdlTerminateFcn on 375 | CombineOutputUpdateFcns off 376 | SuppressErrorStatus off 377 | IncludeFileDelimiter "Auto" 378 | ERTCustomFileBanners off 379 | SupportAbsoluteTime on 380 | LogVarNameModifier "rt_" 381 | MatFileLogging on 382 | MultiInstanceERTCode off 383 | SupportNonFinite on 384 | SupportComplex on 385 | PurelyIntegerCode off 386 | SupportContinuousTime on 387 | SupportNonInlinedSFcns on 388 | ExtMode off 389 | ExtModeStaticAlloc off 390 | ExtModeTesting off 391 | ExtModeStaticAllocSize 1000000 392 | ExtModeTransport 0 393 | ExtModeMexFile "ext_comm" 394 | RTWCAPISignals off 395 | RTWCAPIParams off 396 | RTWCAPIStates off 397 | GenerateASAP2 off 398 | } 399 | PropName "Components" 400 | } 401 | } 402 | PropName "Components" 403 | } 404 | Name "Configuration" 405 | SimulationMode "normal" 406 | CurrentDlgPage "Solver" 407 | } 408 | PropName "ConfigurationSets" 409 | } 410 | Simulink.ConfigSet { 411 | $PropName "ActiveConfigurationSet" 412 | $ObjectID 1 413 | } 414 | BlockDefaults { 415 | Orientation "right" 416 | ForegroundColor "black" 417 | BackgroundColor "white" 418 | DropShadow off 419 | NamePlacement "normal" 420 | FontName "Helvetica" 421 | FontSize 10 422 | FontWeight "normal" 423 | FontAngle "normal" 424 | ShowName on 425 | } 426 | BlockParameterDefaults { 427 | Block { 428 | BlockType BusCreator 429 | Inputs "4" 430 | DisplayOption "none" 431 | BusObject "BusObject" 432 | NonVirtualBus off 433 | } 434 | Block { 435 | BlockType Demux 436 | Outputs "4" 437 | DisplayOption "none" 438 | BusSelectionMode off 439 | } 440 | Block { 441 | BlockType DiscretePulseGenerator 442 | PulseType "Sample based" 443 | TimeSource "Use simulation time" 444 | Amplitude "1" 445 | Period "2" 446 | PulseWidth "1" 447 | PhaseDelay "0" 448 | SampleTime "1" 449 | VectorParams1D on 450 | } 451 | Block { 452 | BlockType From 453 | IconDisplay "Tag" 454 | } 455 | Block { 456 | BlockType Goto 457 | IconDisplay "Tag" 458 | } 459 | Block { 460 | BlockType Inport 461 | BusObject "BusObject" 462 | BusOutputAsStruct off 463 | PortDimensions "-1" 464 | SampleTime "-1" 465 | DataType "auto" 466 | OutDataType "sfix(16)" 467 | OutScaling "2^0" 468 | SignalType "auto" 469 | SamplingMode "auto" 470 | Interpolate on 471 | } 472 | Block { 473 | BlockType Outport 474 | Port "1" 475 | BusObject "BusObject" 476 | BusOutputAsStruct off 477 | PortDimensions "-1" 478 | SampleTime "-1" 479 | DataType "auto" 480 | OutDataType "sfix(16)" 481 | OutScaling "2^0" 482 | SignalType "auto" 483 | SamplingMode "auto" 484 | OutputWhenDisabled "held" 485 | InitialOutput "[]" 486 | } 487 | Block { 488 | BlockType PMComponent 489 | SubClassName "unknown" 490 | } 491 | Block { 492 | BlockType PMIOPort 493 | } 494 | Block { 495 | BlockType Scope 496 | Floating off 497 | ModelBased off 498 | TickLabels "OneTimeTick" 499 | ZoomMode "on" 500 | Grid "on" 501 | TimeRange "auto" 502 | YMin "-5" 503 | YMax "5" 504 | SaveToWorkspace off 505 | SaveName "ScopeData" 506 | LimitDataPoints on 507 | MaxDataPoints "5000" 508 | Decimation "1" 509 | SampleInput off 510 | SampleTime "0" 511 | } 512 | Block { 513 | BlockType Sin 514 | SineType "Time based" 515 | TimeSource "Use simulation time" 516 | Amplitude "1" 517 | Bias "0" 518 | Frequency "1" 519 | Phase "0" 520 | Samples "10" 521 | Offset "0" 522 | SampleTime "-1" 523 | VectorParams1D on 524 | } 525 | Block { 526 | BlockType SubSystem 527 | ShowPortLabels on 528 | Permissions "ReadWrite" 529 | PermitHierarchicalResolution "All" 530 | SystemSampleTime "-1" 531 | RTWFcnNameOpts "Auto" 532 | RTWFileNameOpts "Auto" 533 | SimViewingDevice off 534 | DataTypeOverride "UseLocalSettings" 535 | MinMaxOverflowLogging "UseLocalSettings" 536 | } 537 | Block { 538 | BlockType Terminator 539 | } 540 | } 541 | AnnotationDefaults { 542 | HorizontalAlignment "center" 543 | VerticalAlignment "middle" 544 | ForegroundColor "black" 545 | BackgroundColor "white" 546 | DropShadow off 547 | FontName "Helvetica" 548 | FontSize 10 549 | FontWeight "normal" 550 | FontAngle "normal" 551 | } 552 | LineDefaults { 553 | FontName "Helvetica" 554 | FontSize 9 555 | FontWeight "normal" 556 | FontAngle "normal" 557 | } 558 | System { 559 | Name "single_phase_ac_regulator_r" 560 | Location [7, 84, 626, 774] 561 | Open on 562 | ModelBrowserVisibility off 563 | ModelBrowserWidth 200 564 | ScreenColor "white" 565 | PaperOrientation "landscape" 566 | PaperPositionMode "auto" 567 | PaperType "A4" 568 | PaperUnits "centimeters" 569 | ZoomFactor "100" 570 | ReportName "simulink-default.rpt" 571 | Block { 572 | BlockType BusCreator 573 | Name "Bus\nCreator" 574 | Ports [2, 1] 575 | Position [500, 241, 505, 279] 576 | ShowName off 577 | DialogController "Simulink.DDGSource_Bus" 578 | Inputs "2" 579 | DisplayOption "bar" 580 | } 581 | Block { 582 | BlockType BusCreator 583 | Name "Bus\nCreator1" 584 | Ports [3, 1] 585 | Position [485, 31, 490, 69] 586 | ShowName off 587 | DialogController "Simulink.DDGSource_Bus" 588 | Inputs "3" 589 | DisplayOption "bar" 590 | } 591 | Block { 592 | BlockType Reference 593 | Name "Current \nMeasurement" 594 | Ports [0, 1, 0, 0, 0, 1, 1] 595 | Position [345, 233, 370, 257] 596 | SourceBlock "powerlib/Measurements/Current Measurement" 597 | SourceType "Current Measurement" 598 | ShowPortLabels on 599 | PhasorSimulation off 600 | OutputType "Complex" 601 | PSBequivalent "0" 602 | } 603 | Block { 604 | BlockType Reference 605 | Name "Load" 606 | Ports [0, 0, 0, 0, 0, 1, 1] 607 | Position [386, 290, 414, 360] 608 | Orientation "down" 609 | NamePlacement "alternate" 610 | SourceBlock "powerlib/Elements/Series RLC Branch" 611 | SourceType "Series RLC Branch" 612 | PhysicalDomain "powersysdomain" 613 | SubClassName "unknown" 614 | LeftPortType "p1" 615 | RightPortType "p1" 616 | LConnTagsString "__new0" 617 | RConnTagsString "__new0" 618 | Resistance "5" 619 | Inductance "0" 620 | Capacitance "inf" 621 | Measurements "None" 622 | } 623 | Block { 624 | BlockType Scope 625 | Name "Scope" 626 | Ports [3] 627 | Position [550, 172, 610, 278] 628 | Location [634, 56, 1275, 793] 629 | Open on 630 | NumInputPorts "3" 631 | List { 632 | ListType AxesTitles 633 | axes1 "Source Voltage/Trig1/Trig2" 634 | axes2 "Current/Voltage of VT1" 635 | axes3 "Output Current/Output Voltage" 636 | } 637 | TimeRange "0.1" 638 | YMin "-100~-100~-100" 639 | YMax "100~100~100" 640 | DataFormat "StructureWithTime" 641 | Decimation "5" 642 | SampleInput on 643 | SampleTime "1e-4" 644 | } 645 | Block { 646 | BlockType Reference 647 | Name "Source\nVoltage" 648 | Ports [0, 1, 0, 0, 0, 2] 649 | Position [25, 303, 50, 327] 650 | Orientation "left" 651 | NamePlacement "alternate" 652 | SourceBlock "powerlib/Measurements/Voltage Measurement" 653 | SourceType "Voltage Measurement" 654 | ShowPortLabels on 655 | PhasorSimulation off 656 | OutputType "Complex" 657 | PSBequivalent "0" 658 | } 659 | Block { 660 | BlockType Terminator 661 | Name "Terminator4" 662 | Position [215, 248, 225, 262] 663 | Orientation "left" 664 | NamePlacement "alternate" 665 | ShowName off 666 | } 667 | Block { 668 | BlockType DiscretePulseGenerator 669 | Name "Trig1" 670 | Ports [0, 1] 671 | Position [125, 174, 160, 196] 672 | ForegroundColor "blue" 673 | PulseType "Time based" 674 | Amplitude "10" 675 | Period "0.02" 676 | PulseWidth "5" 677 | PhaseDelay "0.0025" 678 | } 679 | Block { 680 | BlockType DiscretePulseGenerator 681 | Name "Trig2" 682 | Ports [0, 1] 683 | Position [130, 279, 165, 301] 684 | ForegroundColor "magenta" 685 | PulseType "Time based" 686 | Amplitude "10" 687 | Period "0.02" 688 | PulseWidth "5" 689 | PhaseDelay "0.0125" 690 | } 691 | Block { 692 | BlockType Reference 693 | Name "VT1" 694 | Ports [1, 1, 0, 0, 0, 1, 1] 695 | Position [240, 175, 295, 215] 696 | NamePlacement "alternate" 697 | SourceBlock "powerlib/Power\nElectronics/Thyristor" 698 | SourceType "Thyristor" 699 | ShowPortLabels on 700 | Ron "0.01" 701 | Lon "0" 702 | Vf "0.8" 703 | IC "0" 704 | Rs "1000" 705 | Cs "100e-9" 706 | Measurements on 707 | } 708 | Block { 709 | BlockType Reference 710 | Name "VT2" 711 | Ports [1, 1, 0, 0, 0, 1, 1] 712 | Position [240, 245, 295, 285] 713 | Orientation "left" 714 | NamePlacement "alternate" 715 | SourceBlock "powerlib/Power\nElectronics/Thyristor" 716 | SourceType "Thyristor" 717 | ShowPortLabels on 718 | Ron "0.01" 719 | Lon "0" 720 | Vf "0.8" 721 | IC "0" 722 | Rs "1000" 723 | Cs "100e-9" 724 | Measurements on 725 | } 726 | Block { 727 | BlockType Reference 728 | Name "Voltage \nMeasurement" 729 | Ports [0, 1, 0, 0, 0, 2] 730 | Position [455, 303, 480, 327] 731 | SourceBlock "powerlib/Measurements/Voltage Measurement" 732 | SourceType "Voltage Measurement" 733 | ShowPortLabels on 734 | PhasorSimulation off 735 | OutputType "Complex" 736 | PSBequivalent "0" 737 | } 738 | Block { 739 | BlockType Reference 740 | Name "u1" 741 | Ports [0, 0, 0, 0, 0, 1, 1] 742 | Position [80, 300, 120, 345] 743 | Orientation "up" 744 | NamePlacement "alternate" 745 | SourceBlock "powerlib/Electrical\nSources/AC Voltage Source" 746 | SourceType "AC Voltage Source" 747 | ShowPortLabels on 748 | Amplitude "100" 749 | Phase "0" 750 | Frequency "50" 751 | SampleTime "0" 752 | Measurements "None" 753 | } 754 | Line { 755 | SrcBlock "Trig1" 756 | SrcPort 1 757 | Points [20, 0] 758 | Branch { 759 | Points [0, -135] 760 | DstBlock "Bus\nCreator1" 761 | DstPort 2 762 | } 763 | Branch { 764 | DstBlock "VT1" 765 | DstPort 1 766 | } 767 | } 768 | Line { 769 | SrcBlock "VT1" 770 | SrcPort 1 771 | Points [210, 0; 0, 40] 772 | DstBlock "Scope" 773 | DstPort 2 774 | } 775 | Line { 776 | LineType "Connection" 777 | Points [320, 245; 10, 0] 778 | DstBlock "Current \nMeasurement" 779 | DstPort LConn1 780 | Branch { 781 | ConnectType "SRC_DEST" 782 | SrcBlock "VT1" 783 | SrcPort RConn1 784 | Points [10, 0; 0, 40] 785 | } 786 | Branch { 787 | ConnectType "SRC_SRC" 788 | Points [0, 30] 789 | DstBlock "VT2" 790 | DstPort LConn1 791 | } 792 | } 793 | Line { 794 | SrcBlock "Voltage \nMeasurement" 795 | SrcPort 1 796 | DstBlock "Bus\nCreator" 797 | DstPort 2 798 | } 799 | Line { 800 | SrcBlock "Bus\nCreator" 801 | SrcPort 1 802 | DstBlock "Scope" 803 | DstPort 3 804 | } 805 | Line { 806 | SrcBlock "Current \nMeasurement" 807 | SrcPort 1 808 | Points [110, 0] 809 | DstBlock "Bus\nCreator" 810 | DstPort 1 811 | } 812 | Line { 813 | LineType "Connection" 814 | Points [400, 400; -300, 0] 815 | Branch { 816 | ConnectType "SRC_DEST" 817 | SrcBlock "Load" 818 | SrcPort RConn1 819 | Points [0, -25; 0, 50] 820 | } 821 | Branch { 822 | ConnectType "SRC_SRC" 823 | Points [40, 0] 824 | DstBlock "Voltage \nMeasurement" 825 | DstPort LConn2 826 | } 827 | Branch { 828 | ConnectType "DEST_SRC" 829 | Points [-35, 0] 830 | DstBlock "Source\nVoltage" 831 | DstPort LConn2 832 | } 833 | Branch { 834 | ConnectType "DEST_SRC" 835 | DstBlock "u1" 836 | DstPort LConn1 837 | } 838 | } 839 | Line { 840 | LineType "Connection" 841 | Labels [0, 0] 842 | SrcBlock "Source\nVoltage" 843 | SrcPort LConn1 844 | Points [0, -65; 35, 0] 845 | Branch { 846 | ConnectType "DEST_SRC" 847 | Points [110, 0] 848 | Branch { 849 | ConnectType "DEST_DEST" 850 | SrcBlock "VT1" 851 | SrcPort LConn1 852 | Points [-15, 0; 0, 40] 853 | } 854 | Branch { 855 | ConnectType "DEST_SRC" 856 | Points [0, 30] 857 | DstBlock "VT2" 858 | DstPort RConn1 859 | } 860 | } 861 | Branch { 862 | ConnectType "DEST_DEST" 863 | SrcBlock "u1" 864 | SrcPort RConn1 865 | Points [0, -40] 866 | } 867 | } 868 | Line { 869 | SrcBlock "Trig2" 870 | SrcPort 1 871 | Points [25, 0; 0, -65] 872 | Branch { 873 | Points [0, -165] 874 | DstBlock "Bus\nCreator1" 875 | DstPort 3 876 | } 877 | Branch { 878 | Points [115, 0] 879 | DstBlock "VT2" 880 | DstPort 1 881 | } 882 | } 883 | Line { 884 | SrcBlock "Bus\nCreator1" 885 | SrcPort 1 886 | Points [35, 0; 0, 140] 887 | DstBlock "Scope" 888 | DstPort 1 889 | } 890 | Line { 891 | SrcBlock "Source\nVoltage" 892 | SrcPort 1 893 | Points [-10, 0; 0, -275] 894 | DstBlock "Bus\nCreator1" 895 | DstPort 1 896 | } 897 | Line { 898 | LineType "Connection" 899 | SrcBlock "Current \nMeasurement" 900 | SrcPort RConn1 901 | Points [15, 0] 902 | Branch { 903 | ConnectType "DEST_SRC" 904 | DstBlock "Load" 905 | DstPort LConn1 906 | } 907 | Branch { 908 | ConnectType "DEST_SRC" 909 | Points [40, 0] 910 | DstBlock "Voltage \nMeasurement" 911 | DstPort LConn1 912 | } 913 | } 914 | Line { 915 | SrcBlock "VT2" 916 | SrcPort 1 917 | DstBlock "Terminator4" 918 | DstPort 1 919 | } 920 | Annotation { 921 | Position [214, 454] 922 | } 923 | } 924 | } 925 | -------------------------------------------------------------------------------- /single_phase_ac_regulator_rl.mdl: -------------------------------------------------------------------------------- 1 | Model { 2 | Name "single_phase_ac_regulator_rl" 3 | Version 6.1 4 | MdlSubVersion 0 5 | GraphicalInterface { 6 | NumRootInports 0 7 | NumRootOutports 0 8 | ParameterArgumentNames "" 9 | ComputedModelVersion "1.35" 10 | NumModelReferences 0 11 | NumTestPointedSignals 0 12 | } 13 | SavedCharacterEncoding "ibm-1386_P100-2002" 14 | SaveDefaultBlockParams on 15 | SampleTimeColors off 16 | LibraryLinkDisplay "none" 17 | WideLines off 18 | ShowLineDimensions off 19 | ShowPortDataTypes off 20 | ShowLoopsOnError on 21 | IgnoreBidirectionalLines off 22 | ShowStorageClass off 23 | ShowTestPointIcons on 24 | ShowViewerIcons on 25 | SortedOrder off 26 | ExecutionContextIcon off 27 | ShowLinearizationAnnotations on 28 | RecordCoverage off 29 | CovPath "/" 30 | CovSaveName "covdata" 31 | CovMetricSettings "dw" 32 | CovNameIncrementing off 33 | CovHtmlReporting on 34 | covSaveCumulativeToWorkspaceVar on 35 | CovSaveSingleToWorkspaceVar on 36 | CovCumulativeVarName "covCumulativeData" 37 | CovCumulativeReport off 38 | CovReportOnPause on 39 | ScopeRefreshTime 0.035000 40 | OverrideScopeRefreshTime on 41 | DisableAllScopes off 42 | DataTypeOverride "UseLocalSettings" 43 | MinMaxOverflowLogging "UseLocalSettings" 44 | MinMaxOverflowArchiveMode "Overwrite" 45 | BlockNameDataTip off 46 | BlockParametersDataTip off 47 | BlockDescriptionStringDataTip off 48 | ToolBar on 49 | StatusBar on 50 | BrowserShowLibraryLinks off 51 | BrowserLookUnderMasks off 52 | Created "Thu Jan 21 20:44:19 2010" 53 | UpdateHistory "UpdateHistoryNever" 54 | ModifiedByFormat "%" 55 | LastModifiedBy "ThinkPad" 56 | ModifiedDateFormat "%" 57 | LastModifiedDate "Tue Jul 24 00:56:15 2012" 58 | ModelVersionFormat "1.%" 59 | ConfigurationManager "None" 60 | LinearizationMsg "none" 61 | Profile off 62 | ParamWorkspaceSource "MATLABWorkspace" 63 | AccelSystemTargetFile "accel.tlc" 64 | AccelTemplateMakefile "accel_default_tmf" 65 | AccelMakeCommand "make_rtw" 66 | TryForcingSFcnDF off 67 | ExtModeBatchMode off 68 | ExtModeEnableFloating on 69 | ExtModeTrigType "manual" 70 | ExtModeTrigMode "normal" 71 | ExtModeTrigPort "1" 72 | ExtModeTrigElement "any" 73 | ExtModeTrigDuration 1000 74 | ExtModeTrigDurationFloating "auto" 75 | ExtModeTrigHoldOff 0 76 | ExtModeTrigDelay 0 77 | ExtModeTrigDirection "rising" 78 | ExtModeTrigLevel 0 79 | ExtModeArchiveMode "off" 80 | ExtModeAutoIncOneShot off 81 | ExtModeIncDirWhenArm off 82 | ExtModeAddSuffixToVar off 83 | ExtModeWriteAllDataToWs off 84 | ExtModeArmWhenConnect on 85 | ExtModeSkipDownloadWhenConnect off 86 | ExtModeLogAll on 87 | ExtModeAutoUpdateStatusClock on 88 | BufferReuse on 89 | StrictBusMsg "None" 90 | ProdHWDeviceType "32-bit Generic" 91 | ShowModelReferenceBlockVersion off 92 | ShowModelReferenceBlockIO off 93 | Array { 94 | Type "Handle" 95 | Dimension 1 96 | Simulink.ConfigSet { 97 | $ObjectID 1 98 | Version "1.0.4" 99 | Array { 100 | Type "Handle" 101 | Dimension 7 102 | Simulink.SolverCC { 103 | $ObjectID 2 104 | Version "1.0.4" 105 | StartTime "0.0" 106 | StopTime "0.1" 107 | AbsTol ".01" 108 | FixedStep "auto" 109 | InitialStep "auto" 110 | MaxNumMinSteps "-1" 111 | MaxOrder 5 112 | ExtrapolationOrder 4 113 | NumberNewtonIterations 1 114 | MaxStep "1e-4" 115 | MinStep "auto" 116 | RelTol "1e-3" 117 | SolverMode "Auto" 118 | Solver "ode23tb" 119 | SolverName "ode23tb" 120 | ZeroCrossControl "UseLocalSettings" 121 | PositivePriorityOrder off 122 | AutoInsertRateTranBlk off 123 | SampleTimeConstraint "Unconstrained" 124 | RateTranMode "Deterministic" 125 | } 126 | Simulink.DataIOCC { 127 | $ObjectID 3 128 | Version "1.0.4" 129 | Decimation "1" 130 | ExternalInput "[t, u]" 131 | FinalStateName "xFinal" 132 | InitialState "xInitial" 133 | LimitDataPoints on 134 | MaxDataPoints "1000" 135 | LoadExternalInput off 136 | LoadInitialState off 137 | SaveFinalState off 138 | SaveFormat "Array" 139 | SaveOutput on 140 | SaveState off 141 | SignalLogging on 142 | SaveTime on 143 | StateSaveName "xout" 144 | TimeSaveName "tout" 145 | OutputSaveName "yout" 146 | SignalLoggingName "logsout" 147 | OutputOption "RefineOutputTimes" 148 | OutputTimes "[]" 149 | Refine "1" 150 | } 151 | Simulink.OptimizationCC { 152 | $ObjectID 4 153 | Array { 154 | Type "Cell" 155 | Dimension 5 156 | Cell "ZeroExternalMemoryAtStartup" 157 | Cell "ZeroInternalMemoryAtStartup" 158 | Cell "InitFltsAndDblsToZero" 159 | Cell "OptimizeModelRefInitCode" 160 | Cell "NoFixptDivByZeroProtection" 161 | PropName "DisabledProps" 162 | } 163 | Version "1.0.4" 164 | BlockReduction on 165 | BooleanDataType on 166 | ConditionallyExecuteInputs on 167 | ConditionalExecOptimization "on_for_testing" 168 | InlineParams off 169 | InlineInvariantSignals on 170 | OptimizeBlockIOStorage on 171 | BufferReuse on 172 | EnforceIntegerDowncast on 173 | ExpressionFolding on 174 | FoldNonRolledExpr on 175 | LocalBlockOutputs on 176 | ParameterPooling on 177 | RollThreshold 5 178 | SystemCodeInlineAuto off 179 | StateBitsets off 180 | DataBitsets off 181 | UseTempVars off 182 | ZeroExternalMemoryAtStartup on 183 | ZeroInternalMemoryAtStartup on 184 | InitFltsAndDblsToZero on 185 | NoFixptDivByZeroProtection off 186 | OptimizeModelRefInitCode off 187 | LifeSpan "inf" 188 | } 189 | Simulink.DebuggingCC { 190 | $ObjectID 5 191 | Version "1.0.4" 192 | RTPrefix "error" 193 | ConsistencyChecking "none" 194 | ArrayBoundsChecking "none" 195 | AlgebraicLoopMsg "warning" 196 | ArtificialAlgebraicLoopMsg "warning" 197 | CheckSSInitialOutputMsg on 198 | CheckExecutionContextPreStartOutputMsg off 199 | CheckExecutionContextRuntimeOutputMsg off 200 | SignalResolutionControl "TryResolveAllWithWarning" 201 | BlockPriorityViolationMsg "warning" 202 | MinStepSizeMsg "warning" 203 | SolverPrmCheckMsg "warning" 204 | InheritedTsInSrcMsg "warning" 205 | DiscreteInheritContinuousMsg "warning" 206 | MultiTaskDSMMsg "warning" 207 | MultiTaskRateTransMsg "error" 208 | SingleTaskRateTransMsg "none" 209 | TasksWithSamePriorityMsg "warning" 210 | CheckMatrixSingularityMsg "none" 211 | IntegerOverflowMsg "warning" 212 | Int32ToFloatConvMsg "warning" 213 | ParameterDowncastMsg "error" 214 | ParameterOverflowMsg "error" 215 | ParameterPrecisionLossMsg "warning" 216 | UnderSpecifiedDataTypeMsg "none" 217 | UnnecessaryDatatypeConvMsg "none" 218 | VectorMatrixConversionMsg "none" 219 | InvalidFcnCallConnMsg "error" 220 | FcnCallInpInsideContextMsg "Use local settings" 221 | SignalLabelMismatchMsg "none" 222 | UnconnectedInputMsg "warning" 223 | UnconnectedOutputMsg "warning" 224 | UnconnectedLineMsg "warning" 225 | SFcnCompatibilityMsg "none" 226 | UniqueDataStoreMsg "none" 227 | RootOutportRequireBusObject "warning" 228 | AssertControl "UseLocalSettings" 229 | EnableOverflowDetection off 230 | ModelReferenceIOMsg "none" 231 | ModelReferenceVersionMismatchMessage "none" 232 | ModelReferenceIOMismatchMessage "none" 233 | ModelReferenceCSMismatchMessage "none" 234 | ModelReferenceSimTargetVerbose off 235 | UnknownTsInhSupMsg "warning" 236 | ModelReferenceDataLoggingMessage "warning" 237 | ModelReferenceSymbolNameMessage "warning" 238 | } 239 | Simulink.HardwareCC { 240 | $ObjectID 6 241 | Version "1.0.4" 242 | ProdBitPerChar 8 243 | ProdBitPerShort 16 244 | ProdBitPerInt 32 245 | ProdBitPerLong 32 246 | ProdIntDivRoundTo "Undefined" 247 | ProdEndianess "Unspecified" 248 | ProdWordSize 32 249 | ProdShiftRightIntArith on 250 | ProdHWDeviceType "32-bit Generic" 251 | TargetBitPerChar 8 252 | TargetBitPerShort 16 253 | TargetBitPerInt 32 254 | TargetBitPerLong 32 255 | TargetShiftRightIntArith on 256 | TargetIntDivRoundTo "Undefined" 257 | TargetEndianess "Unspecified" 258 | TargetWordSize 32 259 | TargetTypeEmulationWarnSuppressLevel 0 260 | TargetPreprocMaxBitsSint 32 261 | TargetPreprocMaxBitsUint 32 262 | TargetHWDeviceType "Specified" 263 | TargetUnknown off 264 | ProdEqTarget on 265 | } 266 | Simulink.ModelReferenceCC { 267 | $ObjectID 7 268 | Version "1.0.4" 269 | UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" 270 | CheckModelReferenceTargetMessage "error" 271 | ModelReferenceNumInstancesAllowed "Multi" 272 | ModelReferencePassRootInputsByReference on 273 | ModelReferenceMinAlgLoopOccurrences off 274 | } 275 | Simulink.RTWCC { 276 | $BackupClass "Simulink.RTWCC" 277 | $ObjectID 8 278 | Array { 279 | Type "Cell" 280 | Dimension 1 281 | Cell "IncludeHyperlinkInReport" 282 | PropName "DisabledProps" 283 | } 284 | Version "1.0.4" 285 | SystemTargetFile "grt.tlc" 286 | GenCodeOnly off 287 | MakeCommand "make_rtw" 288 | TemplateMakefile "grt_default_tmf" 289 | GenerateReport off 290 | SaveLog off 291 | RTWVerbose on 292 | RetainRTWFile off 293 | ProfileTLC off 294 | TLCDebug off 295 | TLCCoverage off 296 | TLCAssert off 297 | ProcessScriptMode "Default" 298 | ConfigurationMode "Optimized" 299 | ConfigAtBuild off 300 | IncludeHyperlinkInReport off 301 | LaunchReport off 302 | Array { 303 | Type "Handle" 304 | Dimension 2 305 | Simulink.CodeAppCC { 306 | $ObjectID 9 307 | Array { 308 | Type "Cell" 309 | Dimension 9 310 | Cell "IgnoreCustomStorageClasses" 311 | Cell "InsertBlockDesc" 312 | Cell "SFDataObjDesc" 313 | Cell "SimulinkDataObjDesc" 314 | Cell "DefineNamingRule" 315 | Cell "SignalNamingRule" 316 | Cell "ParamNamingRule" 317 | Cell "InlinedPrmAccess" 318 | Cell "CustomSymbolStr" 319 | PropName "DisabledProps" 320 | } 321 | Version "1.0.4" 322 | ForceParamTrailComments off 323 | GenerateComments on 324 | IgnoreCustomStorageClasses on 325 | IncHierarchyInIds off 326 | MaxIdLength 31 327 | PreserveName off 328 | PreserveNameWithParent off 329 | ShowEliminatedStatement off 330 | IncAutoGenComments off 331 | SimulinkDataObjDesc off 332 | SFDataObjDesc off 333 | IncDataTypeInIds off 334 | PrefixModelToSubsysFcnNames on 335 | CustomSymbolStr "$R$N$M" 336 | MangleLength 1 337 | DefineNamingRule "None" 338 | ParamNamingRule "None" 339 | SignalNamingRule "None" 340 | InsertBlockDesc off 341 | SimulinkBlockComments on 342 | EnableCustomComments off 343 | InlinedPrmAccess "Literals" 344 | ReqsInCode off 345 | } 346 | Simulink.GRTTargetCC { 347 | $BackupClass "Simulink.TargetCC" 348 | $ObjectID 10 349 | Array { 350 | Type "Cell" 351 | Dimension 12 352 | Cell "IncludeMdlTerminateFcn" 353 | Cell "CombineOutputUpdateFcns" 354 | Cell "SuppressErrorStatus" 355 | Cell "ERTCustomFileBanners" 356 | Cell "GenerateSampleERTMain" 357 | Cell "MultiInstanceERTCode" 358 | Cell "PurelyIntegerCode" 359 | Cell "SupportNonFinite" 360 | Cell "SupportComplex" 361 | Cell "SupportAbsoluteTime" 362 | Cell "SupportContinuousTime" 363 | Cell "SupportNonInlinedSFcns" 364 | PropName "DisabledProps" 365 | } 366 | Version "1.0.4" 367 | TargetFcnLib "ansi_tfl_tmw.mat" 368 | GenFloatMathFcnCalls "ANSI_C" 369 | UtilityFuncGeneration "Auto" 370 | GenerateFullHeader on 371 | GenerateSampleERTMain off 372 | IsPILTarget off 373 | ModelReferenceCompliant on 374 | IncludeMdlTerminateFcn on 375 | CombineOutputUpdateFcns off 376 | SuppressErrorStatus off 377 | IncludeFileDelimiter "Auto" 378 | ERTCustomFileBanners off 379 | SupportAbsoluteTime on 380 | LogVarNameModifier "rt_" 381 | MatFileLogging on 382 | MultiInstanceERTCode off 383 | SupportNonFinite on 384 | SupportComplex on 385 | PurelyIntegerCode off 386 | SupportContinuousTime on 387 | SupportNonInlinedSFcns on 388 | ExtMode off 389 | ExtModeStaticAlloc off 390 | ExtModeTesting off 391 | ExtModeStaticAllocSize 1000000 392 | ExtModeTransport 0 393 | ExtModeMexFile "ext_comm" 394 | RTWCAPISignals off 395 | RTWCAPIParams off 396 | RTWCAPIStates off 397 | GenerateASAP2 off 398 | } 399 | PropName "Components" 400 | } 401 | } 402 | PropName "Components" 403 | } 404 | Name "Configuration" 405 | SimulationMode "normal" 406 | CurrentDlgPage "Solver" 407 | } 408 | PropName "ConfigurationSets" 409 | } 410 | Simulink.ConfigSet { 411 | $PropName "ActiveConfigurationSet" 412 | $ObjectID 1 413 | } 414 | BlockDefaults { 415 | Orientation "right" 416 | ForegroundColor "black" 417 | BackgroundColor "white" 418 | DropShadow off 419 | NamePlacement "normal" 420 | FontName "Helvetica" 421 | FontSize 10 422 | FontWeight "normal" 423 | FontAngle "normal" 424 | ShowName on 425 | } 426 | BlockParameterDefaults { 427 | Block { 428 | BlockType BusCreator 429 | Inputs "4" 430 | DisplayOption "none" 431 | BusObject "BusObject" 432 | NonVirtualBus off 433 | } 434 | Block { 435 | BlockType Demux 436 | Outputs "4" 437 | DisplayOption "none" 438 | BusSelectionMode off 439 | } 440 | Block { 441 | BlockType DiscretePulseGenerator 442 | PulseType "Sample based" 443 | TimeSource "Use simulation time" 444 | Amplitude "1" 445 | Period "2" 446 | PulseWidth "1" 447 | PhaseDelay "0" 448 | SampleTime "1" 449 | VectorParams1D on 450 | } 451 | Block { 452 | BlockType From 453 | IconDisplay "Tag" 454 | } 455 | Block { 456 | BlockType Goto 457 | IconDisplay "Tag" 458 | } 459 | Block { 460 | BlockType Inport 461 | BusObject "BusObject" 462 | BusOutputAsStruct off 463 | PortDimensions "-1" 464 | SampleTime "-1" 465 | DataType "auto" 466 | OutDataType "sfix(16)" 467 | OutScaling "2^0" 468 | SignalType "auto" 469 | SamplingMode "auto" 470 | Interpolate on 471 | } 472 | Block { 473 | BlockType Outport 474 | Port "1" 475 | BusObject "BusObject" 476 | BusOutputAsStruct off 477 | PortDimensions "-1" 478 | SampleTime "-1" 479 | DataType "auto" 480 | OutDataType "sfix(16)" 481 | OutScaling "2^0" 482 | SignalType "auto" 483 | SamplingMode "auto" 484 | OutputWhenDisabled "held" 485 | InitialOutput "[]" 486 | } 487 | Block { 488 | BlockType PMComponent 489 | SubClassName "unknown" 490 | } 491 | Block { 492 | BlockType PMIOPort 493 | } 494 | Block { 495 | BlockType Scope 496 | Floating off 497 | ModelBased off 498 | TickLabels "OneTimeTick" 499 | ZoomMode "on" 500 | Grid "on" 501 | TimeRange "auto" 502 | YMin "-5" 503 | YMax "5" 504 | SaveToWorkspace off 505 | SaveName "ScopeData" 506 | LimitDataPoints on 507 | MaxDataPoints "5000" 508 | Decimation "1" 509 | SampleInput off 510 | SampleTime "0" 511 | } 512 | Block { 513 | BlockType Sin 514 | SineType "Time based" 515 | TimeSource "Use simulation time" 516 | Amplitude "1" 517 | Bias "0" 518 | Frequency "1" 519 | Phase "0" 520 | Samples "10" 521 | Offset "0" 522 | SampleTime "-1" 523 | VectorParams1D on 524 | } 525 | Block { 526 | BlockType SubSystem 527 | ShowPortLabels on 528 | Permissions "ReadWrite" 529 | PermitHierarchicalResolution "All" 530 | SystemSampleTime "-1" 531 | RTWFcnNameOpts "Auto" 532 | RTWFileNameOpts "Auto" 533 | SimViewingDevice off 534 | DataTypeOverride "UseLocalSettings" 535 | MinMaxOverflowLogging "UseLocalSettings" 536 | } 537 | Block { 538 | BlockType Terminator 539 | } 540 | } 541 | AnnotationDefaults { 542 | HorizontalAlignment "center" 543 | VerticalAlignment "middle" 544 | ForegroundColor "black" 545 | BackgroundColor "white" 546 | DropShadow off 547 | FontName "Helvetica" 548 | FontSize 10 549 | FontWeight "normal" 550 | FontAngle "normal" 551 | } 552 | LineDefaults { 553 | FontName "Helvetica" 554 | FontSize 9 555 | FontWeight "normal" 556 | FontAngle "normal" 557 | } 558 | System { 559 | Name "single_phase_ac_regulator_rl" 560 | Location [7, 84, 626, 774] 561 | Open on 562 | ModelBrowserVisibility off 563 | ModelBrowserWidth 200 564 | ScreenColor "white" 565 | PaperOrientation "landscape" 566 | PaperPositionMode "auto" 567 | PaperType "A4" 568 | PaperUnits "centimeters" 569 | ZoomFactor "100" 570 | ReportName "simulink-default.rpt" 571 | Block { 572 | BlockType BusCreator 573 | Name "Bus\nCreator" 574 | Ports [2, 1] 575 | Position [500, 241, 505, 279] 576 | ShowName off 577 | DialogController "Simulink.DDGSource_Bus" 578 | Inputs "2" 579 | DisplayOption "bar" 580 | } 581 | Block { 582 | BlockType BusCreator 583 | Name "Bus\nCreator1" 584 | Ports [3, 1] 585 | Position [485, 31, 490, 69] 586 | ShowName off 587 | DialogController "Simulink.DDGSource_Bus" 588 | Inputs "3" 589 | DisplayOption "bar" 590 | } 591 | Block { 592 | BlockType Reference 593 | Name "Current \nMeasurement" 594 | Ports [0, 1, 0, 0, 0, 1, 1] 595 | Position [345, 233, 370, 257] 596 | SourceBlock "powerlib/Measurements/Current Measurement" 597 | SourceType "Current Measurement" 598 | ShowPortLabels on 599 | PhasorSimulation off 600 | OutputType "Complex" 601 | PSBequivalent "0" 602 | } 603 | Block { 604 | BlockType Reference 605 | Name "Load" 606 | Ports [0, 0, 0, 0, 0, 1, 1] 607 | Position [386, 290, 414, 360] 608 | Orientation "down" 609 | NamePlacement "alternate" 610 | SourceBlock "powerlib/Elements/Series RLC Branch" 611 | SourceType "Series RLC Branch" 612 | PhysicalDomain "powersysdomain" 613 | SubClassName "unknown" 614 | LeftPortType "p1" 615 | RightPortType "p1" 616 | LConnTagsString "__new0" 617 | RConnTagsString "__new0" 618 | Resistance "1" 619 | Inductance "0.01" 620 | Capacitance "inf" 621 | Measurements "None" 622 | } 623 | Block { 624 | BlockType Scope 625 | Name "Scope" 626 | Ports [3] 627 | Position [550, 172, 610, 278] 628 | Location [634, 56, 1275, 793] 629 | Open on 630 | NumInputPorts "3" 631 | List { 632 | ListType AxesTitles 633 | axes1 "Source Voltage/Trig1/Trig2" 634 | axes2 "Current/Voltage of VT1" 635 | axes3 "Output Current/Output Voltage" 636 | } 637 | TimeRange "0.1" 638 | YMin "-100~-100~-100" 639 | YMax "100~100~100" 640 | DataFormat "StructureWithTime" 641 | SampleTime "1e-4" 642 | } 643 | Block { 644 | BlockType Reference 645 | Name "Source\nVoltage" 646 | Ports [0, 1, 0, 0, 0, 2] 647 | Position [25, 303, 50, 327] 648 | Orientation "left" 649 | NamePlacement "alternate" 650 | SourceBlock "powerlib/Measurements/Voltage Measurement" 651 | SourceType "Voltage Measurement" 652 | ShowPortLabels on 653 | PhasorSimulation off 654 | OutputType "Complex" 655 | PSBequivalent "0" 656 | } 657 | Block { 658 | BlockType Terminator 659 | Name "Terminator4" 660 | Position [225, 253, 235, 267] 661 | Orientation "left" 662 | NamePlacement "alternate" 663 | ShowName off 664 | } 665 | Block { 666 | BlockType DiscretePulseGenerator 667 | Name "Trig1" 668 | Ports [0, 1] 669 | Position [130, 174, 165, 196] 670 | ForegroundColor "blue" 671 | PulseType "Time based" 672 | Amplitude "10" 673 | Period "0.02" 674 | PulseWidth "30" 675 | PhaseDelay "0.005" 676 | } 677 | Block { 678 | BlockType DiscretePulseGenerator 679 | Name "Trig2" 680 | Ports [0, 1] 681 | Position [135, 284, 170, 306] 682 | ForegroundColor "magenta" 683 | PulseType "Time based" 684 | Amplitude "10" 685 | Period "0.02" 686 | PulseWidth "30" 687 | PhaseDelay "0.015" 688 | } 689 | Block { 690 | BlockType Reference 691 | Name "VT1" 692 | Ports [1, 1, 0, 0, 0, 1, 1] 693 | Position [250, 175, 305, 215] 694 | NamePlacement "alternate" 695 | SourceBlock "powerlib/Power\nElectronics/Thyristor" 696 | SourceType "Thyristor" 697 | ShowPortLabels on 698 | Ron "0.01" 699 | Lon "0" 700 | Vf "0.8" 701 | IC "0" 702 | Rs "1000" 703 | Cs "100e-9" 704 | Measurements on 705 | } 706 | Block { 707 | BlockType Reference 708 | Name "VT2" 709 | Ports [1, 1, 0, 0, 0, 1, 1] 710 | Position [250, 250, 305, 290] 711 | Orientation "left" 712 | NamePlacement "alternate" 713 | SourceBlock "powerlib/Power\nElectronics/Thyristor" 714 | SourceType "Thyristor" 715 | ShowPortLabels on 716 | Ron "0.01" 717 | Lon "0" 718 | Vf "0.8" 719 | IC "0" 720 | Rs "1000" 721 | Cs "100e-9" 722 | Measurements on 723 | } 724 | Block { 725 | BlockType Reference 726 | Name "Voltage \nMeasurement" 727 | Ports [0, 1, 0, 0, 0, 2] 728 | Position [455, 303, 480, 327] 729 | SourceBlock "powerlib/Measurements/Voltage Measurement" 730 | SourceType "Voltage Measurement" 731 | ShowPortLabels on 732 | PhasorSimulation off 733 | OutputType "Complex" 734 | PSBequivalent "0" 735 | } 736 | Block { 737 | BlockType Reference 738 | Name "u1" 739 | Ports [0, 0, 0, 0, 0, 1, 1] 740 | Position [80, 300, 120, 345] 741 | Orientation "up" 742 | NamePlacement "alternate" 743 | SourceBlock "powerlib/Electrical\nSources/AC Voltage Source" 744 | SourceType "AC Voltage Source" 745 | ShowPortLabels on 746 | Amplitude "100" 747 | Phase "0" 748 | Frequency "50" 749 | SampleTime "0" 750 | Measurements "None" 751 | } 752 | Line { 753 | SrcBlock "Trig1" 754 | SrcPort 1 755 | Points [15, 0] 756 | Branch { 757 | Points [0, -135] 758 | DstBlock "Bus\nCreator1" 759 | DstPort 2 760 | } 761 | Branch { 762 | DstBlock "VT1" 763 | DstPort 1 764 | } 765 | } 766 | Line { 767 | SrcBlock "VT1" 768 | SrcPort 1 769 | Points [200, 0; 0, 40] 770 | DstBlock "Scope" 771 | DstPort 2 772 | } 773 | Line { 774 | LineType "Connection" 775 | SrcBlock "VT1" 776 | SrcPort RConn1 777 | Points [5, 0; 0, 40] 778 | Branch { 779 | ConnectType "DEST_SRC" 780 | DstBlock "Current \nMeasurement" 781 | DstPort LConn1 782 | } 783 | Branch { 784 | ConnectType "DEST_SRC" 785 | Points [0, 35] 786 | DstBlock "VT2" 787 | DstPort LConn1 788 | } 789 | } 790 | Line { 791 | SrcBlock "Voltage \nMeasurement" 792 | SrcPort 1 793 | DstBlock "Bus\nCreator" 794 | DstPort 2 795 | } 796 | Line { 797 | SrcBlock "Bus\nCreator" 798 | SrcPort 1 799 | DstBlock "Scope" 800 | DstPort 3 801 | } 802 | Line { 803 | SrcBlock "Current \nMeasurement" 804 | SrcPort 1 805 | Points [110, 0] 806 | DstBlock "Bus\nCreator" 807 | DstPort 1 808 | } 809 | Line { 810 | LineType "Connection" 811 | Points [400, 400; -300, 0] 812 | Branch { 813 | ConnectType "SRC_DEST" 814 | SrcBlock "Load" 815 | SrcPort RConn1 816 | Points [0, -25; 0, 50] 817 | } 818 | Branch { 819 | ConnectType "SRC_SRC" 820 | Points [40, 0] 821 | DstBlock "Voltage \nMeasurement" 822 | DstPort LConn2 823 | } 824 | Branch { 825 | ConnectType "DEST_SRC" 826 | Points [-35, 0] 827 | DstBlock "Source\nVoltage" 828 | DstPort LConn2 829 | } 830 | Branch { 831 | ConnectType "DEST_SRC" 832 | DstBlock "u1" 833 | DstPort LConn1 834 | } 835 | } 836 | Line { 837 | LineType "Connection" 838 | SrcBlock "VT2" 839 | SrcPort RConn1 840 | Points [-25, 0; 0, -35] 841 | Branch { 842 | ConnectType "DEST_SRC" 843 | Points [-110, 0] 844 | Branch { 845 | ConnectType "DEST_DEST" 846 | Labels [0, 0] 847 | SrcBlock "Source\nVoltage" 848 | SrcPort LConn1 849 | Points [0, -65; 35, 0] 850 | } 851 | Branch { 852 | ConnectType "DEST_DEST" 853 | SrcBlock "u1" 854 | SrcPort RConn1 855 | Points [0, -40] 856 | } 857 | } 858 | Branch { 859 | ConnectType "DEST_SRC" 860 | Points [0, -40] 861 | DstBlock "VT1" 862 | DstPort LConn1 863 | } 864 | } 865 | Line { 866 | SrcBlock "Trig2" 867 | SrcPort 1 868 | Points [20, 0; 0, -65] 869 | Branch { 870 | Points [0, -170] 871 | DstBlock "Bus\nCreator1" 872 | DstPort 3 873 | } 874 | Branch { 875 | Points [125, 0] 876 | DstBlock "VT2" 877 | DstPort 1 878 | } 879 | } 880 | Line { 881 | SrcBlock "Bus\nCreator1" 882 | SrcPort 1 883 | Points [35, 0; 0, 140] 884 | DstBlock "Scope" 885 | DstPort 1 886 | } 887 | Line { 888 | SrcBlock "Source\nVoltage" 889 | SrcPort 1 890 | Points [-10, 0; 0, -275] 891 | DstBlock "Bus\nCreator1" 892 | DstPort 1 893 | } 894 | Line { 895 | LineType "Connection" 896 | SrcBlock "Current \nMeasurement" 897 | SrcPort RConn1 898 | Points [15, 0] 899 | Branch { 900 | ConnectType "DEST_SRC" 901 | DstBlock "Load" 902 | DstPort LConn1 903 | } 904 | Branch { 905 | ConnectType "DEST_SRC" 906 | Points [40, 0] 907 | DstBlock "Voltage \nMeasurement" 908 | DstPort LConn1 909 | } 910 | } 911 | Line { 912 | SrcBlock "VT2" 913 | SrcPort 1 914 | DstBlock "Terminator4" 915 | DstPort 1 916 | } 917 | Annotation { 918 | Position [214, 454] 919 | } 920 | } 921 | } 922 | -------------------------------------------------------------------------------- /single_phase_bridge_cr.mdl: -------------------------------------------------------------------------------- 1 | Model { 2 | Name "single_phase_bridge_cr" 3 | Version 6.1 4 | MdlSubVersion 0 5 | GraphicalInterface { 6 | NumRootInports 0 7 | NumRootOutports 0 8 | ParameterArgumentNames "" 9 | ComputedModelVersion "1.48" 10 | NumModelReferences 0 11 | NumTestPointedSignals 0 12 | } 13 | SavedCharacterEncoding "ibm-1386_P100-2002" 14 | SaveDefaultBlockParams on 15 | SampleTimeColors off 16 | LibraryLinkDisplay "none" 17 | WideLines off 18 | ShowLineDimensions off 19 | ShowPortDataTypes off 20 | ShowLoopsOnError on 21 | IgnoreBidirectionalLines off 22 | ShowStorageClass off 23 | ShowTestPointIcons on 24 | ShowViewerIcons on 25 | SortedOrder off 26 | ExecutionContextIcon off 27 | ShowLinearizationAnnotations on 28 | RecordCoverage off 29 | CovPath "/" 30 | CovSaveName "covdata" 31 | CovMetricSettings "dw" 32 | CovNameIncrementing off 33 | CovHtmlReporting on 34 | covSaveCumulativeToWorkspaceVar on 35 | CovSaveSingleToWorkspaceVar on 36 | CovCumulativeVarName "covCumulativeData" 37 | CovCumulativeReport off 38 | CovReportOnPause on 39 | ScopeRefreshTime 0.035000 40 | OverrideScopeRefreshTime on 41 | DisableAllScopes off 42 | DataTypeOverride "UseLocalSettings" 43 | MinMaxOverflowLogging "UseLocalSettings" 44 | MinMaxOverflowArchiveMode "Overwrite" 45 | BlockNameDataTip off 46 | BlockParametersDataTip off 47 | BlockDescriptionStringDataTip off 48 | ToolBar on 49 | StatusBar on 50 | BrowserShowLibraryLinks off 51 | BrowserLookUnderMasks off 52 | Created "Thu Jan 21 20:44:19 2010" 53 | UpdateHistory "UpdateHistoryNever" 54 | ModifiedByFormat "%" 55 | LastModifiedBy "ThinkPad" 56 | ModifiedDateFormat "%" 57 | LastModifiedDate "Wed Jul 04 18:14:40 2012" 58 | ModelVersionFormat "1.%" 59 | ConfigurationManager "None" 60 | LinearizationMsg "none" 61 | Profile off 62 | ParamWorkspaceSource "MATLABWorkspace" 63 | AccelSystemTargetFile "accel.tlc" 64 | AccelTemplateMakefile "accel_default_tmf" 65 | AccelMakeCommand "make_rtw" 66 | TryForcingSFcnDF off 67 | ExtModeBatchMode off 68 | ExtModeEnableFloating on 69 | ExtModeTrigType "manual" 70 | ExtModeTrigMode "normal" 71 | ExtModeTrigPort "1" 72 | ExtModeTrigElement "any" 73 | ExtModeTrigDuration 1000 74 | ExtModeTrigDurationFloating "auto" 75 | ExtModeTrigHoldOff 0 76 | ExtModeTrigDelay 0 77 | ExtModeTrigDirection "rising" 78 | ExtModeTrigLevel 0 79 | ExtModeArchiveMode "off" 80 | ExtModeAutoIncOneShot off 81 | ExtModeIncDirWhenArm off 82 | ExtModeAddSuffixToVar off 83 | ExtModeWriteAllDataToWs off 84 | ExtModeArmWhenConnect on 85 | ExtModeSkipDownloadWhenConnect off 86 | ExtModeLogAll on 87 | ExtModeAutoUpdateStatusClock on 88 | BufferReuse on 89 | StrictBusMsg "None" 90 | ProdHWDeviceType "32-bit Generic" 91 | ShowModelReferenceBlockVersion off 92 | ShowModelReferenceBlockIO off 93 | Array { 94 | Type "Handle" 95 | Dimension 1 96 | Simulink.ConfigSet { 97 | $ObjectID 1 98 | Version "1.0.4" 99 | Array { 100 | Type "Handle" 101 | Dimension 7 102 | Simulink.SolverCC { 103 | $ObjectID 2 104 | Version "1.0.4" 105 | StartTime "0.0" 106 | StopTime "0.1499" 107 | AbsTol ".01" 108 | FixedStep "auto" 109 | InitialStep "auto" 110 | MaxNumMinSteps "-1" 111 | MaxOrder 5 112 | ExtrapolationOrder 4 113 | NumberNewtonIterations 1 114 | MaxStep "1e-4" 115 | MinStep "auto" 116 | RelTol "1e-3" 117 | SolverMode "Auto" 118 | Solver "ode23tb" 119 | SolverName "ode23tb" 120 | ZeroCrossControl "UseLocalSettings" 121 | PositivePriorityOrder off 122 | AutoInsertRateTranBlk off 123 | SampleTimeConstraint "Unconstrained" 124 | RateTranMode "Deterministic" 125 | } 126 | Simulink.DataIOCC { 127 | $ObjectID 3 128 | Version "1.0.4" 129 | Decimation "1" 130 | ExternalInput "[t, u]" 131 | FinalStateName "xFinal" 132 | InitialState "xInitial" 133 | LimitDataPoints on 134 | MaxDataPoints "1000" 135 | LoadExternalInput off 136 | LoadInitialState off 137 | SaveFinalState off 138 | SaveFormat "Array" 139 | SaveOutput on 140 | SaveState off 141 | SignalLogging on 142 | SaveTime on 143 | StateSaveName "xout" 144 | TimeSaveName "tout" 145 | OutputSaveName "yout" 146 | SignalLoggingName "logsout" 147 | OutputOption "RefineOutputTimes" 148 | OutputTimes "[]" 149 | Refine "1" 150 | } 151 | Simulink.OptimizationCC { 152 | $ObjectID 4 153 | Array { 154 | Type "Cell" 155 | Dimension 5 156 | Cell "ZeroExternalMemoryAtStartup" 157 | Cell "ZeroInternalMemoryAtStartup" 158 | Cell "InitFltsAndDblsToZero" 159 | Cell "OptimizeModelRefInitCode" 160 | Cell "NoFixptDivByZeroProtection" 161 | PropName "DisabledProps" 162 | } 163 | Version "1.0.4" 164 | BlockReduction on 165 | BooleanDataType on 166 | ConditionallyExecuteInputs on 167 | ConditionalExecOptimization "on_for_testing" 168 | InlineParams off 169 | InlineInvariantSignals on 170 | OptimizeBlockIOStorage on 171 | BufferReuse on 172 | EnforceIntegerDowncast on 173 | ExpressionFolding on 174 | FoldNonRolledExpr on 175 | LocalBlockOutputs on 176 | ParameterPooling on 177 | RollThreshold 5 178 | SystemCodeInlineAuto off 179 | StateBitsets off 180 | DataBitsets off 181 | UseTempVars off 182 | ZeroExternalMemoryAtStartup on 183 | ZeroInternalMemoryAtStartup on 184 | InitFltsAndDblsToZero on 185 | NoFixptDivByZeroProtection off 186 | OptimizeModelRefInitCode off 187 | LifeSpan "inf" 188 | } 189 | Simulink.DebuggingCC { 190 | $ObjectID 5 191 | Version "1.0.4" 192 | RTPrefix "error" 193 | ConsistencyChecking "none" 194 | ArrayBoundsChecking "none" 195 | AlgebraicLoopMsg "warning" 196 | ArtificialAlgebraicLoopMsg "warning" 197 | CheckSSInitialOutputMsg on 198 | CheckExecutionContextPreStartOutputMsg off 199 | CheckExecutionContextRuntimeOutputMsg off 200 | SignalResolutionControl "TryResolveAllWithWarning" 201 | BlockPriorityViolationMsg "warning" 202 | MinStepSizeMsg "warning" 203 | SolverPrmCheckMsg "warning" 204 | InheritedTsInSrcMsg "warning" 205 | DiscreteInheritContinuousMsg "warning" 206 | MultiTaskDSMMsg "warning" 207 | MultiTaskRateTransMsg "error" 208 | SingleTaskRateTransMsg "none" 209 | TasksWithSamePriorityMsg "warning" 210 | CheckMatrixSingularityMsg "none" 211 | IntegerOverflowMsg "warning" 212 | Int32ToFloatConvMsg "warning" 213 | ParameterDowncastMsg "error" 214 | ParameterOverflowMsg "error" 215 | ParameterPrecisionLossMsg "warning" 216 | UnderSpecifiedDataTypeMsg "none" 217 | UnnecessaryDatatypeConvMsg "none" 218 | VectorMatrixConversionMsg "none" 219 | InvalidFcnCallConnMsg "error" 220 | FcnCallInpInsideContextMsg "Use local settings" 221 | SignalLabelMismatchMsg "none" 222 | UnconnectedInputMsg "warning" 223 | UnconnectedOutputMsg "warning" 224 | UnconnectedLineMsg "warning" 225 | SFcnCompatibilityMsg "none" 226 | UniqueDataStoreMsg "none" 227 | RootOutportRequireBusObject "warning" 228 | AssertControl "UseLocalSettings" 229 | EnableOverflowDetection off 230 | ModelReferenceIOMsg "none" 231 | ModelReferenceVersionMismatchMessage "none" 232 | ModelReferenceIOMismatchMessage "none" 233 | ModelReferenceCSMismatchMessage "none" 234 | ModelReferenceSimTargetVerbose off 235 | UnknownTsInhSupMsg "warning" 236 | ModelReferenceDataLoggingMessage "warning" 237 | ModelReferenceSymbolNameMessage "warning" 238 | } 239 | Simulink.HardwareCC { 240 | $ObjectID 6 241 | Version "1.0.4" 242 | ProdBitPerChar 8 243 | ProdBitPerShort 16 244 | ProdBitPerInt 32 245 | ProdBitPerLong 32 246 | ProdIntDivRoundTo "Undefined" 247 | ProdEndianess "Unspecified" 248 | ProdWordSize 32 249 | ProdShiftRightIntArith on 250 | ProdHWDeviceType "32-bit Generic" 251 | TargetBitPerChar 8 252 | TargetBitPerShort 16 253 | TargetBitPerInt 32 254 | TargetBitPerLong 32 255 | TargetShiftRightIntArith on 256 | TargetIntDivRoundTo "Undefined" 257 | TargetEndianess "Unspecified" 258 | TargetWordSize 32 259 | TargetTypeEmulationWarnSuppressLevel 0 260 | TargetPreprocMaxBitsSint 32 261 | TargetPreprocMaxBitsUint 32 262 | TargetHWDeviceType "Specified" 263 | TargetUnknown off 264 | ProdEqTarget on 265 | } 266 | Simulink.ModelReferenceCC { 267 | $ObjectID 7 268 | Version "1.0.4" 269 | UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" 270 | CheckModelReferenceTargetMessage "error" 271 | ModelReferenceNumInstancesAllowed "Multi" 272 | ModelReferencePassRootInputsByReference on 273 | ModelReferenceMinAlgLoopOccurrences off 274 | } 275 | Simulink.RTWCC { 276 | $BackupClass "Simulink.RTWCC" 277 | $ObjectID 8 278 | Array { 279 | Type "Cell" 280 | Dimension 1 281 | Cell "IncludeHyperlinkInReport" 282 | PropName "DisabledProps" 283 | } 284 | Version "1.0.4" 285 | SystemTargetFile "grt.tlc" 286 | GenCodeOnly off 287 | MakeCommand "make_rtw" 288 | TemplateMakefile "grt_default_tmf" 289 | GenerateReport off 290 | SaveLog off 291 | RTWVerbose on 292 | RetainRTWFile off 293 | ProfileTLC off 294 | TLCDebug off 295 | TLCCoverage off 296 | TLCAssert off 297 | ProcessScriptMode "Default" 298 | ConfigurationMode "Optimized" 299 | ConfigAtBuild off 300 | IncludeHyperlinkInReport off 301 | LaunchReport off 302 | Array { 303 | Type "Handle" 304 | Dimension 2 305 | Simulink.CodeAppCC { 306 | $ObjectID 9 307 | Array { 308 | Type "Cell" 309 | Dimension 9 310 | Cell "IgnoreCustomStorageClasses" 311 | Cell "InsertBlockDesc" 312 | Cell "SFDataObjDesc" 313 | Cell "SimulinkDataObjDesc" 314 | Cell "DefineNamingRule" 315 | Cell "SignalNamingRule" 316 | Cell "ParamNamingRule" 317 | Cell "InlinedPrmAccess" 318 | Cell "CustomSymbolStr" 319 | PropName "DisabledProps" 320 | } 321 | Version "1.0.4" 322 | ForceParamTrailComments off 323 | GenerateComments on 324 | IgnoreCustomStorageClasses on 325 | IncHierarchyInIds off 326 | MaxIdLength 31 327 | PreserveName off 328 | PreserveNameWithParent off 329 | ShowEliminatedStatement off 330 | IncAutoGenComments off 331 | SimulinkDataObjDesc off 332 | SFDataObjDesc off 333 | IncDataTypeInIds off 334 | PrefixModelToSubsysFcnNames on 335 | CustomSymbolStr "$R$N$M" 336 | MangleLength 1 337 | DefineNamingRule "None" 338 | ParamNamingRule "None" 339 | SignalNamingRule "None" 340 | InsertBlockDesc off 341 | SimulinkBlockComments on 342 | EnableCustomComments off 343 | InlinedPrmAccess "Literals" 344 | ReqsInCode off 345 | } 346 | Simulink.GRTTargetCC { 347 | $BackupClass "Simulink.TargetCC" 348 | $ObjectID 10 349 | Array { 350 | Type "Cell" 351 | Dimension 12 352 | Cell "IncludeMdlTerminateFcn" 353 | Cell "CombineOutputUpdateFcns" 354 | Cell "SuppressErrorStatus" 355 | Cell "ERTCustomFileBanners" 356 | Cell "GenerateSampleERTMain" 357 | Cell "MultiInstanceERTCode" 358 | Cell "PurelyIntegerCode" 359 | Cell "SupportNonFinite" 360 | Cell "SupportComplex" 361 | Cell "SupportAbsoluteTime" 362 | Cell "SupportContinuousTime" 363 | Cell "SupportNonInlinedSFcns" 364 | PropName "DisabledProps" 365 | } 366 | Version "1.0.4" 367 | TargetFcnLib "ansi_tfl_tmw.mat" 368 | GenFloatMathFcnCalls "ANSI_C" 369 | UtilityFuncGeneration "Auto" 370 | GenerateFullHeader on 371 | GenerateSampleERTMain off 372 | IsPILTarget off 373 | ModelReferenceCompliant on 374 | IncludeMdlTerminateFcn on 375 | CombineOutputUpdateFcns off 376 | SuppressErrorStatus off 377 | IncludeFileDelimiter "Auto" 378 | ERTCustomFileBanners off 379 | SupportAbsoluteTime on 380 | LogVarNameModifier "rt_" 381 | MatFileLogging on 382 | MultiInstanceERTCode off 383 | SupportNonFinite on 384 | SupportComplex on 385 | PurelyIntegerCode off 386 | SupportContinuousTime on 387 | SupportNonInlinedSFcns on 388 | ExtMode off 389 | ExtModeStaticAlloc off 390 | ExtModeTesting off 391 | ExtModeStaticAllocSize 1000000 392 | ExtModeTransport 0 393 | ExtModeMexFile "ext_comm" 394 | RTWCAPISignals off 395 | RTWCAPIParams off 396 | RTWCAPIStates off 397 | GenerateASAP2 off 398 | } 399 | PropName "Components" 400 | } 401 | } 402 | PropName "Components" 403 | } 404 | Name "Configuration" 405 | SimulationMode "normal" 406 | CurrentDlgPage "Solver" 407 | } 408 | PropName "ConfigurationSets" 409 | } 410 | Simulink.ConfigSet { 411 | $PropName "ActiveConfigurationSet" 412 | $ObjectID 1 413 | } 414 | BlockDefaults { 415 | Orientation "right" 416 | ForegroundColor "black" 417 | BackgroundColor "white" 418 | DropShadow off 419 | NamePlacement "normal" 420 | FontName "Helvetica" 421 | FontSize 10 422 | FontWeight "normal" 423 | FontAngle "normal" 424 | ShowName on 425 | } 426 | BlockParameterDefaults { 427 | Block { 428 | BlockType BusCreator 429 | Inputs "4" 430 | DisplayOption "none" 431 | BusObject "BusObject" 432 | NonVirtualBus off 433 | } 434 | Block { 435 | BlockType Demux 436 | Outputs "4" 437 | DisplayOption "none" 438 | BusSelectionMode off 439 | } 440 | Block { 441 | BlockType From 442 | IconDisplay "Tag" 443 | } 444 | Block { 445 | BlockType Goto 446 | IconDisplay "Tag" 447 | } 448 | Block { 449 | BlockType Inport 450 | BusObject "BusObject" 451 | BusOutputAsStruct off 452 | PortDimensions "-1" 453 | SampleTime "-1" 454 | DataType "auto" 455 | OutDataType "sfix(16)" 456 | OutScaling "2^0" 457 | SignalType "auto" 458 | SamplingMode "auto" 459 | Interpolate on 460 | } 461 | Block { 462 | BlockType Outport 463 | Port "1" 464 | BusObject "BusObject" 465 | BusOutputAsStruct off 466 | PortDimensions "-1" 467 | SampleTime "-1" 468 | DataType "auto" 469 | OutDataType "sfix(16)" 470 | OutScaling "2^0" 471 | SignalType "auto" 472 | SamplingMode "auto" 473 | OutputWhenDisabled "held" 474 | InitialOutput "[]" 475 | } 476 | Block { 477 | BlockType PMComponent 478 | SubClassName "unknown" 479 | } 480 | Block { 481 | BlockType PMIOPort 482 | } 483 | Block { 484 | BlockType Scope 485 | Floating off 486 | ModelBased off 487 | TickLabels "OneTimeTick" 488 | ZoomMode "on" 489 | Grid "on" 490 | TimeRange "auto" 491 | YMin "-5" 492 | YMax "5" 493 | SaveToWorkspace off 494 | SaveName "ScopeData" 495 | LimitDataPoints on 496 | MaxDataPoints "5000" 497 | Decimation "1" 498 | SampleInput off 499 | SampleTime "0" 500 | } 501 | Block { 502 | BlockType Sin 503 | SineType "Time based" 504 | TimeSource "Use simulation time" 505 | Amplitude "1" 506 | Bias "0" 507 | Frequency "1" 508 | Phase "0" 509 | Samples "10" 510 | Offset "0" 511 | SampleTime "-1" 512 | VectorParams1D on 513 | } 514 | Block { 515 | BlockType SubSystem 516 | ShowPortLabels on 517 | Permissions "ReadWrite" 518 | PermitHierarchicalResolution "All" 519 | SystemSampleTime "-1" 520 | RTWFcnNameOpts "Auto" 521 | RTWFileNameOpts "Auto" 522 | SimViewingDevice off 523 | DataTypeOverride "UseLocalSettings" 524 | MinMaxOverflowLogging "UseLocalSettings" 525 | } 526 | Block { 527 | BlockType Terminator 528 | } 529 | } 530 | AnnotationDefaults { 531 | HorizontalAlignment "center" 532 | VerticalAlignment "middle" 533 | ForegroundColor "black" 534 | BackgroundColor "white" 535 | DropShadow off 536 | FontName "Helvetica" 537 | FontSize 10 538 | FontWeight "normal" 539 | FontAngle "normal" 540 | } 541 | LineDefaults { 542 | FontName "Helvetica" 543 | FontSize 9 544 | FontWeight "normal" 545 | FontAngle "normal" 546 | } 547 | System { 548 | Name "single_phase_bridge_cr" 549 | Location [7, 84, 647, 774] 550 | Open on 551 | ModelBrowserVisibility off 552 | ModelBrowserWidth 200 553 | ScreenColor "white" 554 | PaperOrientation "landscape" 555 | PaperPositionMode "auto" 556 | PaperType "A4" 557 | PaperUnits "centimeters" 558 | ZoomFactor "100" 559 | ReportName "simulink-default.rpt" 560 | Block { 561 | BlockType Reference 562 | Name "A" 563 | Ports [0, 0, 0, 0, 0, 1, 1] 564 | Position [40, 320, 80, 375] 565 | Orientation "up" 566 | NamePlacement "alternate" 567 | SourceBlock "powerlib/Electrical\nSources/AC Voltage Source" 568 | SourceType "AC Voltage Source" 569 | ShowPortLabels on 570 | Amplitude "100" 571 | Phase "0" 572 | Frequency "50" 573 | SampleTime "0" 574 | Measurements "None" 575 | } 576 | Block { 577 | BlockType BusCreator 578 | Name "Bus\nCreator1" 579 | Ports [2, 1] 580 | Position [500, 136, 505, 174] 581 | ShowName off 582 | DialogController "Simulink.DDGSource_Bus" 583 | Inputs "2" 584 | DisplayOption "bar" 585 | } 586 | Block { 587 | BlockType BusCreator 588 | Name "Bus\nCreator2" 589 | Ports [2, 1] 590 | Position [500, 196, 505, 234] 591 | ShowName off 592 | DialogController "Simulink.DDGSource_Bus" 593 | Inputs "2" 594 | DisplayOption "bar" 595 | } 596 | Block { 597 | BlockType Reference 598 | Name "C1" 599 | Ports [0, 0, 0, 0, 0, 1, 1] 600 | Position [368, 330, 412, 380] 601 | Orientation "up" 602 | NamePlacement "alternate" 603 | SourceBlock "powerlib/Elements/Series RLC Branch" 604 | SourceType "Series RLC Branch" 605 | PhysicalDomain "powersysdomain" 606 | SubClassName "unknown" 607 | LeftPortType "p1" 608 | RightPortType "p1" 609 | LConnTagsString "__new0" 610 | RConnTagsString "__new0" 611 | Resistance "0" 612 | Inductance "0" 613 | Capacitance "0.001" 614 | Measurements "None" 615 | } 616 | Block { 617 | BlockType Reference 618 | Name "Current \nMeasurement" 619 | Ports [0, 1, 0, 0, 0, 1, 1] 620 | Position [345, 198, 370, 222] 621 | SourceBlock "powerlib/Measurements/Current Measurement" 622 | SourceType "Current Measurement" 623 | ShowPortLabels on 624 | PhasorSimulation off 625 | OutputType "Complex" 626 | PSBequivalent "0" 627 | } 628 | Block { 629 | BlockType Reference 630 | Name "Current \nMeasurement1" 631 | Ports [0, 1, 0, 0, 0, 1, 1] 632 | Position [130, 293, 155, 317] 633 | SourceBlock "powerlib/Measurements/Current Measurement" 634 | SourceType "Current Measurement" 635 | ShowPortLabels on 636 | PhasorSimulation off 637 | OutputType "Complex" 638 | PSBequivalent "0" 639 | } 640 | Block { 641 | BlockType Reference 642 | Name "R" 643 | Ports [0, 0, 0, 0, 0, 1, 1] 644 | Position [416, 320, 444, 390] 645 | Orientation "down" 646 | SourceBlock "powerlib/Elements/Series RLC Branch" 647 | SourceType "Series RLC Branch" 648 | PhysicalDomain "powersysdomain" 649 | SubClassName "unknown" 650 | LeftPortType "p1" 651 | RightPortType "p1" 652 | LConnTagsString "__new0" 653 | RConnTagsString "__new0" 654 | Resistance "10" 655 | Inductance "0" 656 | Capacitance "inf" 657 | Measurements "None" 658 | } 659 | Block { 660 | BlockType Scope 661 | Name "Scope" 662 | Ports [2] 663 | Position [545, 123, 605, 247] 664 | Location [653, 56, 1294, 562] 665 | Open on 666 | NumInputPorts "2" 667 | List { 668 | ListType AxesTitles 669 | axes1 "Source Voltage/Current" 670 | axes2 "DC Current/DC Voltage" 671 | } 672 | TimeRange "0.05" 673 | YMin "-100~0" 674 | YMax "100~100" 675 | DataFormat "StructureWithTime" 676 | Decimation "5" 677 | SampleInput on 678 | SampleTime "1e-4" 679 | } 680 | Block { 681 | BlockType Reference 682 | Name "VD1" 683 | Ports [0, 0, 0, 0, 0, 1, 1] 684 | Position [165, 225, 205, 280] 685 | Orientation "up" 686 | SourceBlock "powerlib/Power\nElectronics/Diode" 687 | SourceType "Diode" 688 | ShowPortLabels on 689 | Ron "0.001" 690 | Lon "0" 691 | Vf "0.8" 692 | IC "0" 693 | Rs "500" 694 | Cs "250e-9" 695 | Measurements off 696 | } 697 | Block { 698 | BlockType Reference 699 | Name "VD2" 700 | Ports [0, 0, 0, 0, 0, 1, 1] 701 | Position [165, 415, 205, 470] 702 | Orientation "up" 703 | SourceBlock "powerlib/Power\nElectronics/Diode" 704 | SourceType "Diode" 705 | ShowPortLabels on 706 | Ron "0.001" 707 | Lon "0" 708 | Vf "0.8" 709 | IC "0" 710 | Rs "500" 711 | Cs "250e-9" 712 | Measurements off 713 | } 714 | Block { 715 | BlockType Reference 716 | Name "VD3" 717 | Ports [0, 0, 0, 0, 0, 1, 1] 718 | Position [230, 225, 270, 280] 719 | Orientation "up" 720 | SourceBlock "powerlib/Power\nElectronics/Diode" 721 | SourceType "Diode" 722 | ShowPortLabels on 723 | Ron "0.001" 724 | Lon "0" 725 | Vf "0.8" 726 | IC "0" 727 | Rs "500" 728 | Cs "250e-9" 729 | Measurements off 730 | } 731 | Block { 732 | BlockType Reference 733 | Name "VD4" 734 | Ports [0, 0, 0, 0, 0, 1, 1] 735 | Position [230, 415, 270, 470] 736 | Orientation "up" 737 | SourceBlock "powerlib/Power\nElectronics/Diode" 738 | SourceType "Diode" 739 | ShowPortLabels on 740 | Ron "0.001" 741 | Lon "0" 742 | Vf "0.8" 743 | IC "0" 744 | Rs "500" 745 | Cs "250e-9" 746 | Measurements off 747 | } 748 | Block { 749 | BlockType Reference 750 | Name "Voltage \nMeasurement" 751 | Ports [0, 1, 0, 0, 0, 2] 752 | Position [490, 328, 515, 352] 753 | SourceBlock "powerlib/Measurements/Voltage Measurement" 754 | SourceType "Voltage Measurement" 755 | ShowPortLabels on 756 | PhasorSimulation off 757 | OutputType "Complex" 758 | PSBequivalent "0" 759 | } 760 | Block { 761 | BlockType Reference 762 | Name "Voltage \nMeasurement1" 763 | Ports [0, 1, 0, 0, 0, 2] 764 | Position [93, 180, 117, 205] 765 | Orientation "up" 766 | NamePlacement "alternate" 767 | SourceBlock "powerlib/Measurements/Voltage Measurement" 768 | SourceType "Voltage Measurement" 769 | ShowPortLabels on 770 | PhasorSimulation off 771 | OutputType "Complex" 772 | PSBequivalent "0" 773 | } 774 | Line { 775 | LineType "Connection" 776 | SrcBlock "C1" 777 | SrcPort RConn1 778 | Points [0, 30; 0, -130] 779 | Branch { 780 | ConnectType "DEST_SRC" 781 | Points [40, 0] 782 | Branch { 783 | ConnectType "DEST_SRC" 784 | Labels [1, 0] 785 | DstBlock "R" 786 | DstPort LConn1 787 | } 788 | Branch { 789 | ConnectType "DEST_SRC" 790 | Points [40, 0; 0, 120] 791 | DstBlock "Voltage \nMeasurement" 792 | DstPort LConn1 793 | } 794 | } 795 | Branch { 796 | ConnectType "DEST_DEST" 797 | SrcBlock "Current \nMeasurement" 798 | SrcPort RConn1 799 | Points [5, 0] 800 | } 801 | } 802 | Line { 803 | LineType "Connection" 804 | SrcBlock "Current \nMeasurement" 805 | SrcPort LConn1 806 | Points [-85, 0] 807 | Branch { 808 | ConnectType "DEST_DEST" 809 | Labels [1, 0] 810 | SrcBlock "VD1" 811 | SrcPort RConn1 812 | Points [60, 0] 813 | } 814 | Branch { 815 | ConnectType "DEST_DEST" 816 | SrcBlock "VD3" 817 | SrcPort RConn1 818 | Points [-5, 0] 819 | } 820 | } 821 | Line { 822 | SrcBlock "Bus\nCreator1" 823 | SrcPort 1 824 | DstBlock "Scope" 825 | DstPort 1 826 | } 827 | Line { 828 | SrcBlock "Voltage \nMeasurement1" 829 | SrcPort 1 830 | Points [0, -30] 831 | DstBlock "Bus\nCreator1" 832 | DstPort 1 833 | } 834 | Line { 835 | LineType "Connection" 836 | SrcBlock "Current \nMeasurement1" 837 | SrcPort LConn1 838 | Points [0, 0; -15, 0] 839 | Branch { 840 | ConnectType "DEST_SRC" 841 | DstBlock "A" 842 | DstPort RConn1 843 | } 844 | Branch { 845 | ConnectType "DEST_SRC" 846 | DstBlock "Voltage \nMeasurement1" 847 | DstPort LConn1 848 | } 849 | } 850 | Line { 851 | LineType "Connection" 852 | Points [250, 490; 140, 0] 853 | Branch { 854 | ConnectType "SRC_DEST" 855 | SrcBlock "VD2" 856 | SrcPort LConn1 857 | Points [0, 5; 65, 0] 858 | } 859 | Branch { 860 | ConnectType "SRC_SRC" 861 | DstBlock "VD4" 862 | DstPort LConn1 863 | } 864 | Branch { 865 | ConnectType "DEST_DEST" 866 | Points [430, 490; -40, 0] 867 | Branch { 868 | ConnectType "SRC_DEST" 869 | SrcBlock "Voltage \nMeasurement" 870 | SrcPort LConn2 871 | Points [-5, 0; 0, 145; -40, 0] 872 | } 873 | Branch { 874 | ConnectType "SRC_DEST" 875 | SrcBlock "R" 876 | SrcPort RConn1 877 | Points [0, 85] 878 | } 879 | } 880 | Branch { 881 | ConnectType "DEST_SRC" 882 | DstBlock "C1" 883 | DstPort LConn1 884 | } 885 | } 886 | Line { 887 | LineType "Connection" 888 | Points [250, 390; -140, 0] 889 | Branch { 890 | ConnectType "SRC_DEST" 891 | SrcBlock "VD3" 892 | SrcPort LConn1 893 | Points [0, 5; 0, 90] 894 | } 895 | Branch { 896 | ConnectType "SRC_SRC" 897 | DstBlock "VD4" 898 | DstPort RConn1 899 | } 900 | Branch { 901 | ConnectType "DEST_SRC" 902 | DstBlock "A" 903 | DstPort LConn1 904 | } 905 | Branch { 906 | ConnectType "DEST_SRC" 907 | DstBlock "Voltage \nMeasurement1" 908 | DstPort LConn2 909 | } 910 | } 911 | Line { 912 | LineType "Connection" 913 | SrcBlock "VD1" 914 | SrcPort LConn1 915 | Points [0, 0; 0, 15] 916 | Branch { 917 | ConnectType "DEST_SRC" 918 | DstBlock "VD2" 919 | DstPort RConn1 920 | } 921 | Branch { 922 | ConnectType "DEST_DEST" 923 | SrcBlock "Current \nMeasurement1" 924 | SrcPort RConn1 925 | Points [15, 0] 926 | } 927 | } 928 | Line { 929 | SrcBlock "Current \nMeasurement1" 930 | SrcPort 1 931 | Points [0, -135] 932 | DstBlock "Bus\nCreator1" 933 | DstPort 2 934 | } 935 | Line { 936 | SrcBlock "Current \nMeasurement" 937 | SrcPort 1 938 | DstBlock "Bus\nCreator2" 939 | DstPort 1 940 | } 941 | Line { 942 | SrcBlock "Voltage \nMeasurement" 943 | SrcPort 1 944 | Points [0, -95; -35, 0] 945 | DstBlock "Bus\nCreator2" 946 | DstPort 2 947 | } 948 | Line { 949 | SrcBlock "Bus\nCreator2" 950 | SrcPort 1 951 | DstBlock "Scope" 952 | DstPort 2 953 | } 954 | Annotation { 955 | Position [159, 424] 956 | } 957 | } 958 | } 959 | -------------------------------------------------------------------------------- /目录.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/isJDongYa/Power-Eletronics-simulink/f067a374c2c361eb11cba2dce7dd52bd27c261d4/目录.txt --------------------------------------------------------------------------------