Model { Name "chop1q_ifb_simulink_r11" Version 3.00 SimParamPage "Solver" SampleTimeColors off InvariantConstants off WideVectorLines off ShowLineWidths off ShowPortDataTypes off StartTime "0.0" StopTime "1.5e-3" SolverMode "Auto" Solver "ode5" RelTol "1e-3" AbsTol "auto" Refine "1" MaxStep "auto" InitialStep "auto" FixedStep "2e-6" MaxOrder 5 OutputOption "RefineOutputTimes" OutputTimes "[]" LoadExternalInput off ExternalInput "[t, u]" SaveTime on TimeSaveName "tout" SaveState off StateSaveName "xout" SaveOutput on OutputSaveName "yout" LoadInitialState off InitialState "xInitial" SaveFinalState off FinalStateName "xFinal" SaveFormat "Matrix" LimitMaxRows off MaxRows "1000" Decimation "1" AlgebraicLoopMsg "warning" MinStepSizeMsg "warning" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" InheritedTsInSrcMsg "warning" IntegerOverflowMsg "warning" UnnecessaryDatatypeConvMsg "none" Int32ToFloatConvMsg "warning" SignalLabelMismatchMsg "none" ConsistencyChecking "off" ZeroCross on SimulationMode "normal" BlockDataTips on BlockParametersDataTip off BlockAttributesDataTip off BlockPortWidthsDataTip off BlockDescriptionStringDataTip off BlockMaskParametersDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off OptimizeBlockIOStorage on BufferReuse on BooleanDataType off RTWSystemTargetFile "grt.tlc" RTWInlineParameters off RTWRetainRTWFile off RTWTemplateMakefile "grt_default_tmf" RTWMakeCommand "make_rtw" RTWGenerateCodeOnly off ExtModeMexFile "ext_comm" ExtModeBatchMode off ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on Created "Fri Aug 09 15:27:52 2002" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "user" ModifiedDateFormat "%" LastModifiedDate "Thu Dec 02 16:07:02 2004" ModelVersionFormat "1.%" ConfigurationManager "none" BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Helvetica" FontSize 10 FontWeight "normal" FontAngle "normal" } LineDefaults { FontName "Helvetica" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "chop1q_ifb_simulink_r11" Location [74, 80, 803, 512] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "automatic" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" ZoomFactor "100" AutoZoom on ReportName "simulink-default.rpt" Block { BlockType Constant Name "Constant" Position [50, 175, 80, 205] Value "2.4" } Block { BlockType Gain Name "Gain" Position [220, 125, 250, 155] Gain "1" SaturateOnIntegerOverflow on } Block { BlockType Gain Name "Gain1" Position [220, 175, 250, 205] Gain "10000" SaturateOnIntegerOverflow on } Block { BlockType Integrator Name "Integrator" Ports [1, 1, 0, 0, 0] Position [275, 175, 305, 205] ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" } Block { BlockType Memory Name "Memory" Position [565, 180, 595, 210] Orientation "down" X0 "0" InheritSampleTime off } Block { BlockType Scope Name "Scope1" Ports [1, 0, 0, 0, 0] Position [365, 50, 395, 100] Floating off Location [-13, 141, 978, 663] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "0.04" YMin "-40" YMax "60" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType Scope Name "Scope2" Ports [1, 0, 0, 0, 0] Position [615, 115, 645, 165] Floating off Location [-13, 141, 978, 663] Open off NumInputPorts "1" TickLabels "OneTimeTick" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } Grid "on" TimeRange "0.04" YMin "-40" YMax "60" SaveToWorkspace off SaveName "ScopeData" DataFormat "StructureWithTime" LimitMaxRows on MaxRows "5000" Decimation "1" SampleInput off SampleTime "0" } Block { BlockType "S-Function" Name "SimCoupler_R11" Ports [1, 1, 0, 0, 0] Position [405, 82, 495, 198] BackgroundColor "yellow" FunctionName "SimCoupler" Parameters "Netlist_File" PortCounts "[]" SFunctionModules "''" MaskType "SimCoupler" MaskPromptString "Model Netlist File " MaskStyleString "edit" MaskTunableValueString "on" MaskEnableString "on" MaskVisibilityString "on" MaskVariables "Netlist_File=&1;" MaskInitialization "c=[0:10:360]*pi/180;\nx1=cos(c)*30; y1=sin(c)*3" "0+20;\nx2=cos(c)*30;y2=sin(c)*30-20;" MaskDisplay "plot(-60,-60,60,60,x1,y1,x2,y2)" MaskIconFrame on MaskIconOpaque on MaskIconRotate "none" MaskIconUnits "autoscale" MaskValueString "C:\\PSIM6_DEMO\\examples\\simcoupler\\chop1q_if" "b_psim.cct" Port { PortNumber 1 Name "SOut2" TestPoint off RTWStorageClass "Auto" } } Block { BlockType Sum Name "Sum" Ports [2, 1, 0, 0, 0] Position [135, 175, 165, 205] ShowName off IconShape "round" Inputs "|+-" SaturateOnIntegerOverflow on } Block { BlockType Sum Name "Sum1" Ports [2, 1, 0, 0, 0] Position [300, 125, 330, 155] ShowName off IconShape "round" Inputs "|++" SaturateOnIntegerOverflow on } Block { BlockType ToFile Name "To File1" Position [410, 235, 470, 265] Filename "Sin.mat" MatrixName "ans" Decimation "1" SampleTime "-1" } Block { BlockType ToFile Name "To File2" Position [600, 45, 660, 75] Filename "Sout.mat" MatrixName "ans" Decimation "1" SampleTime "-1" } Line { SrcBlock "Constant" SrcPort 1 DstBlock "Sum" DstPort 1 } Line { SrcBlock "Sum" SrcPort 1 Points [20, 0] Branch { Points [0, -50] DstBlock "Gain" DstPort 1 } Branch { DstBlock "Gain1" DstPort 1 } } Line { SrcBlock "Gain" SrcPort 1 DstBlock "Sum1" DstPort 1 } Line { SrcBlock "Gain1" SrcPort 1 DstBlock "Integrator" DstPort 1 } Line { SrcBlock "Integrator" SrcPort 1 Points [5, 0] DstBlock "Sum1" DstPort 2 } Line { SrcBlock "Sum1" SrcPort 1 Points [15, 0] Branch { DstBlock "SimCoupler_R11" DstPort 1 } Branch { DstBlock "Scope1" DstPort 1 } Branch { Points [0, 110] DstBlock "To File1" DstPort 1 } } Line { Name "SOut2" Labels [0, 0] SrcBlock "SimCoupler_R11" SrcPort 1 Points [65, 0] Branch { Points [15, 0] Branch { DstBlock "Scope2" DstPort 1 } Branch { DstBlock "Memory" DstPort 1 } } Branch { Points [0, -80] DstBlock "To File2" DstPort 1 } } Line { SrcBlock "Memory" SrcPort 1 Points [0, 140; -430, 0] DstBlock "Sum" DstPort 2 } Annotation { Position [284, 27] Text "Control for Chopper Circuit \"chop1q_ifb_psim." "sch\" " FontName "Arial" FontSize 12 FontWeight "bold" } } }