Thread Tools
Old February 13, 2001, 14:41   #1
DilithiumDad
Alpha Centauri PBEMCivilization III PBEM
Prince
 
DilithiumDad's Avatar
 
Local Time: 00:05
Local Date: October 31, 2010
Join Date: Aug 1999
Location: Ohio
Posts: 721
How is commerce calculated?
Commerce is another one of those mysterious quantities that appear in the game. It especially seems to confuse things in multiplayer. Some people are reluctant to make treaties or pacts with Morgan players, thinking they are being "ripped off" somehow. Actually, commerce creates a global economy where all players benefit. The more energy any one faction makes, the more everyone makes. Intelligent human players can optimize their commerce with pactmates in ways that AI factions never do. For example, concentrating energy production in a few key high-energy bases benefits commerce.

Below is an actual example of commerce in a 7-player game. At the beginning, all 7 factions had pacts with each other.

------------------
Creator of the Ultimate Builder Map, based on the Huge Map of Planet, available at The Chironian Guild:
http://guild.ask-klan.net.pl/eng/index.html
DilithiumDad is offline  
Old February 13, 2001, 14:42   #2
DilithiumDad
Alpha Centauri PBEMCivilization III PBEM
Prince
 
DilithiumDad's Avatar
 
Local Time: 00:05
Local Date: October 31, 2010
Join Date: Aug 1999
Location: Ohio
Posts: 721
lobal Commerce: Effects of repealing Global Trade Pact and Global Hostilities

