File:Faint young sun earth temperature july S0p7 P 2p0bar co2 95percent 1 1 1 1.png
Original file (1,632 × 1,088 pixels, file size: 785 KB, MIME type: image/png)
Captions
Summary
[edit]DescriptionFaint young sun earth temperature july S0p7 P 2p0bar co2 95percent 1 1 1 1.png |
English: Earth temperature of July, if faint young sun S=0.7 atmosphere pressure 2.0 bar and CO2 95 per cent |
Date | |
Source | Own work |
Author | Merikanto |
Python3 source code
-
- exoplasim planet runner
- python 3, exoplasim
- basic run settings T21
-
- 29.10.2023 0000.0002c1
-
import math
import numpy as np
import exoplasim as exo
timestep=30.0
years=100
Sol=1361.5
- basic input params
startemp=5778 # assumption Earth-like
- Trappist 1 d
- flux=1.12*1367
- rotationperiod=4.05
- radius=0.78 ## rel to earth
- mass=0.39
- Trappist 1e
- insol 884.98
- mass 0.69
- radius 0.92
- density 4.89
- vesc 9.69
- gee_e 0.82
- Patm 0.647368
flux=1361.5*0.7
pressure=2
- relCO2=0.95
- relN2=1-relCO2
- relCO2=280e-6
- relO2=0.21
- relN2=1-relCO2-relO2
relCO2=0.95 ## lots of co2
relO2=0.001 ##
relN2=1-relCO2-relO2
radius=1 ## rel to earth
mass=1
rotationperiod=1 ##D
eccentricity=0.0167
obliquity=23.44
aquaplanet=False
desertplanet=False
fixedorbit=True
synchronous=False
- substellarlon=0
substellarlon=0
vegetation=2 ## 0 no 1 static 2 dynamic
stormclim=False
aerosol=False
co2weathering=False
outgassing=0
evolveco2=False
maxsnow=-1 ## False ?
ozone=True
vegaccel=1
seaice=True
wetsoil=True
year=360
glaciers1= {
"toggle": True,
"mindepth":2,
"initialh":-1
}
- landmap="Alderaan_surf_0129.sra"
- topomap="Alderaan_surf_0172.sra"
- landmap="sermak_surf_0129.sra"
- topomap="sermak_surf_0172.sra"
- landmap="five_surf_0129.sra"
- topomap="five_surf_0172.sra"
landmap=None
topomap=None
density=mass/np.power(radius,3)*5.519
vesc=np.sqrt(mass/radius)*11.186
geese=mass/(radius*radius)
geeseg=geese*9.80665
gravity=geeseg
if(pressure==0):
patm1=geese*mass*radius*radius ## estimation
patm2=math.pow(radius, 2.4)
pressure=(patm1+patm2)/2
pN2=pressure*relN2
pCO2=pressure*relCO2
pO2=pressure*relO2
print(" insol ",round(flux,2) )
print(" mass ",round(mass,2) )
print(" radius ",round(radius,2) )
print(" density ",round(density,2) )
print(" vesc ",round(vesc,2) )
print(" gee_e ",round(geese,2) )
print(" Patm ",round(pressure,6) )
- quit(-1)
planeta = exo.Model(workdir="planeta_run",modelname="Planeta",ncpus=4,resolution="T21",outputtype=".nc")
planeta.configure(year=year, wetsoil=wetsoil,pO2=pO2, ozone=ozone, vegaccel=vegaccel, seaice=seaice, glaciers=glaciers1, maxsnow=maxsnow, evolveco2=evolveco2, outgassing=outgassing, co2weathering=co2weathering, vegetation=vegetation, stormclim=stormclim, aerosol=aerosol,landmap=landmap, topomap=topomap,startemp=startemp, flux=flux, eccentricity=eccentricity,obliquity=obliquity,fixedorbit=fixedorbit,synchronous=synchronous,substellarlon=substellarlon,rotationperiod=rotationperiod,radius=radius,gravity=gravity,aquaplanet=aquaplanet,desertplanet=desertplanet,pN2=pN2,pCO2=pCO2,timestep=timestep,snapshots=False,physicsfilter="gp|exp|sp")
print(" Run ...")
planeta.run(years=years,crashifbroken=True)
planeta.exportcfg()
planeta.run(years=years,crashifbroken=True)
planeta.finalize("Planeta",allyears=True,keeprestarts=True)
planeta.save()
Licensing
[edit]- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 13:49, 29 October 2023 | 1,632 × 1,088 (785 KB) | Merikanto (talk | contribs) | Update | |
13:47, 29 October 2023 | 1,632 × 1,088 (785 KB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.