by William A. Plice, III
president, Creative Systems, Inc.


Ship stability software performs calculations used by naval architects to predict the stability of a ship under given conditions. "Stability" in this context refers to a measure of resistance to either capsizing or heeling to such a degree that internal flooding could occur. With high-speed computers and capable stability software, it is now feasible and economical to study the stability of a ship under a wide range of loads and external forces both when intact and when partially flooded or damaged.

Most stability software is designed to accommodate a wide variety of ships and boats of all sizes. This is accomplished by separating the description of the ship from the software itself. The description, provided by the user, becomes "input data" to the software program that performs the necessary calculations and reports the results. A complete stability program will also help the user prepare the ship description.

The essence of stability calculations is finding the force couple between buoyancy and weight. This is the moment of force which a stable ship develops to counteract the overturning moments arising from external forces. Buoyancy is an upward force that for stability purposes can be considered to act through a point called the Center of Buoyancy or CB. Similarly, weight is a downward force that effectively acts through the Center of Gravity or CG. When a ship is floating, the magnitudes of these forces are equal. The horizontal distance or lever arm between them is called the "righting arm". If no external forces are present, the righting arm will be zero.

In order for a ship to be stable it must develop a positive righting arm when inclined by an external overturning force. In most ships the CG is higher than the CB and the positive righting arm is accomplished by arranging for the CB to move out from under the CG in the direction toward which the ship is inclining -- like putting up a prop to support a leaning wall.

This change in the CB in response to inclination angle is determined primarily by the shape of the hull. In most ships the underwater shape becomes different for each angle and direction of inclination. The central task of stability software is to find the magnitude and center of buoyancy at a given waterplane.

When a ship happens to be supported by ground rather than water, or by a combination of both, its stability (for various reasons) may still be of concern. In such cases the upward buoyant force is not entirely dependent on the hull shape but also on a particular arrangement of points of contact with the ground. Some stability software includes provisions for modeling such ground reactions directly as positive contributions to buoyancy.

The gravity force is a composite of all weights aboard the ship, including its own structure. While the effective point of action, the CG, tends to be less mobile then the CB, it does move slightly in response to the inclination of the ship whenever some of the weights are from the liquid contents of partially-filled tanks. Hence, in a good stability program, the individual centers of gravity in each tank will be recalculated at each angle of inclination.

Other types of behavior are possible for tanks and these should also be addressed. The most common, next to the simple intact tank type, is the flooded type where it freely connects with the exterior of the ship. This is often used to represent a condition after damage. Another damage type considers the behavior with a relatively restricted connection where the pressure at the point of damage determines the direction and amount of liquid transfer, and this may be further modified by gas pressure in the top of the tank if it is not freely vented. Yet another tank type models cases such as open hoppers where it may spill some of its contents as the vessel inclines. Water-displaced fuel tanks are kept full by replacing burned fuel with water, resulting in a water/fuel interface. The effects of water on deck can also be modeled by special tank types. Finally, frozen-type tanks model cases where the contents is actually a solid or is not free to shift.

Since the heeling moment due to wind is of concern for most types of vessels, some provision is often made to derive this moment from a given wind speed, using a wind plane area from the same geometric model that is used to calculate the buoyancy force.

Stability software normally does not directly address dynamic forces resulting from the motion of a ship in a seaway or hydrodynamic pressures resulting from its headway through the water. Such calculations are typically provided by other categories of software such as Seakeeping, Ship motions, Resistance and Powering. Since time does not enter into the usual stability analysis, the calculations are often referred to as "hydrostatic" and the software is also known as "hydrostatics software".

In order to bridge the gap between the static analysis and the dynamic conditions under which ships actually operate, various measures of stability margins are applied to the static case. Such stability standards have been devised by safety committees and regulatory authorities, and are based on both theory and the static analyses of ships with proven stability characteristics in the real world.

The ability to model and calculate volumes and centers of volumes up to given planes as well as the surface properties makes ship stability software useful in other fields besides naval architecture. In fact, any fluid-containing or fluid-displacing vessel regardless of size or shape can be the subject of a well-designed ship stability program.


