The International Simutrans Forum

PakSets and Customization => Pak128.Britain => Topic started by: sdog on April 01, 2012, 03:44:48 AM

Title: industry chains
Post by: sdog on April 01, 2012, 03:44:48 AM

in case some of you forgot how the industries in this pak are linked to each other, z9999+ published an excellent graph in the japanese forum:(http://forum.japanese.simutrans.com/index.php?action=dlattach;topic=462.0;attach=497;image)
http://forum.japanese.simutrans.com/index.php?topic=462.msg2308#msg2308 (http://forum.japanese.simutrans.com/index.php?topic=462.msg2308#msg2308)
Title: Re: industry chains
Post by: isidoro on April 01, 2012, 10:32:04 AM
Excellent!

If I had time, I would add some pictures or do the same for the vehicles...

Title: Re: industry chains
Post by: The Hood on April 01, 2012, 11:10:25 AM
This is great! Given the large number of objects in pak128.Britain (especially trains) I had always thought it would be a good idea to have some sort of online manual describing what everything does, but of course there's always something else to do...
Title: Re: industry chains
Post by: sdog on April 01, 2012, 05:35:47 PM
We could ask z9999+ for the source code.
Title: Re: industry chains
Post by: jayem on May 17, 2012, 06:15:49 PM
Since seeing the request I'm working on some draft graphs to do this.
It's going a bit slow because it's not my biggest priority (if I had the time/skill to commit to doing things well I'd make objects or code).

Here is a draft speed v year graph for engines (&tenders) it's very much prototypical/proof of concept.

But if anyone has any grand suggestions of what to graph, clever tips etc... then I may as well work them in early.

(http://forum.simutrans.com/index.php?action=dlattach;topic=9668.0;attach=18592;image)
(http://forum.simutrans.com/index.php?action=dlattach;topic=9668.0;attach=18594;image)
[eta updated image]
Title: Re: industry chains
Post by: isidoro on May 17, 2012, 11:49:01 PM
Very interesting!

Though, for me, it seems more natural if high speeds are at the top and low speeds at the bottom.

Title: Re: industry chains
Post by: greenling on May 18, 2012, 06:07:07 PM
Need everyone a list with the maxium pullable weight and topspeed?
Then it be wished  then can i one be make.
Title: Re: industry chains
Post by: jamespetts on May 19, 2012, 10:15:50 AM
Intriguing idea! (Although you seem to be missing out railcars/multiple units from this mix).
Title: Re: industry chains
Post by: greenling on May 19, 2012, 06:04:10 PM
Jamespetts
QuoteIntriguing idea! (Although you seem to be missing out railcars/multiple units from this mix).
This is not a big problem!
I have the PNG and DAT-files from Pak128.britain!
And from Pak128.britain exp have the data also.
(Please note, it is possible the new error be found! )
Title: Re: industry chains
Post by: jayem on May 19, 2012, 09:17:33 PM
I'm trying to get it semi-scripted (that way it should be easy to update).

I think the reason for the lack of some trains is that they were in a different folder, I only downloaded the trains folder so far.
However multiple trains are in the same .dat file so that might influence things.  Also the pictures should all be east facing but some clearly aren't.

I will flip the graph (as suggested) but at the moment there is a flaw with the axis.

I think of key interest (at least I'd like to know it) would be trains/etc.. profitability in different situations.  But that will require some calculation (and some luck in finding good heuristics).  For standard that should be easy, for experimental the speed/comfort aspects are going to dominate and need accounting for.

I can share the (java) file used so far (I'll attach it here tomorrow, after making a few revisions/comments), although it should hopefully be better in a months time.


[new stuff]

As promised the file (you'll need to check to see it's not going to be destructive and then rename & compile it), it defaults to carriage cost per passenger.*
It's not really necessary as it's really only the finished graphs that matter (but it may as well be available).
I'll try and build a few next weekend,  and try to have enough for a summary sheet by next month (buses should be well complete as they'll be well behaved and self contained).

Thanks for suggestion on power, previous check was on freight type, hence the tenders and no multi-purpose.
Current, major, flaw is that the transparent parts of the picture are too large. 
*incidental 390f pantograph rear (and a few others) are vastly more expensive despite having no power.  I presume it's a feature of being part of a train assembly...but I'll have a look.
Title: Re: industry chains
Post by: jamespetts on May 19, 2012, 09:20:39 PM
It's not the folder - multiple unit vehicles are in the same folder, but counted as powered railway carriages, rather than locomotives. What you need to do, I think, is to filter, not by whether something is defined as a locomotive, but by whether it has a power rating. This will then cover all powered vehicles (although you will then have the problem that you will get duplicates - the front and rear driving motor cars of multiple units, etc. - although one might say that the tenders are superfluous in the present graph).