My research focuses on the control and optimization of energy and water systems, the integration of distributed energy resources (DER) such as solar PV, electric vehicles, and battery storage into smart grids, and the design of competitive and equitable market mechanisms for transactive energy systems. I combine optimization, control theory, and dynamic programming with microeconomic theory, pricing, game theory, and mechanism design, and I value practical solutions grounded in mathematics and economics.

Stochastic dynamic programmingOptimization & controlMechanism designGame theoryRamsey pricingEnergy economics
Theme 01

Retail Tariff Design & Net Metering Economics

How should a utility bill customers who both consume and produce electricity? I developed NEM X, a tariff model that nests existing net energy metering designs through differentiated import (π⁺) and export (π⁻) rates, fixed charges, and time-of-use differentials. Under NEM X, the prosumer’s optimal consumption follows a two-threshold policy whose thresholds are computed in closed form, giving three modes: net-consuming, net-zero, and net-producing.

Building on this response model, I formulate the regulator’s rate-setting problem as a stochastic Ramsey pricing program under revenue adequacy, and quantify how tariff parameters shape social welfare, cross-subsidies between prosumers and consumers, DER payback periods, and long-run solar adoption. Recent work endogenizes PV investment under asymmetric NEM and tracks how NEM reform is evolving across U.S. states.

net-consumingnet-zeronet-producingd = gd⁺d⁻d⁺d⁻renewable output gconsumption dNet-consuming: d > gimports billed at π⁺Net-zero: d = gno exchange with the gridNet-producing: d < gexports credited at π⁻grid
Figure 1. Optimal consumption under NEM X. As renewable output g rises, the prosumer consumes d⁺ (importing), then matches consumption to output (net-zero), then caps consumption at d⁻ (exporting).
Publications in this theme · 6
  1. Monograph2026
  2. PowerUp2026
    Optimal Solar Investment and Operation under Asymmetric Net Metering
    N. E. Lado, A. S. Alahmed, A. Botterud, S. Amin
  3. Ph.D. thesis2024
  4. IEEE TSG2023
  5. Utility Dive2023
  6. ACM EIR2022
Theme 02

Behind-the-Meter DER Scheduling

With storage and flexible loads behind the meter, the prosumer’s problem becomes a stochastic dynamic program whose exact solution scales exponentially. I characterize the structure of the optimal policy, which schedules flexible demands by a priority list that defers less valuable loads to hours of abundant behind-the-meter generation. I then derive a closed-form co-optimization algorithm with linear computational complexity through a relaxation–projection approach, together with sufficient conditions for its optimality.

With collaborators, I extend these results to tariffs with demand charges. There the optimal policy remains threshold-based, but its number of branches grows combinatorially with the horizon. We propose a peak-search approximation that scales linearly with the horizon and stays close to a theoretical upper bound.

BTM SOLAR & INFLEXIBLE DEMANDFLEXIBLE LOADSEVwashBATTERY STATE OF CHARGE0h6h12h18h24hsolarinflexible demandflexible loaddefault timingbattery SoCPriority-based policy:low-value loads aredeferred to hours ofabundant BTM solar;storage absorbs middaysurplus for the evening.
Figure 2. A day of behind-the-meter scheduling. Flexible loads move from their default evening slots to solar hours, and the battery charges at midday and discharges in the evening.
Publications in this theme · 6
  1. Monograph2026
  2. IEEE TSG2026
  3. IEEE PESGM2025
  4. IEEE TSTE2024
  5. IEEE TSG2023
  6. IEEE TPEC2023
Theme 03

Energy Communities & Market Mechanisms

Energy communities pool members’ resources behind a single utility revenue meter. I design Dynamic NEM (D-NEM), a mechanism in which the community operator sets an ex-ante price that decreases with the community’s aggregate renewable generation. Under D-NEM, members maximizing their own surplus achieve maximum community welfare, each member is better off than outside the community, and the mechanism satisfies cost causation.

Extensions handle dynamic operating envelopes imposed by the distribution system operator through two-part pricing, and network constraints through locational prices in a Stackelberg formulation. A cooperative-game analysis shows that the community’s value function is superadditive and balanced, so welfare-redistribution rules exist that keep the grand coalition stable.

DSOrevenue meter(NEM X tariff)OEmember 1member 2member 3member 4Community operatorsets price π(r) ex anteshared energyπ⁺π⁻community priceaggregate renewables rMembers optimizetheir own surplus;the community attainsmaximum welfare withinits operating envelope.
Figure 3. An energy community under D-NEM. The operator broadcasts a price that falls from π⁺ to π⁻ as aggregate renewables r grow, members share energy behind the meter, and the meter stays within its operating envelope (OE).
Publications in this theme · 7
  1. Monograph2026
  2. IEEE TCNS2025
  3. IEEE TEMPR2024
  4. IEEE CDC2024
    Network-Aware and Welfare-Maximizing Dynamic Pricing for Energy Sharing
    A. S. Alahmed, G. Cavraro, A. Bernstein, L. Tong
  5. IEEE PESGM2024
  6. Allerton2023
  7. IEEE PESGM2023
