We'll need a model object to handle the array_losses_parameters for PVArrays. This should probably be a simple ArrayLosses class with the dc_ohmic_percent property.
Dashboard changes:
Add an ArrayLosses class.
Need to add array_losses_parameters property that is valid only when not an otherwise PVWatts Array.
API Changes:
ArrayLosses Model class.
Validate that array_losses_model is non-existent when expected. Possibly need to check this at the inverter level where the PVWattsLosses exist and verify that both are not declared.
Set the PVArray's dc_ohmic_model to dc_ohms_from_percent when array_losses_parameters is provided.
Incorporate changes from https://github.com/pvlib/pvlib-python/pull/1168
We'll need a model object to handle the
array_losses_parameters
for PVArrays. This should probably be a simple ArrayLosses class with thedc_ohmic_percent
property.Dashboard changes:
array_losses_parameters
property that is valid only when not an otherwise PVWatts Array.API Changes:
dc_ohmic_model
todc_ohms_from_percent
when array_losses_parameters is provided.