Component Prototype

Description

Control Valve

Component

 

Control Valve component is a component of the petrochemical domain. This component builds a three-dimensional Control Valve. Control Valve is build out of three different models (Tapped, wheel and tube). The component bases on the Geometry3dsComponent to load the geometry of the component into the scene (see Geometry3dsComponent). In order to build the Control Valve component, the following parameters are needed: offset, scale, tappedFileName, controlFileName, bodyFileName, tappedVisible, ControlVisible, bodyVisible, tappedClosedValue, tappedOpenValue, controlClosedValue, controlOpenValue and controlFixYPosition

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

openingPercentage

double

This value depicts to the percentage of opening of the tapped (0 = completely closed; 100 = completely open)

temperature

double

Value in the input of the Control Valve

pressure

double

Value in the input of the Control 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.

openingPercentage

double

Emits the same value of the input

temperature

double

Value in the output of the Control Valve

pressure

double

Value in the output of the Control Valve

id

integer

Id of the model that can change at run time (a translation of the tapped and a rotation of the wheel)

nodeTransformation

matrix

Transformation matrix of the model that can change at run time (tapped or wheel)

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.

tappedFileName

string

File name of the model to load (tapped)

controlFileName

string

File name of the model to load (control)

bodyFileName

string

File name of the model to load (body)

tappedVisible

boolean

Shows the model tapped when true and hides when false.

controlVisible

boolean

Shows the model control when true and hides when false.

bodyVisible

boolean

Shows the model body when true and hides when false.

typeOfControl Valve

integer

Selects the type of Control Valve:

  1. Vertical

Rotational

tappedClosedValue

double

Value of the position Y of the tapped when it is closed (default 0)

tappedOpenValue

double

Value of the position Y of the tapped when it is open

controlClosedValue

double

Value of the scale Y of the tapped when it is closed (default 1)

controlOpenValue

double

Value of the scale Y of the tapped when it is open

controlFixYPosition

double

Coordinate Y of the control element respect to the reference system of the whole control valve.