Replies: 2 comments
-
This is nice work! Thank you for sharing it. I've thought on whether we should include it in the Wiki, but this is not intuitive for the average user. I feel that the current solution is simple to understand and "good enough". As we have no ground truth, it is hard to know which approach is more accurate. At the end of the day, the graph from the datasheet is also just that: something that has to look nice in the marketing material, not necessarily to be something that is 100% accurate. |
Beta Was this translation helpful? Give feedback.
-
Well, that is exactly what I said in the Disclaimer, and I fully agree. That was my reason for posting it here and not creating a PR against the wiki. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I was playing with the power efficiency calculations for the inverters.
In the wiki, there is a function, which use some if-clauses to create three steps to approximate the efficiency.
I thought why not using a function and just did that. Digitized the (small) graph from the inverter datasheet into a csv table for all three lines. Wrote a fit function and used the least square function fit, to estimate the function parameters. I came up with an easy function, which would fit reasonable well, taken that the original curves have some bends and dents here and there.
Thought I share the result:
The functions I ended up with are:
Where,$E_i$ indicates the resulting efficiency for a given string voltage of $i$ and $x$ the current power input in percent of the maximum power rating of the inverter.
For testing, I implemented the original and the function method and over a day I get the following results for the same inverter
step function approach: 15,062.439 Wh
arctan-function approach: 15,202.522 Wh
Not too much of a difference, but also not too less. Interestingly, I could see that the arctan function results in lower outputs in the morning and evening, but in slightly better output in the day. That would be what I expected, taken that the efficiency esp. for low values might be closer to the original published curve.
As for how the new sensor template looks like here, it is
Disclaimer: I know that this is pretty much an academic/nerd point. I have no idea which approximation is more correct, this would require detailed measurement with external equipment and most likely, the given curves in the datasheet are not really what each individual inverter will do, so at some point there is no accuracy gain at all. Yes, there are much more capable and accurate functions to fit. In particular, above 80% are not a good fit. However, that is a region, I do not reach often with my set-up in my area anyhow. I was looking for something which can easily be implemented in a jinja template and does not ask too much computational power.
Simply: It just happens, that I teach this kind of stuff and had somehow an hour of fun to apply it here...
Beta Was this translation helpful? Give feedback.
All reactions