CS 501 5 April 2007 Models in Potato Pest Management (LateBlight) Client: Professor William Fry...
-
date post
21-Dec-2015 -
Category
Documents
-
view
214 -
download
0
Transcript of CS 501 5 April 2007 Models in Potato Pest Management (LateBlight) Client: Professor William Fry...
CS 501
5 April 2007
Models in Potato Pest Management (LateBlight)
Client: Professor William Fry
Sharmin Azam Christopher Brickley
Nathan CormierLedet KinfuCathryn Lao
Ashwath Murthy Abhishek Sharma
CS 501
April 5
2
Models in Potato Pest Management
Purpose• Give an update on what we have done so far
• Run a demo of the latest build
CS 501
April 5
3
Models in Potato Pest Management
Deployment Diagram
Personal Computer
Web Server
The PC on which Polux and the executable file for retrieving weather forecast is running
Web Server that hosts National Weather Web Service
CS 501
April 5
4
Models in Potato Pest Management
Component Diagram
Profile Management
Get Weather Forecast
Combine Weather Data
Treatment
Old Polux Components
CS 501
April 5
5
Models in Potato Pest Management
Activity Diagram (for Full System)
CS 501
April 5
6
Models in Potato Pest Management
Component: Profile Management
CS 501
April 5
7
Models in Potato Pest Management
Update on Requirements…Create user profile
• Simplified form for the farmer to enter Farm Latitude, Farm Longitude, Sensor Height, Sensor Location and User Name.
Validate if the input is complete and in the right format. User will be asked to modify incorrect data.
CS 501
April 5
8
Models in Potato Pest Management
Update on RequirementsSave validated data
• New file is created and saved with the User Name.
• Overwrites files with the same User Name.
Retrieve existing profile • Enter the name (User Name) of already saved
profile to load it into the program.
CS 501
April 5
9
Models in Potato Pest Management
Activity Diagram Provide user with retrieve/
create profile options
Create Profile
Create Profile Option Selected
Allow user to select profile file from computer
Retrieve Profile Option Selected
Save Profile
Display Profile Information
Read Username, Famr latitude, longitude and sensor height inputs from user
CS 501
April 5
10
Models in Potato Pest Management
Component: Treatment
CS 501
April 5
11
Models in Potato Pest Management
Update on Requirements… Input treatment information
• Simplified form for the farmer to enter Emergence Date, Date when healthy plants were last seen, Date when late blight was first seen, Potato cultivar, Initial severity and Fungicide dose.
Validate if the input is in the correct range and format. User will be asked to modify incorrect data
• Default Initial severity value is set to 0.8
CS 501
April 5
12
Models in Potato Pest Management
Update on RequirementsSaving and processing the treatment data to
make it ready to run the simulation. • Save and load the input treatment data. • Populate values related to the chosen potato
cultivar: Variety, Lesion Growth Rate, Sporulation Rate, Latent Period
CS 501
April 5
13
Models in Potato Pest Management
Activity DiagramCreate New
Treatment File
Read the Treatment name from user
Read Emergence Date, Date healthy plants were last seen, Date lateblight was first seen from user
Read Potato Cultivar Type from user
Read Initial Severity , Fungicide dose from user
Save the Treatment Information ato the treatment file and update system variables / parameters
CS 501
April 5
14
Models in Potato Pest Management
Component: Get Weather Forecast
CS 501
April 5
15
Models in Potato Pest Management
Update on Requirements…Download the weather xml file from National
Weather Service.• A C# application that fetches the xml file is called within Polux.
Read the xml file• Rainfall data is given only for the first 72 hours. We have decided
to populate the missing rainfall data (next 96 hours) by randomly selecting rainfall data from the given forecast and the farmer
provided historical data.
CS 501
April 5
16
Models in Potato Pest Management
Update on RequirementsProcess the xml file
• In order to simplify simulation concerns, we have also decided to make sure that the forecasted data ends with a FULL day of forecasts.
Output tab-delimited forecast.txt• This component concludes with an exporting of the forecast into a
tab-delimited file which is then handled by the 'combine weather data' component.
CS 501
April 5
17
Models in Potato Pest Management
Activity Diagram
CS 501
April 5
18
Models in Potato Pest Management
Component: Combine Weather Data
CS 501
April 5
19
Models in Potato Pest Management
Update on Requirements… User loads historic data into Polux by importing the text
file. Data is checked if it’s in the right format. User will be
asked to modify if there are errors. Save validated data to a new file in tab-delimited format.
• Instead of creating a new file we overwrite the file with new
validated data.
CS 501
April 5
20
Models in Potato Pest Management
Update on Requirements… If there is missing data for the first day of the forecast, the
farmer is asked to supply the information in 3-hour intervals.
Polux will calculate the daily average temperature (ºF), total daily rainfall(in), number of humid hours, and average temperature (ºF) when the weather was humid.• We have rainfall data in the forecast only for first 72 hours. So we
have to extend to 168 hours using rainfall data historical data and forecast data for first 72 hours.
CS 501
April 5
21
Models in Potato Pest Management
Update on Requirements… The user will be presented with a screen asking for the
required length of the simulation in days. This option allows the user to extend the provided weather data as far as the user requires.• The user can extend the simulation 90 days beyond the last
forecast day. The program will extend the weather data by the number
of days specified by randomly selecting daily weather from the historical and forecasted data until it reaches the required number of days of the season.
CS 501
April 5
22
Models in Potato Pest Management
Update on Requirements The user can then provide overall adjustments to the
weather (historical and forecasted) data for: mean daily temperature (ºF), total daily rainfall (inches) per day, total daily humid hours, and mean daily humid temperature via four sliding adjustments or text input fields. • We have added 3 different sliders for temperature, humid hours
and humid temperatures respectively where users can change all the values in a column by moving respective sliders. The users can also change values in any particular cell by clicking and typing in the grid.
After the user is satisfied with the data the combined weather file is saved for simulation.
CS 501
April 5
23
Models in Potato Pest Management
Activity Diagram (Combine Weather Data)
CS 501
April 5
24
Models in Potato Pest Management
Activity Diagram (Combine Weather Data)
CS 501
April 5
25
Models in Potato Pest Management
Activity Diagram (Combine Weather Data)
CS 501
April 5
26
Models in Potato Pest Management
Notes on the Current Build Not yet fully functional
• Running the simulation and displaying the results• Acquiring weather data (problem on some
systems/networks)
About the interface• Simple linear design• Few fields/buttons per page• Still needs some ‘polish’ before final version
CS 501
April 5
27
Models in Potato Pest Management
Demo
CS 501
April 5
28
Models in Potato Pest Management
Future Plans Combine Weather Data
• Add range validation for temperature, humid hours, humid temperature and rainfall
Complete• Usability testing with users familiar with the late blight disease but
not with Polux.• System modifications after gathering enough feedback from the
users and the client.• System testing • Documentation (User and Technical)• Code cleaning