SlideShare a Scribd company logo
Business Process Management
Exercise n.4
1 - Create the use case diagram according to the following elevator control system
functional requirements:
1. The elevator control system shall allow the passenger to call the elevator and to select the destination
floor;
2. When the passenger pushes the external button (to call the elevator), or the internal button (to select the
destination floor), the central control system switches the button light on;
3. When the passenger calls the elevator or selects the destination floor, the central control system
opens/closes the elevator door;
4. When the passenger calls the elevator or selects the destination floor, the central control system
moves/stops the elevator to/at the passenger call floor or to/at the passenger destination floor.
5. When the passenger leaves the elevator, the central control system switches the button light off.
Also, describe the use case “Select Floor” by specifying:
• Use case name
• Participating actors
• Description
• Entry conditions
• Flow of events (see use case description at point 3. Pay attention: consider JUST the
interface events)
• Exit conditions
2 - Create the Class diagram of the elevator control system.
3 - According to the following description of the “Select Floor” use case, create the
1) Sequence, the 2) Collaboration and the 3) Activity diagram:
1. The passenger pushes the destination floor button (internal button);
2. The internal button sends the system the order to select the direction (up/down);
3. The system changes the elevator status (from idle to busy);
4.The system switches the floor button (internal button) light on;
5. The system closes the elevator door;
6. The system moves the elevator according to the destination floor direction (up/down);
7. The elevator sends the system the order to control if the floor that the elevator is going to get through is
the destination one;
8. The system stops the elevator at the destination floor;
9. The system opens the door at the destination floor;
10. The passenger moves outside the elevator;
11. The system switches the internal button off.
4 - Create the Statechart diagram of the object “Elevator”.
Business Process Management
Solution 1. Use-case diagram of the “Elevator control system”
Passenger
Call Elavator Select Floor
Switch the Button
light on/off
«uses»
Open/Close Door Move/Stop Elevator
«uses»
«uses» «uses»
«uses»
«uses»
Solution 1. Description of the use case “Select Floor”
Use case name Select Floor
Participating actors Passenger
Description It allows to move the passenger to the desired floor.
Entry condition The passenger is inside the elevator
Flow of events 1. The passenger pushes the destination floor button
(internal button);
2.The system switches the floor button (internal
button) light on;
3. The system closes the elevator door;
4. The system moves the elevator according to the
destination floor direction (up/down);
5. The system stops the elevator at the destination
floor;
6. The system opens the door at the destination floor;
7. The passenger moves outside the elevator;
8. The system switches the floor internal button off.
Exit condition The passenger is outside the elevator in the desired
floor; the elevator is idle
Business Process Management
Solution 2. Class diagram of the “Elevator control system”
+Select direction()
+Control current floor()
Central Control System
+Switch the light()
-Lighted : Boolean
-Pushed : Boolean
Button
1
n
communicates
-Floor number : Integer
Internal Button External Button
+Move()
+Stop()
+Change status()
-Direction : Boolean
-Current floor : Integer
-Idle : Boolean
Elevator
+Open()
+Close()
-Closed : Boolean
Door
controls
1 1
communicates
Business Process Management
Solution 3. Sequence diagram of the use case “Select Floor”
Passenger
Internal Button Central Control System Elevator Door
Select floor number()
Switch the light(on)
Select direction(floor number)
Change status(busy)
Close()
Move(direction)
Control current floor (floor number)
Stop()
Open ()
Switch the light (off)
Business Process Management
Solution 3. Collaboration diagram of the use case “Select Floor”
Elevator
Central Control System Door
Internal Button
Passenger
1.
Select
floor
number
2. Select direction(floor number)
4. Switch the light(on)
10. Switch the light (off)
3.
Change
status(busy)
6.
Move(direction)
7.
Control
current
floor
(floor
number)
8.
Stop
()
5. Close()
9. Open ()
Business Process Management
Solution 3. Activity diagram of the use case “Select Floor”
Elevator Control System
Passenger
Push destination floor button
Close door
Change elevator status(from idle to busy)
Move elevator to destination floor direction
Select destination floor direction (up/down)
Control current floor
Stop elavator at destination floor
Open door at destination floor
Move outside the elavator
Switch external button light off
[<Current floor
NOT=
Destination floor>]
[<Current floor = Destination floor>]
Switch internal button light on
Business Process Management
Solution 4. Statechart diagram of the object “Elevator”
Going up Going down
At the floor
Move(up)/Direction=up
Stop()/Current floor=Floor number Stop()/Current floor=Floor number
Move(down)/Direction=down

