modelHydroR

The bondgraphic hydraulic resistor element

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

Information

The bondgraphic hydraulic resistor is a passive OnePort element. It models the turbulent flow through a hydraulic valve. The model inherits the effort and flow variables from the passive OnePort. The valve constant is modeled as a parameter.

This non-linear model is formulated in resistive causality. There exists a second model, HydroG, that models the same device in conductive causality. It is useful to make use of the model in its correct causality, as Modelica may be unable to automatically turn the causality of this non-linear equation around.

The hydraulic resistor 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:

 k:  Valve constant (default value = 1)


Equations:

e = sign(f)*f2/k

Parameters

TypeNameDefaultDescription
Realk1Hydraulic Valve Constant

Connectors

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

Components

TypeNameDefaultDescription
Reale (from PassiveOnePort)Bondgraphic effort
Realf (from PassiveOnePort)Bondgraphic flow
RealsfSign of f