Metadata-Version: 2.3
Name: dr-simulator
Version: 0.4.0
Summary: Demand Response Simulator enables you to sample DR events based on a distribution and optimize your energy flexible process
License: MIT
Keywords: demand-response,simulator,energy,forecasting,optimization
Author: ThyanRevolter
Author-email: admkr.2010@gmail.com
Requires-Python: >=3.9,<3.12
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: Sphinx (>=4.2.0)
Requires-Dist: black (>=21.12b0)
Requires-Dist: bumpver (>=2023.1129,<2024.0)
Requires-Dist: cvxpy (>=1.4.1)
Requires-Dist: holidays (>=0.41)
Requires-Dist: ipykernel
Requires-Dist: marimo (>=0.3.2)
Requires-Dist: matplotlib (>=3.2.2)
Requires-Dist: numpy (<2.0)
Requires-Dist: pandas (>=2.2.1)
Requires-Dist: pylance (>=0.9.15)
Requires-Dist: pylint (>=3.0.3,<4.0.0)
Requires-Dist: pytest (>=7.4.4,<8.0.0)
Requires-Dist: pytest-cov (>=4.1.0,<5.0.0)
Requires-Dist: pytest-html (>=3.0.0)
Requires-Dist: scipy (>=1.8.0)
Requires-Dist: setuptools (>=69.1.1,<70.0.0)
Requires-Dist: sphinx-rtd-theme (>=2.0.0,<3.0.0)
Requires-Dist: tox (>=4.14.1,<5.0.0)
Project-URL: Documentation, https://we3lab.github.io/dr-simulator/index.html
Project-URL: Homepage, https://github.com/we3lab/dr-simulator
Project-URL: Repository, https://github.com/we3lab/dr-simulator
Description-Content-Type: text/x-rst

Welcome to Demand Response Events Simulator
===========================================

|Build Status| |Documentation| |Coverage|

Incentive Based DR Program: Overview
-------------------------------------

Incentive based Demand Response programs are voluntary programs offered to residential, 
commercial, and industrial customer. The participants are offered financial incentives 
if they voluntarily reduce loads during stressful times for the grid, which are notified 
as DR events. There are different flavors of these DR programs across the country, 
with different rules that constitute when the events are called, how often they are 
called, the duration of these calls and much more. The DR Simulator tool uses various 
program and simulation parameters to model these incentive-based demand response 
programs across the country. This enables the user to configure any DR programs from 
any ISOs and simulate DR events once they provide the simulation parameters based on 
historical distribution or based on a custom distribution.

--------------

Features
--------

-  Use custom or historic distribution
-  Simulate Monte-Carlo samples
-  Customize and configure DR events using marimo app


Installation
------------

**Stable Release:** ``pip install dr-simulator`` 

**Development Head:**
``pip install git+https://github.com/we3lab/dr-simulator.git``

Documentation
-------------

For full package documentation please visit
`we3lab.github.io/dr-simulator <https://we3lab.github.io/dr-simulator>`__.

Development
-----------

See `CONTRIBUTING.rst <https://we3lab.github.io/dr-simulator/CONTRIBUTING.html#>`__ for information related to
developing the code.

The Commands You Need To Know
----------------------------------

1. ``pip install -e .[dev]``

   This will install your package in editable mode with all the required
   development dependencies (i.e. ``tox``).


Visualizing the DR Simulator using marimo notebook
--------------------------------------------------

You can visualize the DR Simulator using `marimo <https://github.com/marimo-team/marimo>`_ notebook. 

1. Install marimo using ``pip install marimo``

2. From the terminal, run ``marimo run dr_events_simulator.py``. This will open a new tab in your browser with the marimo notebook in app mode.

3. You can also run ``marimo edit dr_events_simulator.py`` to open the notebook in edit mode.

Upcoming release features
-------------------------

Watch out for the upcoming release features:

-  Optimization framework for the simulated DR events using ``cvxpy`` library and finding the optimal capacity bid
-  Include program parametes data for other ISO's DR programs
-  Case study of using DR simulator for finding the optimal capacity bid of SVCW water resource recovery facility in participating in the PG&E's Capacity Bidding Program

.. |Build Status| image:: https://github.com/we3lab/dr_simulator/workflows/Build%20Main/badge.svg
   :target: https://github.com/we3lab/dr-simulator/actions
.. |Documentation| image:: https://github.com/we3lab/dr_simulator/workflows/Documentation/badge.svg
   :target: https://we3lab.github.io/dr-simulator/
.. |Coverage| image:: https://codecov.io/gh/we3lab/dr-simulator/graph/badge.svg?token=HXGOYK8JCD
   :target: https://codecov.io/gh/we3lab/dr-simulator

