-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Make ground mounted solar panels more efficient #68603
Conversation
Because vehicles are smaller than ground tiles are, ground solar panels are very inefficient per their area. Fix this by making special ground solar panels that have an appropriate area. Vehicle tile width comes from tile_to_width in src/vehicle.cpp, is ~0.5m for most vehicles.
51b0d64
to
728a108
Compare
I assume the solar farms would have the bigger versions too? |
This PR modifies
|
Nice! (Kevin will probably furious) But there seem to be a naming mismatch: Oh, and foldable solar panels were not changed, so they are still garbage (x0.68 output for no reason). |
I don't love the naming, but didn't want to shake things up by changing a bunch of names. Maybe I should have. I don't really know anything about folding solar panels - I don't see a reason to give them the treatment received here, because folding doesn't make sense for an appliance. |
No, folding solar panels obviously are not intended to be used as appliances.
Overall, foldable solar panels are garbage without their applications. Slightly less so now, that the weight was adjusted to reasonable values (meager 36W maximum at noon in summer with "sunny" weather for 14.5kg was just ridiculous). |
Oh, they can be crafted? I thought they were an entirely different type of panel, not just a normal panel modified to fold. I might give a look at them. |
Fun fact: they can only be crafted. I doubt they spawn naturally anywhere. Yet, when I tried to fix them in #66478, I was given an explanation for the state of things as "Quick google shows collapsible panels average efficiency of 7%-15%. Non foldable 15-22%." Apparently, Maleclypse compared large industrial rooftop solar panels to some pocket-sized foldable "smartphone-charger" gadgets (and even then, my google-fu could not fetch me anything with performance below 20%), which is clearly not the way foldable solar panels are made in-game. |
Are you pinging me because you want me to google for you since again my google search for "efficiency of foldable solar panels" still pulled multiple references to below 20% on the first page or are you wanting me to comment that foldable solar panels probably shouldn't be craftable and should be salvage only? |
@Maleclypse
So yes, I'm still interested in your sources and explanation why exactly the same solar panel, after being installed into a foldable frame (and gaining weight in the process) can lose one third of its power output. I shall remind that in-game "foldable" solar panels are not pocket-sized gadgets from AliExpress, but ordinary solar panels disassembled by (player's) hand and put into frame, so one can not justify sudden loss of efficiency by "inferior cells" and power loss in additional wiring can not be that high. |
I think this discussion would probably go better in a different place. |
Done #68642 |
Summary
Balance "Improve efficiency of non-vehicle solar panels"
Purpose of change
Fixes #68526
It seems that vehicle tiles are smaller than the ~1mx1m size that tiles otherwise are
Cataclysm-DDA/src/vehicle.cpp
Lines 4014 to 4023 in 11a2c1e
Because solar panel production values are oriented around vehicles, this makes appliance solar panels less efficient than they should be.
Describe the solution
Add larger solar panels for use as appliances, constituted of 4 of the smaller vehicle-mounted solar panels.
Describe alternatives you've considered
Also add the reinforced versions, but I don't really see much point in reinforcing static solar panels.
Testing
Spawn in
Solar panels and small solar panels can be mounted
Solar panel arrays can be disassembled into smaller solar panels
And crafted from smaller panels
Generation of smaller versions
Is 1/4 that of larger versions
Additional context
There seems to have been a lot of discussion on this. This change seems in line with the discussion on the linked issue.