bug None/1000 solved
This commit is contained in:
parent
883db8840c
commit
f8ccdf7eeb
|
@ -46,7 +46,10 @@ class Fuel:
|
||||||
Get fixed operational costs depending on the peak power consumed in currency per month per W
|
Get fixed operational costs depending on the peak power consumed in currency per month per W
|
||||||
:return: None or float
|
:return: None or float
|
||||||
"""
|
"""
|
||||||
|
if self._fixed_power is not None:
|
||||||
return self._fixed_power/1000
|
return self._fixed_power/1000
|
||||||
|
else:
|
||||||
|
return None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def variable(self) -> Union[tuple[None, None], tuple[float, str]]:
|
def variable(self) -> Union[tuple[None, None], tuple[float, str]]:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user