PvKit
Bases: Summary
Represents a PV kit, which includes components, structural information, and other attributes.
Inherits from
Summary: Provides attributes such as full_price, final_price, discount, and power.
Attributes:
Name | Type | Description |
---|---|---|
pv_kit_components |
list[PvKitComponent]
|
A list of components included in the PV kit. |
structural_informations |
list[StructuralInformation] | None
|
Structural details of the PV kit. |
display_images |
list[File]
|
A list of image files for displaying the PV kit. |
voltage |
str
|
The voltage rating of the PV kit. |
phase |
int
|
The phase configuration of the PV kit. |
from_dict(data)
classmethod
Creates an instance of PvKit from a dictionary.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
data |
dict
|
A dictionary containing PV kit information. |
required |
Returns:
Name | Type | Description |
---|---|---|
PvKit |
PvKit
|
An instance of the PvKit class. |