• Non ci sono risultati.

problem requirements

N/A
N/A
Protected

Academic year: 2021

Condividi "problem requirements"

Copied!
12
0
0

Testo completo

(1)

DB M G

Conceptual design

Design example:

problem requirements

(2)

DB M G

2

Problem requirements

The AirQ company monitors and analyzes the quality of air in cities and wants to design a databaseto manage its activities

(3)

DB M G

3

Problem requirements

AirQ analyses the concentration of various pollutants such as carbon monoxide and nitrogen dioxide. Each pollutant is identified by a code and it is characterized by its name, a brief description, the measurement unit and a list of the main causes of production of the

pollutant (e.g. vehicular traffc, heating systems, industrial activity)

(4)

DB M G

Pollutant

MainCauses (1,N)

Description Name

PCode

MeasurementUnit

Draft solution

(5)

DB M G

5

Problem requirements

The employees of the AirQ company are identified by their social security number (SSN). For each employee, the name, the hire date, the mobile

phone number and the e-mail address (if available) are known. Employees are classified as

administrative staff, technical staff and analysts. For analysts, the qualification is recorded. The database stores the holiday periods (start date, end date) for each employee. Note that different employees may be on holiday at the same time.

(6)

DB M G

Holiday

StartDate EndDate

(1,1)

(0,N)

Name HireDate

MobilePhone#

e-mail (0,1)

Employee

SSN

Administrative

Staff Technical

Staff Analyst

Qualification (t,e)

Pollutant

MainCauses (1,N)

Description Name

PCode

MeasurementUnit

Draft solution

(7)

DB M G

7

Problem requirements

A network of fixed stations is exploited to

monitor the concentration of pollutants. Each station is characterized by a unique code and its geographical position, expressed in terms of

latitude and longitude. Each station includes different sensors. Each sensor is identified by a unique code and it is characterized by the

station where it is placed and the monitored pollutant.

(8)

DB M G

8

Holiday

StartDate EndDate

(1,1)

(0,N)

Name HireDate

MobilePhone#

e-mail (0,1)

Employee

SSN

Administrative

Staff Technical

Staff Analyst

Qualification (t,e)

End

Time Start Time Issues

(0,N)

Station

SCode

Lat

Long

IN(1,1) (1,N)

Sensor

SeCode

Pollutant

(1,1) (0,N)

MainCauses (1,N)

Description Name

PCode

MeasurementUnit Monitors

Date

Draft solution

(9)

DB M G

9

Problem requirements

The sensor measurements are stored in the

database. Each measurement has a value and it is identified by the sensor, the date and the time when it was collected. Each month a report summarizing measured concentrations for various pollutants is generated. Each report is identified by a unique code and is characterized by the release date and the list of measurements included in the report itself. Each measurement is used in at most a

report. For each report, the analyst who performed the verification and validation of the report is also recorded.

(10)

DB M G

10

Holiday

StartDate EndDate

(1,1)

(0,N)

Name HireDate

MobilePhone#

e-mail (0,1)

Employee

SSN

Administrative

Staff Technical

Staff Analyst

Qualification (t,e)

End

Time Start Time

Date Issues

(0,N)

Station

SCode

Lat

Long

IN(1,1) (1,N)

Sensor

SeCode

Pollutant

(1,1) (0,N)

MainCauses (1,N)

Description Name

PCode

MeasurementUnit

Measurement

(0,N)

(1,1) Monitors

Date

Time Value

(1,1) IN (1,N)

Report

Release Date

RCode CHECKED BY (0,N)

(1,1)

Draft solution

(11)

DB M G

11

Problem requirements

In case of a station failure, a maintenance

operation for the station is carried out. For each maintenance operation the database stores the date, the start and end time of the intervention, the station involved, the technician who carried out the maintenance and the issues that caused the failure. Please consider that different

maintenance operations can be performed for the same station on the same date. However, a technician cannot perform two or more

maintenance operations simultaneously.

(12)

DB M G

12

Holiday

StartDate EndDate

(1,1)

(0,N)

Name HireDate

MobilePhone#

e-mail (0,1)

Employee

SSN

Administrative

Staff Technical

Staff Analyst

Qualification (t,e)

(1,1) Performed

Maintenance Operation

End

Time Start Time

Date Issues

(1,N)

(1,1)

(0,N)

Station

For

SCode

Lat

Long

IN(1,1) (1,N)

Sensor

SeCode

Pollutant

(1,1) (0,N)

MainCauses (1,N)

Description Name

PCode

MeasurementUnit

Measurement

(0,N)

(1,1) Monitors

Date

Time Value

(1,1) IN (1,N)

Report

Release Date

RCode CHECKED BY (0,N)

(1,1) (0,N)

Draft solution

Riferimenti

Documenti correlati

For each maintenance operation the database stores the date, the start and end time of the intervention, the station involved, the technician who carried out the maintenance

For each maintenance operation the database stores the date, the start and end time of the intervention, the station involved, the technician who carried out the maintenance and

The required volumes of construction allow to estimate in less detail volumes of financial resources which have to be spent from means of the city budget and also the

In questo studio la mediana della ioduria (IU) era al di sotto dei valori giudicati adeguati (88 µg/l durante il primo trimestre e 140 µg/l durante il secondo

Canopy has been divided into Upper (U) and Lower (L) sections, in the Outside (O) and Inside (I) leaf layers, and Abaxial (B) and Adaxial (D) leaf surface; acronyms of the

In particular, the first step of the Exohab1 project is presented here, achieved with the testing of a mission simulation performed with the ExoLab module - appositely developed as

Such variety of gain layers will allow identifying the most radiation hard technology to be employed in the production of UFSD, to extend their radiation resistance beyond the current

So there are special mechanisms which recognise abnormal protein molecules and degrade them to their individual amino acids.. These mechanisms depend on enzymes that can chew