In Islanders2 on ACOL, the Global Trade Pact was broken effective in 2163, and in 2166 fighting broke out between a Hive-University-Peacekeeper alliance and a Gaian-Spartan alliance with Believers and Morganites neutral. (see this link: http://www.an.i-dentity.com/ubb/Foru...L/000331.html)

I thought it might be interesting to track changes in global commerce during these times. I calculated the commerce generated at each faction's top 3 bases, as determined by the Energy Reserves ranking (which does not agree perfectly with commerce ranking). So total commerce is like to be higher by at least a factor of 4 or so.

Faction 2161 2163 2164 2165 2166
G 265 133 94 137 82
H 194 96 94 97 ?
U 159 75 78 79 ?
M 194 95 89 95 128
S 149 74 76 78 65
B 132 64 66 68 63
P 307 147 131 131 ?
Sum 1400 684 628 685 ?

COMMENTS: Commerce normally rises steadily with each poassing year, as populations rise, additional terraforming is completed, and commerce-related techs are discovered (also, more bases are built, but that is not reflected in these 3-base totals). Commerce is affected by the energy production of your pact or treaty-mates bases, which includes commerce. Therefore, when commerce rates are cut the effects can be large.

In 2161, three factions had +2 economy. G were in Wealth + Golden Age, M were in Wealth, and P were in Free Market. P and G had the largest bases and had the highest commerce despite M's intrinsic bonus.

In 2163, repeal of the Gloabl Trade Pact cut commerce in slightly less than half (1400 to 684 total commerce in the top three bases of all factions). This should be compared to where commerce would have been in 2163 if it had been allowed to grow, which based on previous trends would have been about 1480. Losses were very even between factions.

In 2164, commerce continued to fall as reduced commerce income lowered the basis for commerce in the following year. Commerce resumed its normal growth in 2165.

The onset of multiple vendettas in 2166 cut commerce somewhat, but the drop would have been far greater if the Morganites had not switched to free market. The increased commerce benefited not only the Morganites themselves but also their pactmates (G, S, B). This shows that a faction's social engineering choices can outweigh a crash of the global economy and how one faction's social engineering choices can affect other factions in a trade group. (So when the AI Morgan accuses you of messing up the global economy, there is actually some kernal of truth there!)

(Information not available from hostile factions in 2166 owing to a lack of probe infiltration.)

DilithiumDad is offline  
Old February 15, 2001, 07:06   #3
Aredhran
Prince
 
Aredhran's Avatar
 
Local Time: 06:05
Local Date: October 31, 2010
Join Date: Apr 1999
Location: Geneva, Switzerland
Posts: 846
Very interesting, thanks DDad.
Aredhran is offline  
Old February 15, 2001, 18:01   #4
buster
ACDG3 CMNsACDG The Free Drones
King
 
buster's Avatar
 
Local Time: 07:05
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Aarhus, Denmark
Posts: 1,301
There is a section about it in datalinks under commerce.

It is a matter of energy production and diplomatic relation (pact gives double of treaty) and how many "economic techs" you have discovered.

I can swear I have also seen a screen from time to time telling me my commerce rating is 5 or 8 or whatever, but looking just now I could not find it.

From my own observation it seems to go on a city to city basis. Meaning if one of your cities have a listing of commerce with Sparta - one Spartan city will have a listing of commerce to you.

Another observation is that commerce income depends on energy production of your and their city. You will not have a trade income of 20 even if you have a huge city if your trading partner have two size two cities.

Another factor seems to be distance. In some games where I was I way bigger than partners and had several trade partners it seems that cities near a faction would tend to trade ythat faction and cities near another would tend to trade that one.

So here is my guess - it seems to be calculated per city basis.

There seems to be some minimum for you before trade sets in at all (probably first economic tech)and minimum energy production of 4-5 in the city or so possibly more if treaty less if pact.

If you have both you now have a city qualifying for trade. Trading partner will be most energy producing city of trading partner(s). Amount of trade depends on energy production (and possibly size) of you and their city and your commerce rate as influenced by SE, faction, economic techs, pact or treaty and global trade pact if in place.

If you only have one trading partner and he only has three cities only three of your cities can trade. If there is more or multiple partners it will distribute according to some factors including (I think) energy production, size and distance (closer is better).

Not terribly exact but gives some idea.


buster is offline  
Old February 15, 2001, 18:33   #5
Fitz
King
 
Fitz's Avatar
 
Local Time: 21:05
Local Date: October 30, 2010
Join Date: Mar 2000
Location: & Anarchist
Posts: 1,689
quote:

Originally posted by buster on 02-15-2001 05:01 PM
I can swear I have also seen a screen from time to time telling me my commerce rating is 5 or 8 or whatever, but looking just now I could not find it.

It displays on the economic MFD in the center of the screen.

quote:

Another factor seems to be distance. In some games where I was I way bigger than partners and had several trade partners it seems that cities near a faction would tend to trade ythat faction and cities near another would tend to trade that one.
AFAIK, distance is NOT a factor. Any given base can trade with any other given base as long as you have a treaty/pact. I frequently have a SSC that gets commerce income from 2-6 partners.

You are essentially correct in how it happens. If you have a Treaty/Pact with someone.

Each base you have is compared with one base they have, ranked in order of energy production. The commerce you get depends on many things you have already mentioned, but primarily on the combined income of each base. This process repeats down the list of bases until one faction or the other runs out of bases.

As to what DD says, I am inclined to disagree. I would heve to review the commerce equation, but I am pretty sure that there is no global effect to commerce. Commerce income is not fed back into the commerce equation. Thus if one faction (A) drops out of a pact with one person (B), this (should) has no effect on the commerce of the other people that were allied with B but NOT with A. Don't quote me on it though.

However, he is correct that if one faction runs FM (or increases it's total energy production through any method other than increasing commerce income), all of his partners benefit. This is because the commerce equation depends on the combined energy production of a given base pairing. Thus, if one side goes up, both sides commerce income increases.
Fitz is offline  
Old February 15, 2001, 20:38   #6
buster
ACDG3 CMNsACDG The Free Drones
King
 
buster's Avatar
 
Local Time: 07:05
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Aarhus, Denmark
Posts: 1,301
While distance may not be a factor in the resulting amount of trade, I am rather certain it is a factor concerning the program deciding what partner-city to choose.

Otherwise I have encountered a series of very unlikely coincidences.
buster is offline  
Old February 15, 2001, 20:41   #7
Fitz
King
 
Fitz's Avatar
 
Local Time: 21:05
Local Date: October 30, 2010
Join Date: Mar 2000
Location: & Anarchist
Posts: 1,689
quote:

Originally posted by buster on 02-15-2001 07:38 PM
Otherwise I have encountered a series of very unlikely coincidences.


You have. j/k

AFAIK, the partnering is determined soley by the energy output of each base. Howevver, remember that distance from your HQ will effect the energy output of a base, so that might account for weird geographical placement you noticed.

Can someone who is posting from home grab the commerce formula out of the datalinks and put it up for us?

[This message has been edited by Fitz (edited February 15, 2001).]
Fitz is offline  
Old February 15, 2001, 20:54   #8
buster
ACDG3 CMNsACDG The Free Drones
King
 
buster's Avatar
 
Local Time: 07:05
Local Date: October 31, 2010
Join Date: Oct 1999
Location: Aarhus, Denmark
Posts: 1,301
ok found it - here it is - guess youre right no mention of distance ): :

Commerce is computed base by base between factions with Treaties and Pacts, as follows:

(1) First, all bases for each faction are ranked from top to bottom by Energy output.
(2) Bases are paired off from top to bottom. If one faction has extra bases, these are ignored.
(3) For each pair of bases, sum the combined economic output and divide by 8, rounding up.
(4) Double this value if a Global Trade Pact is in effect.
(5) Now, for each individual base, the commerce formula is as follows:
(ValueFromStep4) * (CommerceTech+1) / (TotalCommerceTech+1)
(6) CommerceTech is the total # of economic technologies discovered, plus
faction & social bonuses.
(7) TotalCommerceTech is the total # of economic technologies in the game.
(8) Now, using the value from step 5, divide by 2 if no Pact (e.g. only a Treaty)
(9) Add +1 if you are Planetary Governor.
(10) Reduce to zero if sanctions are in effect against either faction.

[This message has been edited by buster (edited February 15, 2001).]
buster is offline  
Old February 15, 2001, 22:57   #9
DilithiumDad
Alpha Centauri PBEMCivilization III PBEM
Prince
 
DilithiumDad's Avatar
 
Local Time: 00:05
Local Date: October 31, 2010
Join Date: Aug 1999
Location: Ohio
Posts: 721
Step 3 is where the SE settings of your partner come in. The "combined economic output" is divided by eight.

Note that economic output includes energy from your workers AND energy from commerce. Note that energy from commerce is treated just like energy from your production squares in terms of applying bonuses, producing a ranking of bases when you sort them on the F4 screen and so forth. There is no difference between getting 6 energy from a borehole and getting 6 energy from your pact with Morgan. If Morgan breaks the pact, then that base loses 6 commerce energy and more than likely you will lose one point of commerce from your pact with Brother Lal, because it's based on energy production divided by eight.

Note that Morgan going from Green/Wealth to Free Market/Wealth (as the Morgan player did in the example) does not increase energy production much (+1 per square and +2 per base to start, rising to +1/square and +4 per base). BUT the commerce rating rises considerably.

Note also that commerce is calculated before efficiency. This means you can have a base that is losing 100% of its energy production to inefficiency, but it will still bring in lots of commerce. All the commerce energy will evaporate into inefficiency, but yoru pactmate still benefits to the full extent. So only the economy SE setting has any effect, not efficiency or anything else.
DilithiumDad is offline  
Old February 20, 2001, 21:32   #10
Fitz
King
 
Fitz's Avatar
 
Local Time: 21:05
Local Date: October 30, 2010
Join Date: Mar 2000
Location: & Anarchist
Posts: 1,689
quote:

Originally posted by DilithiumDad on 02-15-2001 09:57 PM
Step 3 is where the SE settings of your partner come in. The "combined economic output" is divided by eight.


I agree.

quote:

Note that economic output includes energy from your workers AND energy from commerce. Note that energy from commerce is treated just like energy from your production squares in terms of applying bonuses, producing a ranking of bases when you sort them on the F4 screen and so forth. There is no difference between getting 6 energy from a borehole and getting 6 energy from your pact with Morgan. If Morgan breaks the pact, then that base loses 6 commerce energy and more than likely you will lose one point of commerce from your pact with Brother Lal, because it's based on energy production divided by eight.


I disagree in principle (without checking ). That makes the equation an infinite loop. You can't feed commerce into the equation for commerce without screwing things up.

quote:

Note also that commerce is calculated before efficiency. This means you can have a base that is losing 100% of its energy production to inefficiency, but it will still bring in lots of commerce. All the commerce energy will evaporate into inefficiency, but yoru pactmate still benefits to the full extent. So only the economy SE setting has any effect, not efficiency or anything else.


This makes no sense to me. Are you saying that with high inefficiency the base loses all it's commerce income, or that it keeps it? I'm inclined to think that it works the same way as specialists (you keep it), but I have nothing to back that up with. A quick way to tell is look at your income from workers, and see if the total energy brought in on the energy bar is = to the worker energy or = to the (worker + commerce) energy. I'll bet on the former, and check tonigh.
Fitz is offline  
Old February 20, 2001, 21:46   #11
Misotu
Emperor
 
Misotu's Avatar
 
Local Time: 06:05
Local Date: October 31, 2010
Join Date: Dec 1999
Location: Leamington Spa, England
Posts: 3,657
Well, it may not make any sense to you Fitz, but it's the case. A base's commerce is calculated before its inefficiency is calculated. A base can generate absolutely splendid amounts of commerce, and lose it all to inefficiency, I have seen this for myself. And thus, DiDad's post is absolutely correct in this respect. Whether you can make sense of it, or not
Misotu is offline  
Old February 20, 2001, 21:53   #12
Fitz
King
 
Fitz's Avatar
 
Local Time: 21:05
Local Date: October 30, 2010
Join Date: Mar 2000
Location: & Anarchist
Posts: 1,689
I got confused by his ordering. So what he (and you) are saying is this:

1. Commerce calculated based on energy income (before inefficiency loss).

2. Commerce income added to energy income (on yellow bar).

3. Inefficiency determined, and subtracted from total of energy income and commerce income.

ie, you see huge commerce, then lose it all.

Now I have *pats self on back*
Fitz is offline  
Old February 21, 2001, 12:14   #13
DilithiumDad
Alpha Centauri PBEMCivilization III PBEM
Prince
 
DilithiumDad's Avatar
 
Local Time: 00:05
Local Date: October 31, 2010
Join Date: Aug 1999
Location: Ohio
Posts: 721
Fitz --the ordering is correct. Commerce giveth, then inefficiency taketh away! Your outpost bases may not be be benefitting your own research or economy, but at least they are helping your pactmates!

A retraction is in order. I tested my assumptions using the scenario editor, and you all are right. You get no commerce income on commerce income. I tested this by setting up a scenario on the Islanders map with 7 factions are all in pacts. (Which is also what developed in multiplayer!) I have some interesting findings, which I will post in a new thread, such as the fact that your pactmates SE setting CAN affect your commerce income. But the critical test was when I set Morgan and Lal into vendetta with each other. They were the commerce leaders (Lal was governor, natch), and these two factions lost commerce income big time. But the other 5 factions were not affected one whit by the Morganite-PK "war". This means that there is not really a "global economy" in SMAC, it just appears that way for various reasons. The real-game examples are misleading, I fear, because of pop growth and terraforming improvements that boost energy higher with each passing year. So I was wrong.
DilithiumDad is offline  
Old February 21, 2001, 14:55   #14
Fitz
King
 
Fitz's Avatar
 
Local Time: 21:05
Local Date: October 30, 2010
Join Date: Mar 2000
Location: & Anarchist
Posts: 1,689
That's what happens when you only use example and no logic. Of course, using only logic produces the same problem. You have to apply both, and then test the theory.

You still raised a very important point in this thread. SE choice affect your pact/treaty partners income, because of combined income.
Fitz is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 01:05.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team