PLECS 1.3 Online Help

Capacitor

Purpose

Ideal capacitor.

Library

Passive Components

Description

[Picture] [Picture]

This component provides one or more ideal capacitors between its two electrical terminals. If the component is vectorized, a coupling can be modeled between the internal capacitors. Capacitors may be switched in parallel only if their momentary voltages are equal. See section "Configuring PLECS" in chapter "Using PLECS" for information on how to change the graphical representation of capacitors.

Parameters and Dialog Box

[Picture]

Width
The width of the electrical ports resp. the number of ideal capacitors represented by the component.
Capacitance
The value of the capacitor, in farads (F). All finite positive and negative values are accepted, including 0. The default is 1.

If the parameter is a scalar, all internal capacitors have the same value. To specify individually the capacitances in a vectorized component use a vector [C1 C2:::Cn] . The length n of the vector must correspond to the parameter 'Width':

2    3    2                 3  2      3
   i1        C1   0          0       ddtv1
66  i2 77    66  0  C2          0  77  66 ddtv2 77
64  .. 75  = 64  ..   ..   ..    .. 75   64   ..  75
   .         .   .    .   .      d-.
   in         0   0          Cn      dtvn

In order to model a coupling between the internal capacitors enter a square matrix. The size n of the matrix corresponds to the width of the component:

2  i 3    2  C    C           C    3  2 -dv  3
6  1i 7    6 C 1    1C;2         C 1;n 7  6 dtdv1 7
66  2. 77  = 66   2.;1   .2  .     2.;n 77   66 dt.2 77
4  .. 5    4   ..    ..    ..   ..  5  4   ..  5
   in        Cn;1  Cn;2         Cn       ddtvn

Initial voltage
The initial voltage of the capacitor at simulation start, in volts (V). This parameter may either be a scalar or a vector with the width of the component. The positive pole is marked with a "+". The initial voltage default is 0.

Probe Signals

Capacitor voltage
The voltage measured across the capacitor. A positive voltage is measured when the potential at the terminal marked with "+" is greater than the potential at the unmarked terminal.