# Presentation: 326502

## Weigh-in-Motion (WIM) with Rational Rose

- Sabrina A. Phillips
- Mississippi Valley State University
- Research Alliance For Minorities Program
- Oak Ridge National Laboratory
- Mentor’s:  Dr. Robert Abercrombie and Mr. Randy Walker

## Objectives

**Acquaint you with WIM**
**Why produce WIM in the military **
**Describe Rational Rose and Unified Modeling Language (UML) **
**Describe use cases during WIM process**
**Conclude with how UML and WIM will be integrated**

## WIM Background

**WIM = Weigh in Motion**** **
**Enhance military mobility**
**Technology helps identify problems with overloading**** **
**Systems provide accurate weight measurements **
**5 to 10 times faster than conventional techniques**
**Require fewer personnel**
**Eliminates human error**** **

## Slide 4

## Current Weighing System

**Military ****MANUALLY**** weighs and measures vehicles/cargo**
**This process is prone to human errors for the following reasons:**
**Inaccurate/incomplete identification of vehicles and equipment**
**Manually miscalculating axle weight**
**Manually miscalculating total vehicle weight**
**Transferring data from manually prepared work sheets into electronic database**
**These errors can be greatly increased during stressful deployment times and adverse weather conditions.**

## Afghanistan Accident

***The June 12, 2002 crash of an Air Force transport in Afghanistan that claimed the lives of a soldier and two airmen was caused by the plane being overloaded with cargo, an accident investigation board concluded in a report released Nov. 15. ****** ***
***Air Force Brig. Gen. Frederick Van Valkenburg Jr., a fighter pilot and commander of the 37th Training Wing at Lackland Air Force Base, Texas, presided over the board. He concluded that a combination of “imprecise information” about cargo weight and a “get the job done” attitude led to fatal mistakes.****** ***
***Valkenburg faulted the weight-estimating procedures used by the Army — and accepted by the Air Force — for allowing the plane to take off with a load heavier than estimated. He didn’t fault any individuals for the accident. ***
***As Air Force special-operations planners worked up the flights’ fuel and cargo requirements, they figured the first payload weighed about 17,500 pounds and that the maximum allowable load was 21,000 pounds. The Talon carried a High Mobility Multipurpose Wheeled Vehicle, a Special Forces gun-mounted vehicle, a trailer and three soldiers. ***
***The payload’s weight was a critical factor for the night operation because the special operations-modified C-130 took off in thin air from a dirt airstrip at 7,200 feet above sea level. About 45 minutes before the crew members departed their Oman office for the plane, a mission coordinator got word the Army had upped cargo weight to 20,500 pounds, the report said. ***
***The weight estimates came from Army Special Forces team members at Kandahar. And because there was no practical way to weigh cargo at such isolated airstrips, Air Force special-operations crews depended on Army weight estimates. The mission pilot, a major with 4,721 flight hours in C-130s, was given a verbal message about the change, but he misunderstood and thought the new weight was 19,000 pounds. But all those estimates were wrong, the accident investigation board concluded. When the investigators weighed similar gear plus other items in the Army trucks — such as six cases of MREs — the board concluded the cargo weighed between 23,000 and 25,800 pounds*****. **

## ?

**How does Rational Rose apply?**

## What is Rational Rose?

**Powerful modeling tool to aid in analysis and design of object-oriented software systems**
**A picture of a system from various perspectives**
**UML Diagrams**
**Actors**
**Use Cases****	**
**Object**
**Classes**
**Basically a blue print for the system being built**
**Aids developers by generating skeletal code**
**C++**
**Java**
**XML**
**Visual Basic**

## Introduction to Visual Modeling

**What is Visual Modeling**** **
**Developing software using Visual Modeling**** **
**Understanding UML**
**Example of UML Diagrams**
**Use Case Diagrams using WIM **

## Visual Modeling

- Visual modeling is the process of taking the information from the model and displaying it graphically using a standard set of graphical elements

## Visual Modeling and Software Development Process

**Software development is performed in 4 phases:**
**	****Inception Phase**
**	****Elaboration Phase**
**	****Construction Phase**
**	****Transition Phase**

## Inception Phase

**Beginning of the project**** **
**Research begins on the idea**
**Time required**
**Costs involved**

## Elaboration Phase

**Planning, analysis, and architectural design**** **
**Developing use cases and making design decisions**** **
**The major tasks in this phase are the detailing the use cases**
**My current status**

## Construction Phase

