Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Domain Model

<Provide a diagram showing important real-situation conceptual classes in the application domain. Do NOT include software classes. Describe each of the conceptual classes in a glossary.>

Image Removed

This is the domain model. It represents all concepts and attributes that are present within Regterschot Racing's desire for our application. This model shows all concepts as yellow squares, with the attributes underneath the concepts they belong to. Between the squares are lines that represent the interaction between the different concepts. The arrow on the lines indicate in which way the concepts interact with each other. Next to the line, near the concepts are numbers and asterisks that represent how many interactions on concept has with another concept. The line between Tab and Graph for example shows us that every 1 tab consists of 0 or more graphs.

An explanation of all terms found in the domain model can be found below.

Image Added

figure 1: Domain model

As visible in the diagram above, a user is a generalization of both crewmembers and viewers. A crewmember can perform certain actions within the domain than a viewer, therefore the user concept has been split. The crewmember and viewer do however have the same attributes as a player, so they will inherit those attributes from the user. 

Glossary

LineGraphA circle that shows data with the size of the pieces in the circle.
ConceptDescription
RegterschotRacingCompany The company that wants us to build a zero-emission race car for amateur racingan application to view data from a racecar's sensors in real-time. RegterschotRacing manages who gets to use the application and which races the application will be used at.
UserThe person that uses the Regterschot Racing dashboard.application. A user can either be a Crewmember or a Viewer
UsernameThe name the user will use.
PasswordThe hashed key of the account of that the user utilizes. (is hashed)
TokenAuthenticates the user.

Dashboard

Dashboard shows every stat of the race car. Shows tabs so that the user can filter what they want to see.
RacerThe racer you choose decides the dashboard you get.
The code used to authenticate a user into one of the two user roles.
CrewmemberA person who is part of the Regterschot Racing racing team that reads and analyses the real-time data from the racecar.
ViewerA person who wants to view the race but has no access to the real-time data dashboards.
RaceThe race where the racecar will be used.
LapThe laps that make up the race.

Dashboard

A dashboard shows all relevant statistics and data received from the racecar. This dashboard is updated in real-time or shows data of one or more specific rounds.
RacecarThe racecar that the dashboard is showing the data for.
TabA part of the dashboard where graphs can be loaded into.TabShows the graphs that belong to the tab name. 
NameName of the tab.
SensorA device that measures or detects data the way its it's used for.
DataValues of the sensor.
TimeStampTimestampTime stamp Timestamp that the data uses.
WheelSpeedSends the amount that the wheel spins in rounds per minute.
RPMRounds per minute.
TimeStampTime stamp given with the RPM.
RaceCarCar that is used by the racer on the racing track.
GraphShows the data produced by the sensors.
ColorColor used for the data in the graph.
TimeScopeStart time and end time of the graph.
RaceteamA graph that shows the data with a line.
BarGraphA graph that shows the data through the heights of the bars.
SpeedoMeterShows the speed the racer is driving.
MinSpeedMinimal speed used for the speedometer.
MaxSpeedMaximal speed used for the speedometer.
PieChart
The team that participates in a race that consists of crewmembers and racers.
Namethe name for the raceteam.
RacecarThe car participating in the race.
BrandThe brand of the car.
TypeThe type of racecar. For example '320 4fl E46'.

Table 1: Domain model glossary