modelModOnePortV2
Modulated OnePort partial model of analog electrical library for capacitors
Parameters
| Type | Name | Default | Description |
| Modelica.SIunits.ElectricCharge | q0 | 0 | Initial charge across capacitor |
| Advanced |
| Boolean | enforceStates | true | use electrical variables as states instead of bond graph variables |
Components
| Type | Name | Default | Description |
| Modelica.SIunits.ElectricCharge | q | | Electrical charge |
| Modelica.SIunits.Voltage | v | | Voltage drop between the two pins |
| Modelica.SIunits.Current | i | | Current flowing from pin p to pin n |