Text this: Computerised calculations for water level and velocity variations in the surge tank system