It's fairly clear that if you have trade treaties with multiple foreign powers, the theoretical benefit from additional trade partners is reduced. (For instance, signing a trade charter with the Ashdar Empire, which theoretically should have been worth 21 foreign trade routes, increased my actual number of trade routes by... six, I believe, but the exact number slips my mind.) This is actually something that's perfectly fine in my book, but the actual way it's calculated is opaque to me and not documented in-game.
So, I have questions, which Sven or Arioch can answer if they wish.
1) What is the formula determining the theoretical maximum benefit from trade charters and research charters with foreign powers? The math that would return the '21 foreign trade routes' in the previous example.
2) How does the game determine how much actual practical benefit you gain from all trade or research charters combined? The math that results in the six (or whatever the actual single-digit value was) new trade routes added to my actual total of trade routes.
I'm actually quite happy with the practical experience of trade and research charters now (and am no longer having to watch everybody else I trade with get significantly more income from their trade treaties with me than they get from all other sources combined, pushing them up from deficits to multiple hundreds of surplus, which always struck me as a touch silly- now I get to see them get real benefits, but real benefits that don't completely swamp the rest of their economy). I'm just curious about the nuts and bolts of the system, which aren't really explained anywhere.