modelvarC

Modulated electrical capacitor

Extends from BondLib.Electrical.Analog.Interfaces.OnePort (OnePort partial model of analog electrical library).

Information

This modulated capacitor is built in bondgraphic technology from a bond graph mC3 element. It implements the variable junction capacitor of an np-junction in a Spice-style bipolar transistor model.


Potential variables:

 Cdepl:  Depletion capacitance (modulation input signal)

 Cdiff:  Diffusion capacitance (modulation input signal)


Parameters:

 XCJ:    Fraction of depletion capacitance considered inside the junction (default value = 1)

 Level:  Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2) (default value = 2)

Parameters

TypeNameDefaultDescription
RealXCJ1Fraction of depletion capacitance considered inside the junction
IntegerLevel2Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2)

Connectors

TypeNameDefaultDescription
Modelica.Electrical.Analog.Interfaces.PositivePinp (from OnePort)Left electrical connector
Modelica.Electrical.Analog.Interfaces.NegativePinn (from OnePort)Right electrical connector
Modelica.Blocks.Interfaces.RealInputCdeplDepletion capacitance
Modelica.Blocks.Interfaces.RealInputCdiffDiffusion capacitance
Modelica.Blocks.Interfaces.RealOutputixExternal base-collector capacitance current

Components

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