modelDp
Generalized momentum sensor of the Modelica bond graph library
Extends from Interfaces.PassiveOnePort (Partial model invoking one bondgraphic connector).
Information
The sensor (detector) of generalized momentum senses the common effort of a 0-junction, then integrates it. Thus, momentum sensors must always be connected to 0-junctions via a bond.A momentum sensor does not affect the behavior of the system at all. This is accomplished by setting the flow into the sensor equal to zero. Thus, a momentum sensor is in its effects similar to a flow source of zero flow.
The momentum sensor is a passive OnePort element. It inherits the effort and flow variables from the passive OnePort. The momentum sensor has an additional output signal, through which it transmits the generalized momentum value.
Since the momentum sensor computes the flow (by setting it equal to zero), it has a causality stroke at the sensor element.
Potential variables: e: Bondgraphic effort variable f: Bondgraphic flow variable, normalized positive for flows into the model p: Generalized momentum
Equations:
f = 0
der(p) = e
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | p0 | Initial momentum |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BondLib.Interfaces.BondCon | BondCon1 (from PassiveOnePort) | Bond graph connector | |
| Modelica.Blocks.Interfaces.RealOutput | OutPort1 | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | e (from PassiveOnePort) | Bondgraphic effort | |
| Real | f (from PassiveOnePort) | Bondgraphic flow | |
| Modelica.Blocks.Continuous.Integrator | Integrator1 | ||
| De | De1 | ||
| Junctions.J0p2 | J0p2_1 | ||
| Bonds.fBond | B1 |