modelSW2

Switched model implemented with switch x 2

Extends from Interfaces.SwitchNetworkInterface (Interface for the averaged switch network models).

Parameters

TypeNameDefaultDescription
Realdmin (from SwitchNetworkInterface)1e-3Minimum duty cycle
Realdmax (from SwitchNetworkInterface)1Maximum duty cycle
RealdMax1Maximum duty cycle
RealdMin0Minimum duty cycle
Modelica.SIunits.FrequencyfsSwitching frequency
Modelica.SIunits.TimestartTime0Start time
Modelica.SIunits.ResistanceRD1.E-5Forward state-on differential resistance (closed resistance)
Modelica.SIunits.VoltageVD0Forward threshold voltage
Modelica.SIunits.ResistanceRon1.E-5Closed switch resistance

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp1 (from TwoPort)Positive pin of the left port (potential p1.v > n1.v for positive voltage drop v1)
Modelica.Electrical.Analog.Interfaces.NegativePinn1 (from TwoPort)Negative pin of the left port
Modelica.Electrical.Analog.Interfaces.PositivePinp2 (from TwoPort)Positive pin of the right port (potential p2.v > n2.v for positive voltage drop v2)
Modelica.Electrical.Analog.Interfaces.NegativePinn2 (from TwoPort)Negative pin of the right port
Modelica.Blocks.Interfaces.RealInputd (from SwitchNetworkInterface)Duty cycle

Components

TypeNameDefaultDescription
Modelica.SIunits.Voltagev1 (from TwoPort)Voltage drop over the left port
Modelica.SIunits.Voltagev2 (from TwoPort)Voltage drop over the right port
Modelica.SIunits.Currenti1 (from TwoPort)Current flowing from pos. to neg. pin of the left port
Modelica.SIunits.Currenti2 (from TwoPort)Current flowing from pos. to neg. pin of the right port
Modelica.Electrical.Analog.Ideal.IdealClosingSwitchsw1
Control.SwitchingPWMsignalPWM
Modelica.Electrical.Analog.Ideal.IdealClosingSwitchsw2
Control.DeadTimedeadTime