modelCapacitor

AD version of Modelica.Electrical.Analog.Basic.Capacitor

Extends from ADMSL.T1.Electrical.Analog.Interfaces.OnePort (AD version of Modelica.Electrical.Analog.Interfaces.OnePort).

Information

The linear capacitor connects the branch voltage v with the branch current i by i = C * dv/dt. The Capacitance C is allowed to be positive or zero.

Parameters

TypeNameDefaultDescription
IntegerNG (from GradientInfo)0
SI.CapacitanceCCapacitance
Real[NG]g_Czeros(NG)The gradient of capacitance

Connectors

TypeNameDefaultDescription
ADMSL.T1.Electrical.Analog.Interfaces.PositivePinp (from OnePort)Positive pin (potential p.v > n.v for positive voltage drop v)
ADMSL.T1.Electrical.Analog.Interfaces.NegativePinn (from OnePort)Negative pin

Components

TypeNameDefaultDescription
SI.Voltagev (from OnePort)Voltage drop between the two pins (= p.v - n.v)
SI.Currenti (from OnePort)Current flowing from pin p to pin n
Real[NG]g_v (from OnePort)
Real[NG]g_i (from OnePort)

Revisions

  • 1998 by Christoph Clauss
    initially implemented