Thanks for replying but any chance if you can explain it more layman?
What I said before is about as simple as it gets, and apparently the PADI RDP doesn't hold linearity as you go deeper so there are extra fudge factors put in there. I work with NAUI so their dive tables are a lot different. Here is attempt 2
Your tissues have a theoretical maximum amount of nitrogen that they can hold, this is called saturation. All No Decompression Limit dive tables have you surfacing before the tissues hit this saturation level. This level is still theoretical and all of the variables depend on the algorithm that was chosen. I.e. this is why in general NAUI allows the first dive to be longer than PADI, but PADI says you offgas faster, so your repetitive dives are longer than NAUI, all assuming same dive profile.
Due to the pressure gradient across the tissues, the nitrogen is able to go in faster the deeper you go. This is why you have less time for no decompression diving as depth increases. Dive tables require two input variable, PN2 which is your Equivalent Air Depth calculated as a function of atmospheres absolute at depth, and the FN2 in your gas mix. I.e. with air at 66ft in sea water, your PN2 is going to be 2.37. If you are diving say EAN32, you can either dive to 82ft and have the same PN2, in this case you are diving for the same length of time but able to go deeper for the same nitrogen loading. Alternatively you can dive to the same depth with a PN2 of 2.04 so you can stay at the same depth much longer with the same nitrogen loading.
Residual nitrogen time equates to a percentage of this saturation that your tissues are currently in before you begin a dive. This is a function of how much nitrogen your body took in, based on PN2+time, and then how much your body got rid of, based again on PN2+2, but this time at the surface. The longer you are at the surface, the more you get rid of. This is still a volume of nitrogen that is in your body that shouldn't be, so when you dive again, you can only take in so much more.
I wish I had a visual example, but here is an explanation that I came up with to help students. These numbers are random and not representative of how fast anything moves, it is all relative motion.
Your body is a 5 gallon bucket that can be filled with "nitrogen" which in this case is water. At the surface, the bucket remains empty. When you dive to say 33ft, your bucket is filled at a rate of 1 gallon/hour so you can stay down for 5 hours before your bucket is full and you have to come up. When you are at the surface, your body loses water a rate of 1 gallon per hour. If you stay at the surface for 1 hour, you have 4 gallons left in the bucket, and if you go back to 33ft, you can stay down for 1 hour. Your "residual nitrogen time" here is 4 hours, or 80% of the limit of nitrogen you can take in.
Now, at 99ft salt water, your bucket is filled at a rate of 2 gallons/hour if you start with an empty bucket, you can stay down for 2.5 hours. So you stay down to your limit and surface with a full bucket. Your bucket still only drains at a rate of 1 gallon per hour. After 1 hour at the surface you still have 4 gallons in the bucket, same as the first dive profile. You go back down to 99ft, but instead of 2.5 hours, because you have 4 gallons in your bucket, and it's coming in at a rate of 2 gallons per hour, you can only stay down for 30 minutes. The maximum dive time based on an empty bucket is what the tables are based off of, so you have 2.5 hours=100%, but your bucket is 80% full, so your residual nitrogen time for this dive is 2 hours, leaving you with an adjusted maximum dive time of 30 minutes.
Third example. You want to balance opportunity on a boat and you have two wrecks, one at 99ft, one at 33ft, and they are 1 hour apart. The 5 gallon bucket is empty in the morning. If we dive the 33ft wreck first, we have 5 hours on that wreck, surface and because we have 4 gallons of water, 80% of the 2.5 hours maximum at 99ft is 30 minutes.
Alternatively we dive the 99ft wreck first where we have 2.5 hours, then because we have 4 gallons in the bucket for the second dive, 80% of 5 hours is 1 hour.
hopefully that makes more sense