Capacitor

Ideal linear electrical capacitor

    Capacitor

Library

Modelica/Electrical/Analog/Basic

Description

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

Capacitor_0

NameLabelDescriptionData TypeValid Values

mo_v

v

v

Structure

mo_v/fixed

fixed

Cell of scalars

true
false

mo_v/start

start

Cell of scalars

mo_C

C

Capacitance

Scalar

Capacitor_1

NameLabelDescriptionData TypeValid Values

mo__nmodifiers

Number of Modifiers

Specifies the number of modifiers

Number

mo__modifiers

Modifiers

Add new modifier

Structure

mo__modifiers/varname

Variable name

Cell of strings

'i'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

p

implicit

Positive electrical pin

input

1

n

implicit

Negative electrical pin

output

1

See Also