Closed uvchik closed 5 years ago
As I fixed some documentation issues I found out that it is easier to document the WindTurbineGroup as a data class. So it is treated as a class in the documentation and therefore easy to understand but still a NamedTuple and therefore easy to handle/maintain.
I did not added it to the "Classes" in the documentation.
I created a rendered documentation to make it easier to check the docs.
Please have a look at the wind_fleet
parameter of the WindFarm
class and follow the links to the WindTurbineGroup
and the to_group
method. Furthermore, check the example of the WindFarm
class.
Fixes #65
In contrast to the original plan I did not provided a new class
WindTurbineGroup
but a method to create a group as a dictionary with the following form:This can be used to calculate the number of turbines providing the total capacity or to define a group that can be used to define a WindFarm object.
Furthermore I fixed some PEP8 issues. Sorry, I was to lazy to open an extra PR :smirk: