Model { Name "trofazniY" Version 7.0 MdlSubVersion 0 GraphicalInterface { NumRootInports 0 NumRootOutports 0 ParameterArgumentNames "" ComputedModelVersion "1.18" NumModelReferences 0 NumTestPointedSignals 0 } SavedCharacterEncoding "US-ASCII" SaveDefaultBlockParams on SampleTimeColors off LibraryLinkDisplay "none" WideLines off ShowLineDimensions off ShowPortDataTypes off ShowLoopsOnError on IgnoreBidirectionalLines off ShowStorageClass off ShowTestPointIcons on ShowViewerIcons on SortedOrder off ExecutionContextIcon off ShowLinearizationAnnotations on ScopeRefreshTime 0.035000 OverrideScopeRefreshTime on DisableAllScopes off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" MinMaxOverflowArchiveMode "Overwrite" BlockNameDataTip off BlockParametersDataTip off BlockDescriptionStringDataTip off ToolBar on StatusBar on BrowserShowLibraryLinks off BrowserLookUnderMasks off Created "Mon Feb 25 16:50:12 2013" Creator "mivezic" UpdateHistory "UpdateHistoryNever" ModifiedByFormat "%" LastModifiedBy "mivezic" ModifiedDateFormat "%" LastModifiedDate "Tue Mar 05 11:21:00 2013" RTWModifiedTimeStamp 0 ModelVersionFormat "1.%" ConfigurationManager "None" SimulationMode "normal" LinearizationMsg "none" Profile off ParamWorkspaceSource "MATLABWorkspace" AccelSystemTargetFile "accel.tlc" AccelTemplateMakefile "accel_default_tmf" AccelMakeCommand "make_rtw" TryForcingSFcnDF off RecordCoverage off CovPath "/" CovSaveName "covdata" CovMetricSettings "dw" CovNameIncrementing off CovHtmlReporting on covSaveCumulativeToWorkspaceVar on CovSaveSingleToWorkspaceVar on CovCumulativeVarName "covCumulativeData" CovCumulativeReport off CovReportOnPause on ExtModeBatchMode off ExtModeEnableFloating on ExtModeTrigType "manual" ExtModeTrigMode "normal" ExtModeTrigPort "1" ExtModeTrigElement "any" ExtModeTrigDuration 1000 ExtModeTrigDurationFloating "auto" ExtModeTrigHoldOff 0 ExtModeTrigDelay 0 ExtModeTrigDirection "rising" ExtModeTrigLevel 0 ExtModeArchiveMode "off" ExtModeAutoIncOneShot off ExtModeIncDirWhenArm off ExtModeAddSuffixToVar off ExtModeWriteAllDataToWs off ExtModeArmWhenConnect on ExtModeSkipDownloadWhenConnect off ExtModeLogAll on ExtModeAutoUpdateStatusClock on BufferReuse on ShowModelReferenceBlockVersion off ShowModelReferenceBlockIO off Array { Type "Handle" Dimension 1 Simulink.ConfigSet { $ObjectID 1 Version "1.3.0" Array { Type "Handle" Dimension 7 Simulink.SolverCC { $ObjectID 2 Version "1.3.0" StartTime "0.0" StopTime "0.1" AbsTol "auto" FixedStep "auto" InitialStep "auto" MaxNumMinSteps "-1" MaxOrder 5 ConsecutiveZCsStepRelTol "10*128*eps" MaxConsecutiveZCs "1000" ExtrapolationOrder 4 NumberNewtonIterations 1 MaxStep "auto" MinStep "auto" MaxConsecutiveMinStep "1" RelTol "1e-3" SolverMode "Auto" Solver "ode23t" SolverName "ode23t" ZeroCrossControl "UseLocalSettings" AlgebraicLoopSolver "TrustRegion" SolverResetMethod "Fast" PositivePriorityOrder off AutoInsertRateTranBlk off SampleTimeConstraint "Unconstrained" RateTranMode "Deterministic" } Simulink.DataIOCC { $ObjectID 3 Version "1.3.0" Decimation "1" ExternalInput "[t, u]" FinalStateName "xFinal" InitialState "xInitial" LimitDataPoints on MaxDataPoints "1000" LoadExternalInput off LoadInitialState off SaveFinalState off SaveFormat "Array" SaveOutput on SaveState off SignalLogging on InspectSignalLogs off SaveTime on StateSaveName "xout" TimeSaveName "tout" OutputSaveName "yout" SignalLoggingName "logsout" OutputOption "RefineOutputTimes" OutputTimes "[]" Refine "1" } Simulink.OptimizationCC { $ObjectID 4 Array { Type "Cell" Dimension 5 Cell "ZeroExternalMemoryAtStartup" Cell "ZeroInternalMemoryAtStartup" Cell "InitFltsAndDblsToZero" Cell "OptimizeModelRefInitCode" Cell "NoFixptDivByZeroProtection" PropName "DisabledProps" } Version "1.3.0" BlockReduction on BooleanDataType on ConditionallyExecuteInputs on InlineParams off InlineInvariantSignals off OptimizeBlockIOStorage on BufferReuse on EnforceIntegerDowncast on ExpressionFolding on ExpressionDepthLimit 2147483647 FoldNonRolledExpr on LocalBlockOutputs on RollThreshold 5 SystemCodeInlineAuto off StateBitsets off DataBitsets off UseTempVars off ZeroExternalMemoryAtStartup on ZeroInternalMemoryAtStartup on InitFltsAndDblsToZero on NoFixptDivByZeroProtection off EfficientFloat2IntCast off OptimizeModelRefInitCode off LifeSpan "inf" BufferReusableBoundary on SimCompilerOptimization "Off" AccelVerboseBuild off } Simulink.DebuggingCC { $ObjectID 5 Version "1.3.0" RTPrefix "error" ConsistencyChecking "none" ArrayBoundsChecking "none" SignalInfNanChecking "none" SignalRangeChecking "none" ReadBeforeWriteMsg "UseLocalSettings" WriteAfterWriteMsg "UseLocalSettings" WriteAfterReadMsg "UseLocalSettings" AlgebraicLoopMsg "warning" ArtificialAlgebraicLoopMsg "warning" SaveWithDisabledLinksMsg "warning" SaveWithParameterizedLinksMsg "warning" CheckSSInitialOutputMsg on CheckExecutionContextPreStartOutputMsg off CheckExecutionContextRuntimeOutputMsg off SignalResolutionControl "UseLocalSettings" BlockPriorityViolationMsg "warning" MinStepSizeMsg "warning" TimeAdjustmentMsg "none" MaxConsecutiveZCsMsg "error" SolverPrmCheckMsg "warning" InheritedTsInSrcMsg "warning" DiscreteInheritContinuousMsg "warning" MultiTaskDSMMsg "error" MultiTaskCondExecSysMsg "error" MultiTaskRateTransMsg "error" SingleTaskRateTransMsg "none" TasksWithSamePriorityMsg "warning" SigSpecEnsureSampleTimeMsg "warning" CheckMatrixSingularityMsg "none" IntegerOverflowMsg "warning" Int32ToFloatConvMsg "warning" ParameterDowncastMsg "error" ParameterOverflowMsg "error" ParameterUnderflowMsg "none" ParameterPrecisionLossMsg "warning" ParameterTunabilityLossMsg "warning" UnderSpecifiedDataTypeMsg "none" UnnecessaryDatatypeConvMsg "none" VectorMatrixConversionMsg "none" InvalidFcnCallConnMsg "error" FcnCallInpInsideContextMsg "Use local settings" SignalLabelMismatchMsg "none" UnconnectedInputMsg "warning" UnconnectedOutputMsg "warning" UnconnectedLineMsg "warning" SFcnCompatibilityMsg "none" UniqueDataStoreMsg "none" BusObjectLabelMismatch "warning" RootOutportRequireBusObject "warning" AssertControl "UseLocalSettings" EnableOverflowDetection off ModelReferenceIOMsg "none" ModelReferenceVersionMismatchMessage "none" ModelReferenceIOMismatchMessage "none" ModelReferenceCSMismatchMessage "none" ModelReferenceSimTargetVerbose off UnknownTsInhSupMsg "warning" ModelReferenceDataLoggingMessage "warning" ModelReferenceSymbolNameMessage "warning" ModelReferenceExtraNoncontSigs "error" StateNameClashWarn "warning" StrictBusMsg "Warning" LoggingUnavailableSignals "error" } Simulink.HardwareCC { $ObjectID 6 Version "1.3.0" ProdBitPerChar 8 ProdBitPerShort 16 ProdBitPerInt 32 ProdBitPerLong 32 ProdIntDivRoundTo "Undefined" ProdEndianess "Unspecified" ProdWordSize 32 ProdShiftRightIntArith on ProdHWDeviceType "32-bit Generic" TargetBitPerChar 8 TargetBitPerShort 16 TargetBitPerInt 32 TargetBitPerLong 32 TargetShiftRightIntArith on TargetIntDivRoundTo "Undefined" TargetEndianess "Unspecified" TargetWordSize 32 TargetTypeEmulationWarnSuppressLevel 0 TargetPreprocMaxBitsSint 32 TargetPreprocMaxBitsUint 32 TargetHWDeviceType "Specified" TargetUnknown off ProdEqTarget on } Simulink.ModelReferenceCC { $ObjectID 7 Version "1.3.0" UpdateModelReferenceTargets "IfOutOfDateOrStructuralChange" CheckModelReferenceTargetMessage "error" ModelReferenceNumInstancesAllowed "Multi" ModelReferencePassRootInputsByReference on ModelReferenceMinAlgLoopOccurrences off } Simulink.RTWCC { $BackupClass "Simulink.RTWCC" $ObjectID 8 Array { Type "Cell" Dimension 2 Cell "IncludeHyperlinkInReport" Cell "GenerateTraceInfo" PropName "DisabledProps" } Version "1.3.0" SystemTargetFile "grt.tlc" GenCodeOnly off MakeCommand "make_rtw" GenerateMakefile on TemplateMakefile "grt_default_tmf" GenerateReport off SaveLog off RTWVerbose on RetainRTWFile off ProfileTLC off TLCDebug off TLCCoverage off TLCAssert off ProcessScriptMode "Default" ConfigurationMode "Optimized" ConfigAtBuild off IncludeHyperlinkInReport off LaunchReport off TargetLang "C" IncludeBusHierarchyInRTWFileBlockHierarchyMap off IncludeERTFirstTime off GenerateTraceInfo off RTWCompilerOptimization "Off" Array { Type "Handle" Dimension 2 Simulink.CodeAppCC { $ObjectID 9 Array { Type "Cell" Dimension 16 Cell "IgnoreCustomStorageClasses" Cell "InsertBlockDesc" Cell "SFDataObjDesc" Cell "SimulinkDataObjDesc" Cell "DefineNamingRule" Cell "SignalNamingRule" Cell "ParamNamingRule" Cell "InlinedPrmAccess" Cell "CustomSymbolStr" Cell "CustomSymbolStrGlobalVar" Cell "CustomSymbolStrType" Cell "CustomSymbolStrField" Cell "CustomSymbolStrFcn" Cell "CustomSymbolStrBlkIO" Cell "CustomSymbolStrTmpVar" Cell "CustomSymbolStrMacro" PropName "DisabledProps" } Version "1.3.0" ForceParamTrailComments off GenerateComments on IgnoreCustomStorageClasses on IncHierarchyInIds off MaxIdLength 31 PreserveName off PreserveNameWithParent off ShowEliminatedStatement off IncAutoGenComments off SimulinkDataObjDesc off SFDataObjDesc off IncDataTypeInIds off MangleLength 1 CustomSymbolStrGlobalVar "$R$N$M" CustomSymbolStrType "$N$R$M" CustomSymbolStrField "$N$M" CustomSymbolStrFcn "$R$N$M$F" CustomSymbolStrBlkIO "rtb_$N$M" CustomSymbolStrTmpVar "$N$M" CustomSymbolStrMacro "$R$N$M" DefineNamingRule "None" ParamNamingRule "None" SignalNamingRule "None" InsertBlockDesc off SimulinkBlockComments on EnableCustomComments off InlinedPrmAccess "Literals" ReqsInCode off } Simulink.GRTTargetCC { $BackupClass "Simulink.TargetCC" $ObjectID 10 Array { Type "Cell" Dimension 15 Cell "IncludeMdlTerminateFcn" Cell "CombineOutputUpdateFcns" Cell "SuppressErrorStatus" Cell "ERTCustomFileBanners" Cell "GenerateSampleERTMain" Cell "GenerateTestInterfaces" Cell "ModelStepFunctionPrototypeControlCompliant" Cell "MultiInstanceERTCode" Cell "PurelyIntegerCode" Cell "SupportNonFinite" Cell "SupportComplex" Cell "SupportAbsoluteTime" Cell "SupportContinuousTime" Cell "SupportNonInlinedSFcns" Cell "PortableWordSizes" PropName "DisabledProps" } Version "1.3.0" TargetFcnLib "ansi_tfl_table_tmw.mat" TargetLibSuffix "" TargetPreCompLibLocation "" GenFloatMathFcnCalls "ANSI_C" UtilityFuncGeneration "Auto" GenerateFullHeader on GenerateSampleERTMain off GenerateTestInterfaces off IsPILTarget off ModelReferenceCompliant on CompOptLevelCompliant on IncludeMdlTerminateFcn on CombineOutputUpdateFcns off SuppressErrorStatus off IncludeFileDelimiter "Auto" ERTCustomFileBanners off SupportAbsoluteTime on LogVarNameModifier "rt_" MatFileLogging on MultiInstanceERTCode off SupportNonFinite on SupportComplex on PurelyIntegerCode off SupportContinuousTime on SupportNonInlinedSFcns on EnableShiftOperators on ParenthesesLevel "Nominal" PortableWordSizes off ModelStepFunctionPrototypeControlCompliant off ExtMode off ExtModeStaticAlloc off ExtModeTesting off ExtModeStaticAllocSize 1000000 ExtModeTransport 0 ExtModeMexFile "ext_comm" ExtModeIntrfLevel "Level1" RTWCAPISignals off RTWCAPIParams off RTWCAPIStates off GenerateASAP2 off } PropName "Components" } } PropName "Components" } Name "Configuration" CurrentDlgPage "Solver" } PropName "ConfigurationSets" } Simulink.ConfigSet { $PropName "ActiveConfigurationSet" $ObjectID 1 } BlockDefaults { Orientation "right" ForegroundColor "black" BackgroundColor "white" DropShadow off NamePlacement "normal" FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" ShowName on } BlockParameterDefaults { Block { BlockType Clock DisplayTime off } Block { BlockType DataTypeConversion OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit via back propagation" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off ConvertRealWorld "Real World Value (RWV)" RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Derivative LinearizePole "inf" } Block { BlockType From IconDisplay "Tag" } Block { BlockType Fcn Expr "sin(u[1])" SampleTime "-1" } Block { BlockType Gain Gain "1" Multiplication "Element-wise(K.*u)" ParamMin "[]" ParamMax "[]" ParameterDataTypeMode "Same as input" ParameterDataType "fixdt(1,16,0)" ParameterScalingMode "Best Precision: Matrix-wise" ParameterScaling "[]" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Goto IconDisplay "Tag" } Block { BlockType Ground } Block { BlockType HitCross HitCrossingOffset "0" HitCrossingDirection "either" ShowOutputPort on ZeroCross on SampleTime "-1" } Block { BlockType Inport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" SignalType "auto" SamplingMode "auto" LatchByDelayingOutsideSignal off LatchByCopyingInsideSignal off Interpolate on } Block { BlockType Integrator ExternalReset "none" InitialConditionSource "internal" InitialCondition "0" LimitOutput off UpperSaturationLimit "inf" LowerSaturationLimit "-inf" ShowSaturationPort off ShowStatePort off AbsoluteTolerance "auto" IgnoreLimit off ZeroCross on ContinuousStateAttributes "''" } Block { BlockType Math Operator "exp" OutputSignalType "auto" SampleTime "-1" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Mux Inputs "4" DisplayOption "none" UseBusObject off BusObject "BusObject" NonVirtualBus off } Block { BlockType Outport Port "1" UseBusObject off BusObject "BusObject" BusOutputAsStruct off PortDimensions "-1" SampleTime "-1" OutMin "[]" OutMax "[]" DataType "auto" OutDataType "fixdt(1,16,0)" OutScaling "[]" SignalType "auto" SamplingMode "auto" OutputWhenDisabled "held" InitialOutput "[]" } Block { BlockType PMComponent SubClassName "unknown" } Block { BlockType Product Inputs "2" Multiplication "Element-wise(.*)" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Zero" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Scope ModelBased off TickLabels "OneTimeTick" ZoomMode "on" Grid "on" TimeRange "auto" YMin "-5" YMax "5" SaveToWorkspace off SaveName "ScopeData" LimitDataPoints on MaxDataPoints "5000" Decimation "1" SampleInput off SampleTime "-1" } Block { BlockType "S-Function" FunctionName "system" SFunctionModules "''" PortCounts "[]" } Block { BlockType SubSystem ShowPortLabels "FromPortIcon" Permissions "ReadWrite" PermitHierarchicalResolution "All" TreatAsAtomicUnit off SystemSampleTime "-1" RTWFcnNameOpts "Auto" RTWFileNameOpts "Auto" RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimViewingDevice off DataTypeOverride "UseLocalSettings" MinMaxOverflowLogging "UseLocalSettings" } Block { BlockType Sum IconShape "rectangular" Inputs "++" CollapseMode "All dimensions" CollapseDim "1" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Same as first input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" } Block { BlockType Switch Criteria "u2 >= Threshold" Threshold "0" InputSameDT on OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit via internal rule" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on ZeroCross on SampleTime "-1" } Block { BlockType Terminator } Block { BlockType TransportDelay DelayTime "1" InitialOutput "0" BufferSize "1024" FixedBuffer off TransDelayFeedthrough off PadeOrder "0" } Block { BlockType PMIOPort } Block { BlockType Abs ZeroCross on SampleTime "-1" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on } Block { BlockType Constant Value "1" VectorParams1D on SamplingMode "Sample based" OutMin "[]" OutMax "[]" OutDataTypeMode "Inherit from 'Constant value'" OutDataType "fixdt(1,16,0)" ConRadixGroup "Use specified scaling" OutScaling "[]" SampleTime "inf" FramePeriod "inf" } Block { BlockType Lookup InputValues "[-4:5]" Table " rand(1,10)-0.5" LookUpMeth "Interpolation-Extrapolation" OutMin "[]" OutMax "[]" OutDataTypeMode "Same as input" OutDataType "fixdt(1,16,0)" OutScaling "[]" LockScale off RndMeth "Floor" SaturateOnIntegerOverflow on SampleTime "-1" LUTDesignTableMode "Redesign Table" LUTDesignDataSource "Block Dialog" LUTDesignFunctionName "sqrt(x)" LUTDesignUseExistingBP on LUTDesignRelError "0.01" LUTDesignAbsError "1e-6" } Block { BlockType Sin SineType "Time based" TimeSource "Use simulation time" Amplitude "1" Bias "0" Frequency "1" Phase "0" Samples "10" Offset "0" SampleTime "-1" VectorParams1D on } Block { BlockType Trigonometry Operator "sin" OutputSignalType "auto" SampleTime "-1" } } AnnotationDefaults { HorizontalAlignment "center" VerticalAlignment "middle" ForegroundColor "black" BackgroundColor "white" DropShadow off FontName "Arial" FontSize 10 FontWeight "normal" FontAngle "normal" UseDisplayTextAsClickCallback off } LineDefaults { FontName "Arial" FontSize 9 FontWeight "normal" FontAngle "normal" } System { Name "trofazniY" Location [2, 82, 1902, 1027] Open on ModelBrowserVisibility off ModelBrowserWidth 200 ScreenColor "white" PaperOrientation "landscape" PaperPositionMode "auto" PaperType "usletter" PaperUnits "inches" TiledPaperMargins [0.500000, 0.500000, 0.500000, 0.500000] TiledPageScale 1 ShowPageBoundaries off ZoomFactor "100" ReportName "simulink-default.rpt" Block { BlockType Sum Name "Add" Ports [3, 1] Position [880, 529, 910, 561] Inputs "+++" CollapseMode "All dimensions" InputSameDT off OutDataTypeMode "Inherit via internal rule" OutDataType "sfix(16)" OutScaling "2^-10" SaturateOnIntegerOverflow off } Block { BlockType Reference Name "Breaker" Ports [0, 0, 0, 0, 0, 1, 1] Position [200, 195, 255, 235] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Elements/Breaker" SourceType "Breaker" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" BreakerResistance "0.000001" InitialState "1" SnubberResistance "1e12" SnubberCapacitance "inf" SwitchingTimes ".05" External off Measurements "Branch voltage" MoreParameters off NoBreakLoop off } Block { BlockType Reference Name "Ground" Ports [0, 0, 0, 0, 0, 1] Position [14, 375, 36, 400] Orientation "down" ShowName off DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Elements/Ground" SourceType "Ground" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" } Block { BlockType Reference Name "Ground1" Ports [0, 0, 0, 0, 0, 1] Position [694, 290, 716, 315] Orientation "down" ShowName off DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Elements/Ground" SourceType "Ground" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "a" } Block { BlockType Reference Name "Ia" Ports [0, 1, 0, 0, 0, 1, 1] Position [315, 133, 340, 157] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Measurements/Current Measurement" SourceType "Current Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Scope Name "Ia,Ib,Ic,I0" Ports [1] Position [890, 74, 920, 106] BackgroundColor "green" Floating off Location [5, 48, 1925, 1039] Open off NumInputPorts "1" TickLabels "on" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } TimeRange "0.05" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Reference Name "Ia3" Ports [0, 1, 0, 0, 0, 1, 1] Position [660, 208, 685, 232] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Measurements/Current Measurement" SourceType "Current Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "Ib" Ports [0, 1, 0, 0, 0, 1, 1] Position [315, 203, 340, 227] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Measurements/Current Measurement" SourceType "Current Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "Ic" Ports [0, 1, 0, 0, 0, 1, 1] Position [320, 278, 345, 302] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Measurements/Current Measurement" SourceType "Current Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Mux Name "Mux" Ports [4, 1] Position [805, 69, 810, 111] ShowName off DisplayOption "bar" } Block { BlockType Mux Name "Mux1" Ports [2, 1] Position [735, 691, 740, 729] ShowName off Inputs "2" DisplayOption "bar" } Block { BlockType Scope Name "P&Q" Ports [1] Position [955, 529, 985, 561] BackgroundColor "green" Floating off Location [1, 48, 1921, 1039] Open off NumInputPorts "1" TickLabels "on" ZoomMode "yonly" List { ListType AxesTitles axes1 "%" } TimeRange "0.05" SaveName "ScopeData2" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Reference Name "P&Qa" Ports [2, 1] Position [775, 452, 810, 488] BackgroundColor "yellow" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower" SourceType "Active & Reactive Power " ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" f1 "50" } Block { BlockType Reference Name "P&Qb" Ports [2, 1] Position [775, 527, 810, 563] BackgroundColor "yellow" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower" SourceType "Active & Reactive Power " ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" f1 "50" } Block { BlockType Reference Name "P&Qc" Ports [2, 1] Position [775, 602, 810, 638] BackgroundColor "yellow" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib_extras/Measurements/Active & Reactive\nPower" SourceType "Active & Reactive Power " ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" f1 "50" } Block { BlockType Reference Name "R1" Ports [0, 0, 0, 0, 0, 1, 1] Position [545, 136, 615, 164] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "R" Resistance "10" Inductance "0.0084" SetiL0 off InitialCurrent "0" Capacitance "1e-6" Setx0 off InitialVoltage "0" Measurements "Branch voltage and current" } Block { BlockType Reference Name "R2" Ports [0, 0, 0, 0, 0, 1, 1] Position [545, 206, 615, 234] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "R" Resistance "10" Inductance "2" SetiL0 off InitialCurrent "0" Capacitance "1e-6" Setx0 off InitialVoltage "0" Measurements "Branch voltage and current" } Block { BlockType Reference Name "R3" Ports [0, 0, 0, 0, 0, 1, 1] Position [545, 281, 615, 309] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Elements/Series RLC Branch" SourceType "Series RLC Branch" PhysicalDomain "powersysdomain" SubClassName "unknown" LeftPortType "p1" RightPortType "p1" LConnTagsString "__new0" RConnTagsString "__new0" BranchType "R" Resistance "10" Inductance "1e-3" SetiL0 off InitialCurrent "0" Capacitance "0.001591549" Setx0 off InitialVoltage "0" Measurements "Branch voltage and current" } Block { BlockType Scope Name "RMS 0,a,b,c" Ports [4] Position [930, 250, 975, 330] BackgroundColor "green" Floating off Location [5, 55, 1925, 1047] Open off NumInputPorts "4" TickLabels "on" ZoomMode "yonly" List { ListType AxesTitles axes1 "struja neutralnog provodnika (Io)" axes2 "struja faze A (Ia)" axes3 "struja faze B (Ib)" axes4 "struja faze C (Ic)" } TimeRange "0.05" YMin "-5~-5~-5~-5" YMax "5~5~5~5" SaveName "ScopeData1" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Reference Name "RMS1" Ports [1, 1] Position [795, 219, 885, 241] BackgroundColor "yellow" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib_extras/Measurements/RMS" SourceType "RMS" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" f1 "50" } Block { BlockType Reference Name "RMS2" Ports [1, 1] Position [795, 259, 885, 281] BackgroundColor "yellow" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib_extras/Measurements/RMS" SourceType "RMS" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" f1 "50" } Block { BlockType Reference Name "RMS3" Ports [1, 1] Position [795, 299, 885, 321] BackgroundColor "yellow" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib_extras/Measurements/RMS" SourceType "RMS" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" f1 "50" } Block { BlockType Reference Name "RMS4" Ports [1, 1] Position [795, 344, 885, 366] BackgroundColor "yellow" DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib_extras/Measurements/RMS" SourceType "RMS" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" f1 "50" } Block { BlockType Reference Name "Va" Ports [0, 0, 0, 0, 0, 1, 1] Position [110, 133, 145, 157] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Electrical\nSources/AC Voltage Source" SourceType "AC Voltage Source" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Amplitude "230*sqrt(2)" Phase "0" Frequency "50" SampleTime "0" Measurements "Voltage" } Block { BlockType Reference Name "Va0" Ports [0, 1, 0, 0, 0, 2] Position [660, 448, 685, 472] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Measurements/Voltage Measurement" SourceType "Voltage Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Scope Name "Va0, Vab" Ports [1] Position [780, 694, 810, 726] BackgroundColor "green" Floating off Location [5, 48, 1925, 1039] Open off NumInputPorts "1" TickLabels "on" ZoomMode "xonly" List { ListType AxesTitles axes1 "%" } TimeRange "0.05" SaveName "ScopeData3" DataFormat "StructureWithTime" SampleTime "0" } Block { BlockType Reference Name "Vab" Ports [0, 1, 0, 0, 0, 2] Position [650, 708, 675, 732] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Measurements/Voltage Measurement" SourceType "Voltage Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "Vb" Ports [0, 0, 0, 0, 0, 1, 1] Position [110, 203, 145, 227] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Electrical\nSources/AC Voltage Source" SourceType "AC Voltage Source" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Amplitude "230*sqrt(2)" Phase "120" Frequency "50" SampleTime "0" Measurements "Voltage" } Block { BlockType Reference Name "Vb0" Ports [0, 1, 0, 0, 0, 2] Position [660, 523, 685, 547] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Measurements/Voltage Measurement" SourceType "Voltage Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "Vc" Ports [0, 0, 0, 0, 0, 1, 1] Position [110, 278, 145, 302] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Electrical\nSources/AC Voltage Source" SourceType "AC Voltage Source" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" Amplitude "230*sqrt(2)" Phase "-120" Frequency "50" SampleTime "0" Measurements "Voltage" } Block { BlockType Reference Name "Vc0" Ports [0, 1, 0, 0, 0, 2] Position [665, 598, 690, 622] DialogController "POWERSYS.PowerSysDialog" SourceBlock "powerlib/Measurements/Voltage Measurement" SourceType "Voltage Measurement" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" PhasorSimulation off OutputType "Complex" PSBequivalent "0" } Block { BlockType Reference Name "powergui" Ports [] Position [225, 445, 285, 469] UserDataPersistent on UserData "DataTag0" FontSize 11 SourceBlock "powerlib/powergui" SourceType "PSB option menu block" ShowPortLabels "FromPortIcon" SystemSampleTime "-1" FunctionWithSeparateData off RTWMemSecFuncInitTerm "Inherit from model" RTWMemSecFuncExecute "Inherit from model" RTWMemSecDataConstants "Inherit from model" RTWMemSecDataInternal "Inherit from model" RTWMemSecDataParameters "Inherit from model" SimulationMode "Continuous" SampleTime "50e-6" echomessages off RestoreLinks "warning" x0status "blocks" Frange "[0:2:500]" Ylog off Xlog on ShowGrid off save off variable "ZData" structure "psbconverter_str3" ZoomFFT off StartTime "0.15" cycles "1" DisplayStyle "1" fundamental "50" FreqAxis on MaxFrequency "1000" frequencyindice "50" frequencyindicesteady "1" RmsSteady "1" display off Ts "0" frequency "50" methode off HookPort off Interpol off SPID off FunctionMessages off } Line { LineType "Connection" Points [85, 220; 0, -5; 10, 0] DstBlock "Vb" DstPort LConn1 Branch { ConnectType "SRC_DEST" SrcBlock "Va" SrcPort LConn1 Points [-10, 0; 0, 75] } Branch { ConnectType "SRC_SRC" Points [0, 70] DstBlock "Vc" DstPort LConn1 } Branch { ConnectType "SRC_SRC" Points [0, -5; -60, 0] DstBlock "Ground" DstPort LConn1 } } Line { SrcBlock "Mux" SrcPort 1 DstBlock "Ia,Ib,Ic,I0" DstPort 1 } Line { LineType "Connection" Points [635, 465; 0, 75] Branch { ConnectType "SRC_DEST" Points [635, 295; 0, 170] Branch { ConnectType "SRC_DEST" SrcBlock "R3" SrcPort RConn1 Points [5, 0] } Branch { ConnectType "SRC_SRC" Points [0, -75] Branch { ConnectType "DEST_DEST" SrcBlock "R2" SrcPort RConn1 Points [5, 0] } Branch { ConnectType "DEST_DEST" SrcBlock "R1" SrcPort RConn1 Points [5, 0; 0, 70] } Branch { ConnectType "DEST_SRC" DstBlock "Ia3" DstPort LConn1 } } } Branch { ConnectType "SRC_SRC" DstBlock "Va0" DstPort LConn2 } Branch { ConnectType "DEST_SRC" Points [0, 75] DstBlock "Vc0" DstPort LConn2 } Branch { ConnectType "DEST_SRC" DstBlock "Vb0" DstPort LConn2 } } Line { LineType "Connection" SrcBlock "Ia" SrcPort RConn1 Points [130, 0] Branch { ConnectType "DEST_SRC" DstBlock "R1" DstPort LConn1 } Branch { ConnectType "DEST_SRC" Points [0, 455] DstBlock "Vc0" DstPort LConn1 } } Line { LineType "Connection" SrcBlock "Va" SrcPort RConn1 DstBlock "Ia" DstPort LConn1 } Line { LineType "Connection" Points [500, 220; 0, 310; 75, 0] Branch { ConnectType "SRC_DEST" SrcBlock "Ib" SrcPort RConn1 Points [145, 0] } Branch { ConnectType "SRC_SRC" DstBlock "R2" DstPort LConn1 } Branch { ConnectType "DEST_SRC" DstBlock "Vb0" DstPort LConn1 } Branch { ConnectType "DEST_SRC" Points [0, 195] DstBlock "Vab" DstPort LConn2 } } Line { LineType "Connection" SrcBlock "Vc" SrcPort RConn1 DstBlock "Ic" DstPort LConn1 } Line { LineType "Connection" Points [515, 295; 0, 160; 75, 0] Branch { ConnectType "SRC_DEST" SrcBlock "R3" SrcPort LConn1 Points [-15, 0] } Branch { ConnectType "SRC_SRC" DstBlock "Ic" DstPort RConn1 } Branch { ConnectType "DEST_SRC" DstBlock "Va0" DstPort LConn1 } Branch { ConnectType "DEST_SRC" Points [0, 260] DstBlock "Vab" DstPort LConn1 } } Line { SrcBlock "Ia" SrcPort 1 Points [30, 0; 0, -65; 345, 0] Branch { DstBlock "Mux" DstPort 1 } Branch { Points [0, 195] Branch { Points [0, 360] DstBlock "P&Qc" DstPort 2 } Branch { DstBlock "RMS2" DstPort 1 } } } Line { SrcBlock "Ib" SrcPort 1 Points [45, 0; 0, -125; 340, 0] Branch { DstBlock "Mux" DstPort 2 } Branch { Points [0, 225] Branch { Points [0, 245] DstBlock "P&Qb" DstPort 2 } Branch { DstBlock "RMS3" DstPort 1 } } } Line { SrcBlock "Ic" SrcPort 1 Points [55, 0; 0, -190; 335, 0] Branch { DstBlock "Mux" DstPort 3 } Branch { Points [0, 260] Branch { Points [0, 125] DstBlock "P&Qa" DstPort 2 } Branch { DstBlock "RMS4" DstPort 1 } } } Line { SrcBlock "Va0" SrcPort 1 Points [10, 0] Branch { DstBlock "P&Qa" DstPort 1 } Branch { Points [0, 240] DstBlock "Mux1" DstPort 1 } } Line { SrcBlock "Vb0" SrcPort 1 DstBlock "P&Qb" DstPort 1 } Line { SrcBlock "Vc0" SrcPort 1 DstBlock "P&Qc" DstPort 1 } Line { SrcBlock "P&Qb" SrcPort 1 DstBlock "Add" DstPort 2 } Line { SrcBlock "P&Qc" SrcPort 1 Points [30, 0; 0, -65] DstBlock "Add" DstPort 3 } Line { SrcBlock "P&Qa" SrcPort 1 Points [30, 0; 0, 65] DstBlock "Add" DstPort 1 } Line { SrcBlock "Add" SrcPort 1 DstBlock "P&Q" DstPort 1 } Line { SrcBlock "Ia3" SrcPort 1 Points [15, 0; 0, -110; 45, 0] Branch { DstBlock "Mux" DstPort 4 } Branch { Points [0, 125] DstBlock "RMS1" DstPort 1 } } Line { SrcBlock "RMS2" SrcPort 1 Points [10, 0; 0, 10] DstBlock "RMS 0,a,b,c" DstPort 2 } Line { SrcBlock "RMS1" SrcPort 1 Points [10, 0; 0, 30] DstBlock "RMS 0,a,b,c" DstPort 1 } Line { SrcBlock "RMS3" SrcPort 1 Points [10, 0; 0, -10] DstBlock "RMS 0,a,b,c" DstPort 3 } Line { SrcBlock "RMS4" SrcPort 1 Points [10, 0; 0, -35] DstBlock "RMS 0,a,b,c" DstPort 4 } Line { LineType "Connection" SrcBlock "Vb" SrcPort RConn1 DstBlock "Breaker" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Breaker" SrcPort RConn1 DstBlock "Ib" DstPort LConn1 } Line { LineType "Connection" SrcBlock "Ia3" SrcPort RConn1 Points [5, 0] DstBlock "Ground1" DstPort LConn1 } Line { SrcBlock "Vab" SrcPort 1 DstBlock "Mux1" DstPort 2 } Line { SrcBlock "Mux1" SrcPort 1 DstBlock "Va0, Vab" DstPort 1 } } } MatData { NumRecords 1 DataRecord { Tag DataTag0 Data " %)30 . X ( 8 ( @ % \" $ ! 0 % 0 # $ !X <&]W97)G=6D FUE=&5R 9F9T=&]O;