Accounting - CAESAR II - Help

CAESAR II Users Guide

Language
Русский
Product
CAESAR II
Search by Category
Help
CAESAR II Version
12

Main window ribbon: Utilities > Tools > Accounting

Displays the CAESAR II Accounting Dialog Box, where you control all pricing factors for jobs.

The total price of any job is computed from:

IF (C4 > 0.0) THEN

cost = C1*cputime + (C2*nodes + C3*elements) * C4 * numcases + C5

ELSE

cost = C1*cputime + (C2*nodes + C3*elements) + C5

ENDIF

You can enter C1, C2, C3, C4, and C5 one time, and change them only when necessary. Any of the constants may be zero, but at least one constant must be greater than zero.

CAESAR II Accounting is an optional module. If you do not need to keep accounting records of your jobs, you can disregard this module.

You can generate accounting reports on a per-run basis and the software summarizes them on a per-account basis. This module also lets you:

  • Generate reports for any requested combination of account numbers.

  • Define account numbers, which may contain up to 25 alphanumeric characters.

  • Control account and software access using the optional password protection feature (accessed by selecting the Type 2 accounting method).

  • Identify account numbers for each job using either of the following two methods:

    • Select the account number from a table of allowed account numbers. Otherwise, the system defaults to the last valid account number input. The account manager sets up and maintains the account number table.

    • Enter an account number, which can be any non-blank string, in a text box. There is no default, but your entry must match one of the allowed account numbers previously input by the account manager.

      • Access to the available account number list is password protected.

      • If you do not have a valid account number, the run is not permitted.

Accounting File Structure

The CAESAR II accounting file (ACCTG.DAT) contains all of the information used by CAESAR II to produce accounting reports. The file format allows you to create a program to access or manipulate the file. You can open the accounting file (in FORTRAN) with the following:

OPEN(1,FILE=’ACCTG.DAT’,STATUS=’OLD’,FORM=’BINARY’, ACCESS=’DIRECT’,RECL=55)

The following information is stored on each record:

Variable

Type

Definition

JOBNAME

CHARACTER*8

Name of the job being run

ICPUTIME

INTEGER*4

Analysis CPU time used (Seconds)

NODES

INTEGER*2

Number of nodes in the job

NELEMS

INTEGER*2

Number of elements in the job

NLOADS

INTEGER*2

Number of load cases in the job

MYEAR

INTEGER*2

Year the job was run

MMONTH

INTEGER*2

Month the job was run

MDAY

INTEGER*2

Day of the month the job was run

MHOUR

INTEGER*2

Hour of the day the job was run

MMINUTE

INTEGER*2

Minutes of the hour when the job was run

MSECOND

INTEGER*2

Seconds of the minute when the job was run

ACCOUNTNO

CHARACTER*25

Account number to be billed for job

The first record contains only a single integer value (ILAST), giving the last valid record number in the accounting file. The number of job entries is equal to (ILAST-1). This first record may be read:

READ(1,REC=1) ILAST