Modelica.Electrical.Analog.Ideal.IdealClosingSwitch Modelica.Electrical.Analog.Ideal.IdealClosingSwitch

Ideal electrical closer

Modelica.Electrical.Analog.Ideal.IdealClosingSwitch

Information

The switching behaviour of the ideal closing switch is controlled by the input signal control: off = not control.
For further details, see partial model IdealSwitch.

Extends from Modelica.Electrical.Analog.Interfaces.IdealSwitch (Ideal electrical switch).

Parameters

TypeNameDefaultDescription
ResistanceRon1.E-5Closed switch resistance [Ohm]
ConductanceGoff1.E-5Opened switch conductance [S]
BooleanuseHeatPortfalse=true, if heatPort is enabled

Connectors

TypeNameDescription
PositivePinpPositive pin (potential p.v > n.v for positive voltage drop v)
NegativePinnNegative pin
HeatPort_aheatPortConditional heat port
input BooleanInputcontroltrue => p--n connected, false => switch open

Modelica definition

model IdealClosingSwitch "Ideal electrical closer" extends Modelica.Electrical.Analog.Interfaces.IdealSwitch; Modelica.Blocks.Interfaces.BooleanInput control "true => p--n connected, false => switch open"; equation off = not control; end IdealClosingSwitch;

Modelica.Electrical.Analog.Ideal.IdealDiode Modelica.Electrical.Analog.Ideal.IdealDiode

Ideal diode

Modelica.Electrical.Analog.Ideal.IdealDiode

Information

This is an ideal diode, for details see partial model IdealSemiconductor
The diode is conducting if voltage > Vknee.
The diode is locking if current < Vknee/Goff.

Extends from Modelica.Electrical.Analog.Interfaces.IdealSemiconductor (Ideal semiconductor).

Parameters

TypeNameDefaultDescription
ResistanceRon1.E-5Forward state-on differential resistance (closed resistance) [Ohm]
ConductanceGoff1.E-5Backward state-off conductance (opened conductance) [S]
VoltageVknee0Forward threshold voltage [V]
BooleanuseHeatPortfalse=true, if heatPort is enabled
TemperatureT293.15Fixed device temperature if useHeatPort = false [K]
Initialization
Booleanoff.starttrueSwitching state

Connectors

TypeNameDescription
PositivePinpPositive pin (potential p.v > n.v for positive voltage drop v)
NegativePinnNegative pin
HeatPort_aheatPortConditional heat port

Modelica definition

model IdealDiode "Ideal diode" extends Modelica.Electrical.Analog.Interfaces.IdealSemiconductor; equation off = s < 0; end IdealDiode;

Automatically generated Mon Sep 11 16:11:50 2017.