Kepler-454 b

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

- The eccentricity is: 0.32 +nan nan but sunbather assumes a circular orbit at the semi-major axis distance (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract ).
- The planet mass has large (>20%) errors.
- There is no star spectral type measurement, we have instead guessed it based on the effective temperature (assuming it is a main sequence star).
- F_XUV / rho_p = 68.41, which is outside the bounds [10^2, 10^6] where the Caldiroli et al. (2022) parametrization for the mass-loss rate is formally valid. The used mass-loss rate may thus be inaccurate. Furthermore, the value is less than 10^2, where the formula is actually mathematically undefined. We have proceeded by setting it to 10^2.
- log(K phi_p) = 12.11, 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.211 +0.012 -0.012 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Planet mass [Mjup]: 0.01699 +0.0044 -0.0044 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Semi-major axis [AU]: 0.09528 +0.0013 -0.00091 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Transit impact parameter: 0.9288 +0.0091 -0.0091 (reference: Gettel et al. 2016, https://ui.adsabs.harvard.edu/abs/2016ApJ...816...95G/abstract )
Star radius [Rsun]: 1.07 +0.01 -0.01 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Star mass [Msun]: 1.03 +0.04 -0.03 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Used SED: WASP77A which has type: G8.0 and Teff: 5605. This SED was selected based on the host star's reported Teff: 5687.0 (reference: Bonomo et al. 2023, https://ui.adsabs.harvard.edu/abs/2023arXiv230405773B/abstract )
Parker wind log10(Mass-loss rate [g s-1]): 8.873
Parker wind temperature [K]: 1897

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

Helium 10833Å [%]: 0.0918
Calcium 8544Å [%]: 0.00506
Magnesium 2796Å [%]: 0.515
Iron 2383Å [%]: 0.195
Carbon 1336Å [%]: 0.0293
Oxygen 1302Å [%]: 0.228
Silicon 1265Å [%]: 0.336

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

Helium TSM = EW / 10833.25Å * 10^(-mJ / 5): 2.18e-10
Calcium TSM = EW / 8544.44Å * 10^(-mV / 5): 2.42e-12
Magnesium TSM = EW / 2796.352Å * (7.7pc / d): 4.15e-09
Carbon TSM = EW / 1335.68Å * (7.7pc / d): 2.33e-09
Oxygen TSM = EW / 1302.168Å * (7.7pc / d): 1.38e-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:
Kepler454b,Kepler-454 b,0.211,1.07,0.09528,0.01699,1.03,0.9288,WASP77A_binned.spec

Step 3: In the /sunbather/src/ directory, run the following commands:
python construct_parker.py -plname Kepler454b -pdir z_1 -Mdot 8.873 -T 1897 -z 1 -avoid_pwinds_mubar
python convergeT_parker.py -plname Kepler454b -pdir z_1 -dir z_1 -Mdot 8.873 -T 1897 -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/Kepler454b/z_1/parker_1897_8.873/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)