Layout
Represents the layout configuration for solar modules in a PV kit.
Attributes:
Name | Type | Description |
---|---|---|
line_quantity |
int
|
The number of lines in the layout. |
modules_per_line |
int
|
The number of modules per line in the layout. |
line_length |
float
|
The length of each line in the layout. |
from_dict(data)
classmethod
Creates an instance of Layout from a dictionary.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data |
dict
|
A dictionary containing layout information. |
required |
Returns:
Name | Type | Description |
---|---|---|
Layout |
Layout
|
An instance of the Layout class. |