PRESSURE_CONVERT_TO_PASCAL - Intergraph Smart Materials - Version 10.1 - Customization & Programming - Hexagon

Intergraph Smart Materials Customization (10.1)

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Customization & Programming
Smart Materials/Smart Reference Data Version
10.1

Description:

This function returns the conversion factor needed to convert from any unit of pressure to Pascal. The function takes the unit of pressure as input and returns a conversion factor as output. This function is called from the m_pck_pid_spec_utl .validateservicelimits function where it validates whether the entered pressure temperature limits for the spec are within its limits.

Type:

Function

Usage:

This function is used by the P&ID interface to retrieve the conversion factor to convert the pressure in Smart Reference Data to the standard unit of pressure, that is, Pascal.

Event:

This function is called when the validate service limits button of the P&ID interface is clicked. On click of this button, the software calls the validateservicelimits function, which in turn calls the PRESSURE_CONVERT_TO_PASCAL function. Because the validateservicelimits function receives the pressure in Pascal as input from the P&ID interface, but the pressure in Smart Reference Data may not be in Pascal, so to convert it to Pascal, it calls this function so that it can get the conversion factor.

Default:

Conversion factor (to Pascal) based on the pressure unit passed.