Kepler-219 d

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

- The planet radius has large (>10%) errors.
- The planet mass has large (>20%) errors.
- The semi-major axis does not have reported errors and is thus uncertain.
- 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 = 10.52, 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.
- The density of this planet is 4.71 > 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.251 +0.043 -0.043 (reference: Rowe et al. 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...784...45R/abstract )
Planet mass [Mjup]: 0.06 +0.094 -0.056 (reference: Hadden et al. 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...787...80H/abstract )
Semi-major axis [AU]: 0.272 +nan nan (reference: Rowe et al. 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...784...45R/abstract )
Transit impact parameter: 0.06 +0.23 -0.23 (reference: Rowe et al. 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...784...45R/abstract )
Star radius [Rsun]: 1.49 +0.25 -0.25 (reference: Rowe et al. 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...784...45R/abstract )
Star mass [Msun]: 1.17 +0.06 -0.06 (reference: Q1-Q8 KOI Table, https://exoplanetarchive.ipac.caltech.edu/docs/Kepler_KOI_docs.html )
Used SED: solar which has type: G2.0 and Teff: 5800. This SED was selected based on the host star's reported Teff: 5786.0 (reference: Rowe et al. 2014, https://ui.adsabs.harvard.edu/abs/2014ApJ...784...45R/abstract )
Parker wind log10(Mass-loss rate [g s-1]): 8.024
Parker wind temperature [K]: 4344

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

Helium 10833Å [%]: 0.0105
Calcium 8544Å [%]: 0.000678
Magnesium 2796Å [%]: 0.0967
Iron 2383Å [%]: 0.0434
Carbon 1336Å [%]: 0.0029
Oxygen 1302Å [%]: 0.0508
Silicon 1265Å [%]: 0.0616

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

Helium TSM = EW / 10833.25Å * 10^(-mJ / 5): 7.61e-12
Calcium TSM = EW / 8544.44Å * 10^(-mV / 5): 1.04e-13
Magnesium TSM = EW / 2796.352Å * (7.7pc / d): 1.55e-10
Carbon TSM = EW / 1335.68Å * (7.7pc / d): 7.90e-11
Oxygen TSM = EW / 1302.168Å * (7.7pc / d): 6.58e-11

##########################
# 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:
Kepler219d,Kepler-219 d,0.251,1.49,0.272,0.06,1.17,0.06,solar.spec

Step 3: In the /sunbather/src/ directory, run the following commands:
python construct_parker.py -plname Kepler219d -pdir z_1 -Mdot 8.024 -T 4344 -z 1 -avoid_pwinds_mubar
python convergeT_parker.py -plname Kepler219d -pdir z_1 -dir z_1 -Mdot 8.024 -T 4344 -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/Kepler219d/z_1/parker_4344_8.024/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)