Author

Rohan Agarwal

2 published records · Monta Vista High School

Earth and climate · Paper · July 2026

OsmoFlux: Modeling the Financial Risk of Desalination Brine Discharge and the Viability of Reverse Electrodialysis as a Risk Mitigation Strategy

Rohan Agarwal

The United Nations has declared a global water bankruptcy: freshwater demand will exceed supply by 40% before 2030. Desalination already supplies drinking water to roughly 300 million people across 177 countries. With over 500 plants in the global permitting pipeline and a market projected to reach $35 billion by 2032, that dependence is accelerating. The industry produces roughly one cubic meter of hypersaline brine for every cubic meter of drinking water, 142 million cubic meters per day globally, increasingly regulated and not yet priced into most operators' cost structures. The gap between current disposal costs and what operators will pay when ocean outfall permits tighten could reach an extra $25 billion per year, and that figure excludes externalized costs like lost fisheries, declining tourism, degraded marine ecosystems, an unpriced financial risk in every desalination balance sheet. This report focuses on the Carlsbad Desalination Plant in San Diego County, the largest in the Western Hemisphere. A peer-reviewed 2019 UC Santa Cruz study found that its brine discharge already exceeds permitted salinity levels, with the plume extending farther offshore than California law allows (Petersen et al. 2019). Carlsbad faces two direct financial exposures: regulatory noncompliance, as California's Ocean Plan moves through a formal amendment process opened in 2024 with no numeric salinity standard yet in place; and disposal cost escalation: at 190,000 cubic meters of brine per day, each step up the disposal cost ladder adds tens of millions in annual operating cost. The exposed parties are plant operators facing direct compliance costs, water agencies facing ratepayer liability, and the insurance industry without an actuarial framework for brine risk. Reverse Electrodialysis (RED) can reduce brine concentration while simultaneously extracting useful power and has been demonstrated at pilot scale. We built OsmoFlux, a physics-based real-world model simulating RED performance at Carlsbad under realistic fouling conditions of mineral scaling and biofilm growth. Across more than 6,300 simulations and a 5,000-sample Monte Carlo financial analysis, we map the threshold between negative and positive financial return. A central contribution is the modeling of a fresh-dilute cascade architecture, in which each stage receives a fresh low-salinity feed, rather than the depleted output of the previous one. At full Carlsbad deployment, OsmoFlux projects a 99% reduction in excess brine salinity at the discharge point, recovering 0.8-1.0 MW of electrical power and approximately $1.4-1.8 million in annual energy revenue as a byproduct. The fresh-dilute cascade achieves this at a 36% probability of positive financial return versus 11% for single-stack, a 3.3× improvement from architecture selection alone. Break-even membrane cost: ~$40/m², within reach of current manufacturing trajectories. Our primary recommendation is a field pilot at Carlsbad, co-located with the adjacent Encina wastewater treatment facility as the low-salinity source. The pilot will evaluate whether RED is genuinely viable as a compliance and cost management tool at commercial scale. In a $35 billion industry with no actuarial framework for brine risk, this paper provides the analytical foundation. The pilot is the decision gate: deploy at full scale when membrane cost reaches ≤$40/m² or disposal cost reaches ≥$0.10/m³, thresholds our model shows are approaching on current trajectories.

Computer science · Paper · August 2025

Quantum-Enhanced Analysis and Grading of Vocal Performance: A Novel Approach for Musical Evaluation and Improvement

Rohan Agarwal

Vocal singing is a profoundly emotional art form possibly predating spoken language, yet evaluating a vocal track remains a subjective and specialized task. Meanwhile, quantum computing shows promise to bring about revolutionary breakthroughs in science and art. This study introduces QuantumMelody, a quantum-enhanced algorithm to evaluate vocal performances through objective metrics in near real-time. QuantumMelody begins by collecting a comprehensive array of classical acoustic and musical features including pitch contours, formant frequencies, Mel-spectrograms, and dynamic ranges. These features are divided into three musically categorized groups, converted into scaled angles based on statistical metrics, and then encoded into specific quantum rotation gates. Each qubit group is entangled internally, followed by intergroup entanglement, thus exploring subtle, non-linear relationships within and across feature sets. The resulting quantum probability distributions and classical features are used to train a neural network, combined with a spectrogram transformer to holistically grade each recording on a 1--5 scale. Key difference metrics like the Jensen--Shannon distance and Euclidean measures of scaled angles are used to enable nuanced comparisons of different recordings. Furthermore, the algorithm uses classical music-based heuristics to provide targeted suggestions to the user for various aspects of vocal technique. Despite present constraints in quantum hardware, which complicate truly real-time feedback, QuantumMelody achieves an accuracy of 74.29% against comparative manual grading by vocal experts. Ultimately, QuantumMelody offers objective and supportive feedback, utilizing quantum techniques for computational speed and interpretability.