<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.simulace.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Janpippal</id>
	<title>Simulace.info - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.simulace.info/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Janpippal"/>
	<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php/Special:Contributions/Janpippal"/>
	<updated>2026-07-27T19:08:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>http://www.simulace.info/index.php?title=WS_2018/2019&amp;diff=17070</id>
		<title>WS 2018/2019</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=WS_2018/2019&amp;diff=17070"/>
		<updated>2019-01-20T15:41:30Z</updated>

		<summary type="html">&lt;p&gt;Janpippal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Semestral papers from winter term 2018/2019. Please, put here links to the pages with your paper. First you need to have your [[Assignments WS 2018/2019|assignment approved]]&lt;br /&gt;
&lt;br /&gt;
==Simulations==&lt;br /&gt;
&lt;br /&gt;
--[[User:xvegm00|xvegm00]] [[User:Xvegm00|Xvegm00]] ([[User talk:Xvegm00|talk]]) 22:13, 8 January 2019 (CET) [[Simulation of semi-intelligent algae]]&lt;br /&gt;
&lt;br /&gt;
-- Jan Doležálek [[User:Dolj04|Dolj04]] ([[User talk:Dolj04|talk]]) 16:50, 18 January 2019 (CET) [[Optimal size of HDD for virtual Digitization server]]&lt;br /&gt;
&lt;br /&gt;
-- Jiří Korčák [[User:Xkorj58|Xkorj58]] ([[User talk:Xkorj58|talk]]) 11:09, 19 January 2019 (CET) [[Vacuum cleaner]]&lt;br /&gt;
&lt;br /&gt;
-- Jan Mandík [[User:Manj01|Manj01]] ([[User talk:Manj01|talk]]) 14:46, 19 January 2019 (CET) [[Ticket Solving Process at a Small IT dev Company]] (work in progress)&lt;br /&gt;
&lt;br /&gt;
-- [[User:Martin svejda|Martin svejda]] ([[User talk:Martin svejda|talk]]) 18:43, 19 January 2019 (CET) [[evacuation from burning building]]&lt;br /&gt;
&lt;br /&gt;
-- [[User:Xlazl00|Xlazl00]] ([[User talk:Xlazl00|talk]]) 12:11, 20 January 2019 (CET) [[Medieval Battle Simulation]]&lt;br /&gt;
&lt;br /&gt;
-- [[User:Qnesa01|Qnesa01]] ([User talk:Qnesa01|talk]]) 16:19, 20 January 2019 (CET) [[Argentinska Intersection]]&lt;br /&gt;
&lt;br /&gt;
-- Jan Pippal (xpipj04) [[User:Janpippal|Janpippal]] 16:41, 20 January 2019 (CET) [[You are what you eat]]&lt;br /&gt;
&lt;br /&gt;
==Papers==&lt;br /&gt;
-- [[User:Martin svejda|Martin svejda]] ([[User talk:Martin svejda|talk]]) 20:43, 12 January 2019 (CET) [https://en.wikipedia.org/wiki/Data_flow_diagram Complete redo of DFD wikipedia]~&lt;br /&gt;
&lt;br /&gt;
-- [[User:Xvegm00|Xvegm00]] ([[User talk:Xvegm00|talk]]) 10:44, 17 January 2019 (CET)  [[http://www.simulace.info/index.php/Multi-agent_systems Multi-agent systems]]&lt;br /&gt;
&lt;br /&gt;
-- Jan Pippal (xpipj04) [[User:Janpippal|Janpippal]] 4:48, 20 January 2019 (CET) [https://en.wikipedia.org/wiki/Draft:MMABP MMABP in English]&lt;/div&gt;</summary>
		<author><name>Janpippal</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=You_are_what_you_eat&amp;diff=17069</id>
		<title>You are what you eat</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=You_are_what_you_eat&amp;diff=17069"/>
		<updated>2019-01-20T15:39:42Z</updated>

		<summary type="html">&lt;p&gt;Janpippal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Introduction&lt;br /&gt;
This simulation is called You are what you eat&lt;br /&gt;
&lt;br /&gt;
=Problem definition=&lt;br /&gt;
Most people nowadays want to hit the gym or eat healthy to get fit and at the same time take a long high quality sleep and work effectively. All the success in life and your energy comes from the food (nutrition values) you consume a day and the regime you have. The new year is knocking the door and you want to make sure that you will plan your food and regime effectively so your life is in balance.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
Software for System Dynamics simulations Vensim was used to reach results of the problem simulation. The source of the logic inside the model has been extracted from consultations with nutrition specialist whilst the model has been simplified from other aspects that can influence the accuracy of results. For more accurate results presented model need to be tailored for individual needs and with higher granularity of detail.  &lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
Model simulates the level of different aspects in 90 days based on input values which comes from person credentials&amp;lt;br&amp;gt;&lt;br /&gt;
'''DCI''' - daily calories intake - calculated differently for male and female (not considering other genders) as&lt;br /&gt;
IF THEN ELSE( Gender=1 , ((66.473 + (13.7516 * Weight) + (5.0033 * Height) - (6.755 * Age)) * Stress * Lifestyle) , (655.096 + (9.5634 * Weight) + (1.8496 * Height) - (4.6756 * Age)) * Stress * Lifestyle)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''' - is dependent on every day level of energy - if the energy level is positive then you are gaining weight if you use more energy than you consumpted then you are losing weight. The ratio is 1kcal = 1g &amp;lt;br&amp;gt;&lt;br /&gt;
'''Recommended sugar intake''' - based on your DCI and weight the expected level of sugar is calculated to maintain your current situation&amp;lt;br&amp;gt;&lt;br /&gt;
'''Recommended protein intake''' - based on your DCI and weight the expected level of protein is calculated to maintain your current situation&amp;lt;br&amp;gt;&lt;br /&gt;
'''Recommended fat intake''' - based on your DCI and weight the expected level of fat is calculated to maintain your current situation&amp;lt;br&amp;gt;&lt;br /&gt;
'''Kidney failure risk''' - when the amount of sugar consumpted is higher than recommended then there is a raising risk of kidney failure&amp;lt;br&amp;gt;&lt;br /&gt;
'''Heart disease risk''' -  when the amount of sugar consumpted is higher than recommended then there is a raising risk of heart disease&amp;lt;br&amp;gt;&lt;br /&gt;
'''Acne''' - the more sugar you consume against recommended values the higher probability that your skin will be in inbalance therefore more vulnerable to acne spreading&amp;lt;br&amp;gt;&lt;br /&gt;
'''Bad smell''' - increased level of protein in body can cause bad smell from mouth and when you are sweating&amp;lt;br&amp;gt;&lt;br /&gt;
'''Diarrhea''' - your body have to accomodate higher level of blood flow in order to digest more protein. It can cause problems connected with digestive system. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Energy level''' - difference between energy intake and energy usage&amp;lt;br&amp;gt;&lt;br /&gt;
'''Energy consumed''' - according to harvested data 1g of fat gives you 9.3kcal, 1g of protein gives you 4.14kcal and 1g of sugar is 4.14ckal therefore &amp;lt;br&amp;gt;&lt;br /&gt;
Amount of fat consumed * 9.3 + Amount of protein consumed * 4.14 + Amount of sugar consumed * 4.14&amp;lt;br&amp;gt;&lt;br /&gt;
Energy used - according to your daily activities it is easy to calculate your energy consumption - harvested values for different activities from https://www.kaloricketabulky.cz. Coeficient express how much kcal you use per hour of activity per kg of your weight. Also see above explanation of Randomness variable&amp;lt;br&amp;gt;&lt;br /&gt;
(Time spent active a day * 2 + Time spent in gym a day * 6 + Time spent working a day * 1.5 + Time spent sleeping a day * 0.6 + Time spent idle * 1.2) * Weight * Randomness of individual&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Inputs - are highlighted as green in the model (you have to fill them) ===&lt;br /&gt;
'''Amount of sugar consumed''' - how much sugar you daily consume - can be derived by putting down what you ate a day at https://www.kaloricketabulky.cz&amp;lt;br&amp;gt;&lt;br /&gt;
'''Amount of protein consumed''' - how much sugar you daily consume - can be derived by putting down what you ate a day at https://www.kaloricketabulky.cz&amp;lt;br&amp;gt;&lt;br /&gt;
'''Amount of fat consumed''' - how much sugar you daily consume - can be derived by putting down what you ate a day at https://www.kaloricketabulky.cz&amp;lt;br&amp;gt;&lt;br /&gt;
'''Age, Height, Initial weight, Gender (1 for male, 2 for female)'''&amp;lt;br&amp;gt;&lt;br /&gt;
'''Stress''' - in percentage rate - 1.0 when you have no stress up to 1.5 when you sweating from the daily stress (so you put 1.8 when you are working as bomb difuser) &amp;lt;br&amp;gt;&lt;br /&gt;
'''Lifestyle''' - in percentage rate - 1.0 when you are doing nothing up to 1.5 when you consider yourself an active person (you do jogging, fitness, sports)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Time spent idle, sleeping, working, active, gym''' - when you get home and watching TV shows you are idle, when you are doing dishes/not sitting on the couch you are active&amp;lt;br&amp;gt;&lt;br /&gt;
'''Randomness of individual''' - here little randomness is added because there can be differences in individual understanding of activities. So the overall energy usage can fluctuate +-10%&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
In order to use the model for simulation I have used two scenarios&lt;br /&gt;
=== First scenario ===&lt;br /&gt;
The source of the first scenario is my friend who is already on diet. He provided me with his body specific and activity values.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Age''': 23&amp;lt;br&amp;gt;&lt;br /&gt;
'''Height''': 181&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''': 91&amp;lt;br&amp;gt;&lt;br /&gt;
'''Time spent:'''&amp;lt;br&amp;gt;&lt;br /&gt;
idle - 6&amp;lt;br&amp;gt;&lt;br /&gt;
sleeping - 7&amp;lt;br&amp;gt;&lt;br /&gt;
working - 5&amp;lt;br&amp;gt;&lt;br /&gt;
active - 5&amp;lt;br&amp;gt;&lt;br /&gt;
gym - 1&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of protein consumpted''': 170g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of sugar consumpted''': 300g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of fat consumpted''': 100g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Stress''' - 1 (no stress)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Lifestyle''' - 1.5 (active)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After those values has been inserted into simulation following results has been spotted&amp;lt;br&amp;gt;&lt;br /&gt;
'''DCI''' 2739 kcal&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''' 82.9 Kg&amp;lt;br&amp;gt;&lt;br /&gt;
[https://drive.google.com/open?id=18bboIyQKnzvtQZO3qYa8uMb0Tp_yfk6T Results]&lt;br /&gt;
&lt;br /&gt;
=== Second scenario ===&lt;br /&gt;
The source of the second scenario is myself. I dont really care about what I eat so I put food I ate into https://www.kaloricketabulky.cz and got nutrition values ([https://drive.google.com/open?id=1S2wz1A8q3Hl6RGzlAYToPBCH6kn6zFsE Hodnoty]).&amp;lt;br&amp;gt;&lt;br /&gt;
'''Age''': 24&amp;lt;br&amp;gt;&lt;br /&gt;
'''Height''': 171&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''': 62&amp;lt;br&amp;gt;&lt;br /&gt;
'''Time spent:'''&amp;lt;br&amp;gt;&lt;br /&gt;
idle - 5&amp;lt;br&amp;gt;&lt;br /&gt;
sleeping - 7&amp;lt;br&amp;gt;&lt;br /&gt;
working - 10&amp;lt;br&amp;gt;&lt;br /&gt;
active - 1&amp;lt;br&amp;gt;&lt;br /&gt;
gym - 1&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of protein consumpted''': 107g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of sugar consumpted''': 275g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of fat consumpted''': 51g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Stress''' - 1.4 (stress from simulation deadline)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Lifestyle''' - 1.2 (couch potato)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After those values has been inserted into simulation following results has been spotted (after 84 days)&amp;lt;br&amp;gt;&lt;br /&gt;
'''DCI''' 2711 kcal/day&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''' 62.08 Kg&amp;lt;br&amp;gt;&lt;br /&gt;
[https://drive.google.com/open?id=1041ck4j-HcZktLUz-qO2ByQGsWr_vMjZ Results]&lt;br /&gt;
&lt;br /&gt;
I repeated the second scenario with higher level of nutrition according to recommended values&amp;lt;br&amp;gt;&lt;br /&gt;
'''Age''': 24&amp;lt;br&amp;gt;&lt;br /&gt;
'''Height''': 171&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''': 62&amp;lt;br&amp;gt;&lt;br /&gt;
'''Time spent:'''&amp;lt;br&amp;gt;&lt;br /&gt;
idle - 3&amp;lt;br&amp;gt;&lt;br /&gt;
sleeping - 8&amp;lt;br&amp;gt;&lt;br /&gt;
working - 8&amp;lt;br&amp;gt;&lt;br /&gt;
active - 4&amp;lt;br&amp;gt;&lt;br /&gt;
gym - 1&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of protein consumpted''': 150g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of sugar consumpted''': 300g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of fat consumpted''': 60g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Stress''' - 1.1 (reduced stress)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Lifestyle''' - 1.4 (more active)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After those values has been inserted into simulation following results has been spotted (after 84 days)&amp;lt;br&amp;gt;&lt;br /&gt;
'''DCI''' 2658 kcal/day&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''' 70.2 Kg&amp;lt;br&amp;gt;&lt;br /&gt;
[https://drive.google.com/open?id=1CAAdJRJd1_f3H2azfq_e2xdsZQD_UaWa Results]&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
First scenario results clearly shows that with inputed values and given activities the subject should be able to put down on weight in 3 months (84 days) time frame from 91kg to 82kg. In second scenario it is clear that the subject is not using any proper regime so the weight is almost stale and fluctuate a bit together with stress level. The second simulation of second scenario with adjusted values is focused on gaining weight which goes up 8kg only by raising level of protein, sugar and fat consumed while the level of activity is also higher.&lt;br /&gt;
Human body is extremely advanced machine which needs exact inputs to produce various outputs. Despite the fact that many aspects of our body are still unknown the science of gaining and losing weight just works.&lt;br /&gt;
&lt;br /&gt;
= Code =&lt;br /&gt;
[https://drive.google.com/open?id=15-ouQGU2cxz9W2VWxYLPthkxZp1KchfN Source file is available here on drive]&lt;/div&gt;</summary>
		<author><name>Janpippal</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=You_are_what_you_eat&amp;diff=17059</id>
		<title>You are what you eat</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=You_are_what_you_eat&amp;diff=17059"/>
		<updated>2019-01-20T15:01:39Z</updated>

		<summary type="html">&lt;p&gt;Janpippal: /* Code */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Introduction&lt;br /&gt;
This simulation is called You are what you eat&lt;br /&gt;
&lt;br /&gt;
=Problem definition=&lt;br /&gt;
Most people nowadays want to hit the gym or eat healthy to get fit and at the same time take a long high quality sleep and work effectively. All the success in life and your energy comes from the food (nutrition values) you consume a day and the regime you have. The new year is knocking the door and you want to make sure that you will plan your food and regime effectively so your life is in balance.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
Software for System Dynamics simulations Vensim was used to reach results of the problem simulation. The source of the logic inside the model has been extracted from consultations with nutrition specialist whilst the model has been simplified from other aspects that can influence the accuracy of results. For more accurate results presented model need to be tailored for individual needs and with higher granularity of detail.  &lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
Model simulates the level of different aspects in 90 days based on input values which comes from person credentials&amp;lt;br&amp;gt;&lt;br /&gt;
'''DCI''' - daily calories intake - calculated differently for male and female (not considering other genders) as&lt;br /&gt;
IF THEN ELSE( Gender=1 , ((66.473 + (13.7516 * Weight) + (5.0033 * Height) - (6.755 * Age)) * Stress * Lifestyle) , (655.096 + (9.5634 * Weight) + (1.8496 * Height) - (4.6756 * Age)) * Stress * Lifestyle)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''' - is dependent on every day level of energy - if the energy level is positive then you are gaining weight if you use more energy than you consumpted then you are losing weight. The ratio is 1kcal = 1g &amp;lt;br&amp;gt;&lt;br /&gt;
'''Recommended sugar intake''' - based on your DCI and weight the expected level of sugar is calculated to maintain your current situation&amp;lt;br&amp;gt;&lt;br /&gt;
'''Recommended protein intake''' - based on your DCI and weight the expected level of protein is calculated to maintain your current situation&amp;lt;br&amp;gt;&lt;br /&gt;
'''Recommended fat intake''' - based on your DCI and weight the expected level of fat is calculated to maintain your current situation&amp;lt;br&amp;gt;&lt;br /&gt;
'''Kidney failure risk''' - when the amount of sugar consumpted is higher than recommended then there is a raising risk of kidney failure&amp;lt;br&amp;gt;&lt;br /&gt;
'''Heart disease risk''' -  when the amount of sugar consumpted is higher than recommended then there is a raising risk of heart disease&amp;lt;br&amp;gt;&lt;br /&gt;
'''Acne''' - the more sugar you consume against recommended values the higher probability that your skin will be in inbalance therefore more vulnerable to acne spreading&amp;lt;br&amp;gt;&lt;br /&gt;
'''Bad smell''' - increased level of protein in body can cause bad smell from mouth and when you are sweating&amp;lt;br&amp;gt;&lt;br /&gt;
'''Diarrhea''' - your body have to accomodate higher level of blood flow in order to digest more protein. It can cause problems connected with digestive system. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Energy level''' - difference between energy intake and energy usage&amp;lt;br&amp;gt;&lt;br /&gt;
'''Energy consumed''' - according to harvested data 1g of fat gives you 9.3kcal, 1g of protein gives you 4.14kcal and 1g of sugar is 4.14ckal therefore &amp;lt;br&amp;gt;&lt;br /&gt;
Amount of fat consumed * 9.3 + Amount of protein consumed * 4.14 + Amount of sugar consumed * 4.14&amp;lt;br&amp;gt;&lt;br /&gt;
Energy used - according to your daily activities it is easy to calculate your energy consumption - harvested values for different activities from https://www.kaloricketabulky.cz. Coeficient express how much kcal you use per hour of activity per kg of your weight. Also see above explanation of Randomness variable&amp;lt;br&amp;gt;&lt;br /&gt;
(Time spent active a day * 2 + Time spent in gym a day * 6 + Time spent working a day * 1.5 + Time spent sleeping a day * 0.6 + Time spent idle * 1.2) * Weight * Randomness of individual&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Inputs - are highlighted as green in the model (you have to fill them) ===&lt;br /&gt;
'''Amount of sugar consumed''' - how much sugar you daily consume - can be derived by putting down what you ate a day at https://www.kaloricketabulky.cz&amp;lt;br&amp;gt;&lt;br /&gt;
'''Amount of protein consumed''' - how much sugar you daily consume - can be derived by putting down what you ate a day at https://www.kaloricketabulky.cz&amp;lt;br&amp;gt;&lt;br /&gt;
'''Amount of fat consumed''' - how much sugar you daily consume - can be derived by putting down what you ate a day at https://www.kaloricketabulky.cz&amp;lt;br&amp;gt;&lt;br /&gt;
'''Age, Height, Initial weight, Gender (1 for male, 2 for female)'''&amp;lt;br&amp;gt;&lt;br /&gt;
'''Stress''' - in percentage rate - 1.0 when you have no stress up to 1.5 when you sweating from the daily stress (so you put 1.8 when you are working as bomb difuser) &amp;lt;br&amp;gt;&lt;br /&gt;
'''Lifestyle''' - in percentage rate - 1.0 when you are doing nothing up to 1.5 when you consider yourself an active person (you do jogging, fitness, sports)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Time spent idle, sleeping, working, active, gym''' - when you get home and watching TV shows you are idle, when you are doing dishes/not sitting on the couch you are active&amp;lt;br&amp;gt;&lt;br /&gt;
'''Randomness of individual''' - here little randomness is added because there can be differences in individual understanding of activities. So the overall energy usage can fluctuate +-10%&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
In order to use the model for simulation I have used two scenarios&lt;br /&gt;
The source of the first scenario is my friend who is already on diet. He provided me with his body specific and activity values.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Age''': 23&amp;lt;br&amp;gt;&lt;br /&gt;
'''Height''': 181&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''': 91&amp;lt;br&amp;gt;&lt;br /&gt;
'''Time spent:'''&amp;lt;br&amp;gt;&lt;br /&gt;
idle - 6&amp;lt;br&amp;gt;&lt;br /&gt;
sleeping - 7&amp;lt;br&amp;gt;&lt;br /&gt;
working - 5&amp;lt;br&amp;gt;&lt;br /&gt;
active - 5&amp;lt;br&amp;gt;&lt;br /&gt;
gym - 1&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of protein consumpted''': 170g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of sugar consumpted''': 300g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of fat consumpted''': 100g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Stress''' - 1 (no stress)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Lifestyle''' - 1.5 (active)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After those values has been inserted into simulation following results has been spotted&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;br /&gt;
[https://drive.google.com/open?id=15-ouQGU2cxz9W2VWxYLPthkxZp1KchfN Source file is available here on drive]&lt;/div&gt;</summary>
		<author><name>Janpippal</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=You_are_what_you_eat&amp;diff=17056</id>
		<title>You are what you eat</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=You_are_what_you_eat&amp;diff=17056"/>
		<updated>2019-01-20T14:52:35Z</updated>

		<summary type="html">&lt;p&gt;Janpippal: Created page with &amp;quot;Introduction This simulation is called You are what you eat  =Problem definition= Most people nowadays want to hit the gym or eat healthy to get fit and at the same time take...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Introduction&lt;br /&gt;
This simulation is called You are what you eat&lt;br /&gt;
&lt;br /&gt;
=Problem definition=&lt;br /&gt;
Most people nowadays want to hit the gym or eat healthy to get fit and at the same time take a long high quality sleep and work effectively. All the success in life and your energy comes from the food (nutrition values) you consume a day and the regime you have. The new year is knocking the door and you want to make sure that you will plan your food and regime effectively so your life is in balance.&lt;br /&gt;
&lt;br /&gt;
=Method=&lt;br /&gt;
Software for System Dynamics simulations Vensim was used to reach results of the problem simulation. The source of the logic inside the model has been extracted from consultations with nutrition specialist whilst the model has been simplified from other aspects that can influence the accuracy of results. For more accurate results presented model need to be tailored for individual needs and with higher granularity of detail.  &lt;br /&gt;
&lt;br /&gt;
=Model=&lt;br /&gt;
Model simulates the level of different aspects in 90 days based on input values which comes from person credentials&amp;lt;br&amp;gt;&lt;br /&gt;
'''DCI''' - daily calories intake - calculated differently for male and female (not considering other genders) as&lt;br /&gt;
IF THEN ELSE( Gender=1 , ((66.473 + (13.7516 * Weight) + (5.0033 * Height) - (6.755 * Age)) * Stress * Lifestyle) , (655.096 + (9.5634 * Weight) + (1.8496 * Height) - (4.6756 * Age)) * Stress * Lifestyle)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''' - is dependent on every day level of energy - if the energy level is positive then you are gaining weight if you use more energy than you consumpted then you are losing weight. The ratio is 1kcal = 1g &amp;lt;br&amp;gt;&lt;br /&gt;
'''Recommended sugar intake''' - based on your DCI and weight the expected level of sugar is calculated to maintain your current situation&amp;lt;br&amp;gt;&lt;br /&gt;
'''Recommended protein intake''' - based on your DCI and weight the expected level of protein is calculated to maintain your current situation&amp;lt;br&amp;gt;&lt;br /&gt;
'''Recommended fat intake''' - based on your DCI and weight the expected level of fat is calculated to maintain your current situation&amp;lt;br&amp;gt;&lt;br /&gt;
'''Kidney failure risk''' - when the amount of sugar consumpted is higher than recommended then there is a raising risk of kidney failure&amp;lt;br&amp;gt;&lt;br /&gt;
'''Heart disease risk''' -  when the amount of sugar consumpted is higher than recommended then there is a raising risk of heart disease&amp;lt;br&amp;gt;&lt;br /&gt;
'''Acne''' - the more sugar you consume against recommended values the higher probability that your skin will be in inbalance therefore more vulnerable to acne spreading&amp;lt;br&amp;gt;&lt;br /&gt;
'''Bad smell''' - increased level of protein in body can cause bad smell from mouth and when you are sweating&amp;lt;br&amp;gt;&lt;br /&gt;
'''Diarrhea''' - your body have to accomodate higher level of blood flow in order to digest more protein. It can cause problems connected with digestive system. &amp;lt;br&amp;gt;&lt;br /&gt;
'''Energy level''' - difference between energy intake and energy usage&amp;lt;br&amp;gt;&lt;br /&gt;
'''Energy consumed''' - according to harvested data 1g of fat gives you 9.3kcal, 1g of protein gives you 4.14kcal and 1g of sugar is 4.14ckal therefore &amp;lt;br&amp;gt;&lt;br /&gt;
Amount of fat consumed * 9.3 + Amount of protein consumed * 4.14 + Amount of sugar consumed * 4.14&amp;lt;br&amp;gt;&lt;br /&gt;
Energy used - according to your daily activities it is easy to calculate your energy consumption - harvested values for different activities from https://www.kaloricketabulky.cz. Coeficient express how much kcal you use per hour of activity per kg of your weight. Also see above explanation of Randomness variable&amp;lt;br&amp;gt;&lt;br /&gt;
(Time spent active a day * 2 + Time spent in gym a day * 6 + Time spent working a day * 1.5 + Time spent sleeping a day * 0.6 + Time spent idle * 1.2) * Weight * Randomness of individual&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
=== Inputs - are highlighted as green in the model (you have to fill them) ===&lt;br /&gt;
'''Amount of sugar consumed''' - how much sugar you daily consume - can be derived by putting down what you ate a day at https://www.kaloricketabulky.cz&amp;lt;br&amp;gt;&lt;br /&gt;
'''Amount of protein consumed''' - how much sugar you daily consume - can be derived by putting down what you ate a day at https://www.kaloricketabulky.cz&amp;lt;br&amp;gt;&lt;br /&gt;
'''Amount of fat consumed''' - how much sugar you daily consume - can be derived by putting down what you ate a day at https://www.kaloricketabulky.cz&amp;lt;br&amp;gt;&lt;br /&gt;
'''Age, Height, Initial weight, Gender (1 for male, 2 for female)'''&amp;lt;br&amp;gt;&lt;br /&gt;
'''Stress''' - in percentage rate - 1.0 when you have no stress up to 1.5 when you sweating from the daily stress (so you put 1.8 when you are working as bomb difuser) &amp;lt;br&amp;gt;&lt;br /&gt;
'''Lifestyle''' - in percentage rate - 1.0 when you are doing nothing up to 1.5 when you consider yourself an active person (you do jogging, fitness, sports)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Time spent idle, sleeping, working, active, gym''' - when you get home and watching TV shows you are idle, when you are doing dishes/not sitting on the couch you are active&amp;lt;br&amp;gt;&lt;br /&gt;
'''Randomness of individual''' - here little randomness is added because there can be differences in individual understanding of activities. So the overall energy usage can fluctuate +-10%&lt;br /&gt;
&lt;br /&gt;
=Results=&lt;br /&gt;
In order to use the model for simulation I have used two scenarios&lt;br /&gt;
The source of the first scenario is my friend who is already on diet. He provided me with his body specific and activity values.&amp;lt;br&amp;gt;&lt;br /&gt;
'''Age''': 23&amp;lt;br&amp;gt;&lt;br /&gt;
'''Height''': 181&amp;lt;br&amp;gt;&lt;br /&gt;
'''Weight''': 91&amp;lt;br&amp;gt;&lt;br /&gt;
'''Time spent:'''&amp;lt;br&amp;gt;&lt;br /&gt;
idle - 6&amp;lt;br&amp;gt;&lt;br /&gt;
sleeping - 7&amp;lt;br&amp;gt;&lt;br /&gt;
working - 5&amp;lt;br&amp;gt;&lt;br /&gt;
active - 5&amp;lt;br&amp;gt;&lt;br /&gt;
gym - 1&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of protein consumpted''': 170g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of sugar consumpted''': 300g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Average amount of fat consumpted''': 100g&amp;lt;br&amp;gt;&lt;br /&gt;
'''Stress''' - 1 (no stress)&amp;lt;br&amp;gt;&lt;br /&gt;
'''Lifestyle''' - 1.5 (active)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After those values has been inserted into simulation following results has been spotted&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
=Code=&lt;/div&gt;</summary>
		<author><name>Janpippal</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=WS_2018/2019&amp;diff=17033</id>
		<title>WS 2018/2019</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=WS_2018/2019&amp;diff=17033"/>
		<updated>2019-01-20T03:50:12Z</updated>

		<summary type="html">&lt;p&gt;Janpippal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Semestral papers from winter term 2018/2019. Please, put here links to the pages with your paper. First you need to have your [[Assignments WS 2018/2019|assignment approved]]&lt;br /&gt;
&lt;br /&gt;
==Simulations==&lt;br /&gt;
&lt;br /&gt;
--[[User:xvegm00|xvegm00]] [[User:Xvegm00|Xvegm00]] ([[User talk:Xvegm00|talk]]) 22:13, 8 January 2019 (CET) [[Simulation of semi-intelligent algae]]&lt;br /&gt;
&lt;br /&gt;
-- Jan Doležálek [[User:Dolj04|Dolj04]] ([[User talk:Dolj04|talk]]) 16:50, 18 January 2019 (CET) [[Optimal size of HDD for virtual Digitization server]]&lt;br /&gt;
&lt;br /&gt;
-- Jiří Korčák [[User:Xkorj58|Xkorj58]] ([[User talk:Xkorj58|talk]]) 11:09, 19 January 2019 (CET) [[Vacuum cleaner]]&lt;br /&gt;
&lt;br /&gt;
-- Jan Mandík [[User:Manj01|Manj01]] ([[User talk:Manj01|talk]]) 14:46, 19 January 2019 (CET) [[Ticket Solving Process at a Small IT dev Company]] (work in progress)&lt;br /&gt;
&lt;br /&gt;
[[User:Martin svejda|Martin svejda]] ([[User talk:Martin svejda|talk]]) 18:43, 19 January 2019 (CET) [[evacuation from burning building]] in progress&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Papers==&lt;br /&gt;
-- [[User:Martin svejda|Martin svejda]] ([[User talk:Martin svejda|talk]]) 20:43, 12 January 2019 (CET) [https://en.wikipedia.org/wiki/Data_flow_diagram Complete redo of DFD wikipedia]~&lt;br /&gt;
&lt;br /&gt;
-- [[User:Xvegm00|Xvegm00]] ([[User talk:Xvegm00|talk]]) 10:44, 17 January 2019 (CET)  [[http://www.simulace.info/index.php/Multi-agent_systems Multi-agent systems]]&lt;br /&gt;
&lt;br /&gt;
-- [[User:Janpippal|Janpippal]] 4:48, 20 January 2019 (CET) [https://en.wikipedia.org/wiki/Draft:MMABP MMABP in English]&lt;/div&gt;</summary>
		<author><name>Janpippal</name></author>
		
	</entry>
	<entry>
		<id>http://www.simulace.info/index.php?title=WS_2018/2019&amp;diff=17032</id>
		<title>WS 2018/2019</title>
		<link rel="alternate" type="text/html" href="http://www.simulace.info/index.php?title=WS_2018/2019&amp;diff=17032"/>
		<updated>2019-01-20T03:49:37Z</updated>

		<summary type="html">&lt;p&gt;Janpippal: Added paper link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Semestral papers from winter term 2018/2019. Please, put here links to the pages with your paper. First you need to have your [[Assignments WS 2018/2019|assignment approved]]&lt;br /&gt;
&lt;br /&gt;
==Simulations==&lt;br /&gt;
&lt;br /&gt;
--[[User:xvegm00|xvegm00]] [[User:Xvegm00|Xvegm00]] ([[User talk:Xvegm00|talk]]) 22:13, 8 January 2019 (CET) [[Simulation of semi-intelligent algae]]&lt;br /&gt;
&lt;br /&gt;
-- Jan Doležálek [[User:Dolj04|Dolj04]] ([[User talk:Dolj04|talk]]) 16:50, 18 January 2019 (CET) [[Optimal size of HDD for virtual Digitization server]]&lt;br /&gt;
&lt;br /&gt;
-- Jiří Korčák [[User:Xkorj58|Xkorj58]] ([[User talk:Xkorj58|talk]]) 11:09, 19 January 2019 (CET) [[Vacuum cleaner]]&lt;br /&gt;
&lt;br /&gt;
-- Jan Mandík [[User:Manj01|Manj01]] ([[User talk:Manj01|talk]]) 14:46, 19 January 2019 (CET) [[Ticket Solving Process at a Small IT dev Company]] (work in progress)&lt;br /&gt;
&lt;br /&gt;
[[User:Martin svejda|Martin svejda]] ([[User talk:Martin svejda|talk]]) 18:43, 19 January 2019 (CET) [[evacuation from burning building]] in progress&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Papers==&lt;br /&gt;
-- [[User:Martin svejda|Martin svejda]] ([[User talk:Martin svejda|talk]]) 20:43, 12 January 2019 (CET) [https://en.wikipedia.org/wiki/Data_flow_diagram Complete redo of DFD wikipedia]~&lt;br /&gt;
&lt;br /&gt;
-- [[User:Xvegm00|Xvegm00]] ([[User talk:Xvegm00|talk]]) 10:44, 17 January 2019 (CET)  [[http://www.simulace.info/index.php/Multi-agent_systems Multi-agent systems]]&lt;br /&gt;
&lt;br /&gt;
-- [[User:Janpippal|Jan Pippal]] 4:48, 20 January 2019 (CET) [https://en.wikipedia.org/wiki/Draft:MMABP MMABP in English]&lt;/div&gt;</summary>
		<author><name>Janpippal</name></author>
		
	</entry>
</feed>