**3. Proposed Methodology**

This section presents the entire developed model for the aggregator and DR programs. The structure of this section consists of proposing the aggregator model focusing on its role in the electricity systems and wholesale markets. Then, it focuses directly on the DR timeline and the ramp period before the event being started. Later, DR programs specifications presented for the aggregator are demonstrated, and in the last subsection, a linear programming with the objective of DR cost minimization is shown for the aggregator model.