More Related Content

What's hot

Online quiz system
Online quiz systemOnline quiz system
Online quiz system
roshidayu ibrahim
 
GUI components in Java
GUI components in JavaGUI components in Java
GUI components in Java
kirupasuchi1996
 
Online shopping cart system file
Online shopping cart system fileOnline shopping cart system file
Online shopping cart system file
Sunil Jaiswal
 
Software requirement specification for online examination system
Software requirement specification for online examination systemSoftware requirement specification for online examination system
Software requirement specification for online examination system
karthik venkatesh
 
Online bus ticket booking
Online bus ticket bookingOnline bus ticket booking
Online bus ticket booking
Gaurav kumar rai - student
 
Online Courier Management System
Online Courier Management SystemOnline Courier Management System
Online Courier Management System
WeTheCoders
 
HNDIT_SRI_LANKA
HNDIT_SRI_LANKAHNDIT_SRI_LANKA
HNDIT_SRI_LANKA
Thilini munasinghe
 
Project synopsis.
Project synopsis.Project synopsis.
Project synopsis.
ssuser3bb83f1
 
Course Registration System-Problem Statement, SRS,ERD, DFD, Structured Chart
Course Registration System-Problem Statement, SRS,ERD, DFD, Structured ChartCourse Registration System-Problem Statement, SRS,ERD, DFD, Structured Chart
Course Registration System-Problem Statement, SRS,ERD, DFD, Structured Chart
grandhiprasuna
 
Notification android
Notification androidNotification android
Notification android
ksheerod shri toshniwal
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
LOKENDRA PRAJAPATI
 
Software Engineering Assignment
Software Engineering AssignmentSoftware Engineering Assignment
Software Engineering AssignmentSohaib Latif
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
Baskarkncet
 
Software Requirement Specification Of Hotel Management System
Software Requirement Specification Of Hotel Management SystemSoftware Requirement Specification Of Hotel Management System
Software Requirement Specification Of Hotel Management System
Uttam Singh Chaudhary
 
Hotel management-system-hms
Hotel management-system-hmsHotel management-system-hms
Hotel management-system-hms
Miran Hussen
 
How to Make a Chatbot in Python | Edureka
How to Make a Chatbot in Python | EdurekaHow to Make a Chatbot in Python | Edureka
How to Make a Chatbot in Python | Edureka
Edureka!
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
Basit Hussain
 
Goal stack planning.ppt
Goal stack planning.pptGoal stack planning.ppt
Goal stack planning.ppt
SadagopanS
 
Online Food Ordering System Presentation
Online Food Ordering System PresentationOnline Food Ordering System Presentation
Online Food Ordering System Presentation
RohanRajMudvari
 

What's hot (20)

Online quiz system
Online quiz systemOnline quiz system
Online quiz system
 
GUI components in Java
GUI components in JavaGUI components in Java
GUI components in Java
 
Online shopping cart system file
Online shopping cart system fileOnline shopping cart system file
Online shopping cart system file
 
Software requirement specification for online examination system
Software requirement specification for online examination systemSoftware requirement specification for online examination system
Software requirement specification for online examination system
 
Online bus ticket booking
Online bus ticket bookingOnline bus ticket booking
Online bus ticket booking
 
Online Courier Management System
Online Courier Management SystemOnline Courier Management System
Online Courier Management System
 
HNDIT_SRI_LANKA
HNDIT_SRI_LANKAHNDIT_SRI_LANKA
HNDIT_SRI_LANKA
 
Project synopsis.
Project synopsis.Project synopsis.
Project synopsis.
 
Course Registration System-Problem Statement, SRS,ERD, DFD, Structured Chart
Course Registration System-Problem Statement, SRS,ERD, DFD, Structured ChartCourse Registration System-Problem Statement, SRS,ERD, DFD, Structured Chart
Course Registration System-Problem Statement, SRS,ERD, DFD, Structured Chart
 
Notification android
Notification androidNotification android
Notification android
 
Activity diagram
Activity diagramActivity diagram
Activity diagram
 
Software Engineering Assignment
Software Engineering AssignmentSoftware Engineering Assignment
Software Engineering Assignment
 
11 deployment diagrams
11 deployment diagrams11 deployment diagrams
11 deployment diagrams
 
The atm system
The atm systemThe atm system
The atm system
 
Software Requirement Specification Of Hotel Management System
Software Requirement Specification Of Hotel Management SystemSoftware Requirement Specification Of Hotel Management System
Software Requirement Specification Of Hotel Management System
 
Hotel management-system-hms
Hotel management-system-hmsHotel management-system-hms
Hotel management-system-hms
 
How to Make a Chatbot in Python | Edureka
How to Make a Chatbot in Python | EdurekaHow to Make a Chatbot in Python | Edureka
How to Make a Chatbot in Python | Edureka
 
Presentation Routing algorithm
Presentation Routing algorithmPresentation Routing algorithm
Presentation Routing algorithm
 
Goal stack planning.ppt
Goal stack planning.pptGoal stack planning.ppt
Goal stack planning.ppt
 
Online Food Ordering System Presentation
Online Food Ordering System PresentationOnline Food Ordering System Presentation
Online Food Ordering System Presentation
 

Similar to elevator problem.pdf

TYPICAL LIFT DESIGN (TRACTION AND HYDRAULIC LIFT) COMPONENTS AND OPERATIONS
TYPICAL LIFT DESIGN (TRACTION AND HYDRAULIC LIFT) COMPONENTS AND OPERATIONSTYPICAL LIFT DESIGN (TRACTION AND HYDRAULIC LIFT) COMPONENTS AND OPERATIONS
TYPICAL LIFT DESIGN (TRACTION AND HYDRAULIC LIFT) COMPONENTS AND OPERATIONS
IzwanSyahmi
 
Elevator Control System using Verilog
Elevator Control System using VerilogElevator Control System using Verilog
Elevator Control System using Verilog
VijayMaheshwari12
 
VIRA_Basics_of_Robot_Level_1.pptx
VIRA_Basics_of_Robot_Level_1.pptxVIRA_Basics_of_Robot_Level_1.pptx
VIRA_Basics_of_Robot_Level_1.pptx
SarafrajBeg1
 
Zio in real world
Zio in real worldZio in real world
Zio in real world
Wiem Zine Elabidine
 
CS-1(Ch.1).pdf
CS-1(Ch.1).pdfCS-1(Ch.1).pdf
CS-1(Ch.1).pdf
YashwinvYashu
 
Bs ii
Bs iiBs ii
Bs ii
ahmong4
 
FAST university has hired you to make an operating system fo.pdf
FAST university has hired you to make an operating system fo.pdfFAST university has hired you to make an operating system fo.pdf
FAST university has hired you to make an operating system fo.pdf
acupressuresujok
 
UNIT-1-MACHINERIES.pptx
UNIT-1-MACHINERIES.pptxUNIT-1-MACHINERIES.pptx
UNIT-1-MACHINERIES.pptx
dinesh babu
 
CIM ACT 3
CIM ACT 3CIM ACT 3
CIM ACT 3
Pepe Camacho
 
CIM
CIMCIM
Shaoge smc4 4-16a16b offline cnc controller
Shaoge smc4 4-16a16b offline cnc controllerShaoge smc4 4-16a16b offline cnc controller
Shaoge smc4 4-16a16b offline cnc controller
arco zhang
 
ASSIGNMENT DESCRIPTION.txtHOMEWORK 6This time, we continue o.docx
ASSIGNMENT DESCRIPTION.txtHOMEWORK 6This time, we continue o.docxASSIGNMENT DESCRIPTION.txtHOMEWORK 6This time, we continue o.docx
ASSIGNMENT DESCRIPTION.txtHOMEWORK 6This time, we continue o.docx
ssuser562afc1
 
Question 3 Lift System Automation FAST university has hire.pdf
Question 3  Lift System Automation FAST university has hire.pdfQuestion 3  Lift System Automation FAST university has hire.pdf
Question 3 Lift System Automation FAST university has hire.pdf
ADARSHPATNA
 
Ch6 v70 sfc_en
Ch6 v70 sfc_enCh6 v70 sfc_en
Ch6 v70 sfc_en
confidencial
 
01. boeing 727 ata 22 - autoflight
01. boeing 727   ata 22 - autoflight01. boeing 727   ata 22 - autoflight
01. boeing 727 ata 22 - autoflight
DiegoRuddyArcaineZeg
 
The Consultants Role
The Consultants RoleThe Consultants Role
The Consultants Role
ASHRAE Region VI
 
Introductiontoflowchart 110630082600-phpapp01
Introductiontoflowchart 110630082600-phpapp01Introductiontoflowchart 110630082600-phpapp01
Introductiontoflowchart 110630082600-phpapp01
VincentAcapen1
 

