Skip to content

Where to put losses when using user defined models? What are the correct boundaries/buckets? #1956

Answered by cwhanse
natecostello asked this question in Q&A
Discussion options

You must be logged in to vote

In pvlib's current construction, DC->AC conversion losses are accounted for in the inverter model. There isn't a separate 'loss' function. However, you could include a factor in a user-defined ModelChain.losses_model. A user-defined losses model would need to behave like the pvwatts loss model; it would apply the product of factors to the DC power and record the result on ModelChain.result.dc.

DC ohmic losses are handled differently - the losses is in units of power and is subtracted from DC power, rather than being a factor multiplied by DC power.

I'll try to formulate, and welcome corrections:

DC power at the inverter = (DC power from array) x (product of losses in losses_model) - (dc o…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by natecostello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants