modelIF
The bondgraphic linear TwoPort inductive field element
Extends from Interfaces.TwoPort2 (Partial model invoking two bondgraphic connectors).
Information
The bondgraphic TwoPort inductive field is a symmetric TwoPort element. It inherits the effort and flow variables from the symmetric TwoPort. The inductance values are modeled as a set of three parameters. The symmetric inductance matrix is manually inverted to speed up the compilation.The TwoPort inductive field has preferred causalities away from the IF 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: I1: Primary inductance (default value = 1) I2: Secondary inductance (default value = 1) I12: Coupling inductance (default value = 0)
Equations:
Det = I1*I2 - I122
Iinv1 = I2/Det
Iinv2 = I1/Det
Iinv12 = -I12/Det
der(f1) = Iinv1*e1 + Iinv12*e2
der(f2) = Iinv12*e1 + Iinv2*e2
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | I1 | 1 | Primary Inductance |
| Real | I2 | 1 | Secondary Inductance |
| Real | I12 | 0 | Coupling Inductance |
| Real | Det | I1*I2 - I12^2 | |
| Real | Iinv1 | I2/Det | |
| Real | Iinv2 | I1/Det | |
| Real | Iinv12 | -I12/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 |