Ok.
In your tank family:
On your top two flanges I have created pipe connectors.

I have created a parameter called RadiusTopFlange (just as an example)

Select the flanges and associate the Radius parameter in the flange family with the RadiusTopFlange parameter in the tank family:

If you then adjust the value of the RadiusTopFlange parameter then the dimensions of the flange family will adjust according to the formulas in the flange family.
E.g. in the pictures above I used 50mm radius for the pipe connectors, in the image below I have changed it to 75mm:

You can see that the flange dimensions and number of holes etc has changed accordingly.
I did the same with the Top Probe connector that you already had in the family but I had to change the size of that connection because it wouldn't create a 15mm radius (30mm diameter) flange probably due to a limitation in your flange family.

Once you have loaded the tank family into a project the pipe connectors on the flanges should adopt the dimensions of the connected pipe and then flex accordingly.
I've saved and uploaded your family so that you can now complete this exercise to your own requirements