Adding docstring for discharge_coefficient property of WindowOpening; raise NotImplementedError
This commit is contained in:
parent
8f43b137d9
commit
5c51621034
1 changed files with 6 additions and 4 deletions
|
|
@ -203,10 +203,12 @@ class WindowOpening(Ventilation):
|
|||
|
||||
@property
|
||||
def discharge_coefficient(self) -> float:
|
||||
#: Discharge coefficient (or cd_b): what portion effective area is
|
||||
#: used to exchange air (0 <= discharge_coefficient <= 1).
|
||||
#: To be implemented in subclasses.
|
||||
return None
|
||||
"""
|
||||
Discharge coefficient (or cd_b): what portion effective area is
|
||||
used to exchange air (0 <= discharge_coefficient <= 1).
|
||||
To be implemented in subclasses.
|
||||
"""
|
||||
raise NotImplementedError("Unknown discharge coefficient")
|
||||
|
||||
def transition_times(self) -> typing.Set[float]:
|
||||
transitions = super().transition_times()
|
||||
|
|
|
|||
Loading…
Reference in a new issue