Download presentation
Presentation is loading. Please wait.
1
Monroe L. Weber-Shirk S chool of Civil and Environmental Engineering NRP 2
2
OverVIEW ä Why LabVIEW? ä Type Definitions ä How is the initial state chosen? ä Sensor Configuration/Calibration ä Waste Composition ä SBR suggested volumes and flows ä Airflow control ä Why LabVIEW? ä Type Definitions ä How is the initial state chosen? ä Sensor Configuration/Calibration ä Waste Composition ä SBR suggested volumes and flows ä Airflow control
3
Why LabVIEW? ä Designed for Data Acquisition, Analysis, and Control ä Development is 4-10 x faster than text based languages ä Industry standard (jobs…) ä Designed for Data Acquisition, Analysis, and Control ä Development is 4-10 x faster than text based languages ä Industry standard (jobs…)
4
Jobs? ä POST DATE:.....9/5/2002 ä YsearchDB ä Required qualifications include software development experience in a Rapid Application Development environment, specifically with extensive LabVIEW experience ä Education Requirement:.....BS (or higher) ä SALARY:.....$70,000 - $90,000 ä POST DATE:.....9/5/2002 ä YsearchDB ä Required qualifications include software development experience in a Rapid Application Development environment, specifically with extensive LabVIEW experience ä Education Requirement:.....BS (or higher) ä SALARY:.....$70,000 - $90,000
5
Type Definitions ä A type definition forces the data type to be the same everywhere it is used. ä A strict type definition forces almost everything about the control to be identical everywhere it is used including: ä Data type ä Sizes ä Position of elements ä Colors etc. ä A type definition forces the data type to be the same everywhere it is used. ä A strict type definition forces almost everything about the control to be identical everywhere it is used including: ä Data type ä Sizes ä Position of elements ä Colors etc.
6
Type Definitions ä Elegant and powerful method to speed up program development ä Suppose you need to modify a data structure ä Suppose the data structure is used in many places in your program (because you use many subVIs) ä Update everything automatically by saving the data structure as a type definition! ä Elegant and powerful method to speed up program development ä Suppose you need to modify a data structure ä Suppose the data structure is used in many places in your program (because you use many subVIs) ä Update everything automatically by saving the data structure as a type definition!
7
Type Definitions ä Advantage: easy modification of data structure ä Enumerated types ä Adding states ä Adding cases ä Even constants have type definitions! ä Control Set Points ä I modified flow control this morning. I didn’t have to change this data structure everywhere it is used! ä Add a turbidity set point ä What happens to saved method? ä Advantage: easy modification of data structure ä Enumerated types ä Adding states ä Adding cases ä Even constants have type definitions! ä Control Set Points ä I modified flow control this morning. I didn’t have to change this data structure everywhere it is used! ä Add a turbidity set point ä What happens to saved method?
8
Initial State ä How does Operator Selected State work? ä How does the software choose which state to go to when you switch to automatic? Initial plant statenext plant state ä OffFill with water ä ManualFill with water ä All other statesautomatic rule ä How does Operator Selected State work? ä How does the software choose which state to go to when you switch to automatic? Initial plant statenext plant state ä OffFill with water ä ManualFill with water ä All other statesautomatic rule
9
Sensor Configuration/Calibration ä Sensor order ä Reactor volume ä Air pressure (flow) ä Dissolved Oxygen ä Temperature ä Diffuser Air Pressure ä Sensor order ä Reactor volume ä Air pressure (flow) ä Dissolved Oxygen ä Temperature ä Diffuser Air Pressure ä ä Calibration steps ä ä File ( reservoir volume ), set physical units ä ä File (Pa) ä ä Dissolved Oxygen ( saturated H 2 O) ä ä File (thermistor) ä ä File (Pa)
10
Synthetic Feed Composition Organic carbon Nitrogen Metals Phosphate and pH Stock 2 1000x Stock 1 (100x) refrigerator Stock 3 1000x
11
Feed Characteristics ä Completely soluble at feed concentration ä 325 mg/L COD (Chemical Oxygen Demand) ä 40.9 mg/L nitrogen ä Stocks 2 and 3 will be added to tap water in 100 L tank that will be pumped to each plant ä Stock 1 will be diluted (by you) to 20x and stored in your refrigerator ä Completely soluble at feed concentration ä 325 mg/L COD (Chemical Oxygen Demand) ä 40.9 mg/L nitrogen ä Stocks 2 and 3 will be added to tap water in 100 L tank that will be pumped to each plant ä Stock 1 will be diluted (by you) to 20x and stored in your refrigerator
12
SBR Activated Sludge Operation ä What is the recycle volume? ä What is the volume of waste (tap+concentrate) ä What is the volume of tap water? ä What is the volume of concentrated waste? ä What is the recycle volume? ä What is the volume of waste (tap+concentrate) ä What is the volume of tap water? ä What is the volume of concentrated waste? 4 h X = 3 g/L 6 hr 5 L 1 hr X r =10 g/L 1.5 L 3.5 L 175 mL 3.325 L
13
Dissolved Oxygen Control ä Suppose the fill cycle just ended ä How could you set the initial aeration rate? ä How could you correct the aeration rate? ä What are some potential control strategies? ä Using a valve and a DO probe ä Using a valve, pressure sensor, and an accumulator ä Using a valve, pressure sensor, accumulator, and a DO probe ä Suppose the fill cycle just ended ä How could you set the initial aeration rate? ä How could you correct the aeration rate? ä What are some potential control strategies? ä Using a valve and a DO probe ä Using a valve, pressure sensor, and an accumulator ä Using a valve, pressure sensor, accumulator, and a DO probe
14
New Data Structure for Airflow Control Settings that apply to all states
15
New Code for Airflow Control ä See Plant Control ä Control based on target DO is not yet implemented ä Plant can run without this sophisticated control ä This is new territory for all of us! ä I think it is a fun programming challenge ä See Plant Control ä Control based on target DO is not yet implemented ä Plant can run without this sophisticated control ä This is new territory for all of us! ä I think it is a fun programming challenge
16
Next Week’s Plans ä Meet in lab MWF! ä Add the DO probe ä Upgrade to new software ä Run Plant in automatic mode ä Run your plant with fake synthetic waste! ä Manually add sodium sulfite to mimic oxygen demand and see how your plant responds to low oxygen levels ä Eliminate all leaks! ä Meet in lab MWF! ä Add the DO probe ä Upgrade to new software ä Run Plant in automatic mode ä Run your plant with fake synthetic waste! ä Manually add sodium sulfite to mimic oxygen demand and see how your plant responds to low oxygen levels ä Eliminate all leaks!
17
Air Flow Rate = ä Aerate tank at high aeration rate, then stop and measure Solve for Q air and substitute k ox OTE will be less in wastewater than in tap water Correction based on gradual change in oxygen levels over time
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.