where are the calculations for a hydraulic fire sprinkling system started?

where are the calculations for a hydraulic fire sprinkling system started?