Low Level Function
3.1.4.3 Calculate Occupancy for individual Car Park Spaces

Overview

This Function shall be capable of providing the following facilities:

(1) The ability to monitor the occupancy of individual car park spaces.
(2)  When it is detected that a new Vehicle has arrived in a space the ability to provide this information to the functionality that calculates the car park occupancy status and the functionality that collects payment for the use of the car park space.
(3) If the functionality that collects payment for the use of the car park space responds with an indication that either no payment has been received, or that there is no time left, that a warning message shall be output to the Vehicle Driver and details of the situation sent to functionality that processes the violation of traffic regulations.
(4) If the functionality that collects payment for the use of the car park space responds with an indication that there is a valid amount of time remaining then the ability to monitor this time and to send a warning message to the Vehicle Driver when that time is about to expire.
(5) If the Vehicle over stays its paid for (or permitted) time, the ability to send details of the situation sent to functionality that processes the violation of traffic regulations.

Functional Requirements

(a) continuously monitor the receipt of the car park space occupancy data flow
(b) when the data flow in (a) shows that a new vehicle has parked in a space, re-start the space occupancy timer from zero and send the vehicle in space data flow to the Payment for Car Park Space Use function, plus the car park space occupied data flow to the Calculate Car Park Occupancy and Status function
(c) if the payment result data flow is received showing that payment was refused, send the illegal car park space occupancy message to the driver
(d) if the vehicle remains in the space after the output of the message in (c), and no confirmation of payment is received in the payment result data flow, then send the illegal car park space occupancy data flow to the Provide Support for Law Enforcement functionality
(e) when the occupancy time for car park space data flow is received, update the maximum time allowed for vehicles to occupy a car park space
(f) if the count of the time in a space in (b) reaches the value just short of that in (c), send the illegal car park space occupancy message to the driver
(g) if the count of the time in a space in (b) reaches the value in (c), send the illegal car park space occupancy data flow to the Provide Support for Law Enforcement functionality

Diagrams

The Diagram(s) is (are) the diagram(s) where you can find the function :
  • DFD 3.1.4 Provide Management of Car Parks
  • Functional tree 3.1
  • Parent Higher Level Function

    Input logical dataflows

    Output logical dataflows

    User needs

    Number

    Description