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

Data Exchange API: You seem to already have tried to get an Actuator Handle on this one.

asked 2020-12-08 14:02:18 -0600

efrainpuerto's avatar

updated 2020-12-09 02:25:32 -0600

I have updated my IDF to E+ 9.4, I've updated all exchange handlers adding the "state" variable, but now it throws the following warning too many times:

** Warning ** Data Exchange API: You seem to already have tried to get an Actuator Handle on this one.
**   ~~~   ** Occurred for componentType='SCHEDULE:COMPACT', controlType='SCHEDULE VALUE', uniqueKey='N1LAB_TSP'.
**   ~~~   ** The getActuatorHandle function will still return the handle (= 21) but caller should take note that there is a risk of overwritting.

I check the output results and compare with the results in E+ 9.3 and are not the same. I don't understand where is the problem, Any ideas.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2020-12-08 15:33:48 -0600

efrainpuerto's avatar

updated 2020-12-08 15:36:36 -0600

Hi, everybody. I could solve the problem closing all actuators in an if clause:

if 'handles_done' not in self.data

.... get_actuator_handle(....)

self.data['handles_done'] = True

Look for "PythonPluginCustomSchedule.py" in Example Files

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

Stats

Asked: 2020-12-08 14:02:18 -0600

Seen: 917 times

Last updated: Dec 09 '20