Presentation is loading. Please wait.

Presentation is loading. Please wait.

 Design a heating, ventilation and air conditioning (HVAC) system for a typical office building.  D1.2. O diagrama de use-case-uri, alaturi de explicatii.

Similar presentations


Presentation on theme: " Design a heating, ventilation and air conditioning (HVAC) system for a typical office building.  D1.2. O diagrama de use-case-uri, alaturi de explicatii."— Presentation transcript:

1  Design a heating, ventilation and air conditioning (HVAC) system for a typical office building.  D1.2. O diagrama de use-case-uri, alaturi de explicatii textuale cu privire la fiecare caz de utilizare.  D1.3. O schita a interfeti utilizator si a modelului de interactionare cu utilizatorul.  modelul arhitectural al aplicatiei. Va trebui sa fie specifcat: partea care va fi implementata in Java si de asemenea partea care va fi implementata in JESS, precum si modul de interactiune dintre aceste module ale aplicatiei. (D2.1)  modelul orientat - obiect al aplicatiei (diagrama de clasa pentru partea de Java a aplicatiei, insotita de 1-2 diagrame de secventa, 1-2 diagrame de activitate si explicatii). (D2.2) 8/16/2015 1

2 Name:* HVAC controller Iteration: 1.0 Brief description: Our team creates a software for Heating, Ventilation and Air Conditioning (HVAC) which can be use in a offices building. Added value: The offices are comfortable, therefore companies employees are more productive. Scope: An HVAC controller for offices building. Primary actor:* Offices building Owners Supporting actors: HVAC team-5 Precondition: To have a company in an offices building. 8/16/2015 2

3 Main Success Scenario: 1. Offices building Owners buys an air conditioning system on average every ten years. 2. Offices building Owners buys a heating system on average every 15 years. 3. Offices building Owners performs maintenance on the air conditioner in May. 4. Offices building Owners performs maintenance on the heater in November. 8/16/2015 3

4 Unanchored Alternate Flow: Offices building Owners performs repairs on the HVAC system whenever a component fails. Specific Requirements Functional Requirement: Offices building Owners shall buy, maintain and repair an HVAC system [from HVAC use case].* Nonfunctional Requirement: Offices building Owners desires maintenance services when scheduled and repair services within 48 hours [from customer interviews]. 8/16/2015 4

5 Iteration: 2.0 Brief description: Maintain the room temperature (roomTemp) between lowerThreshold (see Rule1) and upperThreshold (see Rule2) degrees Fahrenheit using a Heater and an Air Conditioner (AC). Added value: The office building are comfortable, therefore companies employees are more productive. Scope: An HVAC controller for offices building. Primary actor: Offices building Owners Supporting actors: Heater and Air Conditioner Precondition: The system is turned on and the roomTemp is between lowerThreshold and upperThreshold. 8/16/2015 5

6 Main Success Scenario: 1. The system senses roomTemp. 2a. The roomTemp exceeds upperThreshold. 3. The system turns on the Air Conditioner. 4. The roomTemp drops below upperThreshold. 5. The system turns off the AC [repeat at step 1]. Anchored Alternate Flow: 2b. The roomTemp drops below lowerThreshold. 2b1. The system turns on the Heater. 2b2. The roomTemp exceeds lowerThreshold. 2b3. The system turns off the Heater [repeat at step 1]. 8/16/2015 6

7 Specific Requirements Functional Requirements: 1. The system shall be capable of turning the AC on and off [from Regulate Temperature use case, steps 3 and 5]. 2. The system shall be capable of turning the Heater on and off [from Regulate Temperature use case, steps 2b1 and 2b3]. 3. The system shall be capable of sensing room temperature [from Regulate Temperature use case, step 1]. Rules: Rule1: lowerThreshold default value is 70 degrees F. Rule2: upperThreshold default value is 73 degrees F. 8/16/2015 7

8 Name: Display System Status Brief description: Indicate the health of the system Added value: Offices building Owners knows if the system is working properly. Scope: An HVAC controller for offices buildings Primary actor: Offices building Owners Frequency: Typically once a day Main Success Scenario: 1. Offices building Owners asks the system for its status. 2. Each component in the system reports its status to the Controller. 3. The system accepts this information and updates the System Status display. 4. Offices building Owners observes the System Status [exit use case]. 8/16/2015 8

