{"action":"created","issue":{"url":"https://api.github.com/repos/DTUWindEnergy/TOPFARM/issues/4","labels_url":"https://api.github.com/repos/DTUWindEnergy/TOPFARM/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/DTUWindEnergy/TOPFARM/issues/4/comments","events_url":"https://api.github.com/repos/DTUWindEnergy/TOPFARM/issues/4/events","html_url":"https://github.com/DTUWindEnergy/TOPFARM/issues/4","id":94019558,"number":4,"title":"Problem running the tutorial","user":{"login":"rethore","id":2746159,"avatar_url":"https://avatars.githubusercontent.com/u/2746159?v=3","gravatar_id":"","url":"https://api.github.com/users/rethore","html_url":"https://github.com/rethore","followers_url":"https://api.github.com/users/rethore/followers","following_url":"https://api.github.com/users/rethore/following{/other_user}","gists_url":"https://api.github.com/users/rethore/gists{/gist_id}","starred_url":"https://api.github.com/users/rethore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rethore/subscriptions","organizations_url":"https://api.github.com/users/rethore/orgs","repos_url":"https://api.github.com/users/rethore/repos","events_url":"https://api.github.com/users/rethore/events{/privacy}","received_events_url":"https://api.github.com/users/rethore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-09T11:10:47Z","updated_at":"2015-07-09T11:17:42Z","closed_at":null,"body":"This cell is generating an error:\r\n\r\n```python\r\nLoading all the input data\r\nIn [4]:\r\ndatadir = './'\r\ndat = loadtxt(datadir+'WaterDepth1.dat')\r\nX, Y = meshgrid(linspace(0., 1000., 50), linspace(0., 1000., 50))\r\ndepth = array(zip(X.flatten(), Y.flatten(), dat.flatten()))\r\nborders = array([[200, 200], [150, 500], [200, 800], [600, 900], [700, 700], [900, 500], [800, 200], [500, 100], [200, 200]])\r\nbaseline = array([[587.5, 223.07692308], [525., 346.15384615], [837.5, 530.76923077], [525., 530.76923077], [525., 838.46153846], [837.5, 469.23076923]])\r\n​\r\nwt_desc = WTDescFromWTG(datadir+'V80-2MW-offshore.wtg').wt_desc\r\nwt_layout = GenericWindFarmTurbineLayout([WTPC(wt_desc=wt_desc, position=pos) for pos in baseline])\r\n​\r\n​\r\n# The wind rose\r\nweibull_array = np.array([[  0.00000000e+00,   3.59673400e-02,  9.22422800e+00,   2.38867200e+00],\r\n                         [  3.00000000e+01,   3.94977300e-02,   9.86435600e+00,   2.44726600e+00],\r\n                         [  6.00000000e+01,   5.17838000e-02,   9.65220200e+00,   2.41992200e+00],\r\n                         [  9.00000000e+01,   6.99794900e-02,   9.98217800e+00,   2.58789100e+00],\r\n                         [  1.20000000e+02,   8.36383000e-02,   1.00946000e+01,   2.74804700e+00],\r\n                         [  1.50000000e+02,   6.43412500e-02,   9.64369000e+00,   2.59179700e+00],\r\n                         [  1.80000000e+02,   8.64220000e-02,   9.63377500e+00,   2.58007800e+00],\r\n                         [  2.10000000e+02,   1.17690000e-01,   1.05678600e+01,   2.54492200e+00],\r\n                         [  2.40000000e+02,   1.51555100e-01,   1.14525200e+01,   2.46679700e+00],\r\n                         [  2.70000000e+02,   1.47361100e-01,   1.17423700e+01,   2.60351600e+00],\r\n                         [  3.00000000e+02,   1.00109800e-01,   1.16923200e+01,   2.62304700e+00],\r\n                         [  3.30000000e+02,   5.16542400e-02,   1.01385800e+01,   2.32226600e+00]])\r\nwind_rose = WeibullWindRoseVT()\r\nwind_rose.wind_directions = weibull_array[:,0]\r\nwind_rose.frequency = weibull_array[:,1]\r\nwind_rose.k = weibull_array[:,3]\r\nwind_rose.A = weibull_array[:,2]\r\n​\r\n# Minimum distance between turbines\r\ndist_WT_D = 3.0\r\n```\r\n\r\n**Traceback**:\r\n```python_traceback\r\nE:root:'' is a reserved or invalid name\r\n---------------------------------------------------------------------------\r\nNameError                                 Traceback (most recent call last)\r\n<ipython-input-4-5ca424573668> in <module>()\r\n      7\r\n      8 wt_desc = WTDescFromWTG(datadir+'V80-2MW-offshore.wtg').wt_desc\r\n----> 9 wt_layout = GenericWindFarmTurbineLayout([WTPC(wt_desc=wt_desc, position=pos) for pos in baseline])\r\n     10\r\n     11\r\n \r\nc:\\users\\moserw\\projects\\toolsdev\\openmdao-0.10.3.2\\src\\fusedwind\\src\\fusedwind\\plant_flow\\vt.pyc in __init__(self, wt_list)\r\n    525         super(GenericWindFarmTurbineLayout, self).__init__()\r\n    526         for wt in wt_list:\r\n--> 527             self.add_wt(wt)\r\n    528\r\n    529     def add_wt(self, wt):\r\n \r\nc:\\users\\moserw\\projects\\toolsdev\\openmdao-0.10.3.2\\src\\fusedwind\\src\\fusedwind\\plant_flow\\vt.pyc in add_wt(self, wt)\r\n    535         \"\"\"\r\n    536         wt.name = wt.name.replace('-','_')\r\n--> 537         self.add(wt.name, VarTree(wt))\r\n    538         self.wt_names.append(wt.name)\r\n    539\r\n \r\nc:\\Users\\moserw\\Projects\\ToolsDev\\openmdao-0.10.3.2\\Lib\\site-packages\\openmdao.main-0.10.3.2-py2.7.egg\\openmdao\\main\\vartree.pyc in add(self, name, obj)\r\n    131             msg = \"a VariableTree may only contain Variables or VarTrees\"\r\n    132             self.raise_exception(msg, TypeError)\r\n--> 133         return super(VariableTree, self).add(name, obj)\r\n    134\r\n    135     def add_trait(self, name, trait, refresh=True):\r\n \r\nc:\\Users\\moserw\\Projects\\ToolsDev\\openmdao-0.10.3.2\\Lib\\site-packages\\openmdao.main-0.10.3.2-py2.7.egg\\openmdao\\main\\container.pyc in add(self, name, obj)\r\n    587         Returns the added object.\r\n    588         \"\"\"\r\n--> 589         removed = self._prep_for_add(name, obj)\r\n    590\r\n    591         if has_interface(obj, IContainer):\r\n \r\nc:\\Users\\moserw\\Projects\\ToolsDev\\openmdao-0.10.3.2\\Lib\\site-packages\\openmdao.main-0.10.3.2-py2.7.egg\\openmdao\\main\\container.pyc in _prep_for_add(self, name, obj)\r\n    553         elif not is_legal_name(name):\r\n    554             self.raise_exception(\"'%s' is a reserved or invalid name\" % name,\r\n--> 555                                  NameError)\r\n    556\r\n    557         removed = False\r\n \r\nc:\\Users\\moserw\\Projects\\ToolsDev\\openmdao-0.10.3.2\\Lib\\site-packages\\openmdao.main-0.10.3.2-py2.7.egg\\openmdao\\main\\container.pyc in raise_exception(self, msg, exception_class)\r\n   1449             full_msg = '%s: %s' % (self.get_pathname(), msg)\r\n   1450         self._logger.error(msg)\r\n-> 1451         raise exception_class(full_msg)\r\n   1452\r\n   1453     def reraise_exception(self, msg='', info=None):\r\n \r\nNameError: : '' is a reserved or invalid name\r\n ```"},"comment":{"url":"https://api.github.com/repos/DTUWindEnergy/TOPFARM/issues/comments/119916174","html_url":"https://github.com/DTUWindEnergy/TOPFARM/issues/4#issuecomment-119916174","issue_url":"https://api.github.com/repos/DTUWindEnergy/TOPFARM/issues/4","id":119916174,"user":{"login":"rethore","id":2746159,"avatar_url":"https://avatars.githubusercontent.com/u/2746159?v=3","gravatar_id":"","url":"https://api.github.com/users/rethore","html_url":"https://github.com/rethore","followers_url":"https://api.github.com/users/rethore/followers","following_url":"https://api.github.com/users/rethore/following{/other_user}","gists_url":"https://api.github.com/users/rethore/gists{/gist_id}","starred_url":"https://api.github.com/users/rethore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rethore/subscriptions","organizations_url":"https://api.github.com/users/rethore/orgs","repos_url":"https://api.github.com/users/rethore/repos","events_url":"https://api.github.com/users/rethore/events{/privacy}","received_events_url":"https://api.github.com/users/rethore/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T11:17:42Z","updated_at":"2015-07-09T11:17:42Z","body":"I think that the error might be in FUSED-Wind, I will try to see if I can fix it there."}}