Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Anyone experimenting w/ python scripts for IES?

I was experimenting with few of the scripts and VE Scripts give me some weird outputs..

Example:

room_data = body.get_room_data(0) general_data = room_data.get_general() room_conditions_data = room_data.get_room_conditions() system_data = room_data.get_apache_systems() room_data.set(general_data, room_conditions_data, system_data)

Output:

Traceback (most recent call last): File "L:\XXXX\Testing_get_set.py", line 26, in <module> room_data.set(general_data, room_conditions_data, system_data) RuntimeError: unrecognised option: general_template_name

I don't understand why. I tried to set the data I got from IES without changing anything or adding any words to the dictionary.

Anyone experimenting w/ python scripts for IES?

I was experimenting with few of the scripts and VE Scripts give me some weird outputs..

Example:

room_data = body.get_room_data(0) body.get_room_data(0)

general_data = room_data.get_general() room_data.get_general()

room_conditions_data = room_data.get_room_conditions() room_data.get_room_conditions()

system_data = room_data.get_apache_systems() room_data.get_apache_systems()

room_data.set(general_data, room_conditions_data, system_data)

Output:

Traceback (most recent call last): File "L:\XXXX\Testing_get_set.py", line 26, in <module> room_data.set(general_data, room_conditions_data, system_data) RuntimeError: unrecognised option: general_template_name

I don't understand why. I tried to set the data I got from IES without changing anything or adding any words to the dictionary. dictionary.

Anyone experimenting w/ python scripts for IES?

I was experimenting with few of the scripts and VE Scripts give me some weird outputs..

Example:

room_data = body.get_room_data(0)

general_data = room_data.get_general()

room_conditions_data = room_data.get_room_conditions()

system_data = room_data.get_apache_systems()

room_data.set(general_data, room_conditions_data, system_data)

Output:

Traceback (most recent call last): File "L:\XXXX\Testing_get_set.py", line 26, in <module> room_data.set(general_data, room_conditions_data, system_data) RuntimeError: unrecognised option: general_template_name

I don't understand why. I tried to set the data I got from IES without changing anything or adding any words to the dictionary.