Modeling of Power Networks