Skip to content

pvsyst_system_losses #1020

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
btaute opened this issue Aug 5, 2020 · 0 comments
Open

pvsyst_system_losses #1020

btaute opened this issue Aug 5, 2020 · 0 comments

Comments

@btaute
Copy link
Contributor

btaute commented Aug 5, 2020

Is your feature request related to a problem? Please describe.
An implementation of PVSyst system losses would help new users.

Describe the solution you'd like
I'd like an implementation of dc_losses_pvsyst and ac_losses_pvyst, similar to the code below.

Describe alternatives you've considered
PVWatts_losses implements losses differently.

Additional context
I'm happy to lead the Pull Request on this. Additional pull requests would be to implement each of the losses, which are simply getting compiled here. Most losses would be a Series of fractions, but some of them (auxiliary_power and external_transformer_losses) would be in watts.

def dc_losses_pvsyst(dc_power, dc_cabling, module_quality, lid,
                     module_mismatch, strings_voltage_mismatch,
                     ageing):
    loss_factor = combine_loss_factors(dc_power.index, dc_cabling,
                                       module_quality, lid, module_mismatch,
                                       strings_voltage_mismatch, ageing)
    dc_losses = dc_power * loss_factor
    return dc_losses


def ac_losses_pvsyst(ac_power, ac_cabling, unavailability, auxiliary_power,
                     external_transformer_losses):
    loss_factor = combine_loss_factors(ac_power.index, ac_cabling,
                                       unavailability)
    ac_losses = ac_power * loss_factor + auxiliary_power
                                       + external_transformer_losses
    return ac_losses

@mikofski mikofski mentioned this issue Jul 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant