modelC
The bondgraphic linear capacitor element
Extends from Interfaces.PassiveOnePort (Partial model invoking one bondgraphic connector).
Information
The bondgraphic linear capacitor is a passive OnePort element. It inherits the effort and flow variables from the passive OnePort. The capacitance is modeled as a parameter.The capacitor model has a preferred causality away from the element.
Potential variables: e: Bondgraphic effort variable f: Bondgraphic flow variable, normalized positive for flows into the model Parameters: C: Capacitance (default value = 1)
Equations:
f = C*der(e)
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | C | 1 | Bondgraphic Capacitance |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BondLib.Interfaces.BondCon | BondCon1 (from PassiveOnePort) | Bond graph connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | e (from PassiveOnePort) | Bondgraphic effort | |
| Real | f (from PassiveOnePort) | Bondgraphic flow |