-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #305 from bayc/feature/refactor_hopp_solver
Refactor hopp solver
- Loading branch information
Showing
43 changed files
with
4,369 additions
and
1,769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
.. _Dispatch: | ||
|
||
Dispatch Strategies | ||
=================== | ||
|
||
These are the dispatch strategies that may be used for a standard HOPP simulation. Dispatch | ||
settings can be defined through :class:`.HybridDispatchOptions`. | ||
|
||
Storage Dispatch | ||
---------------- | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
dispatch/power_storage/simple_battery_dispatch.rst | ||
dispatch/power_storage/simple_battery_dispatch_heuristic.rst | ||
dispatch/power_storage/heuristic_load_following_dispatch.rst | ||
dispatch/power_storage/linear_voltage_convex_battery_dispatch.rst | ||
dispatch/power_storage/linear_voltage_nonconvex_battery_dispatch.rst | ||
dispatch/power_storage/one_cycle_battery_dispatch_heuristic.rst | ||
|
||
The above dispatch classes inherit from the :py:class:`.PowerStorageDispatch` class. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
dispatch/power_storage/power_storage_dispatch.rst | ||
|
||
Technology Dispatch | ||
------------------- | ||
|
||
Dispatch classes are made for each technology where their specific components of the objectives, | ||
their parameters, and other technology specific dispatch properties are defined. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
dispatch/power_sources/pv_dispatch.rst | ||
dispatch/power_sources/wind_dispatch.rst | ||
dispatch/power_sources/wave_dispatch.rst | ||
dispatch/power_sources/trough_dispatch.rst | ||
dispatch/power_sources/tower_dispatch.rst | ||
dispatch/power_sources/csp_dispatch.rst | ||
|
||
The above technology classes inherit from the :py:class:`.PowerSourceDispatch` class. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
dispatch/power_sources/power_source_dispatch.rst |
10 changes: 10 additions & 0 deletions
10
docs/hopp/simulation/technologies/dispatch/power_sources/csp_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _CSPDispatch: | ||
|
||
|
||
CSP Dispatch | ||
============ | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_sources.csp_dispatch.CspDispatch | ||
:members: |
11 changes: 3 additions & 8 deletions
11
...logies/dispatch/power_source_dispatch.rst → ...h/power_sources/power_source_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
:orphan: | ||
|
||
.. _PowerSourceDispatch: | ||
|
||
|
||
PowerSourceDispatch: Abstract Class | ||
=================================== | ||
|
||
Base dispatch class for power source models | ||
Power Source Dispatch | ||
===================== | ||
|
||
.. toctree:: | ||
|
||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_sources.power_source_dispatch.PowerSourceDispatch | ||
:members: | ||
:members: |
10 changes: 10 additions & 0 deletions
10
docs/hopp/simulation/technologies/dispatch/power_sources/pv_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _PVDispatch: | ||
|
||
|
||
PV Dispatch | ||
=========== | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_sources.pv_dispatch.PvDispatch | ||
:members: |
10 changes: 10 additions & 0 deletions
10
docs/hopp/simulation/technologies/dispatch/power_sources/tower_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _TowerDispatch: | ||
|
||
|
||
Tower Dispatch | ||
============== | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_sources.tower_dispatch.TowerDispatch | ||
:members: |
10 changes: 10 additions & 0 deletions
10
docs/hopp/simulation/technologies/dispatch/power_sources/trough_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _TroughDispatch: | ||
|
||
|
||
Trough Dispatch | ||
=============== | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_sources.trough_dispatch.TroughDispatch | ||
:members: |
10 changes: 10 additions & 0 deletions
10
docs/hopp/simulation/technologies/dispatch/power_sources/wave_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _WaveDispatch: | ||
|
||
|
||
Wave Dispatch | ||
============= | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_sources.wave_dispatch.WaveDispatch | ||
:members: |
10 changes: 10 additions & 0 deletions
10
docs/hopp/simulation/technologies/dispatch/power_sources/wind_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _WindDispatch: | ||
|
||
|
||
Wind Dispatch | ||
============= | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_sources.wind_dispatch.WindDispatch | ||
:members: |
10 changes: 10 additions & 0 deletions
10
...ation/technologies/dispatch/power_storage/heuristic_load_following_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _HeuristicLoadFollowingDispatch: | ||
|
||
|
||
Heuristic Load Following Dispatch | ||
================================= | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_storage.heuristic_load_following_dispatch.HeuristicLoadFollowingDispatch | ||
:members: |
10 changes: 10 additions & 0 deletions
10
.../technologies/dispatch/power_storage/linear_voltage_convex_battery_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _ConvexLinearVoltageBatteryDispatch: | ||
|
||
|
||
Convex Linear Voltage Battery Dispatch | ||
====================================== | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_storage.linear_voltage_convex_battery_dispatch.ConvexLinearVoltageBatteryDispatch | ||
:members: |
10 changes: 10 additions & 0 deletions
10
...chnologies/dispatch/power_storage/linear_voltage_nonconvex_battery_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _NonConvexLinearVoltageBatteryDispatch: | ||
|
||
|
||
Non-Convex Linear Voltage Battery Dispatch | ||
========================================== | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_storage.linear_voltage_nonconvex_battery_dispatch.NonConvexLinearVoltageBatteryDispatch | ||
:members: |
10 changes: 10 additions & 0 deletions
10
...on/technologies/dispatch/power_storage/one_cycle_battery_dispatch_heuristic.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _OneCycleBatteryDispatchHeuristic: | ||
|
||
|
||
One Cycle Battery Dispatch Heuristic | ||
==================================== | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_storage.one_cycle_battery_dispatch_heuristic.OneCycleBatteryDispatchHeuristic | ||
:members: |
10 changes: 10 additions & 0 deletions
10
.../hopp/simulation/technologies/dispatch/power_storage/power_storage_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _PowerStorageDispatch: | ||
|
||
|
||
Power Storage Dispatch | ||
====================== | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_storage.power_storage_dispatch.PowerStorageDispatch | ||
:members: |
10 changes: 10 additions & 0 deletions
10
...hopp/simulation/technologies/dispatch/power_storage/simple_battery_dispatch.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _SimpleBatteryDispatch: | ||
|
||
|
||
Simple Battery Dispatch | ||
======================= | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_storage.simple_battery_dispatch.SimpleBatteryDispatch | ||
:members: |
10 changes: 10 additions & 0 deletions
10
...ation/technologies/dispatch/power_storage/simple_battery_dispatch_heuristic.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _SimpleBatteryDispatchHeuristic: | ||
|
||
|
||
Simple Battery Dispatch Heuristic | ||
================================= | ||
|
||
.. toctree:: | ||
|
||
.. autoclass:: hopp.simulation.technologies.dispatch.power_storage.simple_battery_dispatch_heuristic.SimpleBatteryDispatchHeuristic | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,26 @@ | ||
from hopp.simulation.technologies.dispatch.power_sources.pv_dispatch import PvDispatch | ||
from hopp.simulation.technologies.dispatch.power_sources.wind_dispatch import WindDispatch | ||
from hopp.simulation.technologies.dispatch.power_sources.wind_dispatch import ( | ||
WindDispatch, | ||
) | ||
from hopp.simulation.technologies.dispatch.power_sources.csp_dispatch import CspDispatch | ||
from hopp.simulation.technologies.dispatch.power_sources.trough_dispatch import TroughDispatch | ||
from hopp.simulation.technologies.dispatch.power_sources.tower_dispatch import TowerDispatch | ||
from hopp.simulation.technologies.dispatch.power_sources.wave_dispatch import WaveDispatch | ||
from hopp.simulation.technologies.dispatch.power_sources.trough_dispatch import ( | ||
TroughDispatch, | ||
) | ||
from hopp.simulation.technologies.dispatch.power_sources.tower_dispatch import ( | ||
TowerDispatch, | ||
) | ||
from hopp.simulation.technologies.dispatch.power_sources.wave_dispatch import ( | ||
WaveDispatch, | ||
) | ||
|
||
from hopp.simulation.technologies.dispatch.grid_dispatch import GridDispatch | ||
from hopp.simulation.technologies.dispatch.hybrid_dispatch_options import HybridDispatchOptions | ||
from hopp.simulation.technologies.dispatch.hybrid_dispatch_options import ( | ||
HybridDispatchOptions, | ||
) | ||
from hopp.simulation.technologies.dispatch.hybrid_dispatch import HybridDispatch | ||
from hopp.simulation.technologies.dispatch.dispatch_problem_state import DispatchProblemState | ||
from hopp.simulation.technologies.dispatch.power_storage.simple_battery_dispatch import SimpleBatteryDispatch | ||
from hopp.simulation.technologies.dispatch.dispatch_problem_state import ( | ||
DispatchProblemState, | ||
) | ||
from hopp.simulation.technologies.dispatch.power_storage.simple_battery_dispatch import ( | ||
SimpleBatteryDispatch, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.