Appearance
Steady-State Simulation
Time-independent equilibrium calculations
Overview
Steady-state simulation calculates the equilibrium conditions of your wastewater treatment plant. It determines the operating point where all inputs, outputs, and internal states are constant over time.
When to Use
Ideal For
- Plant sizing and design verification
- Capacity analysis
- Mass balance calculations
- Equipment selection
- Permit compliance checking
- Baseline performance estimation
Not Suitable For
- Diurnal variation effects
- Startup/shutdown procedures
- Controller tuning
- Upset response analysis
Running Steady-State
Quick Start
- Build your process flow diagram
- Configure all unit properties
- Click Run Simulation (or press
F5) - Select Steady-State
- Click Start
Settings
| Setting | Default | Description |
|---|---|---|
| Tolerance | 0.01 | Convergence criterion |
| Max Iterations | 100 | Maximum solver iterations |
| Relaxation | Auto | Under-relaxation factor |
| Initial Guess | Default | Starting point for iteration |
Convergence
How It Works
The solver iteratively adjusts stream compositions until mass balance errors are below the tolerance:
Iteration 1: Error = 15.2%
Iteration 5: Error = 3.8%
Iteration 10: Error = 0.95%
Iteration 15: Error = 0.008% ✓ ConvergedConvergence Indicators
| Status | Meaning |
|---|---|
| Converged | Solution found, error < tolerance |
| Converging | Error decreasing, continue |
| Oscillating | Error fluctuating, may need adjustment |
| Diverging | Error increasing, check configuration |
Improving Convergence
- Simplify first: Start with fewer units
- Check connections: Ensure all streams connected
- Verify influent: Realistic compositions
- Reduce tolerance: Try 0.05 initially
- Initial conditions: Provide better guesses
Mass Balance
Verification
The solver ensures:
$$\sum \dot{m}{in} = \sum \dot{m} + \sum \dot{m}_{reaction}$$
For each component:
- COD: Influent = Effluent + Oxidized + Sludge
- N: Influent = Effluent + Denitrified + Sludge
- P: Influent = Effluent + Sludge
Checking Balance
View mass balance table:
- Go to View > Mass Balance
- Check "Balance" column
- Values should be < 1%
Biokinetic Calculations
Basic Mode
Fixed efficiency calculations:
TSS_out = TSS_in × (1 - Removal_efficiency)Advanced Mode
Full biokinetic model:
ASM1 Heterotrophic Growth: $$\mu_H = \mu_{max,H} \cdot \frac{S_S}{K_S + S_S} \cdot \frac{S_O}{K_{O,H} + S_O}$$
Steady-State Biomass: $$X_{BH} = \frac{Y_H \cdot (S_{S,in} - S_{S})}{1 + b_H \cdot SRT}$$
Results
Stream Results
Each stream displays:
- Flow rate (m3/d)
- All component concentrations
- Mass flow rates
Unit Results
Each unit shows:
- Removal efficiencies
- Operating conditions
- Capacity utilization
- Energy consumption
Export Options
| Format | Use |
|---|---|
| CSV | Spreadsheet analysis |
| Excel | Formatted report |
| Documentation | |
| JSON | Programmatic access |
Typical Applications
Design Verification
- Size units for design flow
- Run steady-state simulation
- Check effluent quality vs. limits
- Verify capacity margins
Scenario Comparison
- Create base case
- Duplicate project
- Modify parameters
- Compare results side-by-side
Sensitivity Analysis
- Identify key parameter
- Vary over range (e.g., ±20%)
- Run multiple steady-states
- Plot response curve
Example: MLE Plant
Configuration
| Unit | Size |
|---|---|
| Anoxic Zone | 2,000 m3 |
| Aerobic Zone | 6,000 m3 |
| Secondary Clarifier | 1,200 m2 |
| RAS | 100% |
| IRR | 200% |
Influent
| Parameter | Value |
|---|---|
| Flow | 20,000 m3/d |
| COD | 400 mg/L |
| TKN | 40 mg/L |
| TP | 8 mg/L |
Results
| Parameter | Effluent | Limit |
|---|---|---|
| TSS | 8 mg/L | 30 mg/L |
| BOD | 5 mg/L | 20 mg/L |
| NH4-N | 1.2 mg/L | 5 mg/L |
| TN | 8 mg/L | 10 mg/L |
Troubleshooting
Common Issues
| Issue | Cause | Solution |
|---|---|---|
| Not converging | Large recycle loop | Add initial guess |
| Negative concentration | Invalid parameters | Check kinetics |
| Mass imbalance | Disconnected stream | Verify connections |
| High TSS in effluent | Clarifier underloaded | Check SOR |
| Poor N removal | Low SRT | Increase sludge age |
Debugging Steps
- Check all streams connected
- Verify influent complete
- Run with Basic mode first
- Enable detailed logging
- Check unit by unit
Best Practices
- Start simple: Basic mode, simple configuration
- Build up: Add complexity gradually
- Verify each step: Check mass balance frequently
- Document assumptions: Note key parameters
- Save checkpoints: Before major changes
Related Topics
References
- Henze, M. "Activated Sludge Models ASM1, ASM2, ASM2d and ASM3"
- Grady, C.P.L. "Biological Wastewater Treatment" (3rd Edition)
- Tchobanoglous, G. "Wastewater Engineering" (5th Edition)