Similar to elevator problem.pdf (20)

TYPICAL LIFT DESIGN (TRACTION AND HYDRAULIC LIFT) COMPONENTS AND OPERATIONS
TYPICAL LIFT DESIGN (TRACTION AND HYDRAULIC LIFT) COMPONENTS AND OPERATIONSTYPICAL LIFT DESIGN (TRACTION AND HYDRAULIC LIFT) COMPONENTS AND OPERATIONS
TYPICAL LIFT DESIGN (TRACTION AND HYDRAULIC LIFT) COMPONENTS AND OPERATIONS
 
Elevator Control System using Verilog
Elevator Control System using VerilogElevator Control System using Verilog
Elevator Control System using Verilog
 
VIRA_Basics_of_Robot_Level_1.pptx
VIRA_Basics_of_Robot_Level_1.pptxVIRA_Basics_of_Robot_Level_1.pptx
VIRA_Basics_of_Robot_Level_1.pptx
 
Zio in real world
Zio in real worldZio in real world
Zio in real world
 
CS-1(Ch.1).pdf
CS-1(Ch.1).pdfCS-1(Ch.1).pdf
CS-1(Ch.1).pdf
 
Bs ii
Bs iiBs ii
Bs ii
 
FAST university has hired you to make an operating system fo.pdf
FAST university has hired you to make an operating system fo.pdfFAST university has hired you to make an operating system fo.pdf
FAST university has hired you to make an operating system fo.pdf
 
Lect 3-4 Zaheer Abbas
Lect 3-4 Zaheer AbbasLect 3-4 Zaheer Abbas
Lect 3-4 Zaheer Abbas
 
UNIT-1-MACHINERIES.pptx
UNIT-1-MACHINERIES.pptxUNIT-1-MACHINERIES.pptx
UNIT-1-MACHINERIES.pptx
 
CIM ACT 3
CIM ACT 3CIM ACT 3
CIM ACT 3
 
CIM
CIMCIM
CIM
 
Shaoge smc4 4-16a16b offline cnc controller
Shaoge smc4 4-16a16b offline cnc controllerShaoge smc4 4-16a16b offline cnc controller
Shaoge smc4 4-16a16b offline cnc controller
 
ASSIGNMENT DESCRIPTION.txtHOMEWORK 6This time, we continue o.docx
ASSIGNMENT DESCRIPTION.txtHOMEWORK 6This time, we continue o.docxASSIGNMENT DESCRIPTION.txtHOMEWORK 6This time, we continue o.docx
ASSIGNMENT DESCRIPTION.txtHOMEWORK 6This time, we continue o.docx
 
Question 3 Lift System Automation FAST university has hire.pdf
Question 3  Lift System Automation FAST university has hire.pdfQuestion 3  Lift System Automation FAST university has hire.pdf
Question 3 Lift System Automation FAST university has hire.pdf
 
Control chap1
Control chap1Control chap1
Control chap1
 
Ch6 v70 sfc_en
Ch6 v70 sfc_enCh6 v70 sfc_en
Ch6 v70 sfc_en
 
01. boeing 727 ata 22 - autoflight
01. boeing 727   ata 22 - autoflight01. boeing 727   ata 22 - autoflight
01. boeing 727 ata 22 - autoflight
 
The Consultants Role
The Consultants RoleThe Consultants Role
The Consultants Role
 
258lec11
258lec11258lec11
258lec11
 
Introductiontoflowchart 110630082600-phpapp01
Introductiontoflowchart 110630082600-phpapp01Introductiontoflowchart 110630082600-phpapp01
Introductiontoflowchart 110630082600-phpapp01
 

More from Jayaprasanna4

ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
Jayaprasanna4
 
Human computer Interaction ch1-the human.pdf
Human computer Interaction ch1-the human.pdfHuman computer Interaction ch1-the human.pdf
Human computer Interaction ch1-the human.pdf
Jayaprasanna4
 
computer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.pptcomputer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.ppt
Jayaprasanna4
 
HUman computer Interaction Socio-organizational Issues.ppt
HUman computer Interaction Socio-organizational Issues.pptHUman computer Interaction Socio-organizational Issues.ppt
HUman computer Interaction Socio-organizational Issues.ppt
Jayaprasanna4
 
human computer Interaction cognitive models.ppt
human computer Interaction cognitive models.ppthuman computer Interaction cognitive models.ppt
human computer Interaction cognitive models.ppt
Jayaprasanna4
 
