Skip to content

Commit

Permalink
Merge branch 'dev' into features/#4-pypsa-interface
Browse files Browse the repository at this point in the history
  • Loading branch information
gplessm committed Sep 5, 2017
2 parents 7fe4361 + 630deea commit 9ec816e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions edisgo/grid/components.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ def __init__(self, **kwargs):
self._geom = kwargs.get('geom', None)
self._grid = kwargs.get('grid', None)

@property
def id(self):
"""Returns id of component"""
return self._id

@property
def geom(self):
""":shapely:`Shapely Point object<points>` or
Expand Down

0 comments on commit 9ec816e

Please sign in to comment.