⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 svc_test_2.mdl

📁 关于svc的matlab仿真模型
💻 MDL
📖 第 1 页 / 共 5 页
字号:
      LUTDesignAbsError	      "1e-6"
    }
    Block {
      BlockType		      MATLABFcn
      MATLABFcn		      "sin"
      OutputDimensions	      "-1"
      OutputSignalType	      "auto"
      Output1D		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Memory
      X0		      "0"
      InheritSampleTime	      off
      LinearizeMemory	      off
      StateMustResolveToSignalObject off
      RTWStateStorageClass    "Auto"
    }
    Block {
      BlockType		      Mux
      Inputs		      "4"
      DisplayOption	      "none"
      BusObject		      "BusObject"
      NonVirtualBus	      off
    }
    Block {
      BlockType		      Outport
      Port		      "1"
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      OutputWhenDisabled      "held"
      InitialOutput	      "[]"
    }
    Block {
      BlockType		      Product
      Inputs		      "2"
      Multiplication	      "Element-wise(.*)"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Reference
    }
    Block {
      BlockType		      Scope
      Floating		      off
      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	      "0"
    }
    Block {
      BlockType		      Selector
      InputType		      "Vector"
      IndexMode		      "One-based"
      ElementSrc	      "Internal"
      Elements		      "1"
      RowSrc		      "Internal"
      Rows		      "1"
      ColumnSrc		      "Internal"
      Columns		      "1"
      InputPortWidth	      "-1"
      IndexIsStartValue	      off
      OutputPortSize	      "1"
    }
    Block {
      BlockType		      Signum
      ZeroCross		      on
      SampleTime	      "-1"
    }
    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		      SubSystem
      ShowPortLabels	      on
      Permissions	      "ReadWrite"
      PermitHierarchicalResolution "All"
      SystemSampleTime	      "-1"
      RTWFcnNameOpts	      "Auto"
      RTWFileNameOpts	      "Auto"
      SimViewingDevice	      off
      DataTypeOverride	      "UseLocalSettings"
      MinMaxOverflowLogging   "UseLocalSettings"
    }
    Block {
      BlockType		      Sum
      IconShape		      "rectangular"
      Inputs		      "++"
      InputSameDT	      on
      OutDataTypeMode	      "Same as first input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Terminator
    }
    Block {
      BlockType		      TransferFcn
      Numerator		      "[1]"
      Denominator	      "[1 2 1]"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
    Block {
      BlockType		      TransportDelay
      DelayTime		      "1"
      InitialInput	      "0"
      BufferSize	      "1024"
      PadeOrder		      "0"
      TransDelayFeedthrough   off
    }
    Block {
      BlockType		      TriggerPort
      TriggerType	      "rising"
      StatesWhenEnabling      "inherit"
      ShowOutputPort	      off
      OutputDataType	      "auto"
      SampleTimeType	      "triggered"
      SampleTime	      "1"
      ZeroCross		      on
    }
    Block {
      BlockType		      Trigonometry
      Operator		      "sin"
      OutputSignalType	      "auto"
      SampleTime	      "-1"
    }
  }
  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		    "svc_test_2"
    Location		    [0, 50, 1016, 742]
    Open		    on
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "darkGreen"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "Current Measurement"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [1, 2]
      Position		      [475, 23, 500, 47]
      ShowName		      off
      SourceBlock	      "powerlib2/Measurements/Current Measurement"
      SourceType	      "Current Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBOutputType	      "01"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Current Measurement1"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [1, 2]
      Position		      [475, 68, 500, 92]
      ShowName		      off
      SourceBlock	      "powerlib2/Measurements/Current Measurement"
      SourceType	      "Current Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBOutputType	      "01"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Current Measurement2"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [1, 2]
      Position		      [520, 113, 545, 137]
      ShowName		      off
      SourceBlock	      "powerlib2/Measurements/Current Measurement"
      SourceType	      "Current Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBOutputType	      "01"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Current Measurement3"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [1, 2]
      Position		      [165, 18, 190, 42]
      ShowName		      off
      SourceBlock	      "powerlib2/Measurements/Current Measurement"
      SourceType	      "Current Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBOutputType	      "01"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Current Measurement4"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [1, 2]
      Position		      [165, 63, 190, 87]
      ShowName		      off
      SourceBlock	      "powerlib2/Measurements/Current Measurement"
      SourceType	      "Current Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBOutputType	      "01"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Reference
      Name		      "Current Measurement5"
      Tag		      "PoWeRsYsTeMmEaSuReMeNt"
      Ports		      [1, 2]
      Position		      [165, 108, 190, 132]
      ShowName		      off
      SourceBlock	      "powerlib2/Measurements/Current Measurement"
      SourceType	      "Current Measurement"
      ShowPortLabels	      on
      PhasorSimulation	      off
      OutputType	      "Magnitude"
      PSBOutputType	      "01"
      PSBequivalent	      "0"
    }
    Block {
      BlockType		      Demux
      Name		      "Demux1"
      Ports		      [1, 3]
      Position		      [230, 316, 235, 354]
      Orientation	      "left"
      BackgroundColor	      "black"
      ShowName		      off
      Outputs		      "3"
    }
    Block {
      BlockType		      Reference
      Name		      "Ground (output)1"
      Tag		      "PoWeRsYsTeMbLoCk"
      Ports		      [0, 1]
      Position		      [434, 290, 466, 320]
      Orientation	      "up"
      ShowName		      off
      SourceBlock	      "powerlib2/Connectors/Ground (output)"
      SourceType	      "Ground"
      ShowPortLabels	      on
      PSBOutputType	      "1"
    }
    Block {
      BlockType		      Mux
      Name		      "Mux1"
      Ports		      [3, 1]
      Position		      [575, 196, 580, 234]
      ShowName		      off
      Inputs		      "3"
      DisplayOption	      "bar"
    }
    Block {
      BlockType		      Scope
      Name		      "Scope5"
      Ports		      [3]
      Position		      [15, 221, 60, 279]
      Orientation	      "left"
      Location		      [5, 60, 1029, 775]
      Open		      off
      NumInputPorts	      "3"
      List {
	ListType		AxesTitles
	axes1			"%<SignalLabel>"
	axes2			"%<SignalLabel>"
	axes3			"%<SignalLabel>"
      }
      YMin		      "-250~-200~-200"
      YMax		      "400~400~350"
      SaveName		      "ScopeData6"
      DataFormat	      "StructureWithTime"
      LimitDataPoints	      off
      Decimation	      "10"
    }
    Block {
      BlockType		      SubSystem
      Name		      "Subsystem"
      Ports		      [0, 3]
      Position		      [35, 45, 75, 105]
      TreatAsAtomicUnit	      off
      MinAlgLoopOccurrences   off
      RTWSystemCode	      "Auto"
      System {
	Name			"Subsystem"
	Location		[2, 82, 1014, 743]
	Open			off
	ModelBrowserVisibility	off
	ModelBrowserWidth	200
	ScreenColor		"white"
	PaperOrientation	"landscape"
	PaperPositionMode	"auto"
	PaperType		"A4"
	PaperUnits		"centimeters"
	ZoomFactor		"100"
	Block {
	  BlockType		  Reference
	  Name			  "Ground (input)"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1]
	  Position		  [450, 310, 480, 340]
	  Orientation		  "down"
	  SourceBlock		  "powerlib2/Connectors/Ground (input)"
	  SourceType		  "Ground"
	  ShowPortLabels	  on
	}
	Block {
	  BlockType		  Reference
	  Name			  "Neutral (output)"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [0, 1]
	  Position		  [144, 355, 196, 395]
	  Orientation		  "up"
	  SourceBlock		  "powerlib2/Connectors/Neutral (output)"
	  SourceType		  "Neutral"
	  ShowPortLabels	  on
	  no			  "3"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Three-phase\nTransformer\n(Two Windings)"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [3, 4]
	  Position		  [345, 196, 430, 299]
	  SourceBlock		  "powerlib2/Elements/Three-phase\nTransformer"
"\n(Two Windings)"
	  SourceType		  "Three-Phase Transformer (Two Windings)"
	  ShowPortLabels	  on
	  nominal		  "[1000 , 50 ]"
	  type1			  "Yg"
	  params1		  "[ 538.89 , 0.002 , 0.08 ]"
	  type2			  "Yn"
	  params2		  "[ 98, 0.002 , 0.08 ]"
	  ynsat			  off
	  rmag			  "500"
	  lm			  "500"
	  sat			  "[ 0,0  ;  0.005,1.2  ;  1.0,1.4 ]"
	  hyst			  off
	  matfile		  "'basic_model'"
	  sif			  off
	  phi0			  "[ 0.8 , -0.8 , 0.7 ]"
	  initialslopes		  "[+1 +1 +1]"
	  mesure		  "None"
	  PSBOutputType		  "1111"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Va"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1]
	  Position		  [220, 192, 255, 218]
	  SourceBlock		  "powerlib2/Electrical\nSources/AC Voltage So"
"urce"
	  SourceType		  "AC Voltage Source"
	  ShowPortLabels	  on
	  A			  "311"
	  P			  "0"
	  F			  "50"
	  stime			  "0"
	  mesure		  "None"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Vb"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1]
	  Position		  [220, 237, 255, 263]
	  SourceBlock		  "powerlib2/Electrical\nSources/AC Voltage So"
"urce"
	  SourceType		  "AC Voltage Source"
	  ShowPortLabels	  on
	  A			  "311"
	  P			  "240"
	  F			  "50"
	  stime			  "0"
	  mesure		  "None"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Reference
	  Name			  "Vc"
	  Tag			  "PoWeRsYsTeMbLoCk"
	  Ports			  [1, 1]
	  Position		  [220, 282, 255, 308]
	  SourceBlock		  "powerlib2/Electrical\nSources/AC Voltage So"
"urce"
	  SourceType		  "AC Voltage Source"
	  ShowPortLabels	  on
	  A			  "311"
	  P			  "120"
	  F			  "50"
	  stime			  "0"
	  mesure		  "None"
	  PSBOutputType		  "1"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out1"
	  Position		  [835, 163, 865, 177]
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out2"
	  Position		  [835, 228, 865, 242]
	  Port			  "2"
	  IconDisplay		  "Port number"
	}
	Block {
	  BlockType		  Outport
	  Name			  "Out3"
	  Position		  [835, 278, 865, 292]
	  Port			  "3"
	  IconDisplay		  "Port number"
	}
	Line {
	  SrcBlock		  "Vb"
	  SrcPort		  1
	  DstBlock		  "Three-phase\nTransformer\n(Two Windings)"
	  DstPort		  2
	}
	Line {
	  SrcBlock		  "Va"
	  SrcPort		  1
	  Points		  [35, 0; 0, 10]
	  DstBlock		  "Three-phase\nTransformer\n(Two Windings)"
	  DstPort		  1
	}
	Line {
	  SrcBlock		  "Vc"
	  SrcPort		  1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -