modelCF
The bondgraphic linear TwoPort capacitive field element
Extends from Interfaces.TwoPort2 (Partial model invoking two bondgraphic connectors).
Information
The bondgraphic TwoPort capacitive field is a symmetric TwoPort element. It inherits the effort and flow variables from the symmetric TwoPort. The capacitance values are modeled as a set of three parameters. The symmetric capacitance matrix is manually inverted to speed up the compilation.The TwoPort capacitive field has preferred causalities at the CF element.
Potential variables: e1: Bondgraphic effort variable of inflow f1: Bondgraphic flow variable of inflow, normalized positive for flows into the model e2: Bondgraphic effort variable of outflow f2: Bondgraphic flow variable of outflow, normalized positive for flows into the model Parameters: C1: Primary capacitance (default value = 1) C2: Secondary capacitance (default value = 1) C12: Coupling capacitance (default value = 0)
Equations:
Det = C1*C2 - C122
Cinv1 = C2/Det
Cinv2 = C1/Det
Cinv12 = -C12/Det
der(e1) = Cinv1*f1 + Cinv12*f2
der(e2) = Cinv12*f1 + Cinv2*f2
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | C1 | 1 | Primary Capacitance |
| Real | C2 | 1 | Secondary Capacitance |
| Real | C12 | 0 | Coupling Capacitance |
| Real | Det | C1*C2 - C12^2 | |
| Real | Cinv1 | C2/Det | |
| Real | Cinv2 | C1/Det | |
| Real | Cinv12 | -C12/Det |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BondLib.Interfaces.BondCon | BondCon1 (from TwoPort2) | First bond graph connector | |
| BondLib.Interfaces.BondCon | BondCon2 (from TwoPort2) | Second bond graph connector |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | e1 (from TwoPort2) | Bondgraphic primary effort | |
| Real | f1 (from TwoPort2) | Bondgraphic primary flow | |
| Real | e2 (from TwoPort2) | Bondgraphic secondary effort | |
| Real | f2 (from TwoPort2) | Bondgraphic secondary flow |