Keywords: Electrical grid; AC grid; DC grid; Power flow analysis; Modelica
Proceedings of the 10th International Modelica Conference; March 10-12; 2014; Lund; Sweden
 B. Verbruggen, J. Van Roy, R. De Coninck, R. Baetens, L. Helsen, and J. Driesen, “Object-Oriented Electrical Grid and Photovoltaic system modelling in Modelica,” in 8th International Modelica Conference, Dresden, Germany, Mar. 2011.
 R. Baetens, R. De Coninck, J. Van Roy, B. Verbruggen, J. Driesen, L. Helsen, and D. Saelens, “Assessing Electrical Bottlenecks at Feeder Level for Residential Net Zero-Energy Buildings by Integrated System Simulation,” Applied Energy, vol. 96, pp. 74–83, Aug. 2012.
 The European Commission. (2013, Dec.) The EU Climate and Energy Package. [Online]. Available: http://ec.europa.eu/clima/policies/package/
 The European Parliament, “Directive 2010/31/EU of the European Parliament and the Council on 19 May 2010 on the Energy Performance of Buildings (recast),” 2010.
 J. Van Roy, B. Verbruggen, and J. Driesen, “Ideas for tomorrow: New tools for integrated building and district modeling,” IEEE Power & Energy Magazine, vol. 11, no. 5, pp. 75–81, Aug. 2013.
 H. Lee Willis, Power Distribution Planning Reference Book. USA: Marcel Dekker, Inc., 1997. 2Inode, Iline, Snode and Unode are all complex matrices.
 P. Savege, R. Nordhaus, and S. Jamieson, “DC Microgrids: Benefits and Barriers.” Yale School of Forestry & Environmental Studies.
 B. Williamson, M. Redfern, R. Aggarwal, J. Allinson, C. Harris, P. Bowley, and R. Hotchkiss, “Project Edison: SMART-DC,” in IEEE PES Innovative Smart Grids Technologies Europe (ISGT), Manchester, United Kingdom, Dec. 2011.
 International Energy Agency, “Energy Technology Perspectives 2012: Pathways to a Clean Energy System,” 2012.
 R. Passey, T. Spooner, I. MacGill, M. Watt, and K. Syngellakis, “The Potential Impacts of Grid-Connected Distributed Generation and How to Address Them: A Review of Technical and Non-Technical Factors,” Energy Policy, vol. 39, no. 10, pp. 6280–6290, Oct. 2011.
 K. Clement, E. Haesen, and J. Driesen, “The Impact of Vehicle-to-Grid on the Distribution Grid,” Electric Power System Research Journal, vol. 81, no. 1, pp. 185–192, Jan. 2011.
 L. Liu, F. Felgner, and G. Frey, “Comparison of 4 Numerical Solvers for Stiff and Hybrid Systems Simulation,” in IEEE Conference on Emerging Technologies and Factory Automation, Bilbao, Spain, Sep. 2010.
 J. Tant, F. Geth, D. Six, and J. Driesen, “Multiobjective Battery Storage to Improve PV Integration in Residential Distribution Grids,” IEEE Transaction on Sustainable Energy, vol. 4, no. 1, pp. 182–191, Jan. 2013.
 SPOT library. [Online]. Available: https://github. com/modelica-3rdparty/SPOT  Modelon. Electric Power Library. [Online]. Available: http://www.modelon.com/products/modelica-libraries/electric-power-library
 F. Geth, N. Leemput, J. Van Roy, J. Büscher, R. Ponnette, and J. Driesen, “Voltage Droop Charging of Electric Vehicles in a Residential Distribution Feeder,” in IEEE PES Innovative Smart Grid Technologies (ISGT) Europe, Berlin, Germany, Oct. 2012.
 (2013, Dec.) Flemish Regulator for the Energy and Gas markets (VREG). [Online]. Available: http://www.vreg.be