MCPcopy Create free account
hub / github.com/ahalev/python-microgrid / get_pv_module

Function get_pv_module

src/pymgrid/convert/get_module.py:30–36  ·  view source on GitHub ↗
(nonmodular, raise_errors)

Source from the content-addressed store, hash-verified

28
29
30def get_pv_module(nonmodular, raise_errors):
31 time_series = nonmodular._pv_ts
32 return RenewableModule(time_series=time_series,
33 raise_errors=raise_errors,
34 forecaster='oracle',
35 forecast_horizon=nonmodular.horizon-1
36 )
37
38
39def get_battery_module(nonmodular, raise_errors):

Callers 1

get_moduleFunction · 0.85

Calls 1

RenewableModuleClass · 0.90

Tested by

no test coverage detected