World wide web and Hyper Text Markup Language
World wide web and Hyper Text Markup LanguageWorld wide web and Hyper Text Markup Language
World wide web and Hyper Text Markup Language
Jayaprasanna4
 
CI-Monte-Carlo.ppt
CI-Monte-Carlo.pptCI-Monte-Carlo.ppt
CI-Monte-Carlo.ppt
Jayaprasanna4
 
Activity planning.ppt
Activity planning.pptActivity planning.ppt
Activity planning.ppt
Jayaprasanna4
 
Cost effort.ppt
Cost effort.pptCost effort.ppt
Cost effort.ppt
Jayaprasanna4
 
Activity planning.ppt
Activity planning.pptActivity planning.ppt
Activity planning.ppt
Jayaprasanna4
 
BGP.ppt
BGP.pptBGP.ppt
BGP.ppt
Jayaprasanna4
 
Lecture 19- Multicasting.ppt
Lecture 19- Multicasting.pptLecture 19- Multicasting.ppt
Lecture 19- Multicasting.ppt
Jayaprasanna4
 
line coding.ppt
line coding.pptline coding.ppt
line coding.ppt
Jayaprasanna4
 
error detection.ppt
error detection.ppterror detection.ppt
error detection.ppt
Jayaprasanna4
 
connecting LANs.pptx
connecting LANs.pptxconnecting LANs.pptx
connecting LANs.pptx
Jayaprasanna4
 
CS1302 06NOV.pdf
CS1302 06NOV.pdfCS1302 06NOV.pdf
CS1302 06NOV.pdf
Jayaprasanna4
 
session and cookies.ppt
session and cookies.pptsession and cookies.ppt
session and cookies.ppt
Jayaprasanna4
 
JDBC.ppt
JDBC.pptJDBC.ppt
JDBC.ppt
Jayaprasanna4
 

More from Jayaprasanna4 (20)

ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
ethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.pptethical hacking in wireless-hacking1.ppt
ethical hacking in wireless-hacking1.ppt
 
Human computer Interaction ch1-the human.pdf
Human computer Interaction ch1-the human.pdfHuman computer Interaction ch1-the human.pdf
Human computer Interaction ch1-the human.pdf
 
computer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.pptcomputer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.ppt
 
HUman computer Interaction Socio-organizational Issues.ppt
HUman computer Interaction Socio-organizational Issues.pptHUman computer Interaction Socio-organizational Issues.ppt
HUman computer Interaction Socio-organizational Issues.ppt
 
human computer Interaction cognitive models.ppt
human computer Interaction cognitive models.ppthuman computer Interaction cognitive models.ppt
human computer Interaction cognitive models.ppt
 
World wide web and Hyper Text Markup Language
World wide web and Hyper Text Markup LanguageWorld wide web and Hyper Text Markup Language
World wide web and Hyper Text Markup Language
 
CI-Monte-Carlo.ppt
CI-Monte-Carlo.pptCI-Monte-Carlo.ppt
CI-Monte-Carlo.ppt
 
Activity planning.ppt
Activity planning.pptActivity planning.ppt
Activity planning.ppt
 
Cost effort.ppt
Cost effort.pptCost effort.ppt
Cost effort.ppt
 
Activity planning.ppt
Activity planning.pptActivity planning.ppt
Activity planning.ppt
 
unit-1.ppt
unit-1.pptunit-1.ppt
unit-1.ppt
 
BGP.ppt
BGP.pptBGP.ppt
BGP.ppt
 
Lecture 19- Multicasting.ppt
Lecture 19- Multicasting.pptLecture 19- Multicasting.ppt
Lecture 19- Multicasting.ppt
 
line coding.ppt
line coding.pptline coding.ppt
line coding.ppt
 
error detection.ppt
error detection.ppterror detection.ppt
error detection.ppt
 
connecting LANs.pptx
connecting LANs.pptxconnecting LANs.pptx
connecting LANs.pptx
 
CS1302 06NOV.pdf
CS1302 06NOV.pdfCS1302 06NOV.pdf
CS1302 06NOV.pdf
 
session and cookies.ppt
session and cookies.pptsession and cookies.ppt
session and cookies.ppt
 
JDBC.ppt
JDBC.pptJDBC.ppt
JDBC.ppt
 

Recently uploaded

CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
AhmedHussein950959
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 

Recently uploaded (20)

CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
ASME IX(9) 2007 Full Version .pdf
ASME IX(9)  2007 Full Version       .pdfASME IX(9)  2007 Full Version       .pdf
ASME IX(9) 2007 Full Version .pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 

elevator problem.pdf

  • 1. Business Process Management Exercise n.4 1 - Create the use case diagram according to the following elevator control system functional requirements: 1. The elevator control system shall allow the passenger to call the elevator and to select the destination floor; 2. When the passenger pushes the external button (to call the elevator), or the internal button (to select the destination floor), the central control system switches the button light on; 3. When the passenger calls the elevator or selects the destination floor, the central control system opens/closes the elevator door; 4. When the passenger calls the elevator or selects the destination floor, the central control system moves/stops the elevator to/at the passenger call floor or to/at the passenger destination floor. 5. When the passenger leaves the elevator, the central control system switches the button light off. Also, describe the use case “Select Floor” by specifying: • Use case name • Participating actors • Description • Entry conditions • Flow of events (see use case description at point 3. Pay attention: consider JUST the interface events) • Exit conditions 2 - Create the Class diagram of the elevator control system. 3 - According to the following description of the “Select Floor” use case, create the 1) Sequence, the 2) Collaboration and the 3) Activity diagram: 1. The passenger pushes the destination floor button (internal button); 2. The internal button sends the system the order to select the direction (up/down); 3. The system changes the elevator status (from idle to busy); 4.The system switches the floor button (internal button) light on; 5. The system closes the elevator door; 6. The system moves the elevator according to the destination floor direction (up/down); 7. The elevator sends the system the order to control if the floor that the elevator is going to get through is the destination one; 8. The system stops the elevator at the destination floor; 9. The system opens the door at the destination floor; 10. The passenger moves outside the elevator; 11. The system switches the internal button off. 4 - Create the Statechart diagram of the object “Elevator”.
  • 2. Business Process Management Solution 1. Use-case diagram of the “Elevator control system” Passenger Call Elavator Select Floor Switch the Button light on/off «uses» Open/Close Door Move/Stop Elevator «uses» «uses» «uses» «uses» «uses» Solution 1. Description of the use case “Select Floor” Use case name Select Floor Participating actors Passenger Description It allows to move the passenger to the desired floor. Entry condition The passenger is inside the elevator Flow of events 1. The passenger pushes the destination floor button (internal button); 2.The system switches the floor button (internal button) light on; 3. The system closes the elevator door; 4. The system moves the elevator according to the destination floor direction (up/down); 5. The system stops the elevator at the destination floor; 6. The system opens the door at the destination floor; 7. The passenger moves outside the elevator; 8. The system switches the floor internal button off. Exit condition The passenger is outside the elevator in the desired floor; the elevator is idle
  • 3. Business Process Management Solution 2. Class diagram of the “Elevator control system” +Select direction() +Control current floor() Central Control System +Switch the light() -Lighted : Boolean -Pushed : Boolean Button 1 n communicates -Floor number : Integer Internal Button External Button +Move() +Stop() +Change status() -Direction : Boolean -Current floor : Integer -Idle : Boolean Elevator +Open() +Close() -Closed : Boolean Door controls 1 1 communicates
  • 4. Business Process Management Solution 3. Sequence diagram of the use case “Select Floor” Passenger Internal Button Central Control System Elevator Door Select floor number() Switch the light(on) Select direction(floor number) Change status(busy) Close() Move(direction) Control current floor (floor number) Stop() Open () Switch the light (off)
  • 5. Business Process Management Solution 3. Collaboration diagram of the use case “Select Floor” Elevator Central Control System Door Internal Button Passenger 1. Select floor number 2. Select direction(floor number) 4. Switch the light(on) 10. Switch the light (off) 3. Change status(busy) 6. Move(direction) 7. Control current floor (floor number) 8. Stop () 5. Close() 9. Open ()
  • 6. Business Process Management Solution 3. Activity diagram of the use case “Select Floor” Elevator Control System Passenger Push destination floor button Close door Change elevator status(from idle to busy) Move elevator to destination floor direction Select destination floor direction (up/down) Control current floor Stop elavator at destination floor Open door at destination floor Move outside the elavator Switch external button light off [<Current floor NOT= Destination floor>] [<Current floor = Destination floor>] Switch internal button light on
  • 7. Business Process Management Solution 4. Statechart diagram of the object “Elevator” Going up Going down At the floor Move(up)/Direction=up Stop()/Current floor=Floor number Stop()/Current floor=Floor number Move(down)/Direction=down