modelC

The bondgraphic linear capacitor element

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

Information

The bondgraphic linear capacitor is a passive OnePort element. It inherits the effort and flow variables from the passive OnePort. The capacitance is modeled as a parameter.

The capacitor model has a preferred causality away from the element.


Potential variables:

 e:  Bondgraphic effort variable

 f:  Bondgraphic flow variable, normalized positive for flows into the model


Parameters:

 C:  Capacitance (default value = 1)


Equations:

f = C*der(e)

Parameters

TypeNameDefaultDescription
RealC1Bondgraphic Capacitance

Connectors

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

Components

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