modelVariableCapacitor2

Modulated electrical capacitor

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

Information

This modulated capacitor is built in bondgraphic technology from a bond graph mC2 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.

It is not recommended to use this model. The regular VariableCapacitor model should be used always. For this reason, this model has been hidden inside the Utilities package. However, since the Ebers-Moll bipolar transistor models make use of this model, it had to be constructed.


Potential variables:

 C:  Capacitance (modulation input signal)

Parameters

TypeNameDefaultDescription
Realu0 (from ModOnePortV)0Initial voltage across capacitor
Advanced
BooleanenforceStates (from ModOnePortV)trueuse electrical variables as states instead of bond graph variables

Connectors

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

Components

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