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

Revision history [back]

Did you set the PYTHONPATH as described in before you started Dymola?

The following import works for me:

def r1_r1(xR):
  import buildingspy.development.refactor as bp
  return 2.*xR

Note however that Dymola generates by default 32 bit, but your Python installation may contained compiled C code that is 64 bit.

You should not have to recompile as long as you use 32 bit.