CRYOLIB Home | Components | Ports | Classes | Functions | Enumeratives | Global Variables

CRYOLIB.Flowmeter



COMPONENT Flowmeter IS_A FluidSensor

ICON:


DESCRIPTION:
Flowmeter

DOCUMENTATION:

This component represents a flowmeter. It inherits from the component FluidSensor.

Basically this component sets the value of the measured signal equal to the mass flow. It is an interface between the fluid and control parts of a model.

 



PORTS:
NAME  TYPE  PARAMETERS  DIRECTION  CARDINALITY  DESCRIPTION  
f_in fluid  IN    
f_out fluid  OUT    
s_out PORTS_LIB.analog_signal  (n = 1)  OUT    

DATA:
NAME  TYPE  DEFAULT  RANGE  DESCRIPTION  UNITS  
bias REAL   Bias: zero shift 
gain REAL   Gain of the sensor 

DECLS:
NAME  TYPE  INITIAL  RANGE  DESCRIPTION  UNITS  
REAL    Measured variable () 
FORMULATION:



FluidChannel formulation:

 

It transmits information from the inlet port to the outlet port about the working fluid that is being used in the fluid loop, the calculation option (real fluid) and checks if there is a working fluid defined in the model.

 




FluidSensor formulation:

The following assumptions have been made in the formulation of the component:

*        Ideal performance of the instrument, i.e. linear response and no time delays.

*        Negligible pressure loss in the component.

*        Negligible storage of mass in the component

*        Adiabatic flow, i.e. null heat losses.

 

Conservation of the Mass

Conservation of the Energy

 

Adiabatic flow is assumed in this component. The outlet enthalpy is equal to the inlet enthalpy:

Conservation of the pressure

Pressure losses are ignored in this component.

Measured signal

The value of the output signal is calculated from the following formula:

where

 

����������� is the value of the output signal

����������� is the value of the variable being measured

����������� is a multiplying factor applied to the variable value

����������� is a zero displacement

 




Flowmeter formulation:

Measured signal

 

The value of the measured signal is calculated from the following formula:

where:

����������� is the measured variable

 







Document generated automatically with EcosimPro Version: 5.4.14 Date: 2015:02:02 Time: 12:52:59