HVAC
Administrator Guide
HVAC Spools
HVAC Spools
HVAC Spools are generated in MODEL, and is basically a group of connected HVAC components designated to be fitted together in the workshop prior to site assembly.
The elements in the database are:
…HVAC
BRAN
Components
HSLIST
HSPOOL
HSPOOL etc…
There is a core PML object that can be used to interrogate HVAC Spool.
!x = object HVACSPOOLMANAGER()
Name
Result
Description
Remarks
HVACSPOOLMANAGER()
Creates an empty HVAC Spool Manager PML object
GENERATEHVACSPOOLS(DBREF)DBREF - Any HVAC Element
Generates HSPOOLS and HSLIST which owns them in the database.
When GENERATEHVACSPOOLS is called from a HVAC element which already owns a HSLIST, it verifies the spool as it is, if found OK, no modification is done. If any differences or discrepancies present, then regenerate the appropriate spool/spools. This method does not delete the spool already created, but maintains the reference numbers of all the valid spools, so that the drawings generated from those spools remain intact.
DELETEHVACSPOOLS (DBREF)DBREF - Any HVAC Element
Delete HSLIST and HSPOOLS owned by the HVAC element
You cannot delete any spool or the HSLIST by any means other than this method. For ex. "Delete HSPOOL "will not delete the spool.
VERIFYHVACSPOOLS(DBREF)DBREF - Any HVAC Element
Array
If an element or elements in the constituent spools do not satisfy any of the criteria for a valid spool, error messages are returned as a string array. Returns an unset array if all the criteria are satisfied.
Format: <ELEMENT NAME> : <ERROR MESSAGE>
Sample error message:
'HSLIST 1 of HVAC /HTEST : has 1 more spool(s)
'HSPOOL 13 of HSLIST 1 of HVAC /HTEST : Invalid Spool (Start/End Reference Modified)
VERIFYSPOOL(DBREF) DBREF - a HSPOOL
String
If fails to satisfy any criteria, returns the error message; otherwise returns the message "Successful"
"Format:<ELEMENT NAME> : <ERROR MESSAGE>
Sample error message:
HSPOOL 13 of HSLIST 1 of HVAC /
HTEST : Invalid Spool (Start/End Reference Modified)
GETMTOELEMENTSFORSPOOL(DBREF HSPOOL Type
Array
Returns the elements included in this HVAC spool
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.