POSYDON-code/POSYDON

Undefined binaries in flow: ('stripped_He_Core_He_burning', 'H-rich_Core_He_burning', 'contact', None)

オープン

#459 opened on 2024/11/28

 (0 件のコメント) (0 件のリアクション) (1 人の担当者)Python (35 件のフォーク)auto 404
bughelp wantedquestion

Repository metrics

Stars
 (42 個のスター)
PR merge metrics
 (PR metrics pending)

説明

When doing some tests for v2.0pre1, I have see in a NN run a case of

Traceback (most recent call last):
  File "/home/users/k/kruckow/POSYDON/posydon/popsyn/binarypopulation.py", line 325, in _safe_evolve
    binary.evolve()
  File "/home/users/k/kruckow/POSYDON/posydon/binary_evol/binarystar.py", line 219, in evolve
    self.run_step()
  File "/home/users/k/kruckow/POSYDON/posydon/binary_evol/binarystar.py", line 238, in run_step
    raise ValueError("Undefined next step given stars/binary states {}.".format(total_state))
ValueError: Undefined next step given stars/binary states ('stripped_He_Core_He_burning', 'H-rich_Core_He_burning', 'contact', None).

Failed Binary Initial Conditions:
S1 mass: 51.50296903439762
S2 mass: 49.40027877048686
S1 state: H-rich_Core_H_burning
S2 state: H-rich_Core_H_burning
orbital period: 67.68449970635564
eccentricity: 0.0
binary state: detached
binary event: detached
S1 natal kick array: [None None None None]
S2 natal kick array: [None None None None]

Shouldn't a contact have a CE as event? Is it may related to issue #369 ?

コントリビューターガイド