Modeling Planetary Temperature for an Online Game Using Limited Factors

R^2 again) and then divide that into the surface area of the sun....In summary, the conversation is about modeling the average world temperature for different planets in an online game. The planets' composition is simplified to land, iron, carbon and carbon dioxide, oxygen, atmospheric toxins, and surface water. The goal is to create equations that can accurately determine the amount of energy a planet receives based on its distance from a star with an elliptical orbit, as well as how materials on the planet affect its temperature and
  • #1
Blissfulpain
I'm trying to model the possble average world temperature for any given day of the year, for planets at varying distances from a star and composed of multiple materials in different quantities for an online game I'm helping develop.

basically each planet's composition is simplified to land (anything that doesn't fit somewhere else, iron (makes up the core), Carbon and Carbon dioxide, oxygen, atmopsheric toxins and surface water (i have NOT included humidity, though i might, right now it is too complex for my liking). if have approximated most of my proportions to the real world, so if percentages were used to help me with these equati
ons that would be great.. if not, then i'll be happy with whatever you can give me, and i'll convert it to game scale on my own...

here's what I'm trying to do:

1) an equations that models how much energy is given to a planet based on it's distance from a star with an elliptical orbit.
*so far i can do the ellipse equations... i just don't know how quickly the sun's energy falls off and how much it puts out in the first place... also if it can allow for differences in star size, that would be very cool.

this makes question 1 turn into the equation for the TIME OF YEAR and how that effects the energy a planet recieves, NOW i need something that determines how much of that energy is going to effect the temperature (remember this is average world temp.. so i hope that makes it easier)

2) modeling how materials in a planet effect how the star's energy increses it's temperature and how quickly that heat escapes...
*right now i have water act as a large buffer and keep the temp from fluctuating (decreases the range of a random number i tact on the end of the time of year equation), then % Carbon Dioxide increases possible temp, and also total planet sie also acts as a buffer the same as water and decreases the fluctuations.

my main problem is that i can make the equation equal what i want it to on an ideal earthlike planet, but if i change the planet variables around or the star sor the star size, it all seems much to unreasonable... so i decided that it would be easiest to model it off the real thing, using real variables... i don't know all the greenhouse gas types and i don't know all the factors that can effect a planet's temperature, so if you feel I've OVER simplified a planet's composition or whatever, then feel free to include that as one of the factors in an equation or if you think I've put something in that doesn't have a large impact then i'll take it out, if works well...

i CAN write the equations with the mistakes I've made and everything to give you a better starting point, but it was just that the numbers in them are based on the scale of the game, and are often not realistic. also as aforementioned, they haven't worked and have silly mistakes in them. i can also explain how things are scaled in the game, if you think that would help. (though it might take a long post to explain )

thx, bliss

p.s. I figured this was the most appropriate place to write this thread.. sorry if it’s not
 
Astronomy news on Phys.org
  • #2
http://www.lokopernik.info/sat/planets.html

It is obvious that a planet orbiting its central star along an elliptical orbit is the hottest at the periastron (at the distance a(1-e)), and the coldest at the apoastron (the distance from the star to the planet is a(1+e)). According to (2) eccentricity e and semimajor axis a of all ecospheric bodies should satisfy the following system:
-------------------------------------------------------------------
i looked at this site a while ago but it was far to
complex mathmaticaly for me, but i think you will
find your answer here
 
  • #3
Some stuff is pretty easy to do (e.g. albedo, variation in solar energy by distance from the Sun), others very very hard (green house gases, feedback loops involving water - ice/snow cover, clouds, ocean evaporation, ...)

What sort of time scales are you looking to model things over? a year, decade, century, ... 100 million years??
 
  • #4
i only plan to model it on a day to day basis... but just for 1 year, then it'll repeat... 360 days would take 12 hours in the game (2 min per day) so i'll add a small fluctuation with a random number...

alright... well i don't want to go that complex just yet. if i start out with something simple then i can always build it up later if there's the opportunity to.

