Assuming one has a directed weighted graph with n nodes and let us denote the weight going from node $i$ to node $j$ by $e_{ij}$. Then one can simply just sum all weights $e_{ij}$ up.
But if we are now in the set-up of a directed weighted random Erdos-Renyi graph $G(N,p)$ where $N$ stands for the number of nodes and $p$ for the probability having a link between two edges (just pick for simplicity one direction by probability $1/2$, as we are in a directed graph), how can I calculate the expected value of $\sum_{i=1}^N e_{ij}$ assuming that the weights $e_{ij}$ follow a given distribution? (constant/uniform/normal ect)