9 Alternate flows go here. Specific Requirements Functional Requirements: 1. Each component shall have the capability to report its status to the Controller [from Display System Status use case, step 2]. 2. The system shall be capable of displaying System Status [from Display System Status use case, step 3]. 8/16/2015 9

10 10 Heater heatAir() Air Conditioner coolAir() Regulate Temperature Display System Status Offices building Owners

11 Iteration: 2.0 Brief description: When it is hot outside, use an Air Conditioner (AC) to maintain the room temperature (roomTemp) between ACLowerLimit and ACUpperLimit degrees Fahrenheit. Added value: The Offices are comfortable, therefore companies employees are more productive. Scope: An HVAC controller for a offices building. Primary actor: Offices building Owners Supporting actor: Air Conditioner Frequency: The system operates continuously. Precondition: Offices Owners has turned on the cooling system and the roomTemp is between ACLowerLimit and ACUpperLimit. 8/16/2015 11

12 Brief description: When it is cold outside maintain the roomTemp between heaterLowerLimit (see Rule2) and heaterUpperLimit (see Rule3) degrees Fahrenheit using a Heater. Added value:* The Offices are comfortable, therefore companies employees are more productive. Goal:* Maintain offices at a comfortable temperature Scope: : An HVAC controller for a offices building. Primary actor: Offices building Owners Supporting actor: Heater Frequency: The system operates continuously. Precondition: The heating system is on and the roomTemp is between heaterLowerLimit and heaterUpperLimit. 8/16/2015 12

13 Main Success Scenario: 1. The system is sensing roomTemp. 2. The roomTemp falls below heaterLowerLimit. 3. The system turns on the Heater [in accordance with Rule1]. 4. The roomTemp rises to heaterUpperLimit. 5. The system turns off the Heater [Rule1] [go to step 1]. Unanchored Alternate Flow: 1. Companies employees turns off Heater [exit use case]. Specific Requirements Functional Requirements: 1. The system shall turn the Heater on and off [from steps 3 and 5 of the Heat Offices use case]. 2. The system shall sense room temperature [from step 1 of the Heat Offices use case]. 8/16/2015 13

14 Nonfunctional performance requirement: On-off cycles should last at least 15 minutes [from interview with Chief Systems Engineer]. Rules: Rule1: When the Heater is on, turn the Fan on. When the Heater is off, turn the Fan off. Rule2: heaterLowerLimit default value is 70 degrees F. Rule3: heaterUpperLimit default value is 71 degrees F. 8/16/2015 14

15 Iteration: 2.0 Brief description: The system shall monitor the health of each object in the system and display the status of the complete system. The display could be a simple go/no- go or it might be more sophisticated. Added value: Offices building Owners knows if the system is working properly. Scope: An HVAC controller for a offices building. Primary actor: Offices building Owners Frequency: The system shall display system status continuously. Main Success Scenario: 1. The Fan reports status to the Controller. 2. The Air Conditioner reports status to the Controller. 3. The Heater reports status to the Controller. 8/16/2015 15

16 4. The Thermostat reports status to the Controller. 5. The Controller computes the System Status and sends results to the Display. 6. The Displays shows the System Status. 7. Home Owner observes the System Status periodically [repeat at step 1]. Specific Requirements Functional Requirements: 1. Each component shall report its status to the Controller [from steps 1 to 5 of the Display System Status use case]. 2. The system shall display System Status. Nonfunctional requirement: System Status shall be displayed within 2 seconds of request. 8/16/2015 16

17 8/16/2015 17 Heater heatAir() Display System Status Heat offices Air Conditioner coolAir() Cool Offices Offices building Owners

18 8/16/2015 18

19 8/16/2015 19

20 Brief description: When it is hot outside maintain the room temperature (roomTemp) between coolerLowerLimit and coolerUpperLimit degrees Fahrenheit using a Cooler (either an Evaporative Cooler or an Air Conditioner). Scope: An HVAC controller for a offices building. Level: Low Primary actor: Offices building Owners Supporting actor: Cooler Frequency: The system operates continuously. Precondition: Offices building Owners has selected the Cooler, systemStatus is ready, systemState is Cooler Off, and the roomTemp is below coolerUpperLimit. Trigger: The roomTemp exceeds coolerUpperLimit. 8/16/2015 20

