Inverter Modeling for Power System Studies