modelOnePortV
OnePort partial model of analog electrical library for capacitors
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | u0 | 0 | Initial voltage across capacitor |
| Advanced | |||
| Boolean | enforceStates | true | Use electrical variables as states instead of bond graph variables |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Analog.Interfaces.PositivePin | p | Left electrical connector | |
| Modelica.Electrical.Analog.Interfaces.NegativePin | n | Right electrical connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Voltage | v | Voltage drop between the two pins | |
| Modelica.SIunits.Current | i | Current flowing from pin p to pin n |