Hydrostatic Properties

In addition to the displacement volume and center, most ship stability software will also calculate surface areas of the waterplane and the wetted surface of the hull. Center and moments of the waterplane area are also commonly calculated. This information is collectively called the hydrostatic properties of the body because it is presented without reference to the force of gravity. Without the gravity force being taken into account there can be no assessment of stability.

Hydrostatic properties can just as well be calculated for tanks as for ship hulls. It makes little difference at this stage whether the body is displacing a liquid or containing a liquid.

A related presentation based on the same calculations is called "form properties", "coefficients of form" or "curves of form". These are primarily ratios involving volumes or areas. For example, the block coefficient is the ratio of the volume of the hull to the volume of the block into which it would just fit.


Righting Arms

By combining weight (both magnitude and CG) with the hydrostatic properties, righting arms are produced and the stability of the ship can be determined. Typically, righting arms are plotted for a range of heel angles where the heel is assumed to be induced by a moment about the longitudinal axis. A particular moment, such as that caused by the wind at a given speed, may also be imposed. Further analysis of the properties of this righting arm curve lead to a formal assessment of the vessel's stability. The ability to derive righting arms for inclinations in other directions is also useful for some types of ships. Some software programs also allow the displacement to change as open hoppers or damaged tanks or burdened decks either spill their contents or take on water.

In the course of computing righting arms, shortcuts are sometimes taken. While these were formerly required when computing machines were slow and expensive, they are still occasionally demanded by antiquated stability standards. One shortcut is to hold the trim constant rather than letting it vary in response to the changing positions of the CB and CG. Another is to replace the varying CG of liquid loads with a fixed value adjusted upward to compensate for being fixed.


Tank Characteristics

Tank volume as a function of loading is also of interest for non-stability reasons; and various ways of measuring loading in a tank, such as soundings and ullage readings, make special reporting of tank characteristics desirable. Though based on the same calculations that are used for the hull displacement, the terminology and presentation are somewhat different.


Longitudinal Strength

Longitudinal strength refers to the strength of the ship as a beam where the longitudinal distribution of weight and buoyancy forces may be offset such that shear and bending moments develop. Though not a stability issue, assessment of the longitudinal strength depends on some of the same calculations and requires the same geometrical model of hull and tanks. Therefore it is usually incorporated into ship stability software.


Other Stuff

In addition to the essential calculations described above, many other related calculations and manipulations may be provided. Sometimes it is only a matter of presentation. For example, flooded or damaged stability is sometimes presented as a separate category.

Automatic assessment of stability under a given criterion is typically offered in complete stability programs. This opens the way for automatically maximizing weight or the vertical location of the CG so that the limits of safe loading are known.

Among the other calculations sometimes provided are hull surface area and CG for weight estimates, tank sounding tables for use in the field, and tonnage calculations for legal purposes.


Reports

An important function of stability software is the presentation of the data resulting from the calculations. Reports include tables and graphs which should be clearly labeled and annotated. Flexibility in the amount of detail and order of presentation allows reports to be tailored to individual needs.


What You Have To Do

Before you can run calculations with stability software, a substantial amount of input data must be prepared. This amounts to a description or "model" of the ship in some detail, both its geometry (hull shape and tankage boundaries) and its weight (light ship as well as stores including tank loading and cargo).


Geometrical Modeling

In many applications the description of the ship geometry represents most of the input data. In order to help speed the task of preparing this data, a stability package should include 3-D modeling tools. For example, the geometric model of a hull can be quickly developed from a body-plan drawing by making use of a digitizer and software designed for this purpose. Likewise, building models of tanks can be an easy task if the modeling software recognizes ship symmetry and automatically generates surfaces where tanks meet hull boundaries.

The ability to import and export geometric models in various formats opens the way to efficient sharing with other software. For example, it should be possible to import hull geometry from a file produced by a drawing program.

