필터 지우기
필터 지우기

Error in Co-Simulation Simulink FMU and STAR-CCM+

조회 수: 15 (최근 30일)
Marina Espejo
Marina Espejo 2024년 3월 28일
댓글: Marina Espejo 2024년 4월 2일
Hi!
I am trying to do a Co-Simulation between Simulink and STAR-CCM+ by exporting the simulink model to FMU. When I try to run the simulation from STAR-CCM+ it gives me the following error:
INFO: Processing event 'Step FMU'
Connection reset by peer
Connection reset
Server connection failed. This is usually due to a fatal error in the server or a network issue.
Design Simcenter STAR-CCM+ simulation completed
Server process exited with code : -1073741571
I think the mistake is at the moment of exporting it to FMU because it is not able to interchange data with it but I am a bit lost at this point. When exporting it I select the acces source code from FMU option as I've read in different sites. Am I missing something else? Does anyone know where this could come from?
Thanks!
  댓글 수: 1
Marina Espejo
Marina Espejo 2024년 3월 31일
this is the detailed error
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:323)
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:350)
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:803)
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:966)
at java.base/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:270)
at java.base/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:313)
at java.base/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:188)
at java.base/java.io.InputStreamReader.read(InputStreamReader.java:177)
at java.base/java.io.BufferedReader.fill(BufferedReader.java:162)
at java.base/java.io.BufferedReader.read(BufferedReader.java:183)
at star.base.neo.NeoProperty.readNextChar(NeoProperty.java:894)
at star.base.neo.NeoProperty.input(NeoProperty.java:673)
[catch] at star.base.neo.ClientNotifyHandler.run(ClientNotifyHandler.java:456)
at java.base/java.lang.Thread.run(Thread.java:833)

댓글을 달려면 로그인하십시오.

답변 (1개)

Debadipto
Debadipto 2024년 4월 2일
It seems like the issue you're encountering might stem from problems with network stability. Please make sure your network connection is reliable. Additionally, if your simulations are running across multiple machines, verify that no firewall or network security configurations are disrupting the communication.
If the situation persists, consider reaching out to the MathWorks Technical Support for assistance:
  댓글 수: 1
Marina Espejo
Marina Espejo 2024년 4월 2일
Hi,
thanks for your reply. I've read in StarCCM+ documents that it may show that message when the problem is completely different.
I think that it may be something related to this other message:
WARNING: This FMU model not support restart functionality. An attempt will be made to export the tracked values, but correct behavior is not guaranteed
INFO: Processing event 'Terminate FMU'
Do you know something about the restart functionality?
Thanks in advance

댓글을 달려면 로그인하십시오.

제품


릴리스

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by