modelCm

Bondgraphic mass storage element

Extends from BondLib.Interfaces.PassiveOnePort (Partial model invoking one bondgraphic connector).

Information

The bondgraphic mass capacitor is a passive OnePort element. It inherits the effort and flow variables from the passive OnePort. Analogous to the thermal capactiance, alse the mass capacitance is inverse proportional to the effort, which is here an enthalpy.

Thus, there results a non-linear relationship between the effort and the generalized position:

q = q0*(ln(e/e0) + 1);

In out case, the effort is an enthalpy, whereas the generalized position is a mass, i.e.

m = m0*(ln(h/h0) + 1);

This equation can also be solved to compute the enthalpy:

h = h0*exp(m/m0 - 1);

which is the form that is being used in the model.

Parameters

TypeNameDefaultDescription
Realm01Initial mass
Realh01Initial enthalpy

Connectors

TypeNameDefaultDescription
BondLib.Interfaces.BondConBondCon1 (from PassiveOnePort)Bond graph connector
Modelica.Blocks.Interfaces.RealOutputmMass

Components

TypeNameDefaultDescription
Reale (from PassiveOnePort)Bondgraphic effort
Realf (from PassiveOnePort)Bondgraphic flow