Sun position

Discussion about RailWorks route design.

Sun position

Unread postby SAR704 » Thu Jan 08, 2015 12:29 am

Just wondering, how do you change the position of the sun, so that it appears in the northern part of the sky coming from the east?
Geforce GTX 1060
16GB RAM
Intel Core i5-3350 3.10ghz
Win te(n) Home
SAR704
 
Posts: 716
Joined: Tue Jun 21, 2011 9:48 am
Location: Adelaide, South Australia

Re: Sun position

Unread postby Bananarama » Thu Jan 08, 2015 1:45 am

There was a post a couple of years back on Trainsim.com describing sun azimuth and how to improve (at the time) Railworks.
Cheers!
Marc - 3DTrains

Image
User avatar
Bananarama
 
Posts: 2749
Joined: Sat Feb 14, 2009 1:17 am
Location: Another Planet

Re: Sun position

Unread postby buzz456 » Thu Jan 08, 2015 8:36 am

Where would you be at that the sun would be in the Northern sky.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20964
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Sun position

Unread postby SAR704 » Thu Jan 08, 2015 9:52 am

I live in a country south of the equator. Unfortunately, adjusting the sun azimuth didn't work for me. Is there anything else I need to do?
Geforce GTX 1060
16GB RAM
Intel Core i5-3350 3.10ghz
Win te(n) Home
SAR704
 
Posts: 716
Joined: Tue Jun 21, 2011 9:48 am
Location: Adelaide, South Australia

Re: Sun position

Unread postby Bananarama » Thu Jan 08, 2015 11:08 am

If you have the original RS Cajon route, the sun azimuth is backwards making it a good place to start. :D
Cheers!
Marc - 3DTrains

Image
User avatar
Bananarama
 
Posts: 2749
Joined: Sat Feb 14, 2009 1:17 am
Location: Another Planet

Re: Sun position

Unread postby PapaXpress » Thu Jan 08, 2015 12:33 pm

Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Sun position

Unread postby nsl714 » Thu Jan 08, 2015 2:28 pm

If I could interject here a moment. I'm currently going through the timeofday files tweaking the sun and whatnot for Northern Illinois. I followed the above procedure and equation for the Azimuth. Below are my results. Both are taken at 12:00 with the camera facing straight east.

Summer

Image

Winter

Image