**Remainder of system is analyzed, designed, and built**** **
**Rose generates skeletal code system**** **

## Transition Phase

**Completed software product given to user community.**** **
**Tasks include:**
**Completing final software product**
**Acceptance testing**
**Completing user documentation**
**Preparing for user training**

## What is UML?

**UML = Unified Modeling Language**
**UML allows development of several different types of visual diagrams**
**Business Use Case Diagrams**
**Activity Diagrams**
**Sequence Diagrams**
**Collaboration Diagrams**
**Use Case Diagrams (My current status)**

## Use Case Diagrams

**Interaction between cases and actors**** **
**Represents system functionality**** **
**Actors represent people or systems that provide or receive information from system**** **
**Show which actors initiate use cases**
**Illustrate that an actor receives information**

## Use Case Template

**Basic Use Case Template**
**Project Name:****	****Vehicle Data Entry System**
**Use Case Name:****	****Input data into database**
**Use Case Number:****	****UC-1**
**Platform:****	****	****WIM System**
**Use Case Author:****	****Sabrina A. Phillips****	**
**Actors:****	****	****Military Vehicle, Military Personnel**
**Abstract:****	****	**
**	****This use case documents the process the Military Personnel must perform in order to get the military vehicle weighed and the information entered into a database using the WIM system.**
**Goal:****	**
**	****The Military Personnel’s goal is to get the vehicle weighed and receive notification that it was done from station attendants.**
**Special Requirement:**
**	****Special requirements associated with this use case are that a communication channel be established for the electronic transfer of data.  This may be either wireless or wired.**
**Pre Conditions:**
**	****Data is process in WIM and that DEL exists in AALPS.**
**Post Conditions:**
**	****Normal archival of data on WIM with success or failure status noted.**

## Use Case Template cont...

**	****Use Case:**
***Initialization:***
**This use case begins when the actor indicates they wish to get the vehicle weighed.**
**[Exception:  Vehicle has no information in database]**** **
***	******Process:***
**The system presents the actor with a list of vehicle accounts in the database, and asks the actor to select the vehicle’s information.****[Exception:  Actor cancels the transaction]**** **
**The system displays current weight information.**** **
**The system weighs vehicle.**** **
**The system feeds new information into database.**** **
**Database authorizes the WIM of new information.****[Exception:  The weight is more than allowed]**** **
**The system acknowledges receipt and actual weight is inputted into AALPS directory.**
***	******Termination:***
**8*****.******	*****This use case ends when the system has delivered the requested information to the actor and a receipt has been printed (if applicable) and new information has been updated into the**** database.**

## Vehicle Use Case

## Slide 21

## Future Plans

- Once the WIM Interface Documents are approved by the Military and the Business Use Case Diagrams and their variants are completed and approved by the Military, Rational Rose will be used to design and implement an emulator for the multiple interfaces. Upon completion of the actual WIM device, itself, the interface software will be integrated to produce a total WIM system.

## Slide 23

## Sabrina’s Acknowledgments

**	**I would like to personally extend great thanks my mentor’s Dr. Robert Abercrombie and Mr. Randy Walker for their professionalism, guidance, and wisdom throughout the summer.  I would also like to thank Mrs. Cheryl Hamby and Mrs. Debbie McCoy for their help in me completing this intern with knowledge and technical support.  The incredible team of intern students from around the country that have helped me in completing this intern with prayers, knowledge, wisdom and uplifting spiritual help.  Additionally, I would like to offer my appreciation to the  Department of Energy, the Computational Science and Engineering Division, and the Research Alliance For Minorities (RAM) program for allowing me to participate in a research environment that made my experience here at Oak Ridge National Laboratory rewarding and fulfilling.

## Acknowledgments

**	**This research was performed under the Research Alliance for Minorities Program administered through the Computer Science and Mathematics Division, Oak Ridge National Laboratory.  This Program is sponsored by the Mathematical, Information, and Computational Sciences Division; Office of Advanced Scientific Computing Research; U.S. Department of Energy.  Oak Ridge National Laboratory is a managed by UT-Battelle, LLC, for the U.S. Department of Energy under contract DE-AC05-00oR22725**.**

## ORNL Disclaimer

**	**This work has been authored by a contractor of the U.S. Government under contract DE-AC05-00oR22725.  Accordingly, the U.S. Government retains a nonexclusive, royalty-free license to publish or reproduce the published form of this contribution, or allow others to do so, for U.S. Government purposes**.**