Menu

Cannot register domain

Help
eagle
2019-01-04
2019-01-09
  • eagle

    eagle - 2019-01-04

    Hi,

    I am a new user of DAEtool. When I debug, I frequently encounter the following problem even if I am sure the program has been revised to be correct:

    File "D:\Program_Files\lib\site-packages\daetools-1.8.1-py3.6-win-amd64.egg\daetools\dae_simulator\activity.py", line 145, in simulate
    simulation.SolveInitial()

    RuntimeError: Data reporting error exception in function: dae::activity::daeSimulation::Register, source file: .\simulation.cpp, line: 2612
    Simulation dastardly failed to register domain [MySim.x]

    Only if I restart my computer, the run can be successful. Could you tell me what I can do to avoid this problem?

    OS: Windows 7 64-bit
    DAE Tools: daetools-1.8.1-win64-py3.6.exe
    Python: Anaconda 5.2 ( for Python 3.6 )

    Thank you

     
  • ciroki

    ciroki - 2019-01-04

    Hi,
    No problem.
    This error means that you cannot continue after connecting to the data reporter you selected. The connection is broken for some reasons (or even not connected at all). The connection can be broken if you use the default data reporter which starts the DAE Plotter (TCP/IP based). For other types of data reporters the problem can be with the path to the file you specified (i.e. insufficient permissions).
    Please let me know which data reporter you use so I can be more specific.
    Cheers

     
    • eagle

      eagle - 2019-01-04

      Hi ciroki,

      Thank you for the so quick response. You are right. I used the default data reporter and ran the simulation through the following command:

      def run():
      sim = MySim()
      return daeActivity.simulate(sim, reportingInterval=5, timeHorizon=500, guirun=True)

      if name == "main":
      run()

      I don't understand why this may cause problem?

      Thank you,
      eagle


      From: ciroki [ciroki@users.sourceforge.net]
      Sent: 04 January 2019 14:09
      To: [daetools:discussion]
      Subject: [daetools:discussion] Cannot register domain

      Hi,
      No problem.
      This error means that you cannot continue after connecting to the data reporter you selected. The connection is broken for some reasons (or even not connected at all). The connection can be broken if you use the default data reporter which starts the DAE Plotter (TCP/IP based). For other types of data reporters the problem can be with the path to the file you specified (i.e. insufficient permissions).
      Please let me know which data reporter you use so I can be more specific.
      Cheers


      Cannot register domainhttps://sourceforge.net/p/daetools/discussion/1324930/thread/ad3ce5f821/?limit=25#29b5


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/daetools/discussion/1324930/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • ciroki

    ciroki - 2019-01-08

    Hi again,

    Can you try to start DAE Plotter manually before you run the simulation and see what happens? Then you should be able to run multiple simulations. If the DAE Ploter GUI starts it is fine, otherwise could be a firewall issue.

    Cheers
    Dragan

     
    • eagle

      eagle - 2019-01-09

      Hello Dragan,

      Thanks you for the help. I do not know why I did not encounter the error any more, so I have not tried your suggestion. But I think your suggestion should be able to resolve my problem because I have DAE Tools installed on two computers and one is okay while another had the problem we discussed. I will try your suggestion when I meet the problem again and give your further feedback these few days.

      Thank you again,
      eagle


      From: ciroki [ciroki@users.sourceforge.net]
      Sent: 08 January 2019 11:11
      To: [daetools:discussion]
      Subject: [daetools:discussion] Cannot register domain

      Hi again,

      Can you try to start DAE Plotter manually before you run the simulation and see what happens? Then you should be able to run multiple simulations. If the DAE Ploter GUI starts it is fine, otherwise could be a firewall issue.

      Cheers
      Dragan


      Cannot register domainhttps://sourceforge.net/p/daetools/discussion/1324930/thread/ad3ce5f821/?limit=25#e141


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/daetools/discussion/1324930/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

Log in to post a comment.

MongoDB Logo MongoDB