Thread Rating:
  • 8 Vote(s) - 3.88 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[MERGED PR] Scaling pipe leakage
#4
(05-12-2022, 04:50 AM)Ikea Wrote: I think the visual indicator is good, the pipe leak nerf i think will nerf high power burns way too much in a really haphazard way and id much prefer to see a more specific nerf.

What part do you feel is haphazard?  What are you imagining as a more specific "nerf"?


Code:
else if ((pressure > (4*fatigue_pressure)) && prob(30)) new_rupture = 3
else if ((pressure > (2*fatigue_pressure)) && prob(60)) new_rupture = 2

Those checks can be made more generic in the form:
  • pressure > (2^R)*fatigue_pressure && prob(60/R) , where R is new rupture value - 1

To solve for the maximum R for our current pressure:
  • max_R = log(pressure/fatigue_pressure)/log(2)

max_R is bound to no more than 20, so it extends the original logic to 20 checks instead of the two.  The difference actually comes with the additional probability check which is (5/i) instead of (60/i), which will cause most things to start as a small leak first.  Remember the leak will only get worse if the air is unable to equalize with the ambient air of the pipe segment.

The calculation for amount of loss per leaking pipe is also changed:
  • Pressure loss was previous limited to: 100-300 units per pipe per pipeline tick.  Depending on the burn that is negligible as increases in temperature can be exponential while still allowing for gas to be added to the system.
  • This is now changed blend of 100-40,000 units and 0.6%-13% which is interpolated between: 90+0.6% to 36000+1.3% (at a rupture of 20)


Messages In This Thread
[MERGED PR] Scaling pipe leakage - by github_bot - 05-11-2022, 09:50 PM
RE: [PR] Scaling pipe leakage - by Kotlol - 05-12-2022, 04:02 AM
RE: [PR] Scaling pipe leakage - by Ikea - 05-12-2022, 04:50 AM
RE: [PR] Scaling pipe leakage - by Azrun - 05-12-2022, 07:45 AM
RE: [PR] Scaling pipe leakage - by Ikea - 05-12-2022, 01:49 PM
RE: [PR] Scaling pipe leakage - by nefarious6th - 05-12-2022, 02:55 PM
RE: [PR] Scaling pipe leakage - by Splints - 05-15-2022, 08:58 AM
RE: [PR] Scaling pipe leakage - by Confuseddp - 05-17-2022, 06:04 PM
RE: [PR] Scaling pipe leakage - by Jakson - 05-17-2022, 06:59 AM
RE: [PR] Scaling pipe leakage - by Kotlol - 05-17-2022, 07:53 AM
RE: [MERGED PR] Scaling pipe leakage - by Cal - 05-22-2022, 04:35 AM
RE: [MERGED PR] Scaling pipe leakage - by Cheffie - 05-22-2022, 05:15 AM
RE: [MERGED PR] Scaling pipe leakage - by Piksqu - 05-22-2022, 10:50 AM
RE: [MERGED PR] Scaling pipe leakage - by Kotlol - 05-22-2022, 11:55 AM
RE: [MERGED PR] Scaling pipe leakage - by Kotlol - 05-22-2022, 03:58 PM
RE: [MERGED PR] Scaling pipe leakage - by Cheffie - 05-23-2022, 08:09 AM
RE: [MERGED PR] Scaling pipe leakage - by SenExus - 05-23-2022, 09:55 AM
RE: [MERGED PR] Scaling pipe leakage - by Kotlol - 05-23-2022, 10:30 AM
RE: [MERGED PR] Scaling pipe leakage - by Kotlol - 05-23-2022, 12:07 PM
RE: [MERGED PR] Scaling pipe leakage - by SenExus - 05-24-2022, 12:05 PM
RE: [MERGED PR] Scaling pipe leakage - by Kotlol - 05-24-2022, 03:29 AM
RE: [MERGED PR] Scaling pipe leakage - by Kotlol - 05-24-2022, 04:38 AM
RE: [MERGED PR] Scaling pipe leakage - by Cheffie - 05-24-2022, 02:41 PM
RE: [MERGED PR] Scaling pipe leakage - by SenExus - 05-25-2022, 10:20 AM
RE: [MERGED PR] Scaling pipe leakage - by Azrun - 05-26-2022, 10:59 AM
RE: [MERGED PR] Scaling pipe leakage - by Cheffie - 05-26-2022, 01:08 PM
RE: [MERGED PR] Scaling pipe leakage - by Kotlol - 05-27-2022, 03:48 AM
RE: [MERGED PR] Scaling pipe leakage - by Azrun - 05-30-2022, 12:30 PM
RE: [MERGED PR] Scaling pipe leakage - by Cheffie - 05-31-2022, 04:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)