Kepler-21 b

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

- The density of this planet is 9.40 > 3 g cm-3, which may indicate that this is a terrestrial planet, for which the Parker wind prescription may be invalid.

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

Planet radius [Rjup]: 0.146 +0.002 -0.001 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Planet mass [Mjup]: 0.0236 +0.00409 -0.00409 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Semi-major axis [AU]: 0.0434 +0.00021 -0.00032 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Transit impact parameter: 0.584 +0.018 -0.02 (reference: López-Morales et al. 2016, https://ui.adsabs.harvard.edu/abs/2016AJ....152..204L/abstract )
Star radius [Rsun]: 1.9 +0.02 -0.01 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Star mass [Msun]: 1.41 +0.02 -0.03 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Used SED: WASP17 which has type: F4.0 and Teff: 6548. This SED was selected based on the host star's reported type: F6.0 (reference: Howell et al. 2012, https://ui.adsabs.harvard.edu/abs/2012ApJ...746..123H/abstract )
Parker wind log10(Mass-loss rate [g s-1]): 9.987
Parker wind temperature [K]: 4701

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

Helium 10833Å [%]: 0.00649
Calcium 8544Å [%]: 0.00189
Magnesium 2796Å [%]: 0.129
Iron 2383Å [%]: 0.03
Carbon 1336Å [%]: 0.0673
Oxygen 1302Å [%]: 0.0209
Silicon 1265Å [%]: 0.117

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

Helium TSM = EW / 10833.25Å * 10^(-mJ / 5): 1.06e-10
Calcium TSM = EW / 8544.44Å * 10^(-mV / 5): 1.25e-11
Magnesium TSM = EW / 2796.352Å * (7.7pc / d): 5.82e-09
Carbon TSM = EW / 1335.68Å * (7.7pc / d): 4.07e-09
Oxygen TSM = EW / 1302.168Å * (7.7pc / d): 5.06e-10

##########################
# 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:
Kepler21b,Kepler-21 b,0.146,1.9,0.0434,0.0236,1.41,0.584,WASP17_binned.spec

Step 3: In the /sunbather/src/ directory, run the following commands:
python construct_parker.py -plname Kepler21b -pdir z_1 -Mdot 9.987 -T 4701 -z 1 -avoid_pwinds_mubar
python convergeT_parker.py -plname Kepler21b -pdir z_1 -dir z_1 -Mdot 9.987 -T 4701 -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/Kepler21b/z_1/parker_4701_9.987/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)