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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | m0 | 1 | Initial mass |
| Real | h0 | 1 | Initial enthalpy |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BondLib.Interfaces.BondCon | BondCon1 (from PassiveOnePort) | Bond graph connector | |
| Modelica.Blocks.Interfaces.RealOutput | m | Mass |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | e (from PassiveOnePort) | Bondgraphic effort | |
| Real | f (from PassiveOnePort) | Bondgraphic flow |