Engee documentation

Capacitor

Linear capacitor.

capacitor

Description

The Capacitor block models a linear capacitor described by the following equation:

Where:

  • I - current;

  • C - capacitance;

  • V - voltage;

  • t - time.

The series resistance and parallel conductance parameters reflect small parasitic effects. The parallel conductance directly on the capacitor can be used to model dielectric losses or, what is the same, leakage current (Amps per volt).

Series resistance can be used to model the capacitor’s own series resistance or contact resistance. Modelling some circuits may require a small series resistance.

The + and - connections represent the positive and negative poles of the capacitor, respectively. The capacitor current is considered positive if it flows from the positive pole to the negative pole, and the capacitor voltage is equal to the potential difference between the positive and negative terminals .

Ports

+ - positive
electricity

Electricity port, represents the positive terminal of a capacitor.

- is the negative
electricity

Electrical port, represents the negative terminal of a capacitor.

Parameters

Capacitance - capacitance of the capacitor
1e-6 F (by default) | positive | scalar

Capacitance value.

Series resistance - series resistance
1e-6 ohms (by default) | non-negative | scalar

Parasitic series resistance. Series resistance can be used to model the actual series resistance of a capacitor or contact resistance. Modelling some circuits may require a small series resistance.

Parallel conductance - parallel conductance
0 (by default) | non-negative | scalar.

Parasitic parallel conductance. Parallel conductance directly on the capacitor can be used to model dielectric loss or, similarly, leakage current.

Initial value of current i - initial value of current i
0 (By default)

Initial value of current .

Initial value of voltage v - initial value of block voltage v
0 (By default)

Initial value of voltage . Total voltage across capacitor and series resistance.

Initial value of capacitor voltage vC - initial value of capacitor voltage vC
0 (By default)

Initial value of capacitor voltage . Voltage on capacitor without considering series resistance.