Bug: oscillating Water / waves
Servus, After finishing a dam on a levee, and after the following draught, the water started oszilating erratically. In the screenshot the bay overflows regularly and then flows(!) out nearly to the point of drying within ingame hours, although i placed dams in the bay and further down the stream. I can provide a savegame if you so desire.
----------------------------------------------------------------
Mod edit:
one fix for this is, ironically, less dams. for plains specifically, 4 dams is the max you should have.
for other maps that you have this problem with, you can test by building a wall of 2 height floodgates and closing one at a time until flooding starts, then opening one and seeing if it drains properly.
dams actively push/pull water, which will cause waves as the response lags behind what's actually needed. more dams means the amplitude of this wave is larger, and interaction with dams downstream further amplifies the waves.
Comments: 69
-
18 Sep, '21
Arobi MergedBeen playing around with the floodgates and got my system stuck in a loop of barely having any water to full blown flood every 10 seconds. Haven't got a clue why as thought it should calm itself down after a minute or so but hasn't.
River setup - I have floodgates further upstream and normal dams downstream -
20 Sep, '21
pmduda Admin"Tidal wave flood" (suggested by Arobi on 2021-09-18), including upvotes (1) and comments (0), was merged into this suggestion.
-
21 Sep, '21
Semaby MergedI recently picked up the game and had decided in my playthrough to dam up river up stream to eventually set up a district up there but in doing so (placing a dam over a levee) have now caused the games water to sporadically burst its banks down stream even when i build further levees on the banks near the damn to block it from thinking it can waterfall effect on to the farmland. Is this a bug or a fault of my own.
( i have noticed it seems to be swelling from the dam on the lake as it fills and then bursts and resets to a low level, if this is of any help)
Thanks -
21 Sep, '21
Aaron MergedAt the map Teraces(256x256) Played for around 5 hours. The water seems to get into an odd rhythm instead of a constant flow. At first i thought it was because of the pumping station but there is a second river that i only have one damn at nothing else and it is pulsing same as the first. It is basically that instead of a neat constant flow as before it now runs in irregular pulses. The city i have is fairly advanced and the water ontop was drained regularly before i raised the water level with levee walls. The pulsing seems to start at the last damn. Floodgate or damn seems to make no difference here. A restart seems to have fixed the issue .. will report if it returns after a while
-
21 Sep, '21
Edelmiro MergedI built a levee with floodgates on top and set them to .5 to use it as a dam. When the drought ended the water goes back and fort flooding the terrain down the floodgates and up the floodgate (while draining the water down floodgate for some reason) I recorded a short video here: https://youtu.be/w27ugdOcckc
And the save is here: https://mega.nz/folder/SkF2wZiD#P5-mMLPkQQGAi0s-K3noMg -
21 Sep, '21
pmduda Admin"BUG: Strange waterflow" (suggested by Aaron on 2021-09-21), including upvotes (1) and comments (0), was merged into this suggestion.
-
21 Sep, '21
pmduda Admin"Water spilling onto higher ground" (suggested by Semaby on 2021-09-21), including upvotes (1) and comments (0), was merged into this suggestion.
-
21 Sep, '21
pmduda Admin"Fooldgates and water not updating properly" (suggested by Edelmiro on 2021-09-21), including upvotes (1) and comments (0), was merged into this suggestion.
-
29 Sep, '21
Vincent SankoI have had a similar experience on the same map. I fixed it by placing a "dam" piece at the mouth of the inlet. I noticed that the water level in the inlet would go very low before flooding. When it was low, the water outside the inlet was bunched up and not moving. My water wheel stopped downstream and no water would go past my dam I have right before the lake. After this, everything was flowing again but the inlet started flooded. Possibly due to incorrection water viscosity/bouncing?
-
01 Oct, '21
Kieran CoyleI'm having similar issues, extreme oscillation and flooding between 2 dams. I'd imagine it's a momentum/rate of rate of change (dt^2) style thing as it seems the with flooding the water is 'dragged' through the downstream dam, and up onto the floodplain, causing the water level to drop lower than it should be able to faster than would happen in a drought with pumps.
Droughts are oddly enough much nicer, as the water stays stable under the dam line. -
01 Oct, '21
Gin Fuyou Admin MergedWaves are expected behaviour, it's being tuned now. Sometimes waves become violent, if so that is considered a bug. but I don't see it on your screencap.
-
01 Oct, '21
FuryoftheStars MergedI often get this same issue. Made me start building things on platforms on that map and finally I just moved on from that map cause I was tired of it.
Water mechanics don’t seem to flow as easily as real water should, imo. -
05 Oct, '21
pmduda Admin"Überschwemmung / flooding" (suggested by Horizon_404 on 2021-10-03), including upvotes (1) and comments (0), was merged into this suggestion.
-
12 Oct, '21
Seriously UnseriousI'm also noticing this. Not had anything as severe as the video or what some here have described, but it seems to be possible on all maps, so I think it's a water physics thing.
I'll get at least some degree of it whenever I raise or lower a flood gate, or whenever a new dam/levee/flood gate is constructed while water's flowing through. It seems like the water has way too strong of a sloshing effect. I guess some of these can get out of hand worse then I've seen so far, so definitely something that can ruin your run if it gets into a positive feedback loop in how the code handles the water physics. -
20 Oct, '21
pmduda Admin"Water physics are weird when off screen" (suggested by internet anon on 2021-10-07), including upvotes (1) and comments (0), was merged into this suggestion.
-
09 Nov, '21
Jaco3011I don't know how exactly water mechanics work in this game, but adding some viscosity that would work like damping may help with this.
-
11 Dec, '21
Elmindrida MergedPlaying Iron Tech, Mountain Range Map.
The problem I am encountering is with water wheels (both large and compact) that are placed in a section of river that is being fed via waterfall and has a dam/flood gate downstream.
The water level of the section of river constantly bobs up and down. This seems to be due to waves, traveling back and forth down this section. This occurs throughout the entire wet season.
As the wave travels past the waterwheel, it slows down tremendously or reverses its direction. Once the wave reaches the other end of the section of river, it rebounds, causing the waterwheel to speed up or reverse direction again.
Currently, my large water wheel's highest output is 350 hp. Its lowest is 184 hp.
Starting at dawn (which I will call 0h) w/ a 15h workday:
---Day 1---
0h: 310
1h: 321
3h: 191
6h: 338
9h: 175
11h: 350
16h: 189
19h: 320
22h: 197
---Day 2---
1h: 314
4h: 188
7.5h: 308
10h: 186
13h: 340
16h: 184
19.5h: 320
22h: 192
---Day 3--- -
13 Dec, '21
Gin Fuyou Admin"BUG?: Water Wheels slowing down/reversing direction repeatedly due to waves" (suggested by Elmindrida on 2021-12-11), including upvotes (1) and comments (0), was merged into this suggestion.
-
24 Dec, '21
NickSame here! Oscillating even lead to flooding water pumps and beavers unneccesary dieing of thirst :'(
-
08 Jan, '22
Goremachine MergedThis is an issue that regularly causes flooding and other dry patches. This map has an inflow of 3 pieces with strength 1 and a buffer reservoir, a straight flat river, and a dam. So unless inflow is very random something is wrong with water physics:
- The river fills up to the 0.65 of the damn, then starts to spill over. Spilling then "super-drains" and the spill completely stops.
- Afterwards, the river fills at the inflow until it (almost) floods and leaves post-dam (almost) dry
- This wave then propagates to the dam, spilling again, draining again and repeat.
Video of issue:
https://drive.google.com/file/d/1NTfFJskp8xmy1bIKX08DTjUJPECqiCVO
Savegame:
https://drive.google.com/file/d/1i3vVluhIoYZIZSRJzIdcAaCHMcE5kP-3
Analysis:
My hunch is that you calculate the addition to the water before the flow, so the water stacks like honey before it continues.
I would expect the water to keep a constant level of 0.65 and everything above that to spill over with a constant flow -
09 Jan, '22
Gin Fuyou Admin"Water physics broken/incorrect causing uncontrollable water levels" (suggested by Goremachine on 2022-01-08), including upvotes (1) and comments (0), was merged into this suggestion.
-
09 Jan, '22
HunterI too have "River setup - I have floodgates further upstream and normal dams downstream", play the sim on 3x and get constant surging up and down between the gates and dams
-
10 Jan, '22
B M MergedPlease fix the water surge effect. I'm playing on plains and I have a dam on the end of the lake to rise the level and its almost like the is an invisible wave bouncing back and fourth periodically flooding my main settlement and the settlement on the other side of the dam. It makes playing impossible and me me very aggravated as I have spent al on time on this world.
-
10 Jan, '22
Gin Fuyou Admin"Water Surging" (suggested by B M on 2022-01-10), including upvotes (1) and comments (0), was merged into this suggestion.
-
14 Jan, '22
A Lost DogI have seen this too.
When I have 3 consecutive flood gates set to %50, the waves start, and never stop -
20 Jan, '22
SergeyI can confirm this issue persists. It is really sad, as the game is beautiful. But after many hours, finally finishing a large floodgate wall and hoping to survive long droughts should be rewarding. Instead, the cycle of flooding just makes the game unplayable, so I have to stop, unfortunately.
-
21 Jan, '22
rosey16 MergedMy water, not during the dry season, will suddenly dry up and everything before the section will flood to great lengths across the map. It dries up after a few minutes or so, but it does this continuously.
-
21 Jan, '22
Gin Fuyou Admin"Flooding Issue" (suggested by rosey16 on 2022-01-21), including upvotes (1) and comments (0), was merged into this suggestion.
-
04 Feb, '22
_alphaBeta_I'm having the same issue on the terraces map. I've raised the river by 1 block with levees in the starting district and placed two double floodgates at the top of the first waterfall. The oscillation back and forth seems to dissipate once I stop adjusting the floodgates and only adjust one a time to reduce the size of the oscillating "wave."
The larger issue I'm having now is that I have three dams across each drop before the starting river joins the main one. I'm getting wildly fluctuating water levels by the time the last drop reaches the main river on this map. I have numerous water wheels in this last section at the top of the last waterfall that fluctuate considerably in power output. -
08 Mar, '22
GoremachineSo half a year later there's no update on one of the most important mechanics, the water and damming it up?
-
08 Mar, '22
Zam! AdminIt was tweaked and mostly fixed with one of the hot fixes. It's nowhere near as bad as it used to be and further tweaks are comming.
-
11 Apr, '22
ISAWHIM MergedHaving half a unit of control, per level, makes the flood-gates quite a horrible "control unit". It is either ON, OFF or Half-ON/OFF. Adding this to the odd water mechanics, you get a strange back-surge wave, when there honestly shouldn't be any.
For instance, I open a single flood-gate from 1.0 to 0.5 and it drains-out as expected, at first. Then, suddenly, out of nowhere, water gets backed-up and starts flooding, even though there is a wall of 20 flood-gates at the lower end, also at 0.5 on a lower elevation. For a moment, it is like the water doubles in height, which is just impossible. (Like it is trying to simulate back-wash, as if you are releasing a massive amount of water into a stagnant pool. I can understand that, but it is just ONE gate releasing into a river that is 6 blocks wide, which leads to a "U" of 0.5 height blocks. The water should not get to 1.0+ height, from the single 0.5 flood-gate. Not minutes after it was released, when it was fine for all the time prior.) -
14 Apr, '22
Gin Fuyou Admin"More precision needed for flood-gates, please!" (suggested by ISAWHIM on 2022-04-11), including upvotes (1) and comments (0), was merged into this suggestion.
-
08 Jun, '22
GreggNew player just starting damming rivers and the water sloshing and running back uphill is pretty crazy to watch. Flood surges where water takes time to drain downstream makes sense, but water bouncing backwards up a river and the entire reservoir spilling over and emptying like you bumped a teacup don't make much sense. It's surprising to read that this used to be even worse. (June 2022)
-
08 Jun, '22
Gin Fuyou AdminIt wasn't worse, it's a long-standing problem that has problems with reproduction. For example it never actually happened to me at all.
-
09 Jul, '22
CordeiroHi, I've been trying to mess a bit with floodgate levels to try to mitiage the issue, but I couldn't find a working solution for this waves. I even recorded a clip and uploaded to youtube as non-listed.
https://youtu.be/QI6WU0DyICI
This issue has been consistent to me. Any thoughts on possible solutions? -
12 Jul, '22
Kevin MergedWhen playing with flood gates at different heights that each let through 0.5 worth of water over the top, while keeping a relative height stockpile behind it, I observed that there would be 'bursts' of water that would come through and result in random parts of my districts becoming flooded repeatedly. I sincerely believe that this is a bug because I see no reason for water flow to become unstable like this. I verified that the width of each floodgate I built was the same so that there was not too much or too little water flowing through each gate. I don't see an upload option for my game save file on this ticket though, but I'm happy to provide it if that would help! The flooding is only temporary and lasts for a minute or so, but it's still rather unnerving to have happen all the time.
1 -
14 Jul, '22
Gin Fuyou Admin"Unstable water flow when using multiple flood gates resulting in temporary flooding" (suggested by Kevin on 2022-07-12), including upvotes (1) and comments (0), was merged into this suggestion.
-
28 Jul, '22
StuartHaving this issue on the plains. a levee+dam upstream and dams downstream. Wave effect floods my settlement then the water level dips below the lower dam for some reason. Maybe needs constraints put on the water physics to prevent such effects.
-
01 Aug, '22
ChrisHappens on Helix Mountain too. Haven't noticed it from the primary water source (Of course, it has a long time to sort itself out.) The secondary, however, does it all the time. Specifically after the first waterfall, heading toward where you start. With several floodgates to create sections that will retain water, the levels fluctuate wildly. I've tried combinations of open, partial, and fully closed with the gates. The level keeps fluctuating from flooding to empty seemingly at random.
-
05 Sep, '22
Michael MergedI have been having an issue with the water level bouncing up and down during the wet season.
This only happens downstream of a slucegate type stucture, no matter how I have it set. Flow totaly stops, then surges far more than it should, then drops again. It makes it very difacult to use water power, or to have any structure built along the side of the water as it will flood a good part of the land quite frequently. Several times in a day cycle. I would understand wave action if it was a lake or something simular, but, this is on the river, the water should not be suddenly surging past the gate, it should flow, based on the water level. Currently it surges then dies, with no effect on the water level upstream of the gates. -
06 Sep, '22
Gin Fuyou Admin"Water level bouncing up and down." (suggested by Michael on 2022-09-05), including upvotes (1) and comments (0), was merged into this suggestion.
-
10 Sep, '22
BrianRunning into the same issue. Going downstream, there's a floodgate -> dam -> dam at different vertical heights (then another dam but that one doesn't overflow, possibly because it's a much larger basin). If I set the floodgate to 0, everything works fine, but as soon as I jump it up even a little bit, everything goes haywire. Goes from flooding to nearly empty about every 12 real-time seconds on ">>>" speed.
1
The really odd thing is that it seems to be magnified by the consecutive dams. If I remove either of the dams, the surges continue but they stop flooding. If I remove both dams, the river flows *very* consistently, within a couple of tenths of a cms. I hope this helps figure out what's going on, because these waves are the *only* thing I dislike about this game after 80+ hours of gameplay.
I took a video of the flooding happening: https://www.youtube.com/watch?v=_ef1DmMAbhA -
20 Sep, '22
Cal MergedIn build v0.2.8.1-9748a0c-sw after building a double floodgate near the starting location (on the left in the screenshot) the water level rises to above flooding levels for the nearby land brief (as it always has) but then when the water level goes back to "normal" it over corrects and so I end up in a perpetual cycling between above and below normal water levels as though I'm always just coming out of a drought.
What's particularly strange is that I have a dam on the right side of the screenshot that somehow manages to let enough water drain that the water level dips too low and stops flowing over the top even though the incoming water level to this little bend should be constant (I haven't made any other changes to the river than what are seen in this screenshot). -
21 Sep, '22
Gin Fuyou Admin"Strange water behavior in latest update" (suggested by Cal on 2022-09-20), including upvotes (1) and comments (0), was merged into this suggestion.
-
27 Oct, '22
MaDOSHaving the same problem with the following setup. The problem started when I finished the upstream floodgates. Until then the downstream dam was working fine. Now it oscillates between flooding and draining completely in the middle section of the river. After waiting a few in-game days it seemed to get a bit better but I can not exactly confirm that.
-
05 Nov, '22
RHNSpent the last couple days frustrated by constant surging of the water downstream from main reservoir on the Terraces map. Didn't take me long to realise that the mechanics for the "Dam" and "Floodgate" blocks are fundamentally flawed, and that is what is causing this issue.
1
From what I can tell, the Dam(and Flood gate, same mechanics it seems) work by measuring water depth, and if the water level rise to ~0.6 they allow water through. The issue HOW they allow water through. They don't simply allow water to spill over a 0.5 high block as described, but instead seem to become 0 block high until the water level goes down. With high enough flow rates, this allows HUGE volumes of water through, until they slam shut because they just emptied out the river. This is amplified when the produced wave hit the next dam.
The Dam blocks NEED to be set to 0.5 height(not 0!) when they activate to let water through. This will produce a discharge proportional to the water level behind them. -
23 Dec, '22
Thierry3D MergedI imagine water physics is hard to simulate. However, waves (generated by opening or closing floodgates or digging some holes in a reservoir) should die off quickly.
For now, the water is constantly rising and falling, sometimes causing recurring floods, or water wheels stopping or even turning in the wrong direction. -
27 Dec, '22
Gin Fuyou Admin"Water Wave Damping" (suggested by Thierry3D on 2022-12-23), including upvotes (1) and comments (0), was merged into this suggestion.