HyLibLight.Interfaces

Interfaces for hydraulic components

HyLibLight.Interfaces.HyLibUnits HyLibLight.Interfaces.Port_A HyLibLight.Interfaces.Port_B HyLibLight.Interfaces.TwoPortComp HyLibLight.Interfaces.TwoPortSys HyLibLight.Interfaces.OnePortCompInput HyLibLight.Interfaces.OnePortCompInput90 HyLibLight.Interfaces.OnePortCompOutput HyLibLight.Interfaces.RotComp HyLibLight.Interfaces.RotSys HyLibLight.Interfaces.HyLibProps HyLibLight.Interfaces.FluidProp

Information


This package contains connectors and partial models for hydraulic
components. In particular:

	HyLibUnits 		Units for hydraulics library
	Port_A  		Layout of port (connector) where oil flows into an element
	Port_B			Layout of port (connector) where oil leaves the element 
	TwoPortComp 		Superclass of circuits with TWO hydraulic ports	
					(q_in = q_out)
	TwoPortSys 		Superclass of circuits with TWO hydraulic ports	 
					(q_in <> q_out)
	OnePortCompInput 	Superclass of circuits with ONE hydraulic ports	 
	OnePortCompInput90 	Superclass of circuits with ONE hydraulic port	 
	OnePortCompOutput 	Superclass of circuits with ONE hydraulic ports	 
	RotComp 		Component with two hydraulic ports and two flanges
					(q_in = q_out)	 
	RotSys 			Component with two hydraulic ports and two flanges
					(q_in <> q_out)	 
	FluidProp 		Definition of constants describing the fluid

Release Notes:
--------------

1999 - 10 - 9:	coded



HyLibLight.Interfaces.Port_A HyLibLight.Interfaces.Port_A

Layout of port where oil flows into an element

HyLibLight.Interfaces.Port_A

Information

Graphical layout of a port, where oil flows into an element.

Release Notes:
--------------

1999 - 10 - 9:	coded

Modelica definition

connector Port_A "Layout of port where oil flows into an element" 
  Modelica.SIunits.Pressure p "pressure at port";
  flow Modelica.SIunits.VolumeFlowRate q "Flow rate through port";
end Port_A;

HyLibLight.Interfaces.Port_B HyLibLight.Interfaces.Port_B

Hydraulic port where oil leaves the component

HyLibLight.Interfaces.Port_B

Information

Graphical layout of a port, where oil leaves the element.

Release Notes:
--------------

1999 - 10 - 9:	coded

Modelica definition

connector Port_B "Hydraulic port where oil leaves the component" 
  
  Modelica.SIunits.Pressure p "pressure at port";
  flow Modelica.SIunits.VolumeFlowRate q "Flow rate through port";
  
end Port_B;

HyLibLight.Interfaces.TwoPortComp HyLibLight.Interfaces.TwoPortComp

Superclass of circuits with TWO hydraulic ports

HyLibLight.Interfaces.TwoPortComp

Information

Superclass of components which have TWO hydraulic ports:
the port A  (connector A)  and the port B  (connector B).
The flow rate at port A is identical to the flow rate at
port B, i. e. there is no storage element in this class.

Across variables:
  port_A.p: pressure at the port A in [Pa].
  port_B.p: pressure at the port B in [Pa].

Through variables:
  port_A.q : Oil flowing from port_A.p to port_B.p in [m^3/s]
      (i.e. into the port A and out of the port B).
  port_B.q : Oil flowing from port_B.p to port_A.p in [m^3/s]
      (i.e. into the port B and out of the port A).

The differential pressure dp is calculated by
	
  dp = port_A.p - port_B.p

if a pressure is less than vapour pressure, the vapour
pressure is used to calculate dp.


Release Notes:
--------------

1999 - 10 - 9:	coded

Modelica definition

model TwoPortComp "Superclass of circuits with TWO hydraulic ports" 
  Modelica.SIunits.Pressure dp "Pressure drop";
  Modelica.SIunits.VolumeFlowRate q "Flow rate through component";
  Modelica.SIunits.Pressure pA_limited;
  Modelica.SIunits.Pressure pB_limited;
  HyLibLight.Interfaces.Port_A port_A 
    "Port A, were oil flows into the component (positive q, port_A.p > port_B.p means positive dp)"
    ;
  HyLibLight.Interfaces.Port_B port_B 
    "Port B, were oil leaves the component (negative q, port_A.p > port_B.p means positive dp)"
    ;
equation 
  pA_limited = max(port_A.p, HyLibLight.Interfaces.FluidProp.pvapour);
  pB_limited = max(port_B.p, HyLibLight.Interfaces.FluidProp.pvapour);
  dp = pA_limited - pB_limited;
  q = port_A.q;
  port_A.q + port_B.q = 0;
end TwoPortComp;

HyLibLight.Interfaces.TwoPortSys HyLibLight.Interfaces.TwoPortSys

Superclass of circuits with TWO hydraulic ports

HyLibLight.Interfaces.TwoPortSys

Information

Superclass of components which have TWO hydraulic ports:
the port A  (connector A)  and the port B  (connector B).
The flow rate at port A is in general NOT identical to the 
flow rate at port B, i. e. there is usually a storage 
element in this class, e. g. a lumped volume at each port.

Across variables:
  port_A.p: pressure at the port A in [Pa].
  port_B.p: pressure at the port B in [Pa].

Through variables:
  port_A.q : Oil entering at A in [m^3/s]
  port_B.q : Oil entering at B in [m^3/s]

The differential pressure dp is calculated by
	
  dp = port_A.p - port_B.p

if a pressure is less than vapour pressure, the vapour
pressure is used to calculate dp.


Release Notes:
--------------

1999 - 10 - 9:	coded

Modelica definition

model TwoPortSys "Superclass of circuits with TWO hydraulic ports" 
  Modelica.SIunits.Pressure dp "Pressure drop";
  HyLibLight.Interfaces.Port_A port_A 
    "Layout of port where oil flows into an element";
  HyLibLight.Interfaces.Port_B port_B 
    "Hydraulic port where oil leaves the component";
equation 
  dp = port_A.p - port_B.p;
  
end TwoPortSys;

HyLibLight.Interfaces.OnePortCompInput HyLibLight.Interfaces.OnePortCompInput

Superclass of circuits with ONE hydraulic ports

HyLibLight.Interfaces.OnePortCompInput

Information


Superclass of components which have ONE hydraulic port:
the port A  (connector A).

Across variables:
  port_A.p: pressure at the port A in [Pa].

Through variables:
  port_A.q : Oil flow rate entering the component in [m^3/s]


Release Notes:
--------------

1999 - 10 - 9:	coded

Modelica definition

model OnePortCompInput 
  "Superclass of circuits with ONE hydraulic ports" 
  HyLibLight.Interfaces.Port_A port_A 
    "hydraulic port where oil enters the component";
end OnePortCompInput;

HyLibLight.Interfaces.OnePortCompInput90 HyLibLight.Interfaces.OnePortCompInput90

Superclass of circuits with ONE hydraulic port

HyLibLight.Interfaces.OnePortCompInput90

Information


Superclass of components which have ONE hydraulic port:
the port A  (connector A).

Across variables:
  port_A.p: pressure at the port A in [Pa].

Through variables:
  port_A.q : Oil flow rate entering the component in [m^3/s]


Release Notes:
--------------

1999 - 10 - 9:	coded

Modelica definition

model OnePortCompInput90 
  "Superclass of circuits with ONE hydraulic port" 
  HyLibLight.Interfaces.Port_A port_A 
    "hydraulic port where oil enters the component";
end OnePortCompInput90;

HyLibLight.Interfaces.OnePortCompOutput HyLibLight.Interfaces.OnePortCompOutput

Superclass of circuits with ONE hydraulic ports

HyLibLight.Interfaces.OnePortCompOutput

Information


Superclass of components which have ONE hydraulic port:
the port B  (connector B).

Across variables:
  port_B.p: pressure at the port B in [Pa].

Through variables:
  port_B.q : Oil flow rate leaving the component in [m^3/s]


Release Notes:
--------------

1999 - 10 - 9:	coded

Modelica definition

model OnePortCompOutput 
  "Superclass of circuits with ONE hydraulic ports" 
  HyLibLight.Interfaces.Port_B port_B 
    "Port B, were oil leaves the component (negative q, port_A.p > port_B.p means positive dp)"
    ;
end OnePortCompOutput;

HyLibLight.Interfaces.RotComp HyLibLight.Interfaces.RotComp

Component with two hydraulic ports and two flanges

HyLibLight.Interfaces.RotComp

Information

Superclass of components which have TWO hydraulic ports:
the ports A and B and two mechanical flanges.

Across variables:
  port_A.p: pressure at the port A in [Pa].
  port_b.B: pressure at the port B in [Pa].

This class is used to model pumps and motors.


Release Notes:
--------------

1999 - 10 - 9:	coded

Modelica definition

model RotComp "Component with two hydraulic ports and two flanges" 
  replaceable model Prop extends HyLibLight.Interfaces.FluidProp;  end Prop;
  extends Prop;
  Modelica.SIunits.Pressure dp "Pressure drop";
  Modelica.SIunits.Pressure pA_limited;
  Modelica.SIunits.Pressure pB_limited;
  Modelica.SIunits.VolumeFlowRate q "Flow rate through component";
  Modelica.SIunits.AngularVelocity w 
    "Angular velocity of pump shaft";
  
  HyLibLight.Interfaces.Port_A port_A 
    "Port A, were oil flows into the component (positive q, port_A.p > port_B.p means positive dp)"
    ;
  HyLibLight.Interfaces.Port_B port_B 
    "Port B, were oil leaves the component (negative q, port_A.p > port_B.p means positive dp)"
    ;
  Modelica.Mechanics.Rotational.Interfaces.Flange_a flange_a;
  Modelica.Mechanics.Rotational.Interfaces.Flange_b flange_b;
equation 
  
  flange_a.phi = flange_b.phi;
  pA_limited = max(port_A.p, pvapour);
  pB_limited = max(port_B.p, pvapour);
  dp = pA_limited - pB_limited;
  q = port_A.q;
  port_A.q + port_B.q = 0;
  w = der(flange_a.phi);
end RotComp;

HyLibLight.Interfaces.RotSys HyLibLight.Interfaces.RotSys

Component with two hydraulic ports and two flanges

HyLibLight.Interfaces.RotSys

Information

Superclass of components which have two mechanical flanges and two 
hydraulic ports, A and B, but where the entering flow rate is not
identical to the leaving flow rate because of internal volumes.


Release Notes:
--------------

1999 - 10 - 9:	coded

Modelica definition

model RotSys "Component with two hydraulic ports and two flanges" 
  replaceable model Prop extends HyLibLight.Interfaces.FluidProp;  end Prop;
  extends Prop;
  HyLibLight.Interfaces.Port_A port_A 
    "Port A, were oil flows into the component (positive q, port_A.p > port_B.p means positive dp)"
    ;
  HyLibLight.Interfaces.Port_B port_B 
    "Port B, were oil leaves the component (negative q, port_A.p > port_B.p means positive dp)"
    ;
  Modelica.Mechanics.Rotational.Interfaces.Flange_a flange_a;
  Modelica.Mechanics.Rotational.Interfaces.Flange_b flange_b;
end RotSys;

HyLibLight.Interfaces.HyLibProps HyLibLight.Interfaces.HyLibProps

HyLibLight.Interfaces.HyLibProps

Information


HylibProps defines default parameters that describe the fluid, mineral hydraulic oil:

nu  		kinematic viscosity, default 46.e-6; m^2 / s
rho 		mass density, default 865, kg / m^3
pvapour		vapour pressure relative to atmosphere, default -0.999e5 Pa
betapmax	parameter for Hoffmann's model of pressure dependent bulk modulus
pbeta1		parameter for Hoffmann's model of pressure dependent bulk modulus
pbeta2  	parameter for Hoffmann's model of pressure dependent bulk modulus

VolMin		minimum value of a lumped volume, default 1e-9 


Release Notes:
--------------

2000 - 2 - 13: coded

Modelica definition

model HyLibProps 
  
  constant Modelica.SIunits.Volume VolMin=1e-9 "minimal volume";
  constant Modelica.SIunits.KinematicViscosity nu=46.e-6 
    "kinematic viscosity";
  constant Modelica.SIunits.Density rho=865 "mass density";
  constant Modelica.SIunits.Pressure pvapour=-0.999e5 
    "vapour pressure relative to atmosphere";
  constant Modelica.SIunits.BulkModulus betapmax=1.8e9 
    "bulk modulus at maximum pressure";
  constant Real pbeta1=-0.4 "parameter [ ]";
  constant Real pbeta2=-2.e-7 "parameter [1/Pa]";
end HyLibProps;

HyLibLight.Interfaces.FluidProp HyLibLight.Interfaces.FluidProp

Definition of constants describing the fluid.

HyLibLight.Interfaces.FluidProp

Information


FluidProp defines parameters that describe the fluid. The default values are given
in HyLibProps.

nu  		kinematic viscosity, default 46.e-6; m^2 / s
rho 		mass density, default 865, kg / m^3
pvapour		vapour pressure relative to atmosphere, default -0.999e5 Pa
betapmax	parameter for Hoffmann's model of pressure dependent bulk modulus
pbeta1		parameter for Hoffmann's model of pressure dependent bulk modulus
pbeta2  	parameter for Hoffmann's model of pressure dependent bulk modulus

VolMin		minimum value of a lumped volume, default 1e-9 

To change values define a model MyProps and use the modifier:

redeclare model Prop = MyProps

for a single component or a complete class, e. g. .
Note: If this modifier is used for a single component this information is stored in the *.mo
file for that model. If the modifier is used for the library, this information is stored if 
the library is updated or in the TotalModelFile.
 

Release Notes:
--------------

2000 - 2 - 13: coded

 

Modelica definition

model FluidProp "Definition of constants describing the fluid." 
  replaceable model DefaultProps extends HyLibProps;  end DefaultProps;
  extends DefaultProps;
end FluidProp;

HyLibLight.Interfaces.RotComp.Prop HyLibLight.Interfaces.RotComp.Prop

HyLibLight.Interfaces.RotComp.Prop

Modelica definition

replaceable model Prop extends HyLibLight.Interfaces.FluidProp;end Prop;

HyLibLight.Interfaces.RotSys.Prop HyLibLight.Interfaces.RotSys.Prop

HyLibLight.Interfaces.RotSys.Prop

Modelica definition

replaceable model Prop extends HyLibLight.Interfaces.FluidProp;end Prop;

HyLibLight.Interfaces.FluidProp.DefaultProps HyLibLight.Interfaces.FluidProp.DefaultProps

HyLibLight.Interfaces.FluidProp.DefaultProps

Modelica definition

replaceable model DefaultProps extends HyLibProps;end DefaultProps;

HTML-documentation generated by Dymola Thu Jun 22 13:55:17 2000 .