Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi all! We have been experiencing an issue on site where threads have been missing the latest postings. The platform host Vanilla are working on this issue. A workaround that has been used by some is to navigate back from 1 to 10+ pages to re-sync the thread and this will then show the latest posts. Thanks, Mike.
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Forecasting tomorrow's sunshine (to better use the solar)

  • 06-02-2022 12:03am
    #1
    Moderators, Science, Health & Environment Moderators Posts: 4,726 Mod ✭✭✭✭


    Does anyone have any reliable ways of figuring out if there'll be good solar on the following day?

    I'm used to reading the forecast for rain and wind, but when it comes to sun/cloud cover, I can't match it up at all to what ends up being generated on the day. I'm aiming to use the washing machine more on sunny mornings for example, and I set it up the night before, but half the time it's cloudy and there's not much solar energy and other times it's grand. It's probably going to be a non-issue come the summer, but while it's still early spring, I'd like to be able to plan my usage better.



«13

Comments

  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    There's forecast.solar but that's generally API access, you'll have to do the work yourself. It also integrated with home assistant.


    Met.ie have an API also that gives the hourly solar radiation value, it's more accurate but there's a lot more calculations needed to make it useful



  • Registered Users, Registered Users 2 Posts: 1,621 ✭✭✭THE ALM


    The forecast.solar I find fairly inaccurate, I run it is home assistant.

    Todays forecast production is 7.23kWh, I'm currently on 15.3kWh, yesterday forecast 6.38 and produced 2.8kWh.

    I think it is one of the most difficult things to allow for in Ireland as you could be 5 miles up the road and it be totally different.



  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    In the summer its fine, a good indication of good day/bad day

    But winter, is unfortunately highly variable.



  • Moderators, Science, Health & Environment Moderators Posts: 4,726 Mod ✭✭✭✭Tree


    Ok, so it's a real problem, not one I invented for myself :)

    Sounds like forecast.solar is as good as met éireann (at least I'll know if it's raining or not, but no clue on sun/cloud).



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    If you've got some coding skills, as graememk mentions above Met Eireann have an API which you can pass your long/lat and then they will return the forecast for the next 72 hrs, along with solar radiation levels (watts/m^2)

    Eg. (For dublin) http://metwdb-openaccess.ichec.ie/metno-wdb2ts/locationforecast?lat=53.27;long=-6.32     

    Then you can build something like.....

    Ok, it's not perfect. The reality is that while I think Met Eirean do a pretty decent job on the temperature, wind speed and direction, etc. It's hard to forecast sunlight where you have broken clouds. But if you want "something"......it's not bad.

    I've been building a history of the forecasts and plan on cross referencing with the actuals to see what the correlation is. (have to do that once I get 6+ months of data)



  • Advertisement
  • Moderators, Science, Health & Environment Moderators Posts: 4,726 Mod ✭✭✭✭Tree


    I have half a notion to see if I can plot the estimated alongside the actual for a few weeks, but it can take anything from 2 days to 5 years for me to get around to this sort of project



  • Registered Users Posts: 7 bumblebee22


    you could give try to solcast you can back feed the data for their algorithm to improve on forecast, i dont have pv installed yet to verify forecast.solar for solcast but i heard solcast is better.

    i did small php script with mysql database to record the data from forecast.solar let me know if you want to give it try.



  • Registered Users, Registered Users 2 Posts: 1,621 ✭✭✭THE ALM


    Solcast is available as an integration in Home Assistant also.

    I'm running Solcast and forecast.solar and will see how they compare. Solcast is limited to 50 calls a day through the free api.



  • Registered Users Posts: 7 bumblebee22


    i can Forecast.solar but i can not see solcast in HA, is there a different name?



  • Registered Users, Registered Users 2 Posts: 1,621 ✭✭✭THE ALM


    If you add - https://github.com/oziee/ha-solcast-solar - as a custom integration in hacs that will allow installation.



  • Advertisement
  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    Gonna try and have a crack at taking that hourly number and put it into a kwh

    I'll prob need someone to bounce ideas off. (or if someone can find a formula that would be great)

    what I am going to try and assume,

    say the value is 100w/m2 (easy counting) on a flat surface, so it already takes the angle of sun into account. eg if you had a panel on the ground flat that would be the power it would receive.

    then you have to take the efficiency of the panel which is 18-20%

    so 1m2 would generate 20wh/m2

    That would be a decent start, Would be able to that easily this evening.

    Then we need to take in the angle of the sun relative to the panels, (is there an api? /calculations) for the apparent area of the panel

    That would be a calculation for the angle of the sun in relation to the aspect and angle of the panels. (im at lunch and visualising it by rotating a place mat around.

    I wonder would digging into apparent area of an inclined plane will get me the calculation .

    the forecast.solar today was way off, going on met.ie was telling me it was gonna be a good one.


    So I planned accordingly.

    Once we get all that going, we could even take into account the temperature! (thats why may is so good, still relatively cold, long days....


    Any math or physics people about?



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    I've actually got a degree in math, but I don't think we need to overly complicated it. Sort of a rough indicator is all that's needed and the data that Met Eireann dumps out is ok to be fair. To do it "right", you'd have to work out an hourly map of panel orientation as the sun tracks across the sky, relating that to the forecast for that specific hour, but it's not necessary I think.

    I pulled the historical forecast for 7am this morning from my app and it shows the following. I use that same Met Eireann API to get the raw data

    You can see that the sum of today's radiation is 3551. This is the highest so far this year btw. This number is sort of a "makie-uppie" number. It's the hourly values summed for the day. Compared that to tomorrow's of 1951 or Wed's 1257......you'd expect Weds to only get 1/3 of the production of today.

    In reality from my experience, it doesn't quite work that way. The comparisons are good, but not perfect. The panels seem to have some inherent diffuse production capacity. Scattered light still gives some production. I know from comparing my own installation with Jonathan (he's north of Dublin, while i'm in Dublin16) so relatively close, on the dark dull days I'd have 1.5Kwhr while he'd have 0.3Kwhr on a similar sized array. So i have 500% the production he does. This only comes into play on the dark days though, when the sun is shining he (rightly) trounces my installation with his south facing panels, but it would appear that my panels/inverter handle "soft" light better than his. This for the most part is fine though as it's on crap days - which we don't really care about much anwyay

    I'll have a look over the next few days and see if I can easily decouple the inverter stuff that I have for me and then make this available for people.



  • Registered Users Posts: 189 ✭✭connesha


    Yea, I don't think it needs to be too complicated, and the forecasts can be quite inaccurate.

    I've been tracking the daily radiation (from Met Eireann feed) vs generation for the past few days also, and it has been quite consistent, until today that is...(The weather forecast for today was quite a bit off here, so any calculation would have been off). Will be interested to see the rest of this week as the forecasts are for poor weather.

    Apart from today, its worked out within 1kwh of the simple formula: sum_of_days_radiation * kwp * 80%.

    My setup is 9.4kwp, East West, 20 deg pitch roof, North Co. Dublin.

    I imagine the 80% factor will vary across different months of the year as the sun is at a better angle for the low pitch, but that can be adjusted based on the average of the previous N days (I think you mentioned doing this in another thread also bullit_dodger).

    Its not clipping production at the 6kw inverter limit this time of the year yet, but when that happens it won't matter much - only want to know if the day will be good or not so can set/disable night-time charging.

    The intention is to run this a 1am each night. Get a rough forecast of solar production, and charge the batteries to a level to get through the day, or disable charging completely. I'm on the Bord Gais EV plan, so 2am to 5am is 5p per kwh



  • Moderators, Education Moderators, Home & Garden Moderators Posts: 8,214 Mod ✭✭✭✭Jonathan


    Interested to hear how you get on with this @connesha. I'm also in Fingal and got caught out today with the weather. Was expecting another great day and it ended up being meh. Ended up with 8.9kWh but most of that went into the battery as I expecting a great day and purposely didn't charge the battery over night.



  • Moderators, Science, Health & Environment Moderators Posts: 4,726 Mod ✭✭✭✭Tree


    So I've got Solcast and forecast.solar set up in Home Assistant, and they've been wildly different the last few days (by up to 15 kWh). I have the half hourly solcast plotted too.

    I can't for the life of me get the Met Eireann global radiation into home assistant (I've got a separate server serving a simplified forecast, but god forbid there's enough documentation on the home assistant side to use the REST sensor for forecast data), so I'm just going to start plotting it on a separate dashboard to keep an eye on.



  • Registered Users, Registered Users 2 Posts: 2,743 ✭✭✭yankinlk


    Thought i was smart filling battery at nigh rate based on forecast - wow couldnt have been more wrong. 5KW imported at night rate - and 6 Kw exported during the day.


    I think i might just go back to zero night import - too much hassle to save a few pennies IMHO



  • Registered Users Posts: 189 ✭✭connesha


    Here are the calcs for the past few days @Jonathan, incl today.

    Granted, its' a very small data set. Unfortunately, I didnt keep the radiation levels for the previous days, so if anyone has them for (north) Dublin for the past couple of weeks, I can add them in and see if it still holds somewhat consistent.



    The "radiation" is updated in excel on the evening of the day before, so I know what to charge to that night.

    "est kwh" is the estimated generation, with the 80% factor.


    Given that yesterday was so far off, I'm now thinking of calcuating the factor as:

    Take the past 14 days "actual factor".

    Accept that there will be outliers, as weather forecsts in Ireland can be very inaccurate (especially this time of the year), so remove the highest one and the lowest one from the 14. Then take the average of the remaining 12.

    "avg minus outliers" is the average after the highest one and lowest one is removed.

    (I'm not sure of the mathematical soundness of this approach, but lets see how it works in practice...)


    For now, its in excel, and I manually execute a python script in the evening to set the inverter charge current for that night.  Over the next few days, time permitting, I'll move it to the NUC, put the data into a DB, and run as a cronjob before the 2am low unit rate kicks in.

    Initiating an Eddi boost between 2 and 5am is also interesting for the days with poor generation, but I havent looked at that much yet.

    I know a lot on here are integrating with Home Assistant, and maybe theres a more elegant way of running this than cronjob? I've just installed that a few days ago and have yet to get my head around it properly...



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    What I was thinking of doing myself is taking a 10 point moving average of the radiation forecasts. For example, when it's Feb11th, you sum all the radiation forecasts from Feb 1st, 2nd, 3rd etc up to the 10th, and then average that. You then compare that against the 10point moving average for the "actuals" for the same period. then you can derrive an average radiation level -> average actuals amount. Divide that so that you have the value for 1,000 radiation points gives you.

    Naturally on Feb 12th, you now take Feb 2nd, 3rd, etc up until the 11th. So your window of the 10 points move to be the latest 10 days.

    Why 10? No reason, you could pick 20 too. I figured 10 is large enough so that it's relatively stable, but not too large that if you had a week of bad weather it would still respond when better sunshine came along. If you used 20 or 30, it could also be affected by a lag in the sun hitting the panels more as the year progresses and would take longer for it to respond to changes in production due to more sunlight hitting the panels.

    This way you get rid of the "actual factor" that you have in play as it "self-aligns" hopefully.



  • Registered Users Posts: 4 Seamus1234


    Your irradiance levels to generate power will be dictated by the angle and direction of your solar panels. Is it not easier to measure with a CT the power being returned to the grid and if this is above say 1.5kw switch on the washing machine?.



  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    Yeah thats the easy way.

    But a lot of this is for night time charging too, Come April it doesnt matter anyway!

    That and some of us just like the challenge :) NOAA have a spreadsheet that calculates the sun position... https://gml.noaa.gov/grad/solcalc/

    If you could pull the days irradiance first thing in the morning, Its most likely the accurate its going to get for the comparison calculation.

    And still the prediction will be always a prediction unfortunatley.


    Looking at tomorrow.. it aint good for me!


    Edit:

    I have done a calculation assuming flat panels, (mine are fairly flat anyway)

    Tomorrow is 6kwh,

    Next day is 22kwh. We shall see how that pans out. before i dig more into the NOAA spreadsheet... and working out apparent areas of rectangles at an angle.

    Post edited by graememk on


  • Advertisement
  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    @bullit_dodger

    I'm well down this rabbit hole,... but chatting to the mrs about what i'm trying to do... I think its not as complicated as it seems.

    I can replicate the NOAA spreadsheet in code, and test accordingly. so getting the elevation and azimuth isnt an issue.

    the area (or apparent area) was the stumbling block for me.

    And I'm keeping it simple as I can at the start, One axis, Panel is flat, Sun goes in a semi- circle around the panel.

    At 0 and 180 the area is the apparent area is 0,

    at 90 the apparent area is 100%

    and then at 45 and 135 apparent area is 50%

    Then if I work out the angle of the sun relative to the panels in the 2 axis, I should be able to work out the apparent area for that hour slot..

    With 2 axis's say at 45 for simplicity, the effective area would only be 25%.

    I think that is sound reasoning? best way to find out if your wrong is put it on the internet!



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    I think your over complicating it though graememk and won't actually get much better accuracy for the work.

    You see the way I was planning it with a 10 point moving average of the forecasts, verses the actuals gained from those forecasts......so you've effectively already "built into" the model the whole area, angles and tracking. it's unnecessary to compute them because you've already got those incorporated inside the "actuals" that you inverter has given you for YOUR system. (if you follow me?)

    I guess it might help to put this in a little spreadsheet. :-)

    So "Column B" is the forecasted Met Eireann radiation levels summed for my location at 6am on the day in question (before sunrise basically)

    Column C, I create a 10 point moving average. Since I have to have 10 data points, that's why it only starts in March 1st as I'm adding up Feb 20+Feb21+Feb22 etc and the averaging them. This then "rolls forward" if you know what I mean, so I'm only summing the previous 10 days.

    Column D is obvious enough, the actual KwHr that the inverter reported for these days.

    Similar to "Column C" I create a 10 pt moving average for the actuals, this is column E

    Column F is the start of the brains, so I work out from the 10 pt moving averages how many Kwhr "1000" in solar radiation will give me.

    The final column is the computed forecast at 6am on the day in question. For example, on March 2nd at 6am, it computed that it would generate 3.18Kwhr. In reality (from the actuals column) it actually generated 3.98Kwhr. Not bad.

    March 5th is another one. Forecast 13.08Kwhr, actual generated 13.07Kwhr. Yeeosir! This is more like it, but I suspect a bit of a fluke! :)

    So tomorrow, it's forecasting (albeit 12 hrs earlier forecast than normal as I'm looking at this at 6pm on Wed 9th), but it's forecasting 15.38 Kwhr for me tomorrow. This would actually be close to the record for me which currently is at 15.93Kwhr. So I dunno if I'll get that, but I have a reasonable ballpark to go with. I know it's unlikely to be 5-6Kwhr, but probably in the 13-16Kwhr range. This is good enough I think to decide charging levels.



  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    Oh im way overcomplicating things I know that, but its more of the challenge.... the 10 point avg is working well though.

    Even my prediction today, assuming flat panels (mine are at 12 degrees i think, the roof is very walkable) was for 6kwh, and generated 7kwh. Forecast.solar = 10kwh.

    For Tomorrow, Forecast has changed to 21.7kwh (going for a decimal now lol), Forecast.Solar is predicting 10.

    Do you calculate each string separately? or just the whole thing as a whole?



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    I do have the "actuals" daily data for each string in a database, but no I wasn't forecasting for each one.....only the total installation as a whole. The problem (for me) is that I don't have even split. I've 1.5Kwp east and 3.8Kwp west, and while I could probably do the sums, the ROI on it wasn't worth it. It gets more complicated as you have to do the solar radiation for each hour (instead of the once for the day), and ultimately I don't think it would improve accuracy. There's a fair bit of energy captured by background diffused light for me, which I don't think I can easily account for. That is built into the daily "one shot" compute so I think I'll go that way. I've been collecting the Met Eireann xmls since last August for Dublin, so in another couple of months I'll have the full year.

    Ultimately the whole reason for me was to compute what my yield would be the next day so I could decide appropriately what to do. That would be setting the level of charge to put into the battery from night rate, or maybe I don't turn on the washing machine/tumble dryer and leave it for lunchtime the next day.

    I see that the forecast for tomorrow moved from 3413->3454 since earlier, so computing that in the 10 pt average that is estimating 15.56 Kwhr. Be interesting to see what I actually capture tomorrow at "close of business" - LOL



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    Final forecast at 6am this morning = 3732. So computing that has raised the forecasted yield for my system to 16.82 Kwhr

    Interesting to see how close I'll be as this is actually above the all-time record for me (new installation < 6 months so this isn't unusual), but yeah, curious to see how the model works.



  • Registered Users, Registered Users 2 Posts: 2,743 ✭✭✭yankinlk


    there is a queue for laundry in my place trying to soak up the excess... at 11am!



  • Registered Users Posts: 189 ✭✭connesha


    Could you share the MetEireann daily radiation data from Feb 22nd to now @bullit_dodger ? Thanks.

    That was my installation date, so am interested to see how consistent the predictions are from before I started gathering this data last week...

    Rough draft 1 of script to get forecast and update charge rate is just about ready, and hoping to have its first automatic run tonight... Looking forward to having this all done this automatically., besides me having to remember to open laptop, retrieve data and manually run a script every eve... here's hoping!



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    Sure - although I only have it for Dublin. Specifically...

    http://metwdb-openaccess.ichec.ie/metno-wdb2ts/locationforecast?lat=53.27;long=-6.32           

    Is that ok for you? If so, I'll dump them out to a ZIP file and place them into dropbox (or attach here)

    By the way, most computers have an "Auto-turn on" in the BIOS, so you could set the laptop to auto-turn on,.....wait a few minutes ....then in the startup folder run your script, and then have a scheduled task to run a few minutes later

    "shutdown -s"

    BOOM - done.

    Edit:- Actually, you just want the radiation levels. It's in the excel spreadsheet above.....



  • Registered Users Posts: 189 ✭✭connesha


    Ah, so it is, I see it in spreadsheet above now. Perfect. You're close enough to me that it'll be accurate enough for my needs.

    Yea, I have a NUC running all the time anyways, so once the manual steps are taken out, it'll be a cronjob on that.

    Cheers



  • Advertisement
  • Moderators, Education Moderators, Home & Garden Moderators Posts: 8,214 Mod ✭✭✭✭Jonathan


    Interested to know how did your respective algorithms work out today.

    Forecast.solar underpredicted my generation by more than 10kWh. 12.77kWh predicted, ended up with 23.5kWh.




  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    Prediction 21.7kwh, Generation was 19.9, but by the graph it looked like it was scattered cloud. Id call that close enough!


    Tomorrows is 8 something. ( I havent done anything on angle correction or anything like that, as my panels are fairly flat.)

    I take the sum of the daylight hours solar irradiance, multiply it by my panel area (each of my panels are 1.7*1, actually a bit more but taking some off for the frame etc) and then multiplied by 0.18 which is a conservative efficiency of the panel. Mine are fairly flat so that's how I'm getting away with it.




  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    Yeah - I think that was a success. Forecasted 16.82Kwhr and actually generated 15.2Kwhr. So a difference of 1.6kwhr or within 10%. I think that's a "win". Some fairly decent enough curves to for the day.

    Ultimately what you want is some reasonably decent range to operate in so you can decide roughly what to with setting your charge levels and/or moving loads like washing/drying to daytime if you think you'll have surplus. Sure it'd be nice if you could nail it down to within 1Kwhr, but weather is weather and it doesn't behave as nice as the numbers.

    I think I'll be automating that algorithm into my app, and programming the SOC via the Web API. Good thing is that the model should work for anyone else too fairly accurately....and it's relatively cheap to operate. Tomorrows forecast = 7.15Kwhr

    That's pretty shocking from forecast.solar. I mean it's ok to be out, but a factor of 100%.....that's kinda pointless.



  • Registered Users Posts: 189 ✭✭connesha



    Today was one of those fluke days where it was bang-on: Estimate 28.554 kwh. Generated 28.400. (I can't imagine it'll be that close again)

    The far bottom-right "NULL" will be updated to 28400 when the script runs at 1:45am tonight. (At this same time the script will populate the next days row, with the exception of the "actual_wh", and so on each night)



    Today is the first day the script is running, hence today having an individually calculated estimate_factor in the table.

    The estimate_factor is calculated as: For each of the previous N days, divide actual_wh by radiation. Then get the average of these.

    You can ignore some of the values in the other columns, as its just setup as an automatic script from today ,so the non-critical values were loaded with approx data (the radiation and actual_wh are accurate for all days, and that's all the matters for calculating today onwards..)

    For completeness: the script sets these ones at 1:45 am on the day of:

    • radiation - pulled from Met Eireann
    • estimate_factor - calculated from the previous individual days actual_wh/radiation
    • estimate_wh - radiation * estimate_factor
    • battery_initial_wh - the battery soc (in watt hours, not %). This is so I know how much to add to the battery
    • charge_on - did it set the inverter to charge from grid (based on the estimate_wh and battery_initial_wh)
    • charge_wh - if charging is on, how many wattHours will be added to the battery between 2am and 5am
    • charge_da - the deciAmps needed to reach this charge_wh (the inverter register uses deciAmps as unit)

    This one is filled in on the next day, when script runs again at 1:45

    • actual_wh - the generation for day, in wattHours




  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    I like that. In fact I like the whole community chucking ideas out there and seeing what sticks.

    So connesha how many days were you thinking of computing the average for. I used 10 in my own model. Like you though, I had one day in my spreadsheet above where it was uncannily accurate. March 5th was Forecast 13.08Kwhr, actual 13.07Kwhr. As you said, I think it's a fluke, but a nice fluke. :-)



  • Registered Users Posts: 189 ✭✭connesha


    I think somewhere between 1 and 2 weeks is probably the ideal. I guess you want it long enough that the average is meaningful, but not too long as the factor will change over time as the sun gets higher (and more perpendicular to the panels). I'll probably go with 10 too. As I've only populated 7 days of data so far, the number of days hasn't come into play yet.



  • Advertisement
  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    Yup, I was thinking the same about the factor changing as the sun changes the "efficiency" of the panels as it gets higher and higher, or in my case with east/west orientation that I have...

    Because that change happens in a sinusoidal waveform, around now (mid march) is where you probably want it down around 10 days, as the daily change is highest......but in June and Dec where the change is minimal we could probably shift that out to 20 days. Shouldn't really matter too much, but it's worth keeping in mind that right now in March is where it's changing at the fastest rate.



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    Just fyi - forecast this morning at 6am was 1407, which equates to a forecast of 6.15Kwhr for me. I'll report in end of day today with the actual



  • Registered Users Posts: 189 ✭✭connesha


    Forecast at 1:45AM was 1031 for me, giving an estimate of 9.724 kwh.

    Generation has been fairly poor for the day so far (3kwh so far), but looks to be brightening up now, so there's still time to try to approach the level...

    Since 9.7kwh is less than my expected usage for the day, the charging from grid was turned on and filled the battery overnight





  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    More or less close of business today.. I'm at 8.1kwh



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    Well, forecast was 6.2kwhr, and I rocked in with 10.1Kwhr. So it was a good bit off today. However, I do think that this was more that the raw data going in (the forecast) wasn't great over the model itself. I think the forecasting model is fine, but if the input is off.....Well, as you know how the saying goes..."garbage in - garbage out".

    Cleared up pretty nicely weather wise from 1:30pm onwards today. Charting the differences between the forecast and the actuals observed, I'm sort of seeing a trend, although it's a bit early to tell for sure.

    A lot of the times I seem to be generating 1.5-2.0Kwhr more than the forecast, so I may have to have some kinds of multiplier.

    I do feel though that while today was a bit off, that there's a algorithm there to give you a decent forecast for 6 out of 7 days of the week.



  • Advertisement
  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    I think the met.ie data is one of the best sources we have.

    And a few hours of sun in the afternoon can make a bad day into a good day.

    Would the "surprise" good day skew your prediction much going forward?



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    It shouldn't skew it mate. In fact if anything with the way that it's setup by taking the moving point averages from both the forecast and the forecasts, given enough time, it would sort of "self learn" and adjust itself, as the moving averages incorporate more data and dump out the older less accurate forecasts.

    One thing to remember of course is that while weather forecasting has come on a lot, it's still not an exact science. While I am pulling for my lat/long, Met Eireann work on "grid cells" and if you happen to fall into an adjacent cell, you might have slightly a different forecast. Normally adjacent cells are 95% the same, but if you were near the coast or a mountain, you may see a bigger change. Shouldn't really matter to be fair, but I'll mention it.

    Still I've been pretty happy with the forecasts so far to be honest. Yeah, today was a bit off, but generally if we can get it within 2-3Kwhr, that's kind of a win I think. it'll allow us to set charge levels and/or move loads.



  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    Yep I agree it's close enough.

    And I'm shocked on how close I'm getting by putting in the m2 of my panels * total irradiance * 0.18 😆

    As you have the data, care to humour me? Try it on yours and see how a higher angle treats it.

    Where I would gain in the mid day I'd lose out in the morning/evening. Higher angle won't do as much during the day but more in the morning and evening



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    Well, my panels are 1840mm x 1088mm = 1.84m x 1.08m = 1.98m^2 and I've 14 of them, so that's 27.72 m^2.

    So if I take today's forecast of 1407, that's

    27.72 x 1407 x 0.18 = 7020 = 7.02 Kwhr

    and my other model came to 6.15Kwhr. I just think the raw forecast was "off" for me today. That's ok, just have to accept that it's not a perfect value everyday. It's a fun challenge.....



  • Registered Users Posts: 189 ✭✭connesha


    Yesterday was another good prediction. Estimate 9.7kwh. Actual 9.2kwh.

    Today will come in under the estimate of 26.4kwh. It'll probably finish up somewhere around 20 or 21kwh by the end of the day.

    Automatically setting the charge rate based on this has been successful so far.

    For yesterday, given the estimate was 9.7kwh, it fully charged the battery overnight.

    For today, given the estimate was large, it didn't need to charge to get through the day. However, the script has another check: it sees what the battery level is at 1:45AM, predicts what the level it will have depleted to by 8am, and does a small topup if necessary such that for breakfast the battery is 30% soc (no point having completely empty battery at breakfast time, when will have some usage then). That's why you can see a small charge this morning.





  • Registered Users Posts: 189 ✭✭connesha


    I have the feeling that the ratio of radiation to generation won't be linear for all radiation levels. And for sure when the inverter clips at its max 6kw, this will throw off the ratio. While it won't be an issue for the days that it does clip, as these days will normally have so much generation that it won't matter if the estimate is a good bit out, it will have an effect on the calculated estimate_factor, and therefore may skew the estimates for lower radiation dates.

    Am thinking of updating the way estimate_factor is calculated to basically use days with a more similar radiation to today. For instance:

    Query the db for the last 14 days. From those 14 days, take the 7 days that had a radiation level most similar to todays radiation. Calculate the estimate_factor using these 7 days only.

    At least this continues to be self adjusting over the year, no intervention needed, and uses "recent days like today" to calculate...

    Thoughts?

    Post edited by connesha on


  • Moderators, Home & Garden Moderators Posts: 6,280 Mod ✭✭✭✭graememk


    I forgot to declare what my prediction was for today.. and i dont have it recorded lol but it was 20 kwh.. i think.

    Got 21kwh. Its been close enough for me.. to not worry about sun position and angle of sun :P

    17.9 for tomorrow, and 19 for the next day.


    I dare say your way is more accurate, but requires historical data. Would love to see how my quick and dirty calculation performs on different aspects too



  • Registered Users Posts: 189 ✭✭connesha


    @graememk my panels are 1,029mm * 1,855mm = 1.91m^2.

    12 panels east, 12 west = 45.84m^2 total

    Roof pitch is approx 20deg.

    Panels are 390W, 20.43% efficient

    For today, 45.84 * 2822 * 0.18 = 23.28kwh

    Actual generation for today was 19.5kwh



  • Registered Users, Registered Users 2 Posts: 2,565 ✭✭✭bullit_dodger


    So another one today which was a fair chunk off. I'd a figure of 2891 forecasted by Met Eireann which should have yielded 13.3kwhr. Sadly not even close. Actuals today was 8.2Kwhr.

    It was real nice this morning, blue skies until 11-12am but then there was a massive rain storm that came through when the six nations game was on about 4pm. I was giving this a bit of thought, you see my East array is only 1.5kwp and my West Array is 3.8Kwp.

    You can see the nice smooth(ish) line on the east array up until 11am. If my East and west arrays were reversed, I'd say I'd have been closer to the forecast as it was very much a chalk and cheese difference between morning and afternoon, and when the big arrary would be yielding it's max.....it was lashing rain.

    It's a bit of a challenge that, but I might be able to code up a solution (going the hourly route and then summing it up) - have to think about it.

    By the way, tomorrow (so far) looks awesome and setup for best day of the year. Which is odd as it's forecasting rain for Dublin. (3660 at the moment, which equates to 16.1Kwhr for me - I'm skeptical :-)



  • Registered Users Posts: 189 ✭✭connesha


    Last 10 days, incl today, since started forecasting.

    Past 2 days were less accurate.




  • Advertisement
Advertisement