Create uml statechart diagram to express behavior model

Assignment Help Software Engineering
Reference no: EM131681578

(1) Developing a UML Statechart

- Read the Background and Requirements sections for detailed information about the system.

- Create a UML Statechart diagram to express the behavior of the model. You must use a drawing tool to prepare your diagram, ensuring that it is clear and legible.

(2) Interpreting and Producing OCL Expressions

- You are provided a UML Class model that describes a certain scenario. Using this model, you must create OCL expressions, and also provide English interpretations for some OCL expressions.

Include all of your answers for both parts of the assignment in a single PDF file named statechart_ocl.pdf on T-Square. Your PDF must include your UML Statechart, your OCL Expressions, and any additional assumptions that you are making.

(1) UML Statechart Scenario: You have been asked to analyze and diagram the behavior of a specific model of home dehumidifiers. The company for which you are working has already produced a UML Statechart for an earlier, much more basic model of their dehumidifier. You have been tasked to model the behavior of the newer, proposed system, which is significantly more advanced. The system behavior is described in the System Requirements Section below, and you must provide a corresponding UML Statechart diagram that reflects these requirements.

System Requirements:

We've developed a very basic dehumidifier model already. This model was designed with a fixed, non-adjustable humidity level, a single fan speed, and an automatic shutoff if the water tank is full. The UML Statechart that we've provided you corresponds to this very basic model. The intent of providing the diagram is to help you get an intuitive feel for the basic dehumidifier functionality. You are welcome to use this diagram as a starting point for your own efforts, simply study it to gather useful ideas, or disregard it and start from scratch.

In contrast, you've been tasked to develop a UML Statechart for a more advanced model, which improves on the basic model by adding an adjustable humidity level, multiple fan speeds, and energy saver settings. The dehumidifier has a fan motor (to create airflow through the unit), and a separate compressor motor (to draw moisture from the air). We've attached a copy of the dehumidifier instructions that describe the control panel and the basic features, and we will add clarifying guidance below.

Extra Clarifying Guidance to the Instructions:

1. POWER Key: When the Power Key is pressed, the fan and compressor motors should start or stop fairly immediately.

5. ENERGY TIMER Key: The Energy Timer functions are driven by a continuously running clock that will be referred to as the delay timer. The Energy Timer key actually toggles between three settings: 3 hours, 6 hours, and Off (continuous operations). When the delay timer reaches a natural 3 hour or 6 hour interval boundary that matches the current Energy Timer setting, then the system sends a signal to toggle the fan and compressor's On/Off status. Pressing the Energy Timer key adjusts the delay timer settings, but does not necessarily cause the fan and compressor motor settings to start or stop immediately.

7. AUTO RESTART: Don't be concerned with creating "extra" states and/or transitions to support the persistence of settings after a power outage. We will use memory components (e.g. think USB-based flash memory) that allow the systems to maintain their settings in the event of power loss.

Suggestions:

- Make sure that you've identified the basic subcomponents of the dehumidifier, to include the fan motor, the compressor motor, and the various buttons and lights of the control panel. You are also welcome to make reasonable assumptions about the existence of any other sensor, timers, etc. that are needed to implement the required functionality.

- You should leverage concurrent and nested state machine concepts (as discussed in the Harel paper and various online websites) to model the different components.

- Make sure that you have defined the default states for each concurrent machine; labeled transitions with events or guards; and, in general, produced a readable diagram.

- One way that you can judge the quality of your answer is by (manually) simulating its behavior for common situations - for example, consider what happens when certain events transpire. Make sure to consider "edge cases", including situations when multiple events occur at nearly the same time.

- Don't "overdesign" your solution: try to keep it as simple as possible, and use a minimum of components, states, etc.

1532_Java Project.jpg

Given this design, you must write the following constraints in OCL, in each case making the context clear:

1. If the shipping type for and order is "express", then the order must be shipped within 48 hours of the date it is created.

2. If a customer creates an order that includes more than $100 of merchandise, then they should receive free shipping for all of the included items.

3. Drones (represented by product IDs 50 through 99, inclusive) may not be shipped to Area 51 (represented by shipping region 19).

Also, another analyst generated the OCL expressions below. Provide a clear and concise interpretation for each of these expressions in English.

1. context Orders inv:

