logo

Formal Specification in Z for the Container Control System

   

Added on  2023-06-07

10 Pages1641 Words488 Views
Running head: FORMAL SPECIFICATION IN Z
Formal Specification in Z for the Container Control
System
Name of the Student
Name of the University
Author’s note

1FORMAL SPECIFICATION IN Z
Introduction:
Z-is a formal specification notation that describes the systems that are purely
computer based. Zermelo-Fraenkel set theory and first order predicate logic are used by Z-
Language to present the system behaviour and operations. The PRG or programming research
group has developed this schema language.
The study has presented various Z-Schema notations for operations of Terminal
Container Control System. The initialization of all the global variables are presented in the
study. There are total eight operations presented as Z-notation in this study.
Z-Schema Notations:
initContainer
id: containerID
containerID: ID containerID
known = domContainer
initContainer
ΞTERMINAL
Known =
intTerminal
name: terminalName
terminalName: NAME TERMINALNAME
storage:
storage: ℕ
known = domterminal
intQue
que:
existingVehicle:
que2

2FORMAL SPECIFICATION IN Z
intDeivery
vehicleID:
numberOfVehcile:
frieghtCompany: FRIEGHTCOMPANY
currentLoad:
ton:
qty:
numberOfVehcile 5
storage ton*qty
currentLoad storage
intPickup
vehicleID:
vehicleID: VEHICLEID Delivery
ton:
qty:
known = domvehicleid
Figure 1: Initializing Operation
(Source: Created by Author)
The above Z-notation shows the initialization of the variables. All the variables to be
used in the operations is initialized in the above section. The Known = means that the
terminal table is empty. There is no data in the terminal entity. The initialization states that
the number of vehicles loading or unloading container terminal must be 5 or less than five.
The number of que is have to be 2. The storage of the container must be greater than the
delivery amount.

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Z-Language: Formal Specification Language for Software Systems
|7
|793
|206

Formal System Specification using Z-Language
|7
|753
|355

Formal Specification in Z for Terminal Container Control System
|8
|1135
|317

Z-LANGUAGE: Container Control System Z-Specification
|10
|1455
|127

Z-Language: Container Control System
|11
|1578
|494

Z Notation for Container Control System
|10
|1761
|150