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

TypeNameDefaultDescription
Realp0Initial momentum

Connectors

TypeNameDefaultDescription
BondLib.Interfaces.BondConBondCon1 (from PassiveOnePort)Bond graph connector
Modelica.Blocks.Interfaces.RealOutputOutPort1Connector of Real output signal

Components

TypeNameDefaultDescription
Reale (from PassiveOnePort)Bondgraphic effort
Realf (from PassiveOnePort)Bondgraphic flow
Modelica.Blocks.Continuous.IntegratorIntegrator1
DeDe1
Junctions.J0p2J0p2_1
Bonds.fBondB1