modelmRS
The modulated bondgraphic resistive source element
Extends from Interfaces.ModTwoPort (Partial model invoking two bondgraphic connectors and one signal connector).
Information
The bondgraphic modulated resistive source is a directed modulated TwoPort element. It inherits the effort and flow variables from the directed modulated TwoPort. The resistance is modeled as a real-valued variable.The modulated resistive source element is to be used as a replacement for resistors in modeling the thermal behavior of non-thermal systems. The primary side of the modulated resistive source element is assumed to not be in the thermal domain.
The resistive source element has free causality on the primary side, and fixed causality on the secondary side. The causality stroke is at the element on the secondary side (a source of entropy, rather than a source of temperature).
Potential variables: e1: Bondgraphic effort variable of inflow f1: Bondgraphic flow variable of inflow, normalized positive for flows into the model e2: Bondgraphic effort variable of outflow f2: Bondgraphic flow variable of outflow, normalized positive for flows out of the model R: Resistance value (modulation input signal)
Equations:
e1 = R*f1
f2 = f1*(e1/e2)
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| BondLib.Interfaces.BondCon | BondCon1 (from ModTwoPort) | Left bond graph connector | |
| BondLib.Interfaces.BondCon | BondCon2 (from ModTwoPort) | Right bond graph connector | |
| Modelica.Blocks.Interfaces.RealInput | s (from ModTwoPort) | Signal input |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Real | e1 (from ModTwoPort) | Bondgraphic primary effort | |
| Real | f1 (from ModTwoPort) | Bondgraphic primary flow | |
| Real | e2 (from ModTwoPort) | Bondgraphic secondary effort | |
| Real | f2 (from ModTwoPort) | Bondgraphic secondary flow | |
| Real | R | Bondgraphic Resistance |