One of the most important features provided by good geometric modeling programs is the ability to build complex shapes from separate pieces. This greatly facilitates modeling appendages and multi-hulls as well as complicated tanks and compartments.

Other details of input sometimes required are points of downflooding and tank sounding tubes.

Finally, a visual, interactive on-screen display of all aspects of the geometry is important for checking its accuracy and locating errors.


Weight Modeling

If longitudinal strength calculations are not required, weight modeling is greatly simplified. The magnitude and center of the light ship weight can often be derived through the hydrostatic properties together with observations from an inclining survey of the ship. The stability software should include provisions for doing this.

In order to calculate longitudinal strength, the distribution of weight along the length of the ship must be known and provided as input. This requires an analysis of the ship structure and machinery weights and locations. Common spreadsheet software can readily be applied this task, though a special-purpose program would be somewhat more efficient. For the purposes of longitudinal strength calculations the weight distribution does not need to be extremely detailed.

Other Inputs

After geometry and weight models are built, the hydrostatic properties and righting arms can be readily calculated. A few other inputs such as the density of the sea water may be required. In some applications, heeling moments, static wave profiles, water on deck, ground points, etc. are also necessary.

If automatic stability evaluation is to be done, the appropriate stability criterion must be specified.

In order to study a range of possible weights due to various amounts of cargo and stores, a more abstract approach may be taken where ranges of weights and centers or drafts and trims are put in, resulting in curves of stability characteristics which help to define the operational limits of the ship.

A damage stability analysis typically requires that a number of damage scenarios be evaluated, possibly at various intermediate stages of flooding. This requires that a large number of cases be examined under the stability criterion.


Automation

Because of the large number of stability cases which may need to be examined it is essential that ship stability software provide mechanisms for automating the process of stepping through all the cases.

The Probabilistic Damage methodology provides an automatic way of going through various damage scenarios and combining the results to give a simple overall index which can be compared with a standard requirement.

The most flexible means to automation is through a command language having control structures which facilitate repetition. This provides the user with unlimited options and a great deal of power.


Questions to Ask Before You Buy

Like any other complex equipment, ship stability software is much more than appears on the surface. It usefulness, efficiency and reliability are not easy to assess without actually using it over a long period of time.

While no software package is perfect, some are less perfect than others. Unfortunately the most troublesome imperfections are almost always hidden and will not be noticed at first, especially when the program is demonstrated by a sales person! Since most of us do not have the time to spend learning and comparing competing programs, the decision to buy usually has to be made based on other factors.

One reasonable guide is popularity. If a software program is widely used it is probably not too bad. On the other hand, the most-used software is not always the best. Further, it is difficult to get reliable statistics about the number of users. The "number of units sold" as reported by the manufacturer is not necessarily the number of units in use!

Asking existing users is another reasonable thing to do. Since it is often awkward to make such inquiries, the vendor may supply a list of users who have agreed to discuss their experiences with others. If so, you should not hesitate to contact anyone on the list. However, bear in mind that most users have had experience with only one or perhaps two software products of the same type.

When contacting users, be sure to ask about the quality of support they have been receiving from the software vendor. Is it timely and accurate? If bugs show up are they being fixed?

The origin and history of the software has a profound influence on its quality. If it has been acquired, rather than developed, by its present vendor the probability of its being properly maintained and extended is greatly diminished. Radically new versions and rewrites are typically plagued with bugs. It often takes years of careful maintenance to get a complex software program to the point where it is solid and virtually bug free.

Another important factor is the character of the company that produces the software. If they are honest and truly helpful it is more likely that their software is carefully designed and built to be truly useful.

Looking at the software itself, certain key questions should be asked:


Limitations

What are the ranges of trim and heel angles which the program can handle? If there are any limitations at all, it probably indicates that the underlying methods are not as good as they should be. In practice this means that 1) accuracy could be compromised; and 2) it would have limited application in salvage work.

Are there limits on the size or complexity of the geometry model which could prevent it from handling the vessels with which you are concerned? Is there a limit on the number of appendages or tanks?


Integration Methods

