Component Prototype

Description

Pump

Component

 

 

Pump component is a component of the petrochemical domain. This component builds a three-dimensional Pump. Pump is build out of two or more different models (body, spiral and lobes). The component bases on the Geometry3dsComponent to load the geometry of the component into the scene (see Geometry3dsComponent). In order to build the Pump component, the following parameters are needed: offset, scale and typeOfPump

In-slots

Name

Type

Description

visible

boolean

The component is shown when true and hidden when false.

transformation

matrix

This transformation matrix is applied to the component geometry when shown

on

boolean

When True, the spiral moves.

power

double

Represents the value of the power that increase o decrease the speed of rotation (0 = minimum; 1 = maximum)

temperature

double

Value in the input of the valve

pressure

double

Value in the input of the valve

Out-slots

Name

Type

Description

visible

boolean

The in-slot is propagated to the out-slot

transformation

matrix

This transformation matrix corresponds to the output transformation, which combines input transformation with the offset.

status

double

Emits the position (in degrees) of the spiral

temperature

double

Value in the output of the pump

pressure

double

Value in the output of the pump

id

integer

Id of the model that can change at run time

nodeTransformation

matrix

Transformation matrix of the model that can change at run time

Properties

Name

Type

Description

iconFileName*

string

The filename of the icon shown for the component in the authoring environment.

offset

matrix

The offset transformation matrix between the transformation given by the in-slot and the geometry model

scale

double

scales the component in the three axis.

typeOfPump

integer

Selects the type of pump:

  1. Centrifuge pump
  2. Lobes pump

 

Figure 1 Pump (Centrifuge Pump)

Figure 2 Pump (Lobes Pump)