Skip to content

Commit 10f73c2

Browse files
committed
documentation on calc_genload
1 parent 8399600 commit 10f73c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/migrids_lite/Powerhouse.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ def calc_gencombo(self, eload: float, select_combo: tuple):
7676
return pwrhouse_usage
7777

7878
def calc_genload(self, eload: float, select_combo: tuple):
79+
"""
80+
calculate the per generator load
81+
:param eload: the overall load
82+
:param select_combo: the selected combination of the generators
83+
:return:
84+
"""
7985
if select_combo is None:
8086
return {'None': 0}
8187

0 commit comments

Comments
 (0)