[Patch] Group info

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
mtm2207946034
Engineer
Engineer
Posts: 12
Joined: 30 Mar 2015 20:04

[Patch] Group info

Post by mtm2207946034 »

I updated and extended the patch Group Info, which is mainly based on the work of MagicBuzz: https://bugs.openttd.org/task/1042
Using the patch, one can simply manage all the vehicles, by analyzing profit and current usage (extended).
The patch also supports hierarchical subgroups of release 1.5.0.
Profit (this year/last year) and current usage (extended) is added to all vehicle windows.
Profit (this year/last year) and current usage (extended) is added to all vehicle windows.
Group_Info.png (18.73 KiB) Viewed 12921 times
vehicle-group-info-ex-r27210.patch
Patch: Group info (extended version) showing profit and current usage. Updated to current trunk (around release 1.5.0).
(6 KiB) Downloaded 280 times
vehicle-group-info-r27210.patch
Patch: Group info (unchanged version) showing profit. Updated to current trunk (around release 1.5.0).
(3.78 KiB) Downloaded 350 times
I cannot imagine playing without this patch.
1.5.0 got hierachical subgroups, maybe 1.6.0 will include group info. :)
Wahazar
Tycoon
Tycoon
Posts: 1451
Joined: 18 Jan 2014 18:10

Re: [Patch] Group info

Post by Wahazar »

I'm using similar (previous?) patch included into reddit client and found it much more useful than those "burgers" and "vege-burgers" signs.

BTW, what stand for "current usage" ?
mtm2207946034
Engineer
Engineer
Posts: 12
Joined: 30 Mar 2015 20:04

Re: [Patch] Group info

Post by mtm2207946034 »

McZapkie wrote:BTW, what stand for "current usage" ?
Current usage is loaded freight / capacity in percent averaged over all vehicles in the group.

(This value is determined only during travel of each vehicle and does not represent loading/unloading.)
I don't know, if occupancy is a better description.

I use this value to check, if I need more vehicles (because all vehicles are full) or if lots of vehicle go almost empty.
Alberth
OpenTTD Developer
OpenTTD Developer
Posts: 4763
Joined: 09 Sep 2007 05:03
Location: home

Re: [Patch] Group info

Post by Alberth »

For industrial cargo, wouldn't current usage always be around 50% ?
Being a retired OpenTTD developer does not mean I know what I am doing.
Eddy Arfik
Transport Coordinator
Transport Coordinator
Posts: 260
Joined: 09 Apr 2014 11:10

Re: [Patch] Group info

Post by Eddy Arfik »

Alberth wrote:For industrial cargo, wouldn't current usage always be around 50% ?
Not if you use station refits to haul different cargo on return trip
Wahazar
Tycoon
Tycoon
Posts: 1451
Joined: 18 Jan 2014 18:10

Re: [Patch] Group info

Post by Wahazar »

mtm2207946034 wrote:
McZapkie wrote:BTW, what stand for "current usage" ?
Current usage is loaded freight / capacity in percent averaged over all vehicles in the group.
It is understandable, but which means "current"? Is it computed instantly, or yearly averaged?
mtm2207946034
Engineer
Engineer
Posts: 12
Joined: 30 Mar 2015 20:04

Re: [Patch] Group info

Post by mtm2207946034 »

Alberth wrote:For industrial cargo, wouldn't current usage always be around 50% ?
In an optimal situation, current usage would be around 50%. If a lot of vehicles are waiting for cargo, than current usage may be 30% or even less.
McZapkie wrote:It is understandable, but which means "current"? Is it computed instantly, or yearly averaged?
Current means current. :) There is no daily, monthly or yearly average.

The usage of each vehicle is determined, when it leaves a station. This value remains constant, until the vehicle leaves the next station.
Eddy Arfik
Transport Coordinator
Transport Coordinator
Posts: 260
Joined: 09 Apr 2014 11:10

Re: [Patch] Group info

Post by Eddy Arfik »

mtm2207946034 wrote:Current means current. :) There is no daily, monthly or yearly average.

The usage of each vehicle is determined, when it leaves a station. This value remains constant, until the vehicle leaves the next station.
I just tried this patch and I like the idea, instead of roughly adding in my head the individual vehicles to see how much profit my services make each year I can see it right there on one line, but I think instead of showing the usage at the time of opening groups window, yearly averages displayed as "usage this year" and "usage last year" would be much more helpful for deciding if adjustment to capacity is needed, and would also fit better with the way profits are displayed.
mtm2207946034
Engineer
Engineer
Posts: 12
Joined: 30 Mar 2015 20:04

Re: [Patch] Group info

Post by mtm2207946034 »

Eddy Arfik wrote:I just tried this patch and I like the idea, instead of roughly adding in my head the individual vehicles to see how much profit my services make each year I can see it right there on one line, but I think instead of showing the usage at the time of opening groups window, yearly averages displayed as "usage this year" and "usage last year" would be much more helpful for deciding if adjustment to capacity is needed, and would also fit better with the way profits are displayed.
I also updated and extended the patch Trip History, which contains a similar idea. The occupancy/usage of a vehicle is shown for the last 10 trips:
http://www.tt-forums.net/viewtopic.php? ... 0#p1146577

Calculation occupancy/usage yearly should be doable. These values (occupancy in current and last year) should also be displayed in the vehicle detail window.
It should be discussed, if usage/occupancy of a vehicle should be averaged over time, over distance between stations or just averaged at each station without weight.

I don't know if occupancy which is averaged over a longer period contains any information at all. Long time changes (comparing occupancy of current and last year) should be visible in profit too.
In my opinion, current usage as realized in my extension of the Group Info patch has an average:
You can see short time effects as a blocked road or something else.


Does anybody else find occupancy/usage of a vehicle (group) useful?
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: No registered users and 3 guests