distribution network modeling