Theme 04

DER Aggregation & Market Participation

Aggregators can bring small behind-the-meter resources into wholesale markets. We propose a competitive DER aggregator that controls customer resources to maximize its profit while guaranteeing each customer a surplus at least as high as under the regulated retail tariff. The aggregator bids into the wholesale market as virtual storage. With the same distribution network access, its participation attains the welfare-maximizing outcome of customers participating directly.

Related work studies how distribution-level congestion mechanisms, such as peak charges and direct load control, induce strategic consumer behavior, and how to measure and verify DER that provide grid services.

Wholesale electricity marketISO clearing at locational pricesDER aggregator (DERA)profit-maximizingbids & offersas virtual storageprices &cleared quantitiesdistribution network accesscustomers: solar PV, storage, flexible loadsRegulated retail tariffbenchmark surplusfor each customer✓ Competitive offercustomer surplus ≥retail-tariff surplus
Figure 4. Competitive DER aggregation. The aggregator submits bids and offers to the ISO, controls customer resources within distribution network access limits, and must beat the regulated tariff for every customer.
Publications in this theme · 3
  1. IEEE TCNS2026
    Wholesale Market Participation via Competitive DER Aggregation
    C. Chen, A. S. Alahmed, T. D. Mount, L. Tong
  2. HICSS2023
    Competitive DER Aggregation for Participation in Wholesale Markets
    C. Chen, A. S. Alahmed, T. D. Mount, L. Tong
  3. EPRI2021
Theme 05

Water–Energy Systems: Flexible Desalination

Desalination is energy-intensive, and plants colocated with renewables can act as hybrid generator–load resources. I model a profit-maximizing plant that combines thermal desalination, which also generates electricity, with reverse-osmosis (RO) membrane units. The plant sells water to a utility and trades electricity bidirectionally with the grid.

The optimal schedule has a threshold structure in the plant’s renewable output: thermal water production decreases and RO production increases with renewable generation, with thresholds in near closed form as functions of technology and tariff parameters. Ongoing work adds green hydrogen production.

plant busThermaldesal. + powerROmembranesH₂electrolyzerwater to utilitywater outputg₁g₂renewable output gthermalROLow g: thermal outputand grid importsIntermediate g:internal energy balanceHigh g: RO ramps up;surplus to grid / H₂
Figure 5. Scheduling a renewable-colocated desalination plant. As renewable output g rises past the thresholds g₁ and g₂, thermal output falls, RO output rises, and the plant moves from importing to exporting, with surplus routed to hydrogen.
Publications in this theme · 2
  1. ISGT Europe2026 · to appear
  2. Allerton2025
    Watts and Drops: Co-Scheduling Power and Water in Desalination Plants
    A. S. Alahmed, A. Botterud, S. Amin, A. T. Al-Awami
Theme 06

Microgrids, Load Modeling & Early Work

My earlier work at KFUPM focused on microgrid design and operation: a microgrid testbed with hybrid renewables, storage, and controllable loads; intelligent load-priority energy management; residential load-composition modeling; models of distributed generation and loads; the incentive-based feasibility of hybrid AC/DC microgrids in Saudi Arabia; and power system stability enhancement.

PCCAC busDC busAC/DCwindP1criticalP2essentialP3deferrableloads restored and curtailed by anintelligent priority listPVstorageDC load
Figure 6. A hybrid AC/DC microgrid with wind, PV, and storage. Loads are restored or curtailed according to an intelligent priority list.
Publications in this theme · 11
  1. Sustainability2023
    Distributed Generation and Load Modeling in Microgrids
    M. AlMuhaini, A. Yahaya, A. S. Alahmed
  2. AJSE2023
  3. IET JoE2021
    Incentive-Based Feasibility of a Hybrid AC/DC Microgrid in Saudi Arabia
    A. S. Alahmed, H. Alharbi, I. Elamin, M. AlMuhaini
  4. PSGEC2021
  5. EPSR2020
  6. ISGT Asia2019
  7. IEEE GCC2019
  8. JASE2018
  9. IEEE SEGE2018
  10. GCC CIGRE2018
  11. ICRAMET2016
    Path-Loss Compensation in Through-the-Wall Radar Imaging
    A. S. Alahmed, O. T. Alafif, A. H. Muqaibel, A. T. Abdalla
In progress

Working Papers

Abstracts and BibTeX for every paper are on the Publications page.