Skip to content

Commit 01ce575

Browse files
committed
comments10
1 parent 7961422 commit 01ce575

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

src/Generator.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ class Generator:
1313
1414
Methods:
1515
--------
16-
- `calculate_cost(power)`: Calculate the cost for a given power output.
17-
- `validate_power(power)`: Validate if the given power is within the generator's capacity limits.
16+
- `calculate_cost(power)`: Calculate the cost for a given power output.
17+
- `validate_power(power)`: Validate if the given power is within the generator's capacity limits.
1818
"""
1919
def __init__(self,gen_id,min_capacity,max_capacity,a,b,c):
2020
"""
2121
Initialize a Generator object with its parameters.
2222
2323
Parameters:
2424
-----------
25-
- `gen_id (str)`: The unique identifier for the generator.
26-
- `min_capacity (float)`: The minimum capacity of the generator.
27-
- `max_capacity (float)`:The maximum capacity of the generator.
28-
- `a (float)`: The quadratic cost coefficient.
29-
- `b (float)`: The linear cost coefficient.
30-
- `c (float)`: The constant cost coefficient.
25+
- `gen_id (str)`: The unique identifier for the generator.
26+
- `min_capacity (float)`: The minimum capacity of the generator.
27+
- `max_capacity (float)`:The maximum capacity of the generator.
28+
- `a (float)`: The quadratic cost coefficient.
29+
- `b (float)`: The linear cost coefficient.
30+
- `c (float)`: The constant cost coefficient.
3131
3232
Returns:
3333
--------

0 commit comments

Comments
 (0)