#,Immigration,FOREIGNPOLICY,0,0,1,UNKNOWN,icons_immigration,#,"ImmigrationDemand,1.0*(ImmigrationRules*x)",#,"RacialTension,1.4*(x^3),8","Unemployment,0.24*(x^3),2","EthnicMinorities_freq,-0.35+(0.7*x),8","Wages,-0-(0.22*x)","Population,0+(0.10*x)",,,,,,,,,,,,
#,IllegalImmigration,FOREIGNPOLICY,0,0,1,HIGHBAD,icons_illegalimmigration,#,"ImmigrationDemand,1.0-(ImmigrationRules*x)",#,"Immigration,0+(0.2*x)",,,,,,,,,,,,,,,,
[simulation.csv]
Effects from Immigration Demand to Immigration/Illegal Immigration are ‘(Immigration Rules) * (Immigration Demand)’ and ‘1 - (Immigration Rules) * (Immigration Demand)’ respectively. So, These effects sum up to 1(=100%) regardless of the demand or the rules.
I think that these effects should sum up to ‘Immigration Demand’ instead of 1, making a change like below.
#,IllegalImmigration,FOREIGNPOLICY,0,0,1,HIGHBAD,icons_illegalimmigration,#,"ImmigrationDemand,0+(1-ImmigrationRules)*x",#,"Immigration,0+(0.2*x)",,,,,,,,,,,,,,,,