Presentation is loading. Please wait.

Presentation is loading. Please wait.

Object Modeling System Laj Ahuja, Frank Geter, Olaf David, Ian Schneider George H. Leavesley ARS Great Plains System Research, Fort Collins NRCS Information.

Similar presentations


Presentation on theme: "Object Modeling System Laj Ahuja, Frank Geter, Olaf David, Ian Schneider George H. Leavesley ARS Great Plains System Research, Fort Collins NRCS Information."— Presentation transcript:

1 Object Modeling System Laj Ahuja, Frank Geter, Olaf David, Ian Schneider George H. Leavesley ARS Great Plains System Research, Fort Collins NRCS Information Technology Center, Fort Collins USGS Denver

2 Discussion Items Object Modeling System (OMS) Framework  Overview ARS and NRCS IT Coordination on Modeling Collaboration

3 Object Modeling System Modeling Framework which supports the development/application lifecycle OMS facilitates  Code reuse and sharing  Capture of legacy knowledge  Collaborative development  Database access  Verification / validation  QA / QC and certification  Multi-purposing  Maintenance and change management Component Integration, Model Development Model Application, Analysis Component Development, Test

4 Current Status of ARS Models ARS has more than 100 models for a variety of purposes – component and system models. Developed over time as a need was identified. Used the best technology available at the time. The maintenance and upkeep are proving very difficult and expensive. Their alteration as new needs arise is not easy. They may not give the same results.

5 OMS Benefits Supports building of new models and decision support tools from reusable/standardized components from a library Facilitates long term maintainability and improvement of existing ARS models by decomposing them into their science component parts Leads to “Customized Modeling” – fitting the model to the problem and customer need Enhances deployment of new tools to action agencies (NRCS) and leverages established databases

6 OMS Benefits Supports QA/QC at module and model levels Documentation and peer review of modules Reduce duplication of effort in natural resource modeling Runs under the Java platform.  Support for Fortran/C/C++ Uses the “Netbeans” technology for module and data formats and as an open tool platform. Component Integration, Model Development Model Application, Analysis Component Development, Test

7 Partnerships  ARS Great Plains System Research NPS / NPA Upcoming: National Software Support Center  NRCS ITC Fort Collins Science and Technology Divisions Soil Survey and Resource Assessment Divisions  USGS Water Resources Division  Friedrich Schiller University, Jena  Colorado State University, Fort Collins  … MOU on Multimedia Environmental Modeling Systems

8 OMS Components System Components  Module Builder  Model Builder  Module Library  Model Data Dictionaries  (Fortran Refactoring tools)  Graphical User Interface  Models: RZWQM, (PRMS), RCN, Thornthwaite, Erosion, Ongoing Additional Components/Activities  Web Services/Database -> NRCS, GEOLEM  Object User Interface for Spatial Data Access, Parameterization, and Output Analysis - OUI

9 OMS Central Collaboration Platform OMS Version Control Legacy Code Meta Data Component ModelBuilder Model Data Dictionary ModelRuntime AnalysisTool OMS/Netbeans Platform Component Libs Create Integrate Test Customize Execute Analyze Visualize Deploy Apply Other Research Scientists Model Developer Stakeholder NRCS Resource Specialist ARS Scientist Soil Climate Plant/Crop … USDA Data Marts

10 Repurposing Science C factor EI factor LS factor K factor RUSLE2 Core Science Different Implementations

11 Prescription Modeling OMS NW Region Fish Habitat Mississippi Delta Water Quality CEAP Regional Models Hydrology Plant Growth Soil Erosion Nutrients Pesticides Transport Science Module Library

12 OMS Status NRCS has adopted OMS into its computing infrastructure for science components and applications. A joint ARS/NRCS OMS development group and infrastructure is being established at Fort Collins. PRMS and RZWQM have been integrated as proof of concept in the OMS framework. NRCS is building the science components of its Engineering Field Tools in OMS. OMS Version 1.1 in test, containing tools to create, test, and build models.

13 OMS Status (cont’d) NRCS has begun to convert RUSLE2 to OMS for repurposing in AnnAGNPS. Discussions initiated to convert and/or build components and models in OMS for CEAP. NRCS/ARS programmer to build model component code base in OMS per priority list.

14 Soil Moisture Storage Snow Accumulation SurplusRunoff Precipitation Evapotranspiration Thornthwaite DEMO Thornthwaite water balance (Thornthwaite, 1948; Mather, 1978; 1979)

15 Soil Moisture Storage Snow Accumulation SurplusRunoff Precipitation Actual ET Thornthwaite Temp Month Potential ET Runoff Surface Runoff SnowStorage SoilMoisture Latitude SoilMoisture Capacity Runoff Factor Input Parameter Output DaylenET

16 Day length Snow Soil Moisture Runoff Precipitation Thornthwaite Temperature Month Latitude SoilMoisture Capacity Runoff Factor Input Parameter Output Actual ET Potential ET Runoff Surface Runoff SnowStorage SoilMoisture PET daylen potet snowmelt Thornthwaite’

17 Day length Snow Soil Moisture Runoff Precipitation Thornthwaite Temperature Month Latitude SoilMoisture Capacity Runoff Factor Input Parameter Output Actual ET Potential ET Runoff Surface Runoff SnowStorage SoilMoisture PET daylen potet snowmelt

18 PET Temperature Month Daylen Potet PET Module import org.oms.model.data.*; /** Hamon Potential Evaporation. * * Computes the potential ET using Hamon * * @oms.author Olaf David * @oms.author Doug Boyle * @oms.author Steve Markstrom * @oms.category hydrology * @oms.version 1.0 */ public class HamonET implements Runnable { /** Temperature * @oms.access read */ Attribute.Double temp; /** Month * @oms.access read */ Attribute.Integer month; /** Day length * @oms.access read */ Attribute.Double daylength; /** Potential ET * @oms.access write */ Attribute.Double potET; … public void run() { double temp = this.temp.getValue(); double dl = this.daylength.getValue(); int month = this.month.getValue(); double pt = 4.95 * Math.exp(0.062 * temp) / 100.; double potET = 0.55 * ((dl / 12.0) * (dl / 12.0)) * pt * days[month - 1]; if (potET <= 0.0) potET = 0.0; if (temp <= -1.0) potET = 0.0; potET = potET * 25.4; this.potET.setValue(potET); }

19 Native Code Adaptation using auto- generated Components and C adapter. JNI 1.4 native buffers. Support F77/F90/C++ Refactoring ??? purpose: leverage legacy efforts and investments.

20 Component Development

21 Data Dictionary

22 Component Integration

23 Model Execution

24

25 Model Analysis

26 Help System / Manual

27 Status Extended Developer Group OMS/Netbeans migration of modeling tools almost finished -> Release 1.1 OMS Scientific modeling library on Codebeamer/Subversion.  PRMS  RZWQM  GPFARM modules  FORAGE  THORNTHWAITE

28 Release version 1.1 December 2005.  Peer reviewed User Manual  Distribution/Website update  PRMS modules converted to Java  Data Dictionary/Component Editor Integration  Spatial Modeling Support finished  Collaboration Infrastructure Implementation @ITC  Automated Testing and Documentation of Components/Models Student project


Download ppt "Object Modeling System Laj Ahuja, Frank Geter, Olaf David, Ian Schneider George H. Leavesley ARS Great Plains System Research, Fort Collins NRCS Information."

Similar presentations


Ads by Google