General HydroStatics
Ship Stability Software
Command of the Week
(New or interesting aspects of GHS that you may not know about)

DB TankSet
(Requires GHS version 17.00 or later)

(Use the command DB Update to get the latest version of the Data Base software.)

Once defined, a Tank Set can be used to set the default tank list. For example:

DB TankSet CONSUMABLES is equivalent to a TANK command that lists the tanks in that Set.

How do we define a Tank Set?

DB TankSet given without parameters brings up a dialog for creating Tank Sets. Here is an example:


Notice that BAL_FWD and BAL_AFT show BAL as their only item. BAL happens to be a Group name that was defined by the command,

GROUP=BAL*

In other words, BAL represents all tanks whose names begin with "BAL".

An advantage in using Tank Sets is that Limits can be imposed on the tank lists. This has been done for the BAL_FWD and BAL_AFT Tank Sets.


The limits can be of Tank Contents and/or spatial restrictions. In this example the space named FWD has been applied to the original BAL set of tanks, and the results are shown. Below are the space definitions:


Any number of rectangular blocks of space can be defined in this manner and applied to a Tank Set. The Spaces are not owned by any particular Tank Set: once defined they are available to be used for defining or modifying any Tank Set.

DB TankSet can also replace any of the commands that do tank settings. In this example,
DB TankSet CONSUMABLES LOAD 0.5
is equivalent to,
TANK DO* LO* FO* FW* | LOAD 0.5

Questions, comments, or requests?
Contact Creative Systems, Inc.

support@ghsport.com

USA phone: 360-385-6212 Fax: 360-385-6213
Office hours: 7:00 am - 4:00 pm Pacific Time, Monday - Friday

Mailing address:
PO Box 1910
Port Townsend, WA 98368 USA

www.ghsport.com

Click here for an index to this and previous COWs