Now, that is backwards to what I would expect. (Living in the area, I am aware that the sun should be further south in the sky. The azimuth I got for summer was 56, and winter was 120. Subtracting those from 150 and dividing by 100 gave me Azimuth numbers of -0.924 and -0.289 for summer and winter respectively. For now I have just swapped the numbers in the TimeOfDay files, and that is sufficient, but I would like to know if there is some error I propagated in the calculations.

Second Question: I have tried to set up free roam activities with the 3d weather. However, the 3d weather seems to be using a different time of day bin file. Is there somewhere special where this is hiding? Would it be too inconvenient to set up perhaps a copy of the 3d weather with the appropriate sun azimuth and time of day?

Thanks,
Zach
User avatar
nsl714
 
Posts: 168
Joined: Sun Oct 21, 2012 7:43 pm

Re: Sun position

Unread postby PapaXpress » Thu Jan 08, 2015 2:43 pm

Not sure I follow. For summer we should see a longer shadow at noon (unless I am forgetting Astronomy 101 from 20 odd years ago).
Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Sun position

Unread postby nsl714 » Thu Jan 08, 2015 3:00 pm

I thought that in the summer, the Northern hemisphere is tilted toward the sun, therefore the sun should be more directly overhead in the Midwestern US. Likewise, in winter, the axis of the earth should be such that the Southern hemisphere is tilted toward the sun (giving them summer and the North winter). Therefore in the Northern Hemisphere should see the sun further south in the sky during the winter. Hence my confusion as to why the sun is displaying the opposite as a result of the calculations in winter. (It looks like I didn't make that clear in my first post, that I am examining a Northern Hemisphere condition rather than a Southern hemisphere condition like SAR704 is !!**sorry**!! )
User avatar
nsl714
 
Posts: 168
Joined: Sun Oct 21, 2012 7:43 pm

Re: Sun position

Unread postby wacampbell » Thu Jan 08, 2015 3:01 pm

PapaXpress wrote: (unless I am forgetting Astronomy 101 from 20 odd years ago).


I am pretty sure nsl714 is correct for Chicago area. There may be some areas close to the equator where the opposite is true.
Wayne Campbell
wacampbell
 
Posts: 511
Joined: Tue Sep 27, 2011 12:45 pm
Location: BC, Canada

Re: Sun position

Unread postby buzz456 » Thu Jan 08, 2015 5:42 pm

seasons.jpg
Seasons. Sun higher in the sky shorter shadows in the Summer.
You do not have the required permissions to view the files attached to this post.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 20964
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Sun position

Unread postby fecrails » Thu Jan 08, 2015 7:56 pm

I have no idea how TS calculates the sun position or what variables are used and where they are stored, but I do know that the azimuth of the sun (position E of N) at any given time and date is only half of the celestial coordinates needed to define the apparent position of a celestial object in the sky. The other coordinate needed is the altitude (angular position above the horizon).

Using the U.S. Naval Observatory online calculator; on the summer solstice at Chicago, Illinois the sun will reach its highest altitude of 71.6 degrees at 12:50 local time. At that time the azimuth of the sun will be 178.2 degrees, almost due south. On the winter solstice at the same location the sun will reach its highest altitude of 24.7 degrees at 11:50 local time. At that time the azimuth of the sun will be 180.3 degrees, again almost due south.

In the above example it is plain to see two things: Yes, objects will cast a much longer shadow in the winter than they do in the summer at that location due to the sun's low apparent angle in the sky during the winter compared to summer. Secondly, the important variable that changes with the seasons is the altitude of the sun at local maximum, not the azimuth. By definition the azimuth will remain 180 degrees (the minor differences of the azimuth angle in the examples are caused by extrapolating the resulting calculation to the closest minute) at the maximum local altitude regardless of the season in the northern hemisphere. The variables that will change will be the altitude and the local time that the maximum altitude will be reached.

Azimuth would be the most important variable in defining the apparent position of the sun at times of sunset and sunrise.

Hope this helps. **!!2cents!!**
User avatar
fecrails
 
Posts: 497
Joined: Tue Jun 26, 2012 9:13 am

Re: Sun position

Unread postby PapaXpress » Fri Jan 09, 2015 12:48 am

Actually Buzz helped a lot with that picture. So is TS messed up, or my blog, or both?
Image
"Just post some random unrelated text. We have members here who can help you with that." ~ Chacal
"When all else fails, read the instructions... if that doesn't work either, try following them." ~ Old Prof
Image
The Grade Crossing - Atlanta North Project - Virtual Rail Creations
User avatar
PapaXpress
 
Posts: 5147
Joined: Sat Oct 23, 2010 10:30 pm
Location: that "other" timezone

Re: Sun position

Unread postby nsl714 » Fri Jan 09, 2015 9:53 am

All I can say is swapping the Azimuth values for Summer and Winter produces satisfactory results, at least at the Latitude I'm at.

Image

Image
User avatar
nsl714
 
Posts: 168
Joined: Sun Oct 21, 2012 7:43 pm

Re: Sun position

Unread postby Bananarama » Fri Jan 09, 2015 11:05 am

PapaXpress wrote:So is TS messed up, or my blog, or both?

I believe the azimuth values in TS are coded backward - positive yields a negative and vis versa.
Cheers!
Marc - 3DTrains

Image
User avatar
Bananarama
 
Posts: 2749
Joined: Sat Feb 14, 2009 1:17 am
Location: Another Planet

Next

Return to Route Design

Who is online

Users browsing this forum: No registered users and 5 guests