in reply to Hash Lookup
my @match = grep { $SOCCalc >= $_ } keys %$dischargelookuphash; [download]
If you want to frequently extract ranges from a structure, hash is probably not the best tool for the job. A heap or a tree might serve you better.