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

📄 overvoltage.mdl

📁 电系统过电压仿真程序
💻 MDL
📖 第 1 页 / 共 3 页
字号:
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      ConvertRealWorld	      "Real World Value (RWV)"
      RndMeth		      "Zero"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Demux
      Outputs		      "4"
      DisplayOption	      "none"
      BusSelectionMode	      off
    }
    Block {
      BlockType		      Derivative
      LinearizePole	      "inf"
    }
    Block {
      BlockType		      From
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      FromWorkspace
      VariableName	      "simulink_input"
      SampleTime	      "-1"
      Interpolate	      on
      OutputAfterFinalValue   "Extrapolation"
    }
    Block {
      BlockType		      Gain
      Gain		      "1"
      Multiplication	      "Element-wise(K.*u)"
      ParameterDataTypeMode   "Same as input"
      ParameterDataType	      "sfix(16)"
      ParameterScalingMode    "Best Precision: Matrix-wise"
      ParameterScaling	      "2^0"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      LockScale		      off
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Goto
      IconDisplay	      "Tag"
    }
    Block {
      BlockType		      HitCross
      HitCrossingOffset	      "0"
      HitCrossingDirection    "either"
      ShowOutputPort	      on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      Inport
      BusObject		      "BusObject"
      BusOutputAsStruct	      off
      PortDimensions	      "-1"
      SampleTime	      "-1"
      DataType		      "auto"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      SignalType	      "auto"
      SamplingMode	      "auto"
      Interpolate	      on
    }
    Block {
      BlockType		      Lookup
      InputValues	      "[-4:5]"
      OutputValues	      " rand(1,10)-0.5"
      LookUpMeth	      "Interpolation-Extrapolation"
      OutDataTypeMode	      "Same as input"
      OutDataType	      "sfix(16)"
      OutScaling	      "2^0"
      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		      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		      PMComponent
      SubClassName	      "unknown"
    }
    Block {
      BlockType		      PMIOPort
    }
    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		      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		      StateSpace
      A			      "1"
      B			      "1"
      C			      "1"
      D			      "1"
      X0		      "0"
      AbsoluteTolerance	      "auto"
      Realization	      "auto"
    }
    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		      Switch
      Criteria		      "u2 >= Threshold"
      Threshold		      "0"
      InputSameDT	      on
      OutDataTypeMode	      "Inherit via internal rule"
      RndMeth		      "Floor"
      SaturateOnIntegerOverflow	on
      ZeroCross		      on
      SampleTime	      "-1"
    }
    Block {
      BlockType		      TransportDelay
      DelayTime		      "1"
      InitialInput	      "0"
      BufferSize	      "1024"
      PadeOrder		      "0"
      TransDelayFeedthrough   off
    }
  }
  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		    "overvoltage"
    Location		    [134, 175, 855, 602]
    Open		    off
    ModelBrowserVisibility  off
    ModelBrowserWidth	    200
    ScreenColor		    "white"
    PaperOrientation	    "landscape"
    PaperPositionMode	    "auto"
    PaperType		    "A4"
    PaperUnits		    "centimeters"
    ZoomFactor		    "100"
    ReportName		    "simulink-default.rpt"
    Block {
      BlockType		      Reference
      Name		      "\n"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [545, 115, 610, 135]
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "0"
      Inductance	      "0"
      Capacitance	      "0.3523e-6"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "\n\n"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [535, 94, 605, 116]
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "0"
      Inductance	      "0"
      Capacitance	      "0.3523e-6"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "\n\n\n"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [545, 74, 615, 96]
      SourceBlock	      "powerlib/Elements/Series RLC Branch"
      SourceType	      "Series RLC Branch"
      PhysicalDomain	      "powersysdomain"
      SubClassName	      "unknown"
      LeftPortType	      "p1"
      RightPortType	      "p1"
      LConnTagsString	      "__new0"
      RConnTagsString	      "__new0"
      Resistance	      "0"
      Inductance	      "0"
      Capacitance	      "0.3523e-6"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "1"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [325, 73, 355, 97]
      SourceBlock	      "powerlib/Elements/Breaker"
      SourceType	      "Breaker"
      ShowPortLabels	      on
      BreakerResistance	      "0.01"
      InitialState	      "0"
      SnubberResistance	      "100"
      SnubberCapacitance      "1e-7"
      SwitchingTimes	      "[ 3.05e-3 0.5 ]"
      External		      off
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "2"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [325, 93, 355, 117]
      SourceBlock	      "powerlib/Elements/Breaker"
      SourceType	      "Breaker"
      ShowPortLabels	      on
      BreakerResistance	      "0.01"
      InitialState	      "0"
      SnubberResistance	      "1e6"
      SnubberCapacitance      "inf"
      SwitchingTimes	      "[ 8.05e-3 0.5]"
      External		      off
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "3"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [325, 113, 355, 137]
      SourceBlock	      "powerlib/Elements/Breaker"
      SourceType	      "Breaker"
      ShowPortLabels	      on
      BreakerResistance	      "0.01"
      InitialState	      "0"
      SnubberResistance	      "1e6"
      SnubberCapacitance      "inf"
      SwitchingTimes	      "[5.05e-3 0.5]"
      External		      off
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "A"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [53, 185, 77, 220]
      Orientation	      "up"
      SourceBlock	      "powerlib/Electrical\nSources/AC Voltage Source"
      SourceType	      "AC Voltage Source"
      ShowPortLabels	      on
      Amplitude		      "110000"
      Phase		      "0"
      Frequency		      "50"
      SampleTime	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "B"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [88, 185, 112, 220]
      Orientation	      "up"
      SourceBlock	      "powerlib/Electrical\nSources/AC Voltage Source"
      SourceType	      "AC Voltage Source"
      ShowPortLabels	      on
      Amplitude		      "110000"
      Phase		      "120"
      Frequency		      "50"
      SampleTime	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "C"
      Ports		      [0, 0, 0, 0, 0, 1, 1]
      Position		      [128, 185, 152, 220]
      Orientation	      "up"
      SourceBlock	      "powerlib/Electrical\nSources/AC Voltage Source"
      SourceType	      "AC Voltage Source"
      ShowPortLabels	      on
      Amplitude		      "110000"
      Phase		      "240"
      Frequency		      "50"
      SampleTime	      "0"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Distributed Parameters Line"
      Ports		      [0, 0, 0, 0, 0, 3, 3]
      Position		      [420, 71, 500, 139]
      SourceBlock	      "powerlib/Elements/Distributed Parameters Line"
      SourceType	      "Distributed Parameters Line"
      ShowPortLabels	      on
      Phases		      "3"
      Frequency		      "50"
      Resistance	      "[0.01273 0.3864]"
      Inductance	      "[0.9337e-3  4.1264e-3]"
      Capacitance	      "[12.74e-9 7.751e-9]"
      Length		      "100"
      x1		      "[0 -723.757355742391 -560.548391856073 -355.746"
"480519308;0.000113108313399149 -540.750629087523 -407.187722045227 -256.49543"
"5231475;0.000226216626798297 -357.061186349624 -253.312963869616 -156.9205557"
"224;0.000339324940197446 -172.920941705199 -99.1183894512275 -57.147558668217"
"3;0.000452433253596594 11.4376215164864 55.2013253090531 42.6975891247901;0.0"
"00565541566995743 195.78174435153 209.451346516399 142.488829757576]"
      x2		      "[0 -794.732565181293 -567.429283255671 -360.135"
"110615409;0.000113108313399149 -606.289641981622 -412.666433724283 -259.97651"
"0677674;0.000226216626798297 -417.081257463386 -257.382578768072 -159.4896815"
"42406;0.000339324940197446 -227.346293655021 -101.773769541695 -58.8014912531"
"997;0.000452433253596594 -37.3242974092494 53.9635325343611 41.9609379210409;"
"0.000565541566995743 152.74482203298 209.63270381301 142.670389982289]"
      x3		      "[0 -2.76317331886017 -4.27244617253427 -2.73922"
"002997275;0.000113108313399149 -2.53046682001674 -3.7167901774754 -2.37948581"
"31354;0.000226216626798297 -2.29456552064481 -3.15644160825217 -2.01674741443"
"196;0.000339324940197446 -2.0557672541678 -2.5921079240144 -1.6514628034429;0"
".000452433253596594 -1.81437351152877 -2.02450161525529 -1.28409316442837;0.0"
"00565541566995743 -1.57068906054783 -1.45433930426795 -0.915102314067402]"
      x4		      "[0 -0.4766864728258 -1.60873183045575 -1.015016"
"49068081;0.000113108313399149 -0.22576955324252 -1.03714796396368 -0.64512970"
"0550328;0.000226216626798297 0.0254324080897042 -0.464254662849817 -0.2744284"
"12204749;0.000339324940197446 0.276602260140683 0.109224775584838 0.096619351"
"3561615;0.000452433253596594 0.527422892419287 0.682566314020961 0.4675451296"
"95871;0.000565541566995743 0.777577635336244 1.25504608924267 0.8378806163883"
"49]"
      x5		      "0.000565541566995743"
      Measurements	      "None"
    }
    Block {
      BlockType		      Reference
      Name		      "Ground"
      Ports		      [0, 0, 0, 0, 0, 1]
      Position		      [34, 255, 56, 280]
      Orientation	      "down"
      ShowName		      off
      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		      [89, 255, 111, 280]

⌨️ 快捷键说明

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