C_Capacitor

Ideal linear electrical capacitor

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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, zero, or negative.

Parameters (3)

C

Value:

Type: Capacitance (F)

Description: Capacitance

IC

Value: 0

Type: Voltage (V)

Description: Initial value of voltage

UIC

Value: false

Type: Boolean

Description: Use initial conditions: true, if initial condition is used

Connectors (2)

p

Type: PositivePin

Description: Positive electrical pin

n

Type: NegativePin

Description: Negative electrical pin

Used in Examples (5)

InvertersApartRecord

Modelica.Electrical.Spice3.Examples

Two inverters where transistor models use different modelcard instances

InvertersExtendedModel

Modelica.Electrical.Spice3.Examples

Two inverters with MOS models defined by inheritance

FourInverters

Modelica.Electrical.Spice3.Examples

Four inverters with MOSFET level 1, using private record as model card

Oscillator

Modelica.Electrical.Spice3.Examples

Oscillator circuit

CoupledInductors

Modelica.Electrical.Spice3.Examples