First time here? Check out the Help page!

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 4 years ago

efrainpuerto's avatar

updated 4 years ago

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.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
3

answered 4 years ago

efrainpuerto's avatar

updated 4 years ago

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

Preview: (hide)
link

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: 4 years ago

Seen: 941 times

Last updated: Dec 09 '20