Kepler-51 d

####################################
# WARNINGS specific to this planet #
####################################

- The star radius has large (>25%) errors. However, it's effect is relatively minor and only affects transit depths through Rstar^2. If it is tied to a wrongly classified stellar spectral type, it has larger consequences.
- There is no star spectral type measurement, we have instead guessed it based on the effective temperature (assuming it is a main sequence star).
- The host star is reported to be less than 1 Gyr old, and may thus have considerably higher XUV flux than the used SED of a mature star. Stellar age [Gyr]: 0.3 (reference: Masuda 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...783...53M/abstract ).
- log(K phi_p) = 11.66, which is outside the bounds [12.17, 13.29] where the Caldiroli et al. (2022) parametrization for the mass-loss rate is formally valid. The used mass-loss rate may thus be inaccurate.

###################
# Used parameters #
###################

Planet radius [Rjup]: 0.865 +0.045 -0.045 (reference: Masuda 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...783...53M/abstract )
Planet mass [Mjup]: 0.024 +0.003 -0.003 (reference: Masuda 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...783...53M/abstract )
Semi-major axis [AU]: 0.509 +0.02 -0.02 (reference: Masuda 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...783...53M/abstract )
Transit impact parameter: 0.25 +0.075 -0.141 (reference: Masuda 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...783...53M/abstract )
Star radius [Rsun]: 0.94 +0.5 -0.5 (reference: Masuda 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...783...53M/abstract )
Star mass [Msun]: 1.04 +0.12 -0.12 (reference: Masuda 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...783...53M/abstract )
Used SED: HD149026 which has type: G0.0 and Teff: 6084. This SED was selected based on the host star's reported Teff: 6018.0 (reference: Masuda 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...783...53M/abstract )
Parker wind log10(Mass-loss rate [g s-1]): 9.350
Parker wind temperature [K]: 3086

#########################################
# Line depths of some important tracers #
#########################################

Helium 10833Å [%]: 0.0241
Calcium 8544Å [%]: 0.00187
Magnesium 2796Å [%]: 1.07
Iron 2383Å [%]: 0.176
Carbon 1336Å [%]: 0.37
Oxygen 1302Å [%]: 0.292
Silicon 1265Å [%]: 0.378

#################################
# TSM of some important tracers #
#################################

Helium TSM = EW / 10833.25Å * 10^(-mJ / 5): 4.09e-11
Calcium TSM = EW / 8544.44Å * 10^(-mV / 5): 1.66e-12
Magnesium TSM = EW / 2796.352Å * (7.7pc / d): 8.92e-09
Carbon TSM = EW / 1335.68Å * (7.7pc / d): 3.44e-09
Oxygen TSM = EW / 1302.168Å * (7.7pc / d): 2.41e-09

##########################
# Reproducing this model #
##########################

You can reproduce these results (or change some of the input parameters) as follows:
Step 1: Install sunbather from www.github.com/dlinssen/sunbather (make sure to follow all steps of the installation)

Step 2: Add the following line to your $SUNBATHER_PROJECT_PATH/planets.txt file:
Kepler51d,Kepler-51 d,0.865,0.94,0.509,0.024,1.04,0.25,HD149026_binned.spec

Step 3: In the /sunbather/src/ directory, run the following commands:
python construct_parker.py -plname Kepler51d -pdir z_1 -Mdot 9.350 -T 3086 -z 1 -avoid_pwinds_mubar
python convergeT_parker.py -plname Kepler51d -pdir z_1 -dir z_1 -Mdot 9.350 -T 3086 -z 1

Step 4: In a Python script, calculate the transit spectrum as follows:
import sys
sys.path.append('/YOUR/PATH/TO/sunbather/src/')
import tools
import RT
import numpy as np

sim = tools.Sim(tools.projectpath+'/sims/1D/Kepler51d/z_1/parker_3086_9.350/converged')
wavs = np.logspace(np.log10(911),np.log10(11000), num=1000000) #change wavelength grid as you want
species_to_include = tools.get_specieslist() #this includes all species, can be changed - see sunbather wiki
transit_spectrum, _, _ = RT.FinFout(sim, wavs, species_to_include)