When using derive_from_evolution in stellar_wind.py in combination with a binary system, the resulting amount of wind particles is incorrect: it does not take the mass transfer to the companion into account, and therefore overestimates the wind.
To solve this, ideally one should have access to more properties of the stars than are available (to account for a potentially existing wind from the accretor) - but probably just subtracting the mass accreted by the other star would be good enough.
stellar_wind.py would then still have to know about binaries though - so an update is needed.
Alternatively, don't use derive_from_evolution with binary stars.
When using
derive_from_evolution
instellar_wind.py
in combination with a binary system, the resulting amount of wind particles is incorrect: it does not take the mass transfer to the companion into account, and therefore overestimates the wind. To solve this, ideally one should have access to more properties of the stars than are available (to account for a potentially existing wind from the accretor) - but probably just subtracting the mass accreted by the other star would be good enough.stellar_wind.py
would then still have to know about binaries though - so an update is needed.Alternatively, don't use
derive_from_evolution
with binary stars.