Run failed- something to do with HVAC system?

Hi all,

Tried running my model from Grasshopper and got the log below. It mentions the HVAC system in a number of places. This is how I set up the HVAC system:

Have I done something wrong?

Chris

0 Traceback (most recent call last):

1 File "/usr/local/lib/python3.7/site-packages/honeybee_energy/properties/model.py", line 944, in load_properties_from_dict

2 hvac_class.from_dict_abridged(hvac, schedules)

3 TypeError: from_dict_abridged() takes 2 positional arguments but 3 were given

4

5 During handling of the above exception, another exception occurred:

6

7 raceback (most recent call last):

8 File "/usr/local/lib/python3.7/site-packages/honeybee/properties.py", line 344, in apply_properties_from_dict

9 var.apply_properties_from_dict(data)

10 File "/usr/local/lib/python3.7/site-packages/honeybee_energy/properties/model.py", line 675, in apply_properties_from_dict

11 self.load_properties_from_dict(data)

12 File "/usr/local/lib/python3.7/site-packages/honeybee_energy/properties/model.py", line 946, in load_properties_from_dict

13 invalid_dict_error(hvac, e)

14 File "/usr/local/lib/python3.7/site-packages/honeybee/typing.py", line 310, in invalid_dict_error

15 raise ValueError('{} "{}" is invalid:\n{}'.format(obj_type, full_id, error))

16 ValueError: Residential "Heating only[Heating only]" is invalid:

17 from_dict_abridged() takes 2 positional arguments but 3 were given

18 honeybee_energy.cli.edit - ERROR - Assignment of model radiance modifiers from energy construction failed.

19 Failed to apply energy properties to the Model: Residential "Heating only[Heating only]" is invalid:

20 from_dict_abridged() takes 2 positional arguments but 3 were given

21 Traceback (most recent call last):

22 File "/usr/local/lib/python3.7/site-packages/honeybee_energy/properties/model.py", line 944, in load_properties_from_dict

23 hvac_class.from_dict_abridged(hvac, schedules)

24 TypeError: from_dict_abridged() takes 2 positional arguments but 3 were given

25

26 During handling of the above exception, another exception occurred:

27

28 Traceback (most recent call last):

29 File "/usr/local/lib/python3.7/site-packages/honeybee/properties.py", line 344, in apply_properties_from_dict

30 var.apply_properties_from_dict(data)

31 File "/usr/local/lib/python3.7/site-packages/honeybee_energy/properties/model.py", line 675, in apply_properties_from_dict

32 self.load_properties_from_dict(data)

33 File "/usr/local/lib/python3.7/site-packages/honeybee_energy/properties/model.py", line 946, in load_properties_from_dict

34 invalid_dict_error(hvac, e)

35 File "/usr/local/lib/python3.7/site-packages/honeybee/typing.py", line 310, in invalid_dict_error

36 raise ValueError('{} "{}" is invalid:\n{}'.format(obj_type, full_id, error))

37 ValueError: Residential "Heating only[Heating only]" is invalid:

38 from_dict_abridged() takes 2 positional arguments but 3 were given

39

40 During handling of the above exception, another exception occurred:

41

42 Traceback (most recent call last):

43 File "/usr/local/lib/python3.7/site-packages/honeybee_energy/cli/edit.py", line 69, in modifiers_from_constructions

44 model = Model.from_file(model_file)

45 File "/usr/local/lib/python3.7/site-packages/honeybee/model.py", line 221, in from_file

46 return cls.from_hbjson(hb_file)

47 File "/usr/local/lib/python3.7/site-packages/honeybee/model.py", line 234, in from_hbjson

48 return cls.from_dict(data)

49 File "/usr/local/lib/python3.7/site-packages/honeybee/model.py", line 204, in from_dict

50 model.properties.apply_properties_from_dict(data)

51 File "/usr/local/lib/python3.7/site-packages/honeybee/properties.py", line 349, in apply_properties_from_dict

52 'Failed to apply {} properties to the Model: {}'.format(atr, e))

53 Exception: Failed to apply energy properties to the Model: Residential "Heating only[Heating only]" is invalid:

54 from_dict_abridged() takes 2 positional arguments but 3 were given

55

It looks like the schema that is generated by the Rhino plugin is not compatible with the latest version of the core libraries.

@chriswmackey, can you tell what is wrong here by checking the error message.

cc: @mingbo

1 Like

Hey @chriss .

Upgrade your Pollination Plugin or run the LB Versioner. This is a bug in the core libraries that was fixed 2-3 weeks ago.

2 Likes

Thanks @chriswmackey, although I thought I had upgraded more recently than that- will check. Out of interest, are you saying that the LB versioner will upgrade the PO plugin (presumably just grasshopper)?

1 Like

No. The LBT Versioner component only updates the Ladybug Tools plugin and the core libraries. These libraries are used by Pollination under the hood. Since this error was in the core libraries only updating the core library should resolve the issue.

2 Likes