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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | XCJ | 1 | Fraction of depletion capacitance considered inside the junction |
| Integer | Level | 2 | Transistor modeling level (Ebers-Moll = 1; Gummel-Poon = 2) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p (from OnePort) | Left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n (from OnePort) | Right electrical connector | |
| Modelica.Blocks.Interfaces.RealInput | Cdepl | Depletion capacitance | |
| Modelica.Blocks.Interfaces.RealInput | Cdiff | Diffusion capacitance | |
| Modelica.Blocks.Interfaces.RealOutput | ix | External base-collector capacitance current |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v (from OnePort) | Voltage drop between the two pins | |
| Modelica.SIunits.Current | i (from OnePort) | Current flowing from pin p to pin n |