metro-dreamin icon indicating copy to clipboard operation
metro-dreamin copied to clipboard

Feature request: Add Automatic Ridership Calculation.

Open Simha-Kalimipalli opened this issue 1 year ago • 4 comments

Hi There,

A good feature to add is the approximate ridership of the generated lines. This could be calculated using the gravity formula

  • with the density data that is available for each stop in MetroDreamin . Ie calculate approx. ridership that is proportional to (constant)*(magnitude of node 1 density)(magnitude of node 2 density)/(distance between two nodes)^2.

I'm working on an open source package that does for mock origin-destination data and would love to integrate that functionality into MetroDreamin. Thanks

Simha-Kalimipalli avatar Nov 27 '23 05:11 Simha-Kalimipalli

I definitely want to add this functionality and plan to do so at some point! Can you explain a bit about what node 1 and node 2 are in this formula?

And please link me to your open source package! I'd love to take a look

the-nemz avatar Nov 29 '23 08:11 the-nemz

Node 1 and Node 2 are the magnitude of any two given stations. The magnitude can either be represented by the density score or the number of nearby buildings (given when you click a station).

As for my package, I'm still adding the finishing touches (uploading newest version to pypi etc). I will notify you when I finish it!

Here a quick graphic of what a gravity feature could look like: image

The concept for gravity is that the total ridership of a line is proportional to the sum of the gravity of all origin destination pairs on the line

Simha-Kalimipalli avatar Nov 30 '23 05:11 Simha-Kalimipalli

Really interesting idea to visually represent ridership by using the thickness of the line! Thanks for the explanation. I'll think about how I can go about implementing this in the future.

Looking forward to seeing your code!

the-nemz avatar Dec 02 '23 10:12 the-nemz

i would love this feature, it will make this application far more popular than it is

erkinalp avatar Apr 30 '24 14:04 erkinalp