Beruflich Dokumente
Kultur Dokumente
2
Container Loading (CL)
Table of Contents
1 Container loading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 Overview of functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.2 Connection to other subsystems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.3 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.4 Handling container loads under loading conditions (LD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.5 Steps involved . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.6 History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 General principles. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1 Basic concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.2 Parts of a container arrangement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.3 Properties of stacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.4 Properties of blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.5 Properties of container types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.6 Numbering of container positions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.7 Management of changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.8 Usage of alignment points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.9 Mixed loading of long and short containers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.9.1 Long and short containers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.9.2 General requirements for mixed loading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
2.10 List of quantities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Auxiliary definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.1 Definitions related to the owner numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.1.1 Defining the numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
4.1.2 Defining the formal owner numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.1.3 Owner numbering range separating containers in hold/on deck . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.1.4 Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.1.5 Copying the owner numbering system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4.2 Various parameters (subtask ADM) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.2.1 Bay numbering convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.2.2 Source of container types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.2.3 Defining additional quantities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.2.4 Check mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.2.5 Criterion for separating long and short containers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5 Loading functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.1 Role of the container arrangement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.2 The container type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.3 Administrative commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.4 Definition of loads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.4.1 Creating a new container load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.4.2 The ADD, REDUCT and CHG commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.4.3 The ADD command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.4.4 Specifying container properties in the ADD command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
5.4.5 General subset selections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5.4.6 Summary of the ADD command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
5.4.7 The REDUCT command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.4.8 The CHG command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.4.9 Changing the alignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.4.10 Loading containers occupying double bays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
5.5 Checks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.5.1 Checks done when loading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5.5.2 Separate checking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
5.5.3 The UNDO command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.6 Defining container loads under table calculation (pilot) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
5.7 Graphic information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
5.8 Description of a container load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.9 Listing data about a load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.10 Variables related to the current load . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.11 Adaptation to changed arrangement and types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.12 Generating the lateral profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
5.13 Connection to loading conditions (LD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.13.1 Adding a container load to a loading condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.13.2 Changing a container load directly under LD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
5.13.3 Listing container data under LD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5.13.4 Plotting under LD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5.13.5 Entering container loading from the LOAD task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6 Drawing functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.1 Ways of drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.1.1 General projections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
6.1.2 Orthogonal projections, real geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.1.3 Orthogonal projections, modified geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
6.2 Drawing commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.3 The PLOT command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
6.4 Command PO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.5 The plot options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
6.6 Plotting individual containers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.6.1 Selecting fill colour (FILL option) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
6.6.2 Using figures to represent containers (FIG option) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6.6.3 Adding text information inside containers (MI option) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
7 Output functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.1 General basis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
7.2 Listing commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.3 Listing by container . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
7.4 Listing by line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
7.5 Listing by stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
7.6 Listing by layer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
7.7 Listing by container type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
7.8 Transfer of data to table calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.9 Auxiliary listing functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.9.1 The bare LIST command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.9.2 Listing data for arrangements (INFO command) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
7.9.3 Listing data from container type definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
7.9.4 LIST .id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
7.10 Accessing container data in macros . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
7.10.1 Variables maintained . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
7.10.2 Calculator function CLINFO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
7.10.3 Using the table calculation connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
8 Command specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.1 Commands on the main level. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.1.1 Definitions related to containers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.1.2 Output functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.1.3 Defining container loads. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.1.4 Various functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.2 Commands in subtask BLOCK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
8.3 Commands under ADM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
1 Container loading
The container loading subsystem contains functions supporting the design of container arrangements and
creating container loads for use as such or as parts of loading conditions.
The potential locations of containers are defined as so-called container arrangements. Their role is analogous
with that of a compartment arrangement in ordinary loading, and forms the basis for the loading of containers.
The container arrangement has a function in its own right, for assisting the design of the ship. From the
container arrangement, the container capacity can be calculated and drawings can be prepared for showing
the location of containers. In generating the container arrangement, one can take advantage of the geometry
of ship structures.
The functions of container loading can be applied to other cases of objects loaded at predefined positions in
a more or less regular pattern, for example cars on a car deck.
1.3 Installation
Defining container arrangements can be considered part of the description of the ship, and belongs therefore
to the ship model, while loading containers belongs to loading conditions. However, from the practical point of
view, defining arrangements and loading them have much more mutual connections than with the main tasks
mentioned, and have therefore been collected into an single subtask CL. In order to account for the two aspects
above, this subtask has been installed both under SM (ship model) and under LOAD (loading conditions). The
following map is shows how the CL subtask is accessed
The behaviour of the ship as a whole is studied, when loaded with containers. This includes the effect on
the wind area in stability criteria.
Normally, the general ship geometry has been defined when container loading is done, but it becomes strictly
necessary only when loading conditions are involved.
1.6 History
Container loading was first introduced to NAPA in 1990. As demands on the system increased and a better
understanding on how it should work developed, the need to revise some basic solutions was recognized. In
1994, this revisions was made and the first official release to include the revised system was 95.1.
The data structures are to a large extent incompatible, and for the transfer from pre 95.1 versions to the present
one, see CL.2, chapter Conversion.
2 General principles
A set of containers with the same bay and row number and physically connected, i.e. standing on each other, is
called a stack. This is the basic component from which the container arrangement is formed. A stack is always
vertical, having a fixed location in x and y. When containers of different dimensions are loaded, the alignment
point controls the relative position in x and y so that the alignment point of a container is made coincide with
that of the container below or that of the stack. There may be several stacks in the same bay and row, normally
one under deck and one above deck. These are distinguished by their starting tier number. In most cases,
the word 'stack' refers to a physical stack as presented. A logical stack is the total set of containers with the
same bay and row number.
Except for the stacks, the bays, rows and tiers of a container arrangement need not be geometrically aligned,
i.e. a fixed coordinate being associated with a given bay, row or tier number. However, there are usually subsets
with this property, and for taking advantage of this in the definitions, the block concept is available. A block
is formed by a three-dimensional matrix of spaces with fixed x-, y- and z-coordinates in each transversal,
longitudinal and vertical layer, but not necessarily with uniform spacing. Within the matrix, there may be
positions not corresponding to possible container locations, which are specified in the block definition, and
taken into account when loading.
In order to give a preliminary idea of the definitions, the definition of the arrangement is presented below:
BLOCK IN-HOLD C1
X, 10, 6, 1, 6, 1, 6; Y 1.5 4; Z 0.3 5
REDUCT Y>HULL -0.4; SYMMETRIC
BLOCK ON-DECK C1, B1=4 T1=6
X, 22, 12; Y 0 4; Z 11.5 6; SYMMETRIC
COMBINE C-ARR1 IN-HOLD ON-DECK
The owner numbering system has a very central role in both input and output functions, and should be
carefully designed and complete before starting with the main definitions.
The bay numbering convention (aft or forward) must also be fixed in advance.
is removed. Changes of container types are also taken into account automatically. Note also that a container
weight given as a relative one is converted to an absolute weight and recorded this way.
If the container load has been affected by any of these changes, a message is given when reading it, telling
the resulting change in weight and container count.
In the example, the two lowest containers are loaded normally. For the third container, a change of alignment
is given. This will automatically be inherited by the upper containers.
The rules for this are explained in more detail in connection with loading.
These are the quantities relevant for the calculations. Other quantities can be added to container type definitions
and load definitions. These are available for output purposes and for doing selections. They must be declared
in the configuration parameters (command QNT/ADM).
(As always, numbers given in commands are owner numbers). If not given, defaults are set so that bay=1,
row=1 or 0 and tier=1 in the internal numbering system.
In addition to these parameters, the following optional parameters can be given:
For the effect on row numbering by commands REFLECT and SYM, see below.
x0 is at the start of the first bay, and the steps following are added in the direction of increasing bay
numbers. Thus, if the bay numbering is from fore to aft, x0 is at the upper x-limit of the block.
In the last repetition, the last spacing d is not used. If the definition continues, it must begin with a spacing.
Example:
X 10.5 3*(2,0.5) 0.8 2*(3,0.4)
giving the same as
X 10.5 2,0.5 2,0.5,2 0.8 3,0.4,3
3.1.4 Example
n: a single value
n1...n2: numbers n1 to n2 inclusive
* the whole range
Examples:
REDUCT 1 1 1
Remove the position in the lower left corner
REDUCT 1...2 * 1
Remove the transversal lines at tier 1, bays 1 to 2.
For a more complete description of how to designate container positions, including graphic input, see below.
The geometric reduction is done in the form
REDUCT Y>surface
This means that container positions wholly or partly on the specified side of the surface shall be removed.
Analogically, one can use Y<, Z> or Z<. (Y and Z designate coordinate axes, while '<' and '>' mean remove
containers at lower or higher coordinates respectively).
In order to be interpreted correctly, the surface should have the orientation according to the axis used (see
quantity ORNT in the output of INFO under DEF). The section of the surface must contain one branch only
and this is forced by connecting possible multiple branches. At places where no intersection is obtained, the
reduction is not done.
A translation of the surface at right angles to the normal of the x-section can be added in the form
REDUCT Y>surface d
where the sign of d tells whether the translation is in the direction of the positive or negative half axis (negative
in the example below).
DES: same command DES on the main level. Without parameters, the current
block definition, as far as entered, is displayed.
LIST: lists data using the same LIST command as on the main level.
PLOT: same as the plot command on the main level. Commands SIZE, FILL
COLOUR and PROJECTION are available to support the PLOT command.
Command PO is also available, including option AUTO.
In the LIST and PLOT commands, the logic of plotting container loads is borrowed for separating places in the
initial matrix from those removed by REDUCT, so that places actually remaining are treated as loaded.
Using the standard LIST and PLOT commands as auxiliary output functions under BLOCK is a convenient
way of making a large set of output functions accessible, but it is not guaranteed that all options produce
useful results.
Bay row and tier numbers are given as owner numbers. If the columns XMIN...ZMAX are present all values
within the columns must be given.
When used for defining arrangements, note the following:
The name rule is the same as for arrangements defined by other means, i.e. CNTA*name. Thus, the catalog
will not show directly what arrangements are defined under table calculation and what are defined otherwise.
Arrangements defined as tables can be separated by adding the selection criterion TYPE=19000.
An arrangement not defined as a table cannot be read directly under table calculation. However, in the main
task of CL, the command CNTA name; reads the given arrangement, converts it to a table and enters table
calculation. If the original definition was not as a table, the name is modified by appending .T.
n: single index
n1...n2: range from n1 to n2 (inclusive)
* the whole range
The numbers represent owner numbers. A range is interpreted so that the containers corresponding to the
upper and lower limit are taken and all between them in the internal numbering.
The parentheses belong to the syntax. They are optional in commands specifically designed for use with the
range selection (ADD, RED, MOD under block definition, ADD, RED and CHG commands of loading), but
needed when used as options in subset selections.
The ranges can also be given graphically, if there is a suitable drawing available. The drawing must be made
in an orthogonal projection, and the projection, scaling or plot options must be the same as when the drawing
was made.
The bay, row or tier range is shown by pointing at the lower left and upper right containers in the range selected.
In the viewing direction, one cannot show the range, and it has to be entered numerically as the first item, using
the syntaxes above. It can be omitted if the whole range is selected.
Example: In an ADD command, a range of bays and tiers is shown in a side view, selecting rows 1...4
numerically. The following is entered from the keyboard (note the colon):
ADD 1...4 :
then the lower left and upper right corners of the range are shown on the screen.
The ordinary data echo will show the graphic input as the coordinates pointed at, and an additional data echo
will be produced showing the input as interpreted to bay row and tier numbers.
The following unofficial service is available for arrangement plans if the name of the part used in the input
has the form
BAY nr or BAY n1-n2
and similarly for ROW or TIER. When using such a plan part for graphic input, the range implied by the plan
name is used in the result.
Formal owner numbers can be used for designating ranges, which will include both partial bays corresponding
to the formal number. In loading commands, additional interpretations may be done as presented later.
location:
A location is given in the form axis=q or axis=(q1,q2), and selects the containers at least partly inside the given
range. Examples:
Y=0
X=(0,20)
quantity-criterion:
Quantity-criterion means a selection criterion formed using the available quantities and the general selection
syntax (see !EXPL SEL/GEN). The standard quantities are always available, in addition there may be own
additional ones (see command QNT in subtask ADM).
TYPE=T1
W=0...2
the quantities BAY, ROW and TIER are also available and provide an alternative way of selecting number
ranges. However, the effect may be different than using the range syntax. The difference can best be
understood by taking into account that this criterion is in all respects similar with a criterion involving, for
instance, the container weight.
As an example of several criteria combined, the following syntax selects all loaded but empty containers
between bay 20 and 32:
(20...32 * *) L WREL=0
The dummy command SEL in the main task gives access to the explanation of the selection syntax (use !
EXPL SEL).
Interpreting the general selection syntax is an own function. This is the reason for the need to separate this
syntax from others, for example in the PLOT command, where the distinction with respect to the plot options
may feel unnatural. In commands the keyword SEL is used for separating the selection syntax.
4 Auxiliary definitions
This chapter presents the auxiliary definitions, i.e. container types, owner numbering and other definitions not
producing container objects.
With option LIST, a list of corresponding user and owner numbers is printed for a given axis, for example ON
X LIST. For the example above, the result would be
X 1 2 3 4 5 6 7 8
ON 3 6 8 12 16 20 24 26
Make sure that owner numbers are defined for the whole range to be used.
Unused ranges in the internal numbering have no effect on other functions than plotting with the NG option,
where the internal numbering decides the coordinates plotted.
Without a complete owner numbering system, only some administrative functions are available.
4.1.4 Example
Objects defined with a different bay numbering convention than the one currently valid will work incorrectly.
The columns having a default can be omitted. FCODE, LFCODE and FIG can be omitted if the corresponding
services are not used (see plot options FIG and FILL). Other quantities can be added as desired. These are
available in various output functions, but are not taken into account in the calculations.
A model table named CNTT*MODEL is delivered with the system, providing the table structure and sample
definitions.
When running the system, there is a single table of type definitions used. The built-default for the name of it
is STD, but it can be changed under task ADM.
When starting container loading, CL makes an own copy of the container type table. If the table is changed,
this copy must be updated, either by returning to task level or by using the command RESET !, which will
return container loading to its initial state. Any container objects in the run time memory will be removed.
When combining information for a long container and its parts into a common layout, the usage of the template
is different, as presented below.
A text item can be suppressed by placing the field below the template more than the height of the template
i.e. v<v1 -(v2-v1).
Example:
NEW CL-TEMPLATE
size -1 2-1 2
th 0.22
pol / (0 0) (2 1)
text t1 1 0.5 (22)
th 0.18
text t21 0 1(04)
text t22 2 0(40)
th 0.15
text t31 0 0.7 (01)
text t32 0 0.4 (01)
text t33 0 0.1 (01)
The following figure shows the result when the template is used with different MI options:
The template itself is added by the option TMI=CL-TEMPLATE. (This template is delivered with the system).
A single macro can define many templates by repeating the POL command and the subsequent texts. For a
specific container, the template that best matches the proportions of the current contour is used.
When combining data for a long container and its parts into a common layout, every quantity needs three fields,
and a template designed for this purpose must have fields as follows:
5 Loading functions
This chapter describes definition of container loads. A container load is formed by a container arrangement
where it is defined what positions are occupied and with what type of containers. Handling of container loads is
mainly done under the container loading subtask (CL), and the result as a whole is added as load components
to a loading condition. In addition to this, the main loading commands and some administrative functions are
available directly in the loading condition subtask.
The object of the loading operations is the load made current by command NEW, GET or TREAT. When a new
load is made current, the preceding one remains in the run time memory and can be made current again with
command TREAT. The current load is also the default object for commands LIST, DRW and PLOT.
Command WHERE tells the name of the current load and those in the run time memory. In addition, it tells
whether the loads have been changed but not stored in the data base.
Command RESET ! initializes CL and removes any container loads in memory.
Definition of container arrangements (commands BLOCK, COMBINE) will also cause any loads in the run
time memory to be removed. If the current one has been changed but not stored, it is saved so that it can
be rescued with command GET *.
If a container position is made unloaded, the current container properties (e.g. container type, weight) remain
and if the position is made loaded again, the previous values are still valid.
In this form all container positions in the given range will be loaded. Any other properties such as container
type or weight will have the values they had when the positions were last loaded, or if the positions had not
been loaded before, the values of the default container type.
For the effect of using real or formal bay numbers, see paragraph on mixed loading.
In the following, the notation 'ranges' refers to the bay/row/tier ranges as presented above.
The more general forms include possibilities to change the container type or other properties and to use more
general options for designating the locations concerned.
■ no alternative type in the arrangement definition: loaded with the single default type
■ alternative types in the arrangement definition: loaded with the short type.
■ no alternative type in the arrangement definition: Loaded if the position is classified as short according
5.5 Checks
Illustration of ZTOL
■ if the container weight is given, it is checked with respect to the maximum and minimum weight of the
given container type.
■ the total stack weight is checked with respect to the allowed stack weight.
Whether to do these checks or not and whether to do the loading in spite of an error can be controlled by the
command ERM under ADM. The stack weight check is done after the loading and in case of a a violation, a
warning is given.
By adding the option ! as the last parameter of the loading command, it can be forced to be carried out even
if it violates some of the conditions above.
For each stack, a given error is reported only once, even if it occurs in several containers.
The error checks can also be included in the result of LIST ST by adding the quantity STAT, for example
LQ CLS BAY ROW MASS WSTMAX STAT
The value returned in the STAT column is composed by a set of letters, one for each error found in the stack:
As an alternative to the columns BAY, ROW and TIER, the column ID can be used, containing the location as
a single item Cbbrrtt. By assigning this as the key column, there is automatic check for duplicates.
Optionally, any other property that can be defined for loaded containers can be added, for example the weight
W.
For easier change of status from unloaded to loaded and vice versa, the column NL can be added. A container
having NL=0 is considered not loaded while >0 means that it is loaded.
The arrangement to which the load belongs must be defined separately by the command
QNT ARR name
where 'name' is the name of the arrangement.
For handling tables representing container loads, table calculation is entered with the command CNTL. With
option *, the current load is transferred to the work area of table calculation. Creating a load from scratch is
easiest this way (otherwise all potential container positions would have to be entered manually). The CNTL *
command has an option composed of one or two of the following letters:
The tables are named according to the name rule of container loads i.e. CNTL*name. The differ in the
description type, which is 1970 for tables instead of 4201 as used by CL.
A load created as a table can be used as any other load. It can be modified with the normal loading commands,
but if replaced it will be stored in the standard format, not as a table.
The container load currently in the work area of table calculation can be made active with the command CNTL
LOAD.
There is only one work area of table calculation at a given time and this is shared by the commands TAB,
CNTT, CNTA and CNTL. Command TREAT (of table calculation) can be used for restoring a work area
no longer active.
Load shown in a horizontal section, with number of loaded positions marked and colouring according to load
type, corresponding to options: PO Z=5 FILL=CT NL LB N
The current load is the default object for the LIST command.
(The only form of the LIST command not relevant for loads is LIST CTP, list data from the definition of container
types).
When using the LIST command, these variables are temporarily changed if needed, so that when used in table
output options, the correct values are obtained.
where <cl-parameters> are the same as would be given under CL. When no object is given the current loading
condition is searched for container loads.
6 Drawing functions
This chapter presents the drawing functions for showing information about container arrangements or container
loads in graphic form. In addition to drawing the geometric shapes, there is a number of functions for adding data
about counts, weights etc. For adding other graphic components, the general drawing task can be accessed
without leaving the CL subtask.
The same block shown as orthogonal projection (unfilled) and section near the end (filled)
The order of drawing is selected to get a hidden lines effect if filling is on. However, a completely reliable result
is not possible with this method. The plot option SRP (see below) may provide some help.
The containers to be drawn can be restricted to a specified subset if needed. If no subset is given, the keyword
is also omitted. For historical reasons, some of the functionality of the subset facility is duplicated within the
plot options.
In contrast to listings, the subset specification does not influence the calculation of totals to be marked as
text in the drawing.
Plot options can be given directly in the PLOT command, either modifying or replacing the permanent options
given by command PO. The keyword PO or RO must be given as separator before the plot options. RO (replace
options) means that any permanent options are disregarded while PO means modifications to these. The
options are described in more detail in the next paragraph.
6.4 Command PO
Command PO (plot options) was primarily added in order to support automatic drawing when doing load
definitions, but it can be used whenever there are options one wants to use repeatedly.
The options given in the PO command will be used when drawing with PLOT or DRW. An option given in the
PLOT command overrides an option possibly given under PO. Note specially the parameter OFF, by which
single options can be cancelled.
In addition to the options presented in the next paragraph, there is the option AUTO, that turns on automatic
drawing of changed loads. The AUTO option also sets options LB and NL (see below) and if these are not
wanted, they must be turned off separately (i.e. NL=OFF or LB=OFF).
The object and intersection plane can also be given as permanent options, for instance PO NAME=BLOCK1
or PO X=12.
When entering the PO command, any previous options are cancelled unless the first parameter is +.
When the PO command is given without parameters, the currently valid options are displayed. Command PO
EDIT transfers the current plot options to the editor work area.
Plot options of permanent value can be stored in the data base, either the project data base or the system data
base. When fetching options, the project data base is checked first. The commands related to stored options are
PO SAVE name save in the project data base under the given name
PO SAVE name SYSDB save in the system data base (requires full professional mode)
PO GET name get options
PO UNSAVE name delete stored options
PO CAT catalog of stored options
LB: add unloaded positions and draw them in a way that differs from the
loaded ones. If filling is used, unloaded ones are separated by removing
the filling, otherwise by setting dashed lines.
BAY=nr: restrict the drawing to the given bay or bay range (e.g. BAY=2...5). Options
ROW, TIER work similarly.
FILL=qnt: controls colour filling. All properties of individual containers can be uses
as basis for fill, e.g. FILL=CTP for colouring according to container type.
See command FST for controlling the colouring. A fixed filling is set by
command FILL.
PART=part: restrict the drawing to a specified part of a combined arrangement. For the
purpose of this option, see below.
CT=type: restricts the drawing to containers of the specified type.
ST: draw stacks only. Stacks are represented as boxes corresponding to their
extreme coordinates.
The following set adds information at the side of the drawing or controls the effect:
N: add bay, row or tier numbers at the sides. Equivalent with MB=N, ML=N.
C: adds coordinates at bay/row/tier limits. Equivalent with MB=C, ML=C.
TH=h: selects the text height (meters full scale)
HDP: position of headers from HMA, HMB, alternatives L,R,B
Option ONLY has the effect that the additional information only is written, not the container contours.
DH FCODE
------------
OD -3
IH -4
Negative numbers mean pure colours while positive numbers mean raster patterns. Containers on deck are
coloured with colour 3 (green) and those in hold 4 (blue). The colouring is activated by the commands
FST DH
PO FILL=DH
(It is not necessary that the tables are named as the key quantity.)
The second example illustrates a fill standard for a numeric quantity, the container weight.
NEW COLOUR*W
COLUMN W
COLUMN FCODE
W FCODE
------------
0 -29
1 -27
2 -25
5 -23
10 -21
20 -99
999 -99
Containers with weight between 0 and 1 will be coloured 29, between 1 and 2 with 27 etc. In the standard colour
maps delivered (CMAP*LARGE), the result is shades of red, with darker shades for larger weights. Weights
over 20 will be coloured black (99).
The figures are scaled so that they fit into the container they represent and centered. With the option CP
(container proportions) breadth/length ratio the figure is adapted to that of the container (as drawn).
The figures can contain text fields. Unless a template has been given, these will be used when drawing texts
resulting from the MI option.
By default, the figure is drawn in addition to the normal container contour. With the option ONLY, the figure
only is drawn.
All other quantities represent properties of the specific container shown. Note specially that W=weight of the
single container.
The options NL, NR and BRT are abbreviations for MI=NL, MI=NR and MI=BRT. BRT represents the relevant
combination of bay, row and tier.
A special service is provided for the quantity ID, which presents the bay/row/tier numbers as a single item. The
option ID defines a template for how to combine the numbers, where the components BB, RR and TT will be
replaced by the current bay, row or tier numbers. For example,
ID=BB-TT
shows the bay and tier, giving for instance 03-21.
The text positions can be controlled by giving a template with the TMI option. The definition of templates is
described in connection with definitions in general. If a figure has been used having text fields, these will be
used for controlling the text positions. As default, there are predefined positions covering up to three quantities.
The text height can be adjusted by the THMI=th option. When more than three quantities are be used a template
must be given defining enough text positions.
A template to be used as default can be defined under ADM.
The option to use no template is then TMI=NONE (TMI=OFF means no TMI option, i.e. the default).
When long and short containers are combined as presented in the next paragraph, the templates must be
modified.
Example of combining data for long containers and its parts. (rightmost figure)
C: coordinate
NL: number of loaded position in the layer
MASS: total weight of the containers
XM,YM,ZM: center of gravity of the mass in the direction specified
CGX,CGY,CGZ: center of gravity of the volume in the direction specified
When several alternatives are given, they must be enclosed within parentheses. The order in which the
quantities are given determines the placement so that the first one given is drawn closest to the plan.
When there are both real and formal bays, the output is done so that by default, a number is written for each real
bay. If there are long containers sharing a bay, half of the containers is attributed to this bay. In container counts,
the container is counted in both halves. Other alternatives are available by modifying the quantity symbols:
m (the margin): zero, except when HML or HMR options are given in which
case space is reserved above the plan
h (field height) 1.8*th (text height as above)
th (the text height): h/1.8
These defaults are also used for any dimension assigned zero in Pxx option.
These dimensions can be modified by options PML, PMR, PMB and PMA. For PML and PMR the parameters
are
Pxx=(m,b1,d1,b2,d2,...)
and for the PMA and PMB options
Pxx=(m,h1,th1,h2,th2,...)
The indices 1, 2, ... refer to the text fields as counted from the plan outwards. These dimensions can be given
far as needed - missing ones are assigned default values while additional ones are ignored.
Illustration of the position options (the dashed lines do not belong to the output of PLOT)
For more control, the options FML, FMR, FMB and FMA are provided, concerning lines in connection with the
texts from ML, MR, MB and MA respectively. With these options, the addition or properties of the individual
frames can be controlled independently of the FRAMES options.
The parameter to the FML ...FMA options is a string containing a letter for each (potential) line concerned:
N: no line
L: solid line of the current thickness
D: dashed line
T: solid line, thicker line
The first letter concerns the line directly attached to the plan. The second letter concerns the line at the given
margin from the plan (even if the margin is zero). The remaining letters follow the order in which the quantities
are given.
The FRAMES option can also have the same parameter. This parameter is applied for all partial frames having
no own specification.
The container drawing functions are not implemented for sections with surfaces or varying section coordinates,
for which an average coordinate is selected. Thus, the setup should be done with normal plane sections. All
drawing into the setup is done as sections, except for the profile (y=0), which is drawn as a projection. In order
to get a section, Y=0.02 can be used.
Note carefully: the DRW command under container loading is not identical with the general one - it differs
from the DRW command under DR exactly as the PLOT command does. Therefore, any of the standard DRW
functions must be used under DR except for DRW ALL.
For each part in the setup, the section plane is set accordingly. Thus, note the difference between
SET n; PLOT ...
DRW n ...
Both draw into the n:th part of the setup, but DRW sets the section plane as specified for that part, while the SET
n; command simply sets the position and projection according to the part in question, and PLOT works as usual.
Outside the CL task, container arrangements and container loads can be drawn into a setup by adding the
keyword CL as presented below.
When drawing perspective drawings, one should avoid objects close to the viewer, since their images approach
infinity. The same applies to the coordinates given in a SIZE command. In this case, the nearest containers
are omitted by giving a bay number range. The drawing is made by the following commands:
DR * (assuming initial environment CL)
DRAWING SIGHT
PROJECTION (22 0 25) (203 2 13)
** location of viewer, point looked at (lighthouse in this case)
SIZE 50 212.00 -32.00 32.00 -15.00 32.50
FILL WH; PLO LIGHTHOUSE O;
FILL RED; PLO LIGHTHOUSE2 O
CL ** return to CL subtask
GET SIGHTDEMO.L1 ** get container load
FILL #66
PLO SIGHTDEMO.L1 PO BAY=3...16 TIER=4...9
The container arrangement example in paragraph 'Parts of a container arrangement' is drawn with the following
data:
DR
DRAWING CONT-ARR
PROJECTION -51 21
SIZE *S
CL; FILL #15; PLOT ON-DECK
DR; PLOT MDECK3; PLOT BHC3
7 Output functions
This chapter presents the functions for output of container data in numerical form, while drawing functions are
presented separately.
■ logical
■ transversal line
■ longitudinal line
■ layer
■ row
■ tier
■ container type
Any quantity available (see list in chapter 1), including own additions can be output for single containers. The
other alternatives represent totals within a subset, and for these, the following quantities are available:
The possibility to load one container over two positions and to extend a stack over the nominal capacity causes
the definition of the quantity NR (number of positions) to be ill defined.
For physical stacks, a number of additional quantities are available:
For expressing the argument, bay, row and tier numbers are available. In addition, the quantity ID can be used:
where bb, rr and tt represent bay, row and tier numbers with two digits.
The general subset facility (see 4.5 Defining arbitrary subsets) can be used for restricting the listing according
to various criteria:
■ bay/row/tier range
■ special options (in hold, loaded, container type)
■ location
■ quantity selection
Regarding the quantity selection: note that a criterion involving bays, rows or tiers influences the calculation
only, not the selection of arguments, while the range syntax will also restrict the arguments.
In addition to the main listing commands, there is the command INFO for presenting general characteristics
about arrangement parts and LIST CTP for listing data about container types.
In the listing examples below, the following load is used:
Example load
list: list type as described below. It may be followed by type specific options
object: object of listing, either arrangement or load, default=the current load.
subset: restricting containers to the given subset, expressed with the general
selection syntax. If the subset is not given, the keyword SEL is also
omitted.
table-output-options: standard table output options. If no table output options are given, the
keyword TOO is also omitted.
WEIGHT MASS XM YM ZM
--------------------------------------
15.0 810.0 35.30 0.00 5.70
20.0 520.0 38.99 0.05 11.57
28.0 28.0 62.84 -1.28 2.26
--------------------------------------
TOTAL 1358.0 37.28 -0.01 7.88
The container weight is converted to a character quantity (ID borrowed for the purpose) in order to serve as
the grouping criterion.
The quantity W is the weight of the container, which has a value even if the container is not loaded, while
MASS is zero for unloaded positions and equal to W for loaded ones.
The error status contains in a compressed form information about loading errors in the stack. For the symbols
used, see checking of loads (command CHECK CODES; gives a list).
Subset selections affect the selection of stacks only - not the selection of containers inside the stacks. The
criteria are tested for the first container in the stack.
The arguments are always the real bays and long containers are always distributed over the halves (see option
H for LIST B).
Example:
LQ CLS, BAY, ROW, ' ', PART, NR, MASS
TOO CLS, HD=(S, UL), TOT
LIS ST SEL (3...5 * *)
5 1 HOLD1 3 0.0
3 1 HOLD1 3 0.0
5 3 HOLD1 3 0.0
3 3 HOLD1 2 0.0
5 2 HOLD1 3 14.0
3 2 HOLD1 3 14.0
5 4 HOLD1 3 0.0
3 4 HOLD1 2 0.0
5 0 DECK2 2 10.0
3 0 DECK2 2 10.0
5 1 DECK2 2 10.0
3 1 DECK2 2 10.0
5 3 DECK2 2 10.0
3 3 DECK2 2 10.0
5 2 DECK2 2 10.0
3 2 DECK2 2 10.0
5 4 DECK2 2 10.0
3 4 DECK2 2 10.0
-------------------------------------
42 124.0
B: by bays
R: by rows
T: by tiers
These lists are controlled by a common LQ and TOO with subject CLB. This is the default subject (need not be
given in the LQ and TOO commands). Among the available quantities, the quantity BRT stands for bay, row
or tier number, and is at output changed to the current argument.
By default, bays are listed for formal and real bays separately. This can be changed by the following options:
Option L restricts the output so that completely unloaded arguments are omitted.
Examples:
LQ BRT NL MASS XM YM ZM
TOO HD=(S,UL) TOTAL
Basic case (no options), showing all bays:
LIST B
BAY NL MASS XM YM ZM
----------------------------------------
1 0 0.0 0.00 0.00 0.00
3 0 0.0 0.00 0.00 0.00
4 6 128.0 63.00 -0.28 9.01
5 0 0.0 0.00 0.00 0.00
7 8 120.0 53.31 0.00 3.71
8 5 100.0 50.75 0.00 10.90
9 12 180.0 47.21 0.00 4.70
11 0 0.0 0.00 0.00 0.00
13 5 75.0 38.52 0.00 10.90
14 6 120.0 35.53 0.21 11.63
15 5 75.0 32.42 0.00 10.90
17 12 180.0 26.33 0.00 4.70
18 10 200.0 23.17 0.00 12.20
19 12 180.0 20.23 0.00 4.70
----------------------------------------
81 1358.0 37.28 -0.01 7.88
BAY NL MASS XM YM ZM
----------------------------------------
1 0 0.0 0.00 0.00 0.00
4 6 128.0 63.00 -0.28 9.01
8 5 100.0 50.75 0.00 10.90
11 0 0.0 0.00 0.00 0.00
14 6 120.0 35.53 0.21 11.63
18 10 200.0 23.17 0.00 12.20
----------------------------------------
27 548.0 40.21 -0.02 11.09
BAY NL MASS XM YM ZM
----------------------------------------
1 0 0.0 0.00 0.00 0.00
3 0 0.0 0.00 0.00 0.00
5 0 0.0 0.00 0.00 0.00
7 8 120.0 53.31 0.00 3.71
9 12 180.0 47.21 0.00 4.70
11 0 0.0 0.00 0.00 0.00
13 5 75.0 38.52 0.00 10.90
15 5 75.0 32.42 0.00 10.90
17 12 180.0 26.33 0.00 4.70
19 12 180.0 20.23 0.00 4.70
----------------------------------------
54 810.0 35.30 0.00 5.70
By adding the corresponding symbol (B, R or T) as qualifier in the quantity selection, it is possible to list a given
quantity as a function of two arguments, where the values are sums over the third direction. For example, if
the basic list is by bay (LIST B ...), the qualifier R, e.g. NL/R, makes the quantity listed for each bay and row,
i.e. by stacks.
When defining headers in the TOO command, a quantity to be expanded is treated as a single item although
it will give rise to several columns. The special symbol O (owner numbers) will be replaced by the numbers
corresponding to the added argument.
The following example shows the quantity NL listed as totals/bay (as above) and separately for each bay/tier:
TOO HD=((- ' Containers loaded/tier'), ('Bay', 'Total' O 'Weight')), UL, TOTAL
LQ BRT, NL, NL/T, MASS
LIST B
Containers loaded/tier
Bay Total 2 4 6 82 84 Weight
--------------------------------------------------------
1 0 0 0 0 0 0 0.0
3 0 0 0 0 0 0 0.0
4 6 1 0 0 5 0 128.0
5 0 0 0 0 0 0 0.0
7 8 4 4 0 0 0 120.0
8 5 0 0 0 5 0 100.0
9 12 4 4 4 0 0 180.0
11 0 0 0 0 0 0 0.0
13 5 0 0 0 5 0 75.0
14 6 1 0 0 0 5 120.0
15 5 0 0 0 5 0 75.0
17 12 4 4 4 0 0 180.0
18 10 0 0 0 5 5 200.0
19 12 4 4 4 0 0 180.0
--------------------------------------------------------
81 18 16 12 25 10 1358.0
Note the header component O in the second header line, giving the tier numbers 2,4 ... 84.
CTP W NL MASS
-----------------------------
D20N 15.0 46 690.0
D40N 20.0 25 500.0
D20H 15.0 8 120.0
The available quantities include both properties of the load and properties of the container type. In the
example above, W is the standard weight defined for the container type while MASS is the total weight
loaded.
M M M M M M
ARR1 3.00 32.40 -9.60 9.60 1.40 16.50 1 7 -4 4 1
BLOCK1 3.00 32.40 -9.60 9.60 1.40 9.80 1 7 -4 4 1
BLOCK2 7.00 32.20 -7.70 7.70 10.20 16.50 2 7 -3 3 6
Quantity selection CAP, (LQ CL CAP), giving capacity in terms of container counts and volumes:
The coordinates X, Y and Z are generated in the same way as the coordinates used by the nominal mode in
plotting. When 'arr2' is given the lower and upper coordinates are returned separately in 'arr' and 'arr2', while
the midpoint is given when 'arr' is the only receiver. Examples:
■ @CLINFO('LOAD1','MASS')
return the total weight loaded
■ @LIMITS=ARR(2)
array of numbers (2=reals, note)
■ @CLINFO('ARR1','LIM',LIMITS)
store the extension in array LIMITS
■ @RANGES=ARR(1)
array of numbers (1=integers, note)
■ @CLINFO('ARR1','NI',RANGES)
store the bay/row/tier range in array RANGES
@BAYS=ARR(1)
@CLINFO('ARR1','BAYS',BAYS)
The typical use of the last alternative is in a macro such as the following one, plotting each row separately:
@ROW=ARR(1)
@NROWS=CLINFO('ARR1','ROWS',ROWS)
@FOR I=1,NROWS
PLOT ARR1 PO ROW=@ROWS(I)
TEXT 'Row=@ROW' 0 -2
TRANSLATE 0 25
@NEXT
A special case of the function returns a list of bays, rows or tiers, as defined in the owner numbering system:
CLINFO('ON','X',arr)
CLINFO('ON','Y',arr)
CLINFO('ON','Z',arr)
As a result, the owner numbers is the given direction are stored in the given array and the size of the array
is returned as the function value. The purpose of this service is to make it easier to write macros that need
the sequence of consecutive layers.
@ENDIF
@@ end of macro
The default in LIST CLC is to list loaded locations only and the subset selection SEL A gives all locations, also
the unloaded ones. In the example, this is added in order to be able to make the distinction between the first
and second answer.
8 Command specifications