Automatic calculation of the effective width of plate ribs