Nom

Capacitor — Electrical capacitor

Block Screenshot

Contents

Palette

Description

A capacitor is an electrical component that can store energy in electrical circuits. The relationship between the voltage across a capacitor with capacitance and the current passing through it is given by the:

Capacitors can also be used to differentiate between high-frequency and low-frequency signals and this makes them useful in electronic filters. A capacitor has a high impedance when a signal is low frequency signals.

Dialog box

  • C (F)

    Capacitance

    Properties : Type 'vec' of size 1.

  • Initial Voltage

    Initial Voltage

    Properties : Type 'vec' of size 1.

Default properties

  • Inputs :

    • Modelica variable name : 'p'

      Implicit variable.

  • Outputs :

    • Modelica variable name : 'n'

      Implicit variable.

  • Parameters :

    • Modelica parameter name : 'C'

      Default value : 0.01

      Is a state variable : no.

    • Modelica parameter name : 'v'

      Default value : 0

      Is a state variable : yes.

  • File name of the model : Capacitor

Interfacing function

  • SCI/modules/scicos_blocks/macros/Electrical/Capacitor.sci

Modelica model

  • SCI/modules/scicos_blocks/macros/Electrical/Capacitor.mo