21 Brief description: When it is cold outside maintain the roomTemp between heaterLowerLimit and heaterUpperLimit degrees Fahrenheit using a Heater. Scope: An HVAC controller for a offices building. Level: Low Primary actor: Offices building Owners Supporting actor: Heater Frequency: The system operates continuously. Precondition: Offices building Owners has selected the Heater, systemStatus is ready, system state is Heater Off, and roomTemp is above heaterLowerLimit. Trigger: The roomTemp falls below heaterLowerLimit. Main Success Scenario: 1. The system turns on the Heater [in accordance with Rule1]. 8/16/2015 21

22 2. The roomTemp rises to heaterUpperLimit. 3. The system turns off the Heater [Rule1] [exit use case]. Unanchored Alternate Flow: 2. Offices building Owners turns off Heater [exit use case]. Postcondition: Heater is off Functional requirements… Nonfunctional performance requirement: On-off cycles should last at least 15 minutes. Rules: Rule1: When the Heater is on, turn the Fan on. When the Heater is off, turn the Fan off. Rule2: heaterLowerLimit default value is 70 degrees F. Rule3: heaterUpperLimit default value is 71 degrees F. 8/16/2015 22

23 Brief description: The system shall monitor the health of each object in the system and display the status of the complete system. This display should indicate ready or fault. Scope: An HVAC controller for a offices building. Level: Medium Primary actor: Offices building Owners Frequency: The systemStatus shall be computed periodically (e.g. every minute) or it may be event driven (e.g. on each state transition). The system shall display the systemStatus continuously. Main Success Scenario: 1. The Fan Interface executes its Built-in Self-Test (BiST) for the Fan and the Fan Interface and reports the results to the Controller. 2. The Air Conditioner Interface executes its BiST and reports the results to the Controller. 8/16/2015 23

24 3. The Evaporative Cooler Interface executes its BiST and reports the results to the Controller. 4. The Heater Interface executes its BiST and reports the results to the Controller. 5. The Thermostat executes its BiST and reports the results to the Controller. 6. The Controller executes its BiST and computes the systemStatus. 7. The Controller sends the systemStatus to the Thermostat. 8. The Thermostat displays the systemStatus. 9. Offices building Owners observes the systemStatus periodically [repeat at step 1]. 8/16/2015 24

25 Brief description: Offices building Owners changes the HVAC temperature limits Scope: An HVAC controller for a offices building. Level: Medium Primary actor: Offices building Owners Frequency: Daily Precondition: Offices building Owners has selected the equipment and systemStatus is ready. Main Success Scenario: 1. Offices building Owners sets coolerUpperLimit. 2. Offices building Owners sets coolerLowerLimit. 3. Offices building Owners sets heaterUpperLimit. 4. Offices building Owners sets heaterLowerLimit. 5. Exit Set Temperature Limits use case. Postcondition: All four limits are set. 8/16/2015 25

26 8/16/2015 26 Heat House Set Temperature Limits Cool House Select Equipment Display System Status HVAC Control System Heater Evaporative Cooler Air Conditioner Offices building Owners

27 8/16/2015 27

28 8/16/2015 28

29 8/16/2015 29 Home Owner (from Use Case View) Thermostat coolerUpperLimit : Integer = 73 coolerLowerLimit : Integer = 72 heaterUpperLimit : Integer = 71 heaterLowerLimit : Integer = 70 roomTemp : Integer compareRoomTempToLimits() BiT() displaySystemStatus() Air Conditioner coolAir() (from Use Case View) AC Interface turnOnAC() turnOffAC() BiT() Evaporative Cooler coolAir() (from Use Case View) Evaporative Cooler Interface turnOnEvapCooler() turnOffEvapCooler() BiT() Heater heatAir() (from Use Case View) Heater Interface turnOnHeater() turnOffHeater() BiT() Controller systemStatus : Boolean = fault BiT() setSystemStatus() > Fan blowAir() (from Use Case View) Fan Interface turnOnFan() turnOffFan() BiT() Notes: The bottom third of each class box lists the functions, which are also called operations or responsibilities. BiT stands for Built in Test.

30  Function(class) in Jess:  - Bind  - Ntimes  - UserFunction  Function(class) in Java:  - all java files from “control” package. 8/16/2015© 2009 Bahill30


Download ppt " Design a heating, ventilation and air conditioning (HVAC) system for a typical office building.  D1.2. O diagrama de use-case-uri, alaturi de explicatii."

Similar presentations


Ads by Google