modelVariableCapacitor

Modulated linear electrical capacitor

Extends from Interfaces.ModOnePortV2 (Modulated OnePort partial model of analog electrical library for capacitors).

Information

The modulated capacitor is built in bondgraphic technology from a bond graph mC element, a 1-junction, and three bonds. A-causal bonds must be used here, because the causality depends on the embedding of the capacitor in its environment.


Potential variables:

 C:  Capacitance (modulation input signal)

Parameters

TypeNameDefaultDescription
Modelica.SIunits.ElectricChargeq0 (from ModOnePortV2)0Initial charge across capacitor
Advanced
BooleanenforceStates (from ModOnePortV2)trueuse electrical variables as states instead of bond graph variables

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp (from ModOnePortV2)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from ModOnePortV2)Right electrical connector
Modelica.Blocks.Interfaces.RealInputu (from ModOnePortV2)Modulation signal

Components

TypeNameDefaultDescription
Modelica.SIunits.ElectricChargeq (from ModOnePortV2)Electrical charge
Modelica.SIunits.Voltagev (from ModOnePortV2)Voltage drop between the two pins
Modelica.SIunits.Currenti (from ModOnePortV2)Current flowing from pin p to pin n