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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | u0 (from ModOnePortV) | 0 | Initial voltage across capacitor |
| Advanced | |||
| Boolean | enforceStates (from ModOnePortV) | true | use electrical variables as states instead of bond graph variables |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p (from ModOnePortV) | Left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n (from ModOnePortV) | Right electrical connector | |
| Modelica.Blocks.Interfaces.RealInput | u (from ModOnePortV) | Modulation signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v (from ModOnePortV) | Voltage drop between the two pins | |
| Modelica.SIunits.Current | i (from ModOnePortV) | Current flowing from pin p to pin n |