Most often the geometrical model consists of stations or transverse sections of the hull and tanks. (While surface models can be used, they are not as efficient for stability work where a very large number of integrations must be carried out as quickly as possible.) Visually the model looks something like the body plan in a lines drawing.

While Simpson's rule was favored by naval architects when doing calculations by hand, it is not the best choice for automatic computation. It has been found that trapezoidal integration is more reliable because it more closely follows visual representation of the model. Any degree of accuracy can be achieved by enriching the model. Models which work reliably with higher-order integration may require fewer stations and points but they are more difficult to build and verify.

Connections

Stability software, like most other kinds of software, is not self-sufficient. Its input and output data are connected in some way to other programs and media. How well can it make use of data sources? How easily are its outputs put to use?

A good thing to check is which hull lines development/fairing programs produce files which are compatible with the stability software. Then consider whether the stability package provides means of importing geometry data from other programs. On the other hand, since a significant amount of new geometry often originates in the geometry modeling facilities of the stability software, consider whether it can export to data formats which are recognized by other software.

How easily can the reports be integrated into other documents? How well do the reports serve the purposes for which they are intended?

Can the model be used directly by a shipboard program, and will the numbers in the reports generated there agree with the original reports? Can the model be used directly in a salvage program?

A successful software program often attracts other developers. This gives the users additional options and products which work together. Are there any other products on the market specifically designed to work with it?

How easy is it to enhance existing connections? Are the input and output file formats documented? Can these files be easily processed by custom- written programs? Is it possible for the software to be extended by the user?

Ease of Use

Everyone likes tools which make the job easier. But another question that must be asked is whether the easy-to-use tool does the job well. Only if you are not concerned about quality or efficiency should ease of use be an overriding factor.

Simple software programs tend to be easy to use. In the case of ship stability software, simplicity would come at the cost of incompleteness -- ignoring important aspects. For instance, a substantial simplification is achieved if the transverse center of gravity is left out.

Another way to make a program "easy" is to hide decisions from the user and make them automatic. While this should be done wherever it is appropriate, there are other times when the user should be required to make the decision. For example, when making the geometry for a tank on the starboard side of the ship which is a mirror image of the port-side tank, the user might be required only to indicate that fact of the symmetry. The program would then make the entire new tank as a mirror image. However, since sounding tubes are often not symmetrical the user should be required to supply the new sounding tube location. If not reminded in this way, there would be a danger of getting the tubes wrong on one side of the vessel without being aware of it.

Efficiency is not the same as ease of use. For example, a command-driven program can lead to great ultimate efficiency through automation, where a menu-driven program limits automation. The menu-oriented interface may be easier to learn, but it will prevent ultimate efficiency.


Reliability

The two aspects of reliability are: 1) consistent, uninterrupted operation; and 2) correct results. Both are important, but in ship stability software particularly the correctness of the results is extremely important. If the results are not reliable, decisions based on incorrect data could be very costly.

The second aspect of reliability has two causes. One is errors in the software causing incorrect results; the other is errors made by the user. A good program will minimize both of these causes.

To guard against errors in the software or possibly underlying hardware errors, does it:

* Compare critical calculation results using two different methods?

* Load undefined variables with extremely large numbers to make it obvious if the are inadvertently used?

* Report actual, not target results?

To help minimize user errors, does it:

* Conspicuously show units of measurement in reports?

* Show trim and trimming arms as well as heel and heeling arms?

* Prominently indicate the presence of special conditions such as damage, waves and heeling moment?


Credibility

Credibility comes both from experience and from official credentials. The former is a reputation earned, the later is a standing bought.

There will be times when the results are challenged, either by a measured condition of a ship which disagrees from that predicted by the calculations or by differing results from another program. How well has the program stood up under such challenges? Has it proved to be correct? Credibility is built when it turns out to be correct under such challenges repeatedly.

Official credentials, such as approvals from classification societies or governments, are gotten by demonstrating acceptable output from given test cases and paying a sum of money. Though somewhat artificial, these approvals are not entirely without value. They certainly make it easier for new software or that which does not have an experience-based credibility behind it to be accepted by regulatory agencies.

