Analysis of the relationships between different physical quantities by identifying their base quantities and units of measure