The International Simutrans Forum

 

Author Topic: [BUG?] "too slow" in stop, no purple pixel on the destinations map  (Read 595 times)

0 Members and 1 Guest are viewing this topic.

Offline Freahk

  • Devotee
  • *
  • Posts: 1357
  • Languages: DE, EN
There might be an issue with private car too slow and public transport too slow recorded data or stop stats.

On stephenson-siemens, we had noticed many stops recording "too slow", whilst we couldn't find any purple but many pink pixels on the destination layer.

The same can be seen on bridgewater. I couldn't find any purple pixel, only pink ones whilst stops report a fair amount of "too slow" pasengers.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20350
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #1 on: May 22, 2020, 04:52:20 PM »
I wonder whether this is a matter of colour definition? The code (starting at simworld.cc at line 7041) marks destinations in "light purple" if passengers cannot reach the destination faster by private car than public transport, or "purple" if passengers can reach the destination by private car faster than public transport, but using the private car is still too slow. In either case, "too slow" will be marked on the station graph.

Offline Freahk

  • Devotee
  • *
  • Posts: 1357
  • Languages: DE, EN
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #2 on: May 22, 2020, 05:08:33 PM »
Well I was wondering this either.
It might also be possible that we never enter line 7050, where we set pixels to be COL_PURPLE.
I'll do some quick observations.

In either case, "too slow" will be marked on the station graph.
Oh well, I hadn't expected this tbh.
Thus it might be possible that "too slow" passengers recorded at the stop never actually attempted to use the stop because they always prefer the car anyway?
Doesn't sound meaningful to me in the first place. I'll put some thought on what these stats should record imho.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20350
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #3 on: May 22, 2020, 05:13:16 PM »
Well I was wondering this either.
It might also be possible that we never enter line 7050, where we set pixels to be COL_PURPLE.
I'll do some quick observations.
Oh well, I hadn't expected this tbh.
Thus it might be possible that "too slow" passengers recorded at the stop never actually attempted to use the stop because they always prefer the car anyway?
Doesn't sound meaningful to me in the first place. I'll put some thought on what these stats should record imho.

Passengers who record as "too slow" at a stop will always be passengers who would have travelled if the player transport were faster. Even passengers who are in the always prefer private car category will still use public transport if public transport is within their journey time tolerance and a private car journey is not.

Offline Freahk

  • Devotee
  • *
  • Posts: 1357
  • Languages: DE, EN
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #4 on: May 22, 2020, 05:30:03 PM »
Ah, ok I was not aware of this. I thought they'd simply refuse to travel if they can't use their holy car.
So "always prefer private car" will only make a difference if a passenger can reach a destination but taking the private car is slower?
That makes kind of sense.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20350
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #5 on: May 22, 2020, 05:40:46 PM »
Ah, ok I was not aware of this. I thought they'd simply refuse to travel if they can't use their holy car.
So "always prefer private car" will only make a difference if a passenger can reach a destination but taking the private car is slower?
That makes kind of sense.

Not quite - passengers in the always prefer private car category will always take their private car if there is a private car route to their destination and the journey time for that route is within their journey time tolerance, even if public transport is faster. However, if the private car route is not within their journey time tolerance but public transport is, they will take public transport. All other passengers will take public transport or private car depending on which gets them to their destination more quickly. I hope that this makes sense?

Offline Milko

  • Devotee
  • *
  • Posts: 868
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #6 on: May 22, 2020, 06:49:50 PM »
Hello

It might also be possible that we never enter line 7050, where we set pixels to be COL_PURPLE.

Sometimes I have noticed very dark pixels (almost black). It may be that you never actually enter the line or that the associated color is too dark (it is confused with the colors of the streets).

Giuseppe

Offline Freahk

  • Devotee
  • *
  • Posts: 1357
  • Languages: DE, EN
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #7 on: May 22, 2020, 07:03:52 PM »
I guess that color you refer to is "dark red"
btw. for the "cleanest" view on that layer, I usually uncheck "show contour" and "show buildings" when using destinations layer.
The only thing that can interfere with the displayed data in that case are ways, but without these, well... you had no idea where the color indicated buildings actually are.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20350
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #8 on: May 22, 2020, 08:03:21 PM »
I guess that color you refer to is "dark red"

No, dark red is a different colour again - it is used for "destination unavailable" (e.g. where the destination building is a consumer industry and there are no goods/staff, or this is a commuting trip and the target has no available job slots).

Quote
btw. for the "cleanest" view on that layer, I usually uncheck "show contour" and "show buildings" when using destinations layer.
The only thing that can interfere with the displayed data in that case are ways, but without these, well... you had no idea where the color indicated buildings actually are.

Yes, Ranran's changes here make this display much easier to use.

Offline Freahk

  • Devotee
  • *
  • Posts: 1357
  • Languages: DE, EN
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #9 on: May 22, 2020, 08:38:22 PM »
No, dark red is a different colour again
Obviously it's different from purple, but it matches Milkos description of very dark, almost black pixels, so I guess what he refers to is dark red.

Offline Ranran

  • Devotee
  • *
  • Posts: 1286
  • Languages: ja
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #10 on: May 23, 2020, 03:44:01 AM »
Maybe this is...



... dark red I think.


Is it possible that purple is hard to discover unless it is in a certain age?

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20350
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #11 on: May 23, 2020, 03:09:57 PM »
Yes, what Ranran shows is dark red - what colour had people imagined was dark red?

Ranran - I am not sure what you mean by the purple being a certain age here - can you elaborate?

Offline Ranran

  • Devotee
  • *
  • Posts: 1286
  • Languages: ja
Re: [BUG?] "too slow" in stop, no purple pixel on the destinations map
« Reply #12 on: May 23, 2020, 03:18:04 PM »
I guessed that the rate at which people use their own cars, and the rate at which they appear due to the difference in speed between automobiles and public transportation, etc., may change over time.
I haven't confirmed purple yet.