Documentation

The quality of documentation varies widely. Documentation which is poorly written, inaccurate or incomplete is almost worse than none at all. You should be able to buy a copy of the documentation for a small fraction of the price of the software. Is the documentation truly useful? Is there complete on-line documentation supplied with the software as well?

Important Features

Finally, a thorough look at the specifications should show up significant differences in software packages. Here is a list of features which you should expect in a complete ship stability software package.

Geometry
Three essential types of geometry:
Displacers (hulls, appendages, superstructure)
Containers (tanks, holds, compartments)
Sails (non-buoyant contributions to wind plane)
Multi-level geometry organization:
Allowing independent components in the same hull or tank model
Adding and deducting components
Easy modeling of multi-hulls, SWATHs, Rigs, etc.
Symmetry:
Take advantage of transverse symmetry to reduce input and storage
Allow unsymmetrical hulls
Details:
Shell thickness model
Sounding tubes, straight or curved
Permeability
Creation/editing tools:
Section input via. digitizing
Direct offset entry/editing:
Graphical screen editor
Adding sections by interpolation (filling)
Importing shapes from CAD (DXF and ship hull modeling programs)
Efficient tank modeling:
Automatic Fitting to hull and other tanks
Means of recreating tanks without regenerating input
Displaying Geometry:
Interactive screen display
Printout, graphical & offset lists

Weight
Transverse CG as well as longitudinal and vertical
Light Ship weight and center; itemized added weights:
Point or longitudinally distributed
Tank weights by giving load and density
Weights suspended from crane by giving boom parameters

Environment
Wind:
Pressure or speed with height profiles
Heeling moment derived from lateral plane of geometry
Heeling moment:
Function of heel or constant
Derived from Wind, Turn, Tank loads or user-defined curve
Trimming moment:
Function of trim or constant
Wave (static):
Various profiles, periods and amplitudes
Ground reactions as added buoyancy:
Detailed model of ground where reaction depends on condition of vessel
Tide:
Model of ground adjustable for tide level changes
Axis:
Ability to change direction of heel/trim
Hog/Sag
Model of hull deflection
Derived from draft inputs or deflection calculation

Stability Criteria
Angle ranges
Areas between angles
Area ratios
Maximum arms and ratios
GM

Calculations
Section area curves
Curves of form
Hydrostatic properties
Cross curves of stability
Righting arms curves
Maximum VCG curves
Tank characteristics curves
Shear, bending moment, stress and deflection curves
Floodable lengths curves
Volumetric heeling moment curves for grain cargo
GM vs. tank loading curves
Probabilistic damage
Tonnage
Critical point heights
Solving for:
Maximum VCG
Maximum weight
Weight, LCG, TCG
Draft, trim, heel
Roll angle
As-inclined condition
Launching
Intermediate stages of flooding
Oil spill volumes

Reporting
Tables and plots (where applicable) for the Calculations listed above
Condition status:
Weights, solid and liquid
Buoyancy
Waterplane
Lateral plane
Notes:
User-supplied notes and commentary appearing in reports

Tanks
Centers of gravity calculated for any trim and heel
Types of tank/compartment operation:
Intact - constant load
Frozen - constant load does not shift with heel and trim
Flooded - negative displacer
Flooded Plus - An extra volume of water added
Damaged - depends on pressure at point of damage
Bubble - constant quantity or air or other gas trapped in top
Deck - head of water on deck
Water Displaced Fuel - both water in oil in same tank
Spilling overboard - reduces load to keep surface at or below spill point
Spilling to another tank
Temperature expansion:
Oil expansion calculated for given temperature
Gross volume calculation
Free Surface Moments:
Option to use tank CG shifts or free surface moments
True or maximum FSM
FSM floor for each type of liquid

User Interface
Choice of Command and Interactive modes
Batch run files
Macros commands (user-specified)
Selectable Units:
Metric, Imperial

File manipulations
Directory/folder navigation and display
File renaming, copying, editing, viewing, erasing