Inflation depending on surface size

Hi, I am working with inflatable “cells” or “bubbles” from surfaces in grasshopper. I wiule like the onflation to be parametric, the pressure according to the surface area. Which means bigger sirface → bigger bubbles. I did something similar in another script with hight depending on surface size, but I can not translate this into my new script.

See attached pdf of earlier script, and new file with inflation.

I am happy for all tips I can get!

Best,

Madeleine

q_ghf_04.pdf (171.8 KB)
Model 6.3dm (10.3 MB)
Model 6_inflatable surfaces.gh (1.1 MB)