Quality and sourcing of refineries' crude inputs