<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.simulace.info/index.php?action=history&amp;feed=atom&amp;title=Simulation_of_north_korea_migration</id>
	<title>Simulation of north korea migration - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://www.simulace.info/index.php?action=history&amp;feed=atom&amp;title=Simulation_of_north_korea_migration"/>
	<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Simulation_of_north_korea_migration&amp;action=history"/>
	<updated>2026-07-27T19:21:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>http://www.simulace.info/index.php?title=Simulation_of_north_korea_migration&amp;diff=17145&amp;oldid=prev</id>
		<title>Xkaij00 at 18:24, 21 January 2019</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Simulation_of_north_korea_migration&amp;diff=17145&amp;oldid=prev"/>
		<updated>2019-01-21T18:24:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:24, 21 January 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l182&quot; &gt;Line 182:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 182:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Code=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Code=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The NetLogo file [https://jankaiser.cz/koreas.nlogo &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;is &lt;/del&gt;here].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The NetLogo file &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;is available here: [[File:Koreas.nlogo]]. Alternatively also externally &lt;/ins&gt;[https://jankaiser.cz/koreas.nlogo here].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key simulaceinfo_www:diff::1.12:old-17123:rev-17145 --&gt;
&lt;/table&gt;</summary>
		<author><name>Xkaij00</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=Simulation_of_north_korea_migration&amp;diff=17123&amp;oldid=prev</id>
		<title>Xkaij00: Created page with &quot;= Introduction =  Let's hope one day South and North Korea will be reunited. That would mean a big fluctuation of people between the two separated states and also cast a varie...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=Simulation_of_north_korea_migration&amp;diff=17123&amp;oldid=prev"/>
		<updated>2019-01-21T00:36:00Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Introduction =  Let&amp;#039;s hope one day South and North Korea will be reunited. That would mean a big fluctuation of people between the two separated states and also cast a varie...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Introduction =&lt;br /&gt;
&lt;br /&gt;
Let's hope one day South and North Korea will be reunited. That would mean a big fluctuation of people between the two separated states and also cast a variety of problems. That is a very interesting situation we could simulate.&lt;br /&gt;
&lt;br /&gt;
=Problem definition=&lt;br /&gt;
&lt;br /&gt;
The aim of this simulation is to determine some key factors and their changes after the border between the two countries opens.&lt;br /&gt;
&lt;br /&gt;
We are interested especially in:&lt;br /&gt;
* the migration rate from North to South Korea,&lt;br /&gt;
* North Koreans employment rates,&lt;br /&gt;
* wealth ratio between the two regions&lt;br /&gt;
* and suicide rates among North Koreans facing the comparison with much more developed neighbor.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
&lt;br /&gt;
As we are dealing with people moving around an area and having attributes, that means our obvious choice should be a multi-agent simulation. For this simulation, I've chosen to use NetLogo 6.0.4.&lt;br /&gt;
&lt;br /&gt;
= Model =&lt;br /&gt;
&lt;br /&gt;
== Data ==&lt;br /&gt;
&lt;br /&gt;
We need to have some data to start with. For the purpose of the simulation, the following data were used:&lt;br /&gt;
&lt;br /&gt;
* GDP per capita of North Korea from [https://www.cia.gov/library/publications/the-world-factbook/geos/kn.html CIA.gov] ($1,700)&lt;br /&gt;
* GDP per capita of South Korea from [https://www.cia.gov/library/publications/the-world-factbook/geos/ks.html CIA.gov] ($37,600)&lt;br /&gt;
* Population of North Korea from [https://www.cia.gov/library/publications/the-world-factbook/geos/kn.html CIA.gov] (cca. 25 000 000)&lt;br /&gt;
* Population of South Korea from [https://www.cia.gov/library/publications/the-world-factbook/geos/ks.html CIA.gov] (cca. 51 000 000)&lt;br /&gt;
* Area of North Korea from [https://www.cia.gov/library/publications/the-world-factbook/geos/kn.html CIA.gov] (cca. 120 000 sq. km.)&lt;br /&gt;
* Area of South Korea from [https://www.cia.gov/library/publications/the-world-factbook/geos/ks.html CIA.gov] (cca. 100 000 sq. km.)&lt;br /&gt;
* Employment rate of North Korea from [https://www.cia.gov/library/publications/the-world-factbook/geos/kn.html CIA.gov] (cca. 75%)&lt;br /&gt;
* Suicide rates of North Korea from [https://www.theguardian.com/world/2014/sep/04/north-korea-suicide-rate-among-worst-world-who-report The Guardian] (9790 suicides per population)&lt;br /&gt;
* Labour share of GDP - from [https://www.economicshelp.org/blog/135320/economics/labour-share-of-gdp/ Economics Help] we assume it's about 50%&lt;br /&gt;
* Some reference migration rate to start from. As a reference, I used migration rates from Eastern to Western Germany after the fall of the Berlin wall. Based on [https://www.demographic-research.org/volumes/vol11/7/11-7.pdf this paper] I assume it's somewhere below 0.0250.&lt;br /&gt;
&lt;br /&gt;
== Agents and initial states ==&lt;br /&gt;
&lt;br /&gt;
=== Turtles ===&lt;br /&gt;
&lt;br /&gt;
For the purpose of the simulation, we need two types of agents - South Koreans and North Koreans.&lt;br /&gt;
&lt;br /&gt;
North Koreans will migrate, work, and sometimes, sadly, kill themselves. They own the following attributes with initial values:&lt;br /&gt;
&lt;br /&gt;
* Wealth - randomly calculated from 50% (labour share) of GDP per capita.&lt;br /&gt;
* Migration inclination - randomly calculated from reference migration rate.&lt;br /&gt;
* Employment status - boolean randomly determined from initial employment rate.&lt;br /&gt;
* Suicide inclination - randomly calculated from initial suicide rates.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
South Koreans will sometimes invest in North Korea as there will be some opportunity to build capitalism when communism fell down. They own the following attributes with initial values:&lt;br /&gt;
&lt;br /&gt;
* Is investor? - Boolean randomly calculated to be around 5% of the richest South Koreans.&lt;br /&gt;
* Is investing? - Boolean initially false.&lt;br /&gt;
&lt;br /&gt;
=== Patches ===&lt;br /&gt;
&lt;br /&gt;
The patches will be divided proportionally by area of the respective countries and will be assigned wealth based on GDP of the country (random less than countries GDP). &lt;br /&gt;
&lt;br /&gt;
The patches are also assigned with rentability which is deliberately set to around 1% for North Korea and 3% for South Korea. Rentability is then used to calculate wealth movement.&lt;br /&gt;
&lt;br /&gt;
== Simulation Mechanism ==&lt;br /&gt;
&lt;br /&gt;
* On each tick the simulation modifies attributes of turtles and patches:&lt;br /&gt;
** randomly based on patch wealth if the North Korean is employed&lt;br /&gt;
** based on the employment status, it changes the wealth of the patch and of the North Korean&lt;br /&gt;
** based on the employment status, wealth and initial suicide rates, it determines if the North Korean will commit suicide (if he does, he's reborn)&lt;br /&gt;
** based on neighbouring turtles of a South Korean investor in North Korea it will increase the wealth of his patch&lt;br /&gt;
* On each tick, it will also determine:&lt;br /&gt;
** If the North Korean will migrate based on his migration inclination and his wealth ratio&lt;br /&gt;
** If a South Korean investor decides to invest in North Korea&lt;br /&gt;
* Then it will move the agents that are determined to be moved.&lt;br /&gt;
&lt;br /&gt;
The respective code looks like the following:&lt;br /&gt;
&lt;br /&gt;
 to go&lt;br /&gt;
  manipulate-resources  &lt;br /&gt;
  move&lt;br /&gt;
  tick&lt;br /&gt;
  if ticks &amp;gt;= 250 [stop]&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
 to manipulate-resources &lt;br /&gt;
  &lt;br /&gt;
  ;; North Koreans&lt;br /&gt;
  ask north-koreans [&lt;br /&gt;
    &lt;br /&gt;
    ;; determine employment status - the richer the patch is, the better chance to be employed&lt;br /&gt;
    set employed random-float 1 &amp;lt; patch-wealth / (sum [patch-wealth] of nk-patches / nk-patches-count)&lt;br /&gt;
    &lt;br /&gt;
    let suicidal false&lt;br /&gt;
    &lt;br /&gt;
    ifelse employed &lt;br /&gt;
    [&lt;br /&gt;
      let wealthIncrease random-float (patch-wealth * patch-rentability) ;; wealth increase for employed person&lt;br /&gt;
      set turtle-wealth turtle-wealth + wealthIncrease&lt;br /&gt;
      set patch-wealth patch-wealth + random (wealthIncrease / 2) ;; increase patch wealth with 50% added value&lt;br /&gt;
      ifelse turtle-wealth &amp;gt; 0 [&lt;br /&gt;
        set suicidal random-float 1 &amp;lt; random-float (suicide-inclination / nk-wealth-ratio) ;; has some wealth, let's determine if suicidal based on inclination and wealth ratio&lt;br /&gt;
      ]&lt;br /&gt;
      [&lt;br /&gt;
        set suicidal random-float 1 &amp;lt; random-float (suicide-inclination * 1.5) ;; totally broke, very big chance of suicide (but employed so less than if unemployed)&lt;br /&gt;
      ]&lt;br /&gt;
    ]&lt;br /&gt;
    [&lt;br /&gt;
      let wealthDrain random-float (patch-wealth * (patch-rentability / 2)) ;; wealth drain for employed person (50% of rentability)&lt;br /&gt;
      set turtle-wealth turtle-wealth - wealthDrain&lt;br /&gt;
      set patch-wealth patch-wealth - (wealthDrain / 2) ;; decrease patch wealth with half of the person drain (subsidies for the person)&lt;br /&gt;
      ifelse turtle-wealth &amp;gt; 0 [&lt;br /&gt;
        set suicidal random-float 1 &amp;lt; random-float ((suicide-inclination + suicide-inclination * 0.75) / nk-wealth-ratio) ;; suicide inclination increases by 75% if unemployed&lt;br /&gt;
      ]&lt;br /&gt;
      [&lt;br /&gt;
        set suicidal random-float 1 &amp;lt; random-float (suicide-inclination * 2) ;; totally broke and unemployed, very big chance of suicide&lt;br /&gt;
      ]&lt;br /&gt;
    ]&lt;br /&gt;
    &lt;br /&gt;
    if suicidal [&lt;br /&gt;
      set nk-suicides nk-suicides + 1&lt;br /&gt;
      ;; rebith turtle (so we keep the same amount of turtles)&lt;br /&gt;
      set-nk-init-turtle-vars&lt;br /&gt;
    ]&lt;br /&gt;
    &lt;br /&gt;
  ]&lt;br /&gt;
  &lt;br /&gt;
  ;; South Koreans (investors)&lt;br /&gt;
  ask south-koreans [&lt;br /&gt;
    if is-investor and is-investing [&lt;br /&gt;
      set patch-wealth patch-wealth + (random-float 1.88 * (count turtles-here + count turtles-on neighbors)) ;; up to 50% of GDP per capita of SK (assuming wage share of 50%)&lt;br /&gt;
    ]&lt;br /&gt;
  ] &lt;br /&gt;
  &lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
 to move &lt;br /&gt;
  ask north-koreans&lt;br /&gt;
  [&lt;br /&gt;
    ;; determine if prone to migration based on turtle's inclination to migrate and its wealth ratio&lt;br /&gt;
    if random-float 1 &amp;lt; turtle-migration / nk-wealth-ratio&lt;br /&gt;
      [ &lt;br /&gt;
        Move-to one-of patches with [pcolor = 109] ;; migrate to South Korea &lt;br /&gt;
    ]&lt;br /&gt;
  ]&lt;br /&gt;
  ask south-koreans&lt;br /&gt;
  [&lt;br /&gt;
    ;; determine if prone to migration based on turtle's wealth and potential to invest&lt;br /&gt;
    if is-investor&lt;br /&gt;
      [ &lt;br /&gt;
        set is-investing true&lt;br /&gt;
        Move-to one-of patches with [pcolor = 19] ;; migrate to North Korea to invest&lt;br /&gt;
    ]&lt;br /&gt;
  ]&lt;br /&gt;
 end&lt;br /&gt;
&lt;br /&gt;
== Simulation Outputs ==&lt;br /&gt;
&lt;br /&gt;
The simulation shows:&lt;br /&gt;
&lt;br /&gt;
* A chart of outmigration rate.&lt;br /&gt;
* Unemployment rate among North Koreans.&lt;br /&gt;
* Suicide rate among North Koreans.&lt;br /&gt;
* Wealth ratio between North and South Korea.&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
&lt;br /&gt;
* The simulation run for 250 ticks consistently results in around 10% - 12% unemployment rate amongst North Koreans.&lt;br /&gt;
** That is a value that could be realistic.&lt;br /&gt;
* The outmigration rate from North Korea stabilizes itself on approx. 0.3%, rising more steeply in the beginning.&lt;br /&gt;
** This value also looks realistic and means that some North Koreans will migrate to South Korea but not (almost) everyone.&lt;br /&gt;
* The suicide rate amongst North Koreans sadly comes to approx. 4%.&lt;br /&gt;
** This value is quite alarming and let's hope that the model is wrong in this particular part.&lt;br /&gt;
* The ratio between North and South Korea wealth increases very slightly from initial 2.71% to 2.73%.&lt;br /&gt;
** Also here, the result is questionable and would probably call for re-evaluation of the formulas, since the growth of wealth seems very very slow.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
If we are to trust the designed model, the main concern will be a huge suicide rate amongst North Koreans and very slow growth of North Korea wealth relative to South Korea. &lt;br /&gt;
&lt;br /&gt;
The migration and unemployment rates, however, seem quite moderate and realistic.&lt;br /&gt;
&lt;br /&gt;
The model simplifies a very complex issue and assumes some deliberate facts and measures, therefore it might not be very accurate. Despite that, I think that it could be a good start for future work and by extending the model and making it more precise, we could, to an extent, capture a quite realistic scenario what would happen after the reunification of the two Koreas.&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
&lt;br /&gt;
The NetLogo file [https://jankaiser.cz/koreas.nlogo is here].&lt;/div&gt;</summary>
		<author><name>Xkaij00</name></author>
		
	</entry>
</feed>