orders.dateShipped - orders.dateCreated >= 7 days implies orders.shippingCost = 0

2. context OrderDetails inv:

orderDetails.calcPrice >= orderDetails.quantity * orderDetails.unitPrice

Verified Expert

In this assignment we have discussed the given case study and designed the class diagram and many other diagram to show the steps of the system,that how the system works.There is no documents for the reason of decline to show all steps and also it is difficult to handle increased call volume. In order to manage the all difficulty to design the diagram.

Reference no: EM131681578

Questions Cloud

What is the constant elasticity of demand : Ghose and Han (2014) estimated that the demand function for google apps is Q = AP-3.7. What is the constant elasticity of demand?
Each of intuition-reflection-framing and shattering frames : Please explain how each of the following: intuition, reflection, framing, shattering frames, and re-framing, are related to thinking strategically.
Define the common logical fallacies in the reader comments : Identify at least two of the common logical fallacies in the reader comments. Ethos, logos, and pathos
Why people want to engage in mobile banking : Finally, have the team discuss how receptive they are to the idea of banking on their mobile devices. Identify the reasons why people want to engage in mobile.
Create uml statechart diagram to express behavior model : Create a UML Statechart diagram to express the behavior of the model. You must use a drawing tool to prepare your diagram, ensuring that it is clear and legible
Weaknesses of each mobile document-sharing service : Dropbox.com and box.net are two cloud-based document-sharing services that make it easier for collaborative teams to share documents.
Discuss the historical genesis of the lone-wolf terrorists : Discuss the historical genesis of the lone-wolf terrorists compared to the leaderless (group-based) terrorist
Research-college student with disability and what they face : Write 500 words about the Research topic. Research topic: College student with disability and what they face
What is the arc elasticity of demand for beautiful : In the first week after Apple's iTunes raised the price on its most popular songs from 99 cents to $1.29, the quantity demanded of Akon's "Beautiful".

Reviews

inf1681578

1/18/2018 4:34:15 AM

Hi, I simply need to state thank you SO especially for your offer assistance! I got full marks on the task, and I have been prescribing your administrations to a couple people as of now. I am so cheerful I ran over your site, and I will utilize your administrations again sooner rather than later! Much thanks to you once more, to everything - your work is eminent!

len1681578

10/16/2017 2:36:43 AM

Grading Criteria: This portion of the assignment is worth 50 points. The majority of the points will be earned by ensuring that: • Your diagram represents the main system subcomponents – motors, sensors, control panel lights, buttons, etc.; • The functionality described in the Instructions and Clarifying Guidance is also represented; and, • Your UML Statechart correctly models the desired system behavior as closely as possible. Your system will be evaluated on the overall correctness, clarity and concise of your solution.

len1681578

10/16/2017 2:36:29 AM

Make sure that you’ve identified the basic subcomponents of the dehumidifier, to include the fan motor, the compressor motor, and the various buttons and lights of the control panel. You are also welcome to make reasonable assumptions about the existence of any other sensor, timers, etc. that are needed to implement the required functionality. You should leverage concurrent and nested state machine concepts (as discussed in the Harel paper and various online websites) to model the different components. Make sure that you have defined the default states for each concurrent machine; labeled transitions with events or guards; and, in general, produced a readable diagram. One way that you can judge the quality of your answer is by (manually) simulating its behavior for common situations – for example, consider what happens when certain events transpire. Make sure to consider “edge cases”, including situations when multiple events occur at nearly the same time. Don’t “overdesign” your solution: try to keep it as simple as possible, and use a minimum of components, states, etc.

Write a Review

Software Engineering Questions & Answers

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  A case study in c to java conversion and extensibility

A Case Study in C to Java Conversion and Extensibility

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Write an report on a significant software security

Write an report on a significant software security

  Development of a small software system

Analysis, design and development of a small software system.

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Explain flow boundaries map

Explain flow boundaries map the dfd into a software architecture using transform mapping.

  Frame diagrams

Prepare a frame diagram for the software systems.

  Identified systems and elements of the sap system

Identify computing devices, which could be used to support Your Improved Process

  Design a wireframe prototype

Design a wireframe prototype to meet the needs of the personas and requirements.

  Explain the characteristics of visual studio 2005

Explain the characteristics of Visual Studio 2005.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd