get_pv_mpp¶
- typhoon.test.sources.get_pv_mpp(panel)¶
Get maximum power point information from a PV panel.
This is an improved version of the HIL API
get_pv_mpp
function, also returning power.- Parameters:
panel – Name of the PV Panel.
- Returns:
namedtuple – With the following attributes:
v (float) – MPP Voltage
i (float) – MPP Current
p (float) – MPP Power
Examples
>>> from typhoon.test.sources import get_pv_mpp >>> mpp = get_pv_mpp("PV Panel 1") >>> print(mpp.v) >>> print(mpp.i) >>> print(mpp.p)