If i can start from the basics... how much energy does a planet get from a star, and is there an equation that models that already. if i know that the sun produces approximately "3.86e33 ergs/second or 386 billion billion megawatts" (http://seds.lpl.arizona.edu/nineplanets/nineplanets/sol.html ) as a base... then how quickly does that fall off? i suppose it move out in a sphereical fasion, yes?... I'm going to have to think about this... if i figure it out on my own i'll post to see what you think about it.
 
Last edited by a moderator:
  • #5
Here's an interesting exchange, in our own PF!
https://www.physicsforums.com/showthread.php?s=&postid=91061#post91061

You can think of the radiant energy from a star as expanding spherically, as you already noted. This means, all other things being equal, that the energy falling on a square metre of surface will vary - decrease - as the square (second power) of the distance from the star's surface (there are various second-order things you need to worry about if you want to be super-precise, but for your purposes I think this should be good enough).
 
  • #6
oh, ok... i think i got myself mixed up somewhere. i figured that surcafe area would have something to do with it... so if the sun's energy expands sphericaly then i figured that the 3.86e33 ergs/second is spread evenly around the current sun's surface area. 1,390,000 kilometers in diameter. surface area of a sphere is 4piR^2 so 6.06x10^12 km of surfaec are or 6.06x10^15 m^2 then radius changes to the distance from Earth into 149,600,000 km... which turns into 2.81x10^23 m^2 for all that energy to spread out across... which makes it 3.86^33 erg/s or 1.37x10^10 erg/s per m^2... hmm ya

so i get 1.37x10^10 erg/second per meter squared.
so i think i can use the equation (3.86x10^33)/(4pi(distance in meters)^2)

and in that distance section i could put the ellipse equation for the orbit the planet has... i'll have to think about how the "energy" given to the planet effects it, like how much is converted by green house gasses... arghs I'm going to have to pay attention to conservation of energy now lol
 
  • #7
i'll have to think about how the "energy" given to the planet effects it, like how much is converted by green house gasses
Yes, and I wish you well!

Some parts are relatively easy - albedo, for example, is simply a measure of how much of the incident radiation is reflected straight back and how much is absorbed. Of course, to the 1st order, what a planet receives from the Sun matches what it emits to space - in the case of the Earth, the emission is primarily in the IR range. The really tricky part is between absorbtion and subsequent emission!
 
  • #8
well thanks for all your help:smile:. i'll right the final equation once i figure it all out, including how I've decided to have green house gasses effect it and everything. I still haven't decided how much depth i want though (i may ignore albedo, because it just makes way to much of a feed back loop, ie. low temp means ice, means less heat, means MORE ICE! then all the plants would die and that would cause volcanoes that emit co2, to accumulate and heat up the planet again! that would just make me want to rip out my hair!)... but i got lots of other stuff to keep it realistic
 

1. How accurate is the model in predicting planetary temperature?

The accuracy of the model depends on the quality and quantity of the limited factors used. The more accurate and relevant the factors are, the more accurate the predictions will be. However, it is important to note that this is a simplified model and may not account for all variables that affect planetary temperature.

2. What are the limitations of using limited factors in the model?

The use of limited factors in the model means that not all variables that affect planetary temperature can be accounted for. This may result in less accurate predictions and may not accurately reflect real-world scenarios. Additionally, the model may not be able to account for sudden changes or events that may affect planetary temperature.

3. How does the model handle different types of planets?

The model can be adjusted to accommodate different types of planets by including factors that are specific to each planet, such as distance from the sun, composition, and atmosphere. However, the accuracy of the predictions may vary depending on the availability and relevance of these factors for each planet.

4. Can the model be applied to real-life situations?

While the model can provide valuable insights into the factors that may affect planetary temperature, it should not be used as the sole source of information for real-life situations. The model is a simplified representation and may not accurately reflect the complexities of the real world. It should be used as a tool for learning and exploration rather than for making real-world decisions.

5. How can the model be improved?

The model can be improved by using more accurate and relevant limited factors, as well as incorporating more complex and realistic variables. It is also important to continuously test and validate the model against real-life data to ensure its accuracy and effectiveness. Additionally, incorporating user feedback and suggestions can also help improve the model.

Similar threads

  • Astronomy and Astrophysics
Replies
3
Views
1K
  • Sci-Fi Writing and World Building
Replies
0
Views
744
  • Sci-Fi Writing and World Building
Replies
21
Views
1K
  • Astronomy and Astrophysics
2
Replies
67
Views
12K
  • Astronomy and Astrophysics
Replies
14
Views
9K
  • Introductory Physics Homework Help
Replies
6
Views
2K
  • Astronomy and Astrophysics
Replies
7
Views
2K
  • Mechanical Engineering
Replies
8
Views
1K
  • Astronomy and Astrophysics
Replies
4
Views
2K
Back
Top