Freerails Home 
Home Search search Menu menu Not logged in - Login | Register
Freerails > Model Railroad Forums > Operations > Experimental coding

Because of non-railroad abuse of the site, new members MUST use their first names (at least) to join NO EXCEPTIONS!

Experimental coding
 Moderated by: W C Greene
New Topic Reply Printer Friendly
 Rate Topic 
AuthorPost
 Posted: Fri Jan 23rd, 2015 11:18 pm
  PMQuoteReply
1st Post
MI Railroader
Registered
 

Joined: Wed Oct 7th, 2009
Location: Bozeman , Montana USA
Posts: 41
Status: 
Offline
Hey all,

I have recently decided to undertake a small computer coding project in an attempt to learn how to code in an attempt to build my resume a little bit.

The Program:
The main objective of the program is car forwarding, and car movement, however, it will also to have the program assign engines, have a function for random mechanical errors and so on (were still working on the kitchen sink) while still striving to achieve an extremely simple user interface and set up.

If this sounds like something you would like to partake in i am looking for one or two volunteers to PM me if interested for more info. Hopefully we can get it programmed and have your input in beta testing!


Cheers! [toast]
Ken



____________________
I'll Figure out a track plan...some day...
Back To Top

 Posted: Sat Jan 24th, 2015 11:58 am
  PMQuoteReply
2nd Post
Herb Kephart
Super Moderator


Joined: Thu Jul 19th, 2007
Location: Glen Mills, Pennsylvania USA
Posts: 6069
Status: 
Offline
Just as soon as I learn spulling--

Herb



____________________
Fix it again, Mr Gates--it still works!"
Back To Top

 Posted: Sat Jan 24th, 2015 08:25 pm
  PMQuoteReply
3rd Post
MI Railroader
Registered
 

Joined: Wed Oct 7th, 2009
Location: Bozeman , Montana USA
Posts: 41
Status: 
Offline
oh gawd what did i mess up now :P



____________________
I'll Figure out a track plan...some day...
Back To Top

 Posted: Sat Jan 24th, 2015 09:04 pm
  PMQuoteReply
4th Post
Herb Kephart
Super Moderator


Joined: Thu Jul 19th, 2007
Location: Glen Mills, Pennsylvania USA
Posts: 6069
Status: 
Offline
No,no.no

You didn't mess up anything that I know of--I was trying to point out that I have trouble with relatively easy stuff, and the only coding that I ever did was five letter groups for Uncle Sam --and that was years ago--so you can imagine how much help I would be.

Herb



____________________
Fix it again, Mr Gates--it still works!"
Back To Top

 Posted: Sat Jan 24th, 2015 09:31 pm
  PMQuoteReply
5th Post
NathanO
Registered
 

Joined: Tue Jan 24th, 2012
Location: Spring Branch [north Of San Antonio], Texas USA
Posts: 245
Status: 
Offline
On one of the local layouts we looked at each industry and what loads it would get in and how often as well as what loads it would send out and how often. We also looked at the type of car needed for each load.

For ice refrigerator cars we would route them to be loaded with ice, to the shipper, back for more ice, to the destination, and then to be cleaned.

We also came up with 'how long to load' and 'how long to unload' for how long to leave the car before being picked up.

We generated a list of cars for each train and had the yard crew make it up. The loco was assigned and then the road crew was given a 'switch list' for drop offs and pick ups.

We tried to rotate cars, cabooses, and locos for some variety. We also mixed in every 5th or 6th train a passenger train.

Nathan

Back To Top

 Posted: Mon Jan 26th, 2015 08:51 pm
  PMQuoteReply
6th Post
MI Railroader
Registered
 

Joined: Wed Oct 7th, 2009
Location: Bozeman , Montana USA
Posts: 41
Status: 
Offline
Herb Kephart wrote:
No,no.no

You didn't mess up anything that I know of--I was trying to point out that I have trouble with relatively easy stuff, and the only coding that I ever did was five letter groups for Uncle Sam --and that was years ago--so you can imagine how much help I would be.

Herb


lol sorry for the panic, i read that saturday morning while i was at work and instantly thought i made some major grammatical error (which has been known to happen more than once)!

Ken



____________________
I'll Figure out a track plan...some day...
Back To Top

 Posted: Thu Sep 22nd, 2016 04:02 am
  PMQuoteReply
7th Post
Helmut F
Registered


Joined: Sun Aug 7th, 2016
Location: Santee, California USA
Posts: 211
Status: 
Offline
Ken,
what language are you going to code in?

i am so busy i am not sure i can dedicate time, but i am interested if helping if i can.



____________________
Helmut
Back To Top

 Posted: Thu Sep 22nd, 2016 09:02 am
  PMQuoteReply
8th Post
Helmut
Registered
 

Joined: Sun Feb 17th, 2013
Location: Friedberg, Germany
Posts: 788
Status: 
Offline
it may be rewarding to brew your own, but JMRI has a free programme to schedule freights Just scroll down to the track diagram shown on that page.
Then there is Ship it!

Last edited on Thu Sep 22nd, 2016 09:04 am by Helmut



____________________
Regards, H.
Back To Top


 Current time is 05:32 am

Freerails > Model Railroad Forums > Operations > Experimental coding
Top



UltraBB 1.172 Copyright © 2007-2016 Data 1 Systems