Component Prototype

Description

Vessel

Component

 

Vessel component is a component of the petrochemical domain. This component builds a three-dimensional Vessel. Vessel is build out of only one model (Vessel). The component bases on the Geometry3dsComponent to load the geometry of the component into the scene (see Geometry3dsComponent). In order to build the Vessel component, the following parameters are needed: modelFile, offset, length, radius and capacity.

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

temperature

double

Value in the input of the vessel

pressure

double

Value in the input of the vessel

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.

temperature

double

Value in the output of the vessel

pressure

double

Value in the output of the vessel

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

modelFile

string

File name of the model to load

length

double

Length of the model of the vessel

radius

double

Radius of the model of the vessel

capacity

double

With this value, it fixes the scale of the model in the three axis.

scale = capacity / ((length * (PI) * radius * radius)/ 1000)

 

 

 

 

 

Figure Vessel