Approaches for Modeling Complex Processes through Integration of GoldSim and Specialized Supporting Models Ted Eary MWH Americas, Inc. Fort Collins, Colorado.

Slides:



Advertisements
Similar presentations
Integration of MBSE and Virtual Engineering for Detailed Design
Advertisements

Multi-Media Handbook The software program that efficiently manages all types of information.
The AFC Process What Is AFC? Key Operations are  Balancing of incoming waste streams  Thermophilic activated sludge (AFC) to oxidise the organic.
Chapter 20: Electrochemsitry A.P. Chemsitry Oxidation-Reduction Reactions Oxidation-reduction reactions (or redox reactions) involve the transfer.
Sustained Treatment of AMD Containing Al and Fe 3+ with Limestone Aggregate Neil Wolfe and Robert Hedin Hedin Environmental West Virginia Mine Drainage.
Chemical vs. Electrochemical Reactions  Chemical reactions are those in which elements are added or removed from a chemical species.  Electrochemical.
Coagulation and Flocculation
Standa Vaněček The potential of Integrated Modelling and the OpenMI Standa Vaněček DHI, Chairman of the OATC.
Thermodynamics “the branch of science that deals with energy levels and the transfer of energy between systems and between different states of matter”
Wetlands for Acid Mine and Livestock Drainage Treatment By: Gabe Jenkins April 18 th 2005.
GoldSim 2006 User Conference Slide 1 Vancouver, B.C. The Submodel Element.
GoldSim Technology Group LLC, 2007 Slide 1 GoldSim User Conference San Francisco, CA October 25-26, 2007 GoldSim Tutorial and Discussion: Techniques for.
GEOCHEMICAL MODULE FOR “AMDTreat” Charles A. Cravotta III and David L. Parkhurst, U.S. Geological Survey Brent P. Means, Robert M. McKenzie, and Bill Arthur,
Coagulation in Industrial water Treatment
SPREADSHEETS IN EDUCATION OF LOGISTICS MANAGERS AT FACULTY OF ORGANIZATIONAL SCIENCES: AN EXAMPLE OF INVENTORY DYNAMICS SIMULATION L. Djordjevic, D. Vasiljevic.
A Comparative Study Of Deterministic And Stochastic Optimization Methods For Integrated Design Of Processes Mario Francisco a, Silvana Revollar b, Pastora.
Lecture 6 Activity Scales and Activity Corrections Learn how to make activity corrections Free ion activity coefficients Debye-Huckel Equations Mean Salt.
Chapter One Hydrologic Principles Flashlight and globe.
The Event as an Object-Relational Database: Avoiding the Dependency Nightmare Christopher D. Jones Cornell University, USA.
Volumetric analysis Chemistry 321, Summer Volumetric analysis involves titrations A titration is the use of a known concentration reagent to determine.
Introduction to API Process Simulation
PHOSPHORUS REMOVAL FOR LAGOON OPERATORS WHY THE CONCERN OVER P.
Reclaiming the health of British rivers Optimising conditions in low-cost systems for treating diffuse water pollution Carr 1, S., Heal 1, K.V., Lumsdon.
CHAPTER II PROCESS DYNAMICS AND MATHEMATICAL MODELING
Lecture #26 What’s on the Final?
Copyright GoldSim Technology Group LLC, 2006 Slide 1 Linking GoldSim to Spreadsheets GoldSim Technology Group Issaquah, Washington USA.
Environmental Modeling Steven I. Gordon Ohio Supercomputer Center June, 2004.
SELENIUM MOBILITY IN COAL AND OVERBURDEN IN CENTRAL APPALACHIA R.R. Maggard.
Formation and Treatment
Modelling tutorial – ESCTAIC 2012 Stephen E. Rees Center for Model-based Medical Decision Support, Aalborg University, Denmark.
Species in natural freshwater Central equilibriums in natural water samples KJM MEF 4010 Module 19.
CHEMISTRY. Composition of Matter Matter - _____________ _______________________ Matter is anything that ________________ ________________ ______ – quantity.
Question 10 What do I write?. Spreadsheet Make sure that you have got a printout of your spreadsheet - no spreadsheet, no marks!
PART-2 Geochemical Equilibrium Models CASE STUDY: MINEQL+ An interactive data management system for chemical equilibrium modeling.
1 Air Force Chemical Equilibrium Specific Impulse (Isp) Code.
Ankan Basu Geologist Marshall Miller and Associates Bluefield, VA, Date: April 22, 2009 Geochemical Modeling with Geochemist’s Workbench.
Chemical Treatment Precipitation and Reduction/Oxidation (Section 9-4)
USING FREE GEOCHEMICAL SOFTWARE FROM THE U.S. GEOLOGICAL SURVEY DEVIN CASTENDYK STATE UNIVERSITY OF NEW YORK, ONEONTA
FACSIMILE Arsineh Hecobian Jaemeen Baek. Index Important Functions of Facsimile Model Run Examples Application: HONO Reaction Conclusion.
Minerals and water ーPHREEQC programsー
Mass Solute Balance and Evaporation Mark Wiltermuth NDSU Geol 628 Geochemistry 2010.
„Pilot Plant“ test of Adsorptive Micellar Flocculation A critical review, by Federico Talens- Alesson.
Mixtures A combination of two or more pure substances in which each pure substance retains its own individual chemical properties –physical combination.
or Linking GoldSim with the PHREEQC Geochemical Model with a Dynamic Link Library Element Ted Eary MWH Americas,
Virtual Experiment © Oregon State University Models as a communication tool for HJA scientists Kellie Vache and Jeff McDonnell Dept of Forest Engineering.
The Hydrological Cycle
Thermodynamics and kinetics of transformation reactions Chapter 12.
Calibrating a Complex Environmental Model to Historic Data San Francisco, October 25-26, Goldsim User Conference Presented By: Alan Keizur, P.E.
BioWin3 ® – An Introduction Michael D. Doran, P. E. DEE Adjunct Professor of Civil & Environmental Engineering CEE 426.
1 Modeling Complex Systems – How Much Detail is Appropriate? David W. Esh US Nuclear Regulatory Commission 2007 GoldSim User Conference, October 23-25,
Advanced control strategies. CONTROL SYSTEMS The process parameters which are measured using probes described in the previous sections may be controlled.
Chapter 1: The Nature of Analytical Chemistry
Precipitate Interact Mineral scaling and Produced Water Chemistry Corrode Equilibrate.
Introduction to Modeling Technology Enhanced Inquiry Based Science Education.
Using PC simulation for flow sensitivity analysis with application to a wastewater treatment plant Panaitescu Ileana-Irina, Panaitescu Mariana, Panaitescu.
Challenges with simultaneous equilibrium Speciation programs (MINEQL)
Fundamentals of Analytical Chemistry Eighth Edition.
MASS BALANCE REACTOR THEORY
Self Healing and Dynamic Construction Framework:
Thermodynamic behavior of FeCl3-H2O and HCl-FeCl3-H2O
Comparative simulative studies using PHREEQC-Interactive and Visual MINTEQ model for understanding metal-NOM complexation occurring in cooling and raw.
Drinking-water Treatment
OLI 24th Users Conference October 24,2007
Chemical Equilibria.
Science ideas I need to know
Chemistry: Chemical Reactions and Properties of Matter
Elements, Mixtures, Compounds and Solutions
Aspen Reactors Amanda Hamilton, Jonathan Kalman, Harrison Kraus, Jenny Lam, Sophie Levy, Jacob Salem.
CHAPTER 9 Chemistry 101.
Modeling Water Treatment Using the Contaminant Transport Module
Presentation transcript:

Approaches for Modeling Complex Processes through Integration of GoldSim and Specialized Supporting Models Ted Eary MWH Americas, Inc. Fort Collins, Colorado GoldSim 2007 User Conference, San Francisco

1. Submodel Abstraction & Incorporation 2. Independent Models linked through inputs and/or outputs 3. Direct Linkage Integration Approaches

Approach 1: Submodel Abstraction & Incorporation Output Input GoldSim Model Simplified Submodel ( Specific Process: solubility, reaction kinetics, runoff, infiltration, evaporation, …) Geochemistry Hydrology Limnology Climate etc… Specialized Supporting Models Data or abstracted submodel

Example: Water Treatment Plant Acid Water Neutralizers, flocculants, polishing agents, filtration, aeration, etc. Sludge Clean Water Problem: How much sludge will be produced?

Know: Sludge mass ≈ function(amount of chemicals added, time, pH, etc.) Solution: Develop submodels of specific processes from a combination of experimental data and theoretical calculations (e.g., supporting models). Create Lookup Table elements for GoldSim Approach for Submodel Incorporation pHFe mg/LAl, mg/LZn, mg/L E-028.6E E-023.0E E-031.3E E-032.0E-043.6E E-042.4E-043.0E E-046.7E-042.3E E-042.1E-032.3E E-046.6E-032.9E E-042.1E-028.5E E-046.6E-026.4E E-032.1E-016.3E-01 Gypsum Zinc Aluminum Iron

Solubilities are defined in the fluid properties element as Lookup Table functions, i.e., individual submodels. GoldSim Model of Water Treatment System

Some Results Total Sludge Lime Added Influent Effluent pH Lime Tank Aeration Tank Concentration, mg/L Time, days Tonnes

Submodel Abstraction & Incorporation Advantages Advantages Simple relationships focused on the most important processes Simple relationships focused on the most important processes Can use a combination of empirical and theoretical approaches Can use a combination of empirical and theoretical approaches Disadvantages Disadvantages Potentially limited range of applicability Potentially limited range of applicability Abstraction may make it difficult to understand relationships Abstraction may make it difficult to understand relationships

Approach 2: Independent Models Sequentially Linked through Inputs and/or Outputs Supporting Model (e.g., Geochemistry, Hydrology, Limnology, etc…) Input Output to Excel GoldSim Model Output (Excel) Input from Excel GoldSim Model Output (Excel) Input Supporting Model (e.g., Geochemistry, Hydrology, Limnology, etc…) Input Output

Example: Solution Mixing Chemistry Mixing and Reactions Alkaline pH, Clean water, Constant flow rate Acidic pH, High metal water, Runoff (variable flow rate) Problem: How to calculate solution chemistry after mixing and reactions?

Know: Mixed solution chemistry is a function(mixing proportions of two solutions – one acidic and one alkaline). Solution: Use the independent supporting model to calculate all possible outcomes and put the results in an Excel worksheet ( e.g., 1% acidic + 99%alkaline, 2% acidic + 98% alkaline, 3% acidic + 97% alkaline, etc……) Import the data from Excel into a Lookup Table element. Define an index in GoldSim to retrieve the appropriate mixed solution composition. Approach Specialized Supporting Model Main Model GoldSim (Water Balance) PHREEQC (chemistry) Output (Excel) Input from Excel

GoldSim Model (Details in next slide)

Chemistry Lookup Table (TableOfMixFractionChemistries) Species across Mixing Index down

Some Results Mixing Only Mixing and Reaction Al: Mixing Fe: Mixing Al: Mixing and Reaction Fe: Mixing and Reaction

Independent Models Advantages Advantages Easy to set up and runEasy to set up and run Leverage most of the capabilities of the independent supporting models with careful designLeverage most of the capabilities of the independent supporting models with careful design Disadvantages Disadvantages Limited to representing either the starting point or ending pointLimited to representing either the starting point or ending point Need to understand the system very well to make sure that the supporting model represents all possible inputs or outcomesNeed to understand the system very well to make sure that the supporting model represents all possible inputs or outcomes

Approach 3: Direct Linkage Input GoldSim Model Supporting Model (e.g., Geochemistry, Hydrology, GIS, Chemical Processing,…) Input Output Data transfer for every time step. Two approaches: Excel (Spreadsheet Element) Dynamic Link Library (External DLL Element)

DLL Data Flow Between GoldSim and the External Model GoldSim Model Supporting Model Output External DLL Element DLL Functions  Receive and format input data  Run Supporting Model  Get Output from Supporting Model  Return output to GoldSim Each time step External DLL Program

Same Example: Solution Mixing Chemistry Mixing and Reactions Alkaline pH, Clean water, Constant flow rate Acidic pH, High metal water, Runoff (variable flow rate) Problem: How to calculate solution chemistry after mixing and reactions? Solution: Use DLL to link to the PHREEQC geochemical model.

GoldSim Model DLL Element

Inside the DLL Interface tab Inputs to external DLL Outputs from external DLL

Some Results Mixing Only Mixing and Reaction Al: Mixing Fe: Mixing Al: Mixing and Reaction Fe: Mixing and Reaction

Direct Linkage through Dynamic Link Libraries (DLLs) Advantages Advantages Supporting model used each time stepSupporting model used each time step Leverage most of the capabilities of the independent supporting modelsLeverage most of the capabilities of the independent supporting models Disadvantages Disadvantages Execution time increasedExecution time increased Custom software code needed to construct the correct interface to the supporting modelCustom software code needed to construct the correct interface to the supporting model

Relative Speed (Solution Mixing, 5-year, 1-day time step) Mechanism GoldSim Execution Time Lookup Table 1-2 sec DLL – External Element 5 min 9 sec Excel-Spreadsheet Element 25 min 59 sec

Summary Many ways to model complex processes; Many ways to model complex processes; Advantages and disadvantages for each approach; and Advantages and disadvantages for each approach; and Choice of approach depends on the system simulated and goals of the model. Choice of approach depends on the system simulated and goals of the model.

Thanks Examples available for downloads: Model ID: 57 – Linking Geochemical Codes to GoldSim Model ID:69 - Simulation of Water Treatment for Acid Mine Drainage Model ID:70 - Calculating the Solubility Using Equilibrium Chemistry (Go Rockies Beat Red Sox) Early geochemists describe the first dirt molecule