Abstract: In this paper an object-oriented model for an electrical grid based on the IEEE 34 node test feeder and the integration of this grid with photovoltaic systems on residential level, i.e. 230 V, is presented. The goal is to demonstrate the flexibility of using Modelica to simulate a grid model and to show how this model can be used to simulate the influence of a household power demand and photovoltaic generation on this electrical grid. The idea is to clarify the voltage problem that might occur when implementing a large amount of photovoltaic (PV) systems into a residential grid.