Setting a task of modelling.
There is a cattle herd structured on the basic of age. The herd consists of Heifers,
Calves,
Milk cows,
Cows,
Bulls.
Each Animal
has its Age
. The daily increase depends in weight of an animal which defines the weight of it depends on the age.So, for example, at achievement of the certain age (≈500 days) calves become bulls and pass from Calves
in Bulls
, but not all of them. Only the quantity which is enough for reproduction of the herd. The others remain calves until they fatten the necessary weight (≈1000 kg). As soon as it occurs, they are slaughtered.The similar situation is with heifers. Only at achievement of the certain age (≈450 days) they are divided into two categories: milk cowsand cows. Cows
are bred for meat production, MilkCows - for reproduction of herd and production of milk.According to financial opportunities a farmer defines an initial livestock of the cattle, and then makes a plan of reception of a livestock of the cattle in the future.It is required to model the change of an annual turnover of the herd and its reproduction.
Component of a high level
: Farm (Farm) which describes the structure of the model.
HIGH LEVEL COMPONENT FARM_High
SUBCOMPONENTS
Meteo,
Forage,
Effluent,
Herd
COMPONENT CONNECTIONS
Meteon --> Foragen;
Meteon --> Effluentn;
Meteon --> Herdn;
Herd.Dung --> Effluent.Dung;
Effluent.A --> Herd.A;
Herd.Numb_young --> Forage.Numb_young;
Herd.Numb_old --> Forage.Numb_old;
END OF FARM_High
Basic components
:
1. Meteo which allows to watch the solar activity during a year (it is based on the data of the model Cedar Bog)
DYNAMIC BEHAVIOUR
suns:= 95.9[kJ/m^2] * (1+0.635 * SIN (2[1/d] * Pi *T/365));
WHENEVER T >= TNext DO
sun^:= suns - Oblako;
TNext^:= TNext + 1[d];
END
END OF Meteo
2. Forage. Norms and diets of feeding are defined in it.
DYNAMIC BEHAVIOUR
sun_bio:= sun * Bio_Fac;
WHENEVER T >= TNext DO
TNext^:= TNext +1[d];
Seno^:= 9 * Numb_young + 14 * Numb_old;
Silos^:= 8 * Numb_young + 12 * Numb_old;
Kombicorm^:= 5 * Numb_young + 7 * Numb_old;
Koncentrat^:= 2 * Numb_young + 3 * Numb_old;
Fosfat^:= 0.04 * Numb_young + 0.06 * Numb_old;
Sol^:= 0.03 * Numb_young + 0.05 * Numb_old;
END
DIFFERENTIAL EQUATIONS
p':= sun_bio - 4.03[1/a] * p;
BioMassa':= 0.48[1/a] * p - 17.87[1/a] * BioMassa;
END
END OF Forage
3. Herd, describing variable statuses and dynamics of behaviour of the herd as a whole. The important component which defines the structure of the herd, its internal interaction. It allows to watch a livestock of the herd, its reproduction.
# Changing of weight and age of heifers
WHENEVER (Stage = 1) AND (Index <= NUMBER(Heifers)) DO
Index^:= Index + 1;
Heifers:Animal[Index].Age^:= Heifers:Animal[Index].Age + 1;
Dung^:= Dung + 10;
IF Heifers:Animal[Index].Age < 180 DO
Heifers:Animal[Index].Weight^:= Heifers:Animal[Index].Weight + ves_2;
END
ELSE DO
Heifers:Animal[Index].Weight^:= Heifers:Animal[Index].Weight + ves_3;
END
END
WHENEVER (Stage = 1) AND (Index > NUMBER(Heifers)) DO
Stage^:=2;
Index^:=1;
END
# F
ecundation
of heifers
WHENEVER (Stage = 3) AND (Index <= NUMBER(Heifers)) DO
Index^:= Index + 1;
IF Heifers: Animal [Index].Age > (450 + Norm_raspr(10,3)) DO
IF Rand < 0.85 DO
Heifers^: TO MilkCows SEND Animal[Index]
CHANGING
Age^:=Heifers:Animal[Index].Age;
Weight^:= Heifers:Animal[Index].Weight;
Status^:= TRUE;
Stelnost^:= 1;
END
END
ELSE DO
Heifers^: TO Cows SEND Animal[Index]
CHANGING
Age^:= Heifers:Animal[Index].Age;
Weight^:= Heifers:Animal[Index].Weight;
END
END
END
END
WHENEVER (Stage = 3) AND (Index > NUMBER(Heifers)) DO
Stage^:=4;
Index^:=1;
END
# Calves became Bulls, or they are slaughtered
WHENEVER (Stage = 4) AND (Index <= NUMBER(Calves)) DO
Index^:= Index + 1;
IF (Calves:Animal[Index].Age > (500 + Norm_raspr(10,2)))
AND (NUMBER(Bulls) < 3) DO
Calves^: TO Bulls SEND Animal[Index]
CHANGING
Age^:= Calves:Animal[Index].Age;
Weight^:= Calves:Animal[Index].Weight;
END
END
IF (Calves:Animal[Index].Age > (500 + Norm_raspr(10,2)))
AND (Calves:Animal[Index].Weight > 1000) DO
VesTyw^:= VesTyw + Calves:Animal[Index].Weight/2;
Calves^: REMOVE Animal[Index];
UBOI^:= UBOI + 1;
END
END
WHENEVER (Stage = 4) AND (Index > NUMBER(Calves)) DO
Stage^:=5;
Index^:=1;
END
# Bulls are slaughtered
WHENEVER (Stage = 5) AND (Index <= NUMBER(Bulls)) DO
Index^:= Index + 1;
Bulls:Animal[Index].Age^:= Bulls:Animal[Index].Age + 1;
Dung^:= Dung + 20;
IF Bulls:Animal[Index].Weight < 1000 DO
Bulls:Animal[Index].Weight^:= Bulls:Animal[Index].Weight + ves_3;
END
IF Bulls:Animal[Index].Age > 3000 DO
VesTyw^:= VesTyw + Bulls:Animal[Index].Weight/2;
Bulls^: REMOVE Animal[Index];
UBOI^:= UBOI + 1;
END
END
WHENEVER (Stage = 5) AND (Index > NUMBER(Bulls)) DO
Stage^:=6;
Index^:=1;
END
# B
irth
of young animal
WHENEVER (Stage = 7) AND (Index <= NUMBER(MilkCows)) DO
Index^:= Index + 1;
MilkCows:Animal[Index].Age^:=MilkCows:Animal[Index].Age + 1;
Dung^:= Dung + 20;
IF MilkCows:Animal[Index].Weight < 600 DO
MilkCows:Animal[Index].Weight^:= MilkCows:Animal[Index].Weight + ves_3;
END
MilkCows:Animal[Index].Stelnost^:=
MilkCows:Animal[Index].Stelnost + 1;
IF MilkCows:Animal[Index].Stelnost > (275 + Norm_raspr(5,1))
AND (MilkCows:Animal[Index].Status = TRUE) DO
MilkCows:Animal[Index].Status^:= FALSE;
MilkCows:Animal[Index].Kol_voOtelov^:=
MilkCows:Animal[Index].Kol_voOtelov + 1;
IF Rand < 0.7 DO
Heifers^: ADD 1 NEW Animal
CHANGING
Weight^:= ves_1;
Age^:= 1;
END
END
ELSE DO
Calves^: ADD 1 NEW Animal
CHANGING
Weight^:= ves_1;
Age^:= 1;
END
END
END
# MilkYield
IF (MilkCows:Animal[Index].Kol_voOtelov >= 1)
AND ((MilkCows:Animal[Index].Stelnost < 250) OR
(MilkCows:Animal[Index].Stelnost >280)) DO
NADOI^:= NADOI + 20;
END
# MilkCows are slaughtered
IF MilkCows:Animal[Index].Kol_voOtelov > 5 DO
VesTyw^:= VesTyw + MilkCows:Animal[Index].Weight/2;
MilkCows^: REMOVE Animal[Index];
UBOI^:= UBOI + 1;
END
END
WHENEVER (Stage = 7) AND (Index > NUMBER(MilkCows)) DO
Stage^:=8;
Index^:=1;
END
#
F
ecundation
of MilkCows
WHENEVER (Stage = 8) AND (Index <= NUMBER(MilkCows)) DO
Index^:= Index + 1;
IF (MilkCows:Animal[Index].Status = FALSE) AND
(MilkCows:Animal[Index].Stelnost > (340)) DO
IF Rand < 0.98 DO
MilkCows:Animal[Index].Status^:= TRUE;
MilkCows:Animal[Index].Stelnost^:= 1;
END
ELSE DO
MilkCows^: TO Cows SEND Animal[Index]
CHANGING
Age^:= MilkCows:Animal[Index].Age;
Weight^:= MilkCows:Animal[Index].Weight;
END
END
END
END
END OF Herd
4. Effluent (Drains) in which it is provided annual downcast drains on fields (for fertilizer of pastures). Also sale of drains for the manufacture of mineral fertilizers is possible.
DYNAMIC BEHAVIOUR
WHENEVER T >= TNext DO
TNext^:= TNext + 1[d];
IF ((sun > 100[kJ/m^2]) AND (sun < 110[kJ/m^2])) AND (FLAG = TRUE)
AND (Dung >= 10000) DO
A^:= 0;
FLAG^:= FALSE;
END
END
WHENEVER (T >= TNext) AND (FLAG = FALSE) DO
IF (sun > 50[kJ/m^2]) AND (sun < 60[kJ/m^2]) DO
FLAG^:= TRUE;
END
END
END OF Effluent
5. Profit, expenses (profit, expenses), including an economic part of the model. Unfortunately, because of insufficient amount of the information it is designed only in the theory. But further, at the profound studying of the model, it will be created and, I hope, it will work on a level with other components of the model.
MOBILE COMPONENT Animal
DECLARATION OF ELEMENTS
STATE VARIABLES
DISCRETE
Age (INTEGER):= 0,
Weight (REAL):= 0,
Status (LOGICAL):= FALSE, # Fecundation / not Fecundation
Stelnost (INTEGER):= 0, # Duration of the pregnancy
Kol_voOtelov (INTEGER):= 0, # Number of calves
MilkYield (REAL):= 0,
Manure (REAL):= 0
END OF Animal
The results of modelling with an initial livestock of the cattle - 30 heifers, 10 calves (all animals are about one year):
On the given schedules dynamics of transition of animals from one age groups in others is displayed.
We can see, that at achievement of the certain age heifers (a red line) are divided into two categories: milk cows (a green line) and cows (a blue line). Cows fatten the necessary weight, and then they are slaughtered. Through the certain time interval Milk cows give a gain of the herd and start to be milked.
We can see, that at achievement of the certain age three calves (a red line) become bulls (a blue line), the others remain calves, until they fatten the necessary weight. As soon as it occurs, they are slaughtered.
Другие работы по теме:
To Be Or Not Be Essay Research
Paper Snow Falling on Cedar Friday, July 16th 3:00-3:45 Pg. 113-133 They talk about Japanese immigrants who worked on Strawberry plantation fields. They also talk about Japanese culture and weddings. In this chapter they also mention Hastue (Japanese girl) and her relationship with Ishmael Chambers.
Facing The Force Essay Research Paper This
Facing The Force Essay, Research Paper This past May, the Marching Band traveled to Cleveland, Ohio. While we were in Ohio, we took time to visit the Cedar Point Amusement Park, which is the home for the monumental roller coaster: Millennium Force. With a 310-foot drop at an 80-degree angle, the coaster reaches speeds of more than 90 miles an hour.
Technology In Our Life Essay Research Paper
Some one would say that technology would be men down fall. Some would say that technology is to blame for the evils in this world. That the Internet is a breeding ground for criminals. Cell phones cause accidents. Power ful weapons being made more and more by theological advances. I’m here to dispute this, I mean if it weren’t for technology you would sure live a smaller life, not be as safe as you are, not have the leisure’s and comforts in life as you do know.
Cowboys Essay Research Paper CowboysHow they startedCattle
Cowboys Essay, Research Paper Cowboys How they started Cattle ranchers began to move out onto the Great Plains in the mid 1800?s In the late 1800?s cowboys became popular in the cattle industry. The American cowboys owe their knowledge of how to tame the cattle to vaquerars (the Mexican cowboys). The animals originally were from the ranches in southern Texas formerly operated by Spaniards and Mexicans.
Odysseus Captain Irresponsible Essay Research Paper Through
Odysseus: Captain Irresponsible Essay, Research Paper Through his occurrences with Skylla and Charibdis, the Sirens, and Helios? cattle, Odysseus? heroic character is further disclaim in Book 12 because through all encounters Odysseus was a poor leader and put his crew in danger. His actions prove him to be selfish, boastful, stubborn, and irresponsible.
Beefmasters Essay Research Paper Beginning in the
Beefmasters Essay, Research Paper Beginning in the early 1930s, Tom Lasater, the breed’s founder, developed Beefmasters from a systematic crossing of Hereford, Shorthorn and Brahman cattle. His purpose was to develop cattle that were more productive than existing breeds; cattle that would produce and make money during economically hard times in the harsh environment of South Texas.
Condor Essay Research Paper California condors are
Condor Essay, Research Paper California condors are the largest birds in North America. They may weigh up to 25 pounds and have wingspans of 9 1/2 feet. California condors have bare heads and necks, dull gray-black feathers, and blunt claws. They have a triangle-shaped patch of white, visible only when airborne, that adorns the underside of their wings.
Saw Wheat Owl Essay Research Paper The
Saw Wheat Owl Essay, Research Paper The saw whet is rarely heard at night, unless it is during mating season. During it?s mating season it can be heard easily from the woods. It?s breeding season in between March and April. Usually the nest in is a hollow tree. Decayed wood fibre matted with owl?s feathers is supplemented with a small quantity of soft, dry grass.
Jaguars Essay Research Paper Endangered Species Study
Jaguars Essay, Research Paper Endangered Species Study: Jaguars I. The jaguars of Central and South America have been being killed for game and protection. This cat used to have homes around the United States to Uruguay,
Mendel Essay Research Paper Mendel brought considerable
Mendel Essay, Research Paper Mendel brought considerable insight to his studies. One of the most important decisions he made was to work in a system that was genetically simple as possible. His use of pure-breeding strains of pea plants is indicative of his quest for this simplicity.”*
Did Odyssues Bring The Trouble On Himself
The Odyssey Essay, Research Paper Did Odysseus and his men bring the string of catastrophes on themselves? Yes, they did get themselves into serious trouble. With a pompous attitude, the men prolonged their journey home to Ithaca. Those who did not have Odysseus s smarts, died because of this. When they raided the Cicones village, harassed Poseidon s son, and killed the Helios s cattle, they punished themselves.
Hermes Essay Research Paper Hermes is the
Hermes Essay, Research Paper Hermes is the son of Zeus and Maia. He is Zeus s messenger. He is the fastest of the gods. He wears winged sandals, a winged hat, and carries a magic wand. He is the god of thieves and god of commerce. He is the guide for the dead to go to the underworld. He invented the lyre, the pipes, the musical scale, astronomy, weights and measures, boxing, gymnastics, and the care of olive trees.
Untitled Essay Research Paper Mac Winslow
Untitled Essay, Research Paper Mac Winslow Twinning in Cattle Due to the continual fluctuation of the cattle market cattle producers have been searching for ways to improve their production and increase their profits any
The Cattle Essay Research Paper The CattleThe
The Cattle Essay, Research Paper The Cattle The cattle are domesticated herbivorous mammals that constitute the genus Bos, of the family Bovidae. The cattle are of great importance to humans because of the milk, meat, leather, gelatin, glue, hides and other items of trading they produce. Cattle today are divided into two species: B. indicus, which originated in India and is characterized by a hump at the withers, and B. taurus, which originated in Europe and includes most recent breeds of dairy and beef cattle.
Imaginary Numbers And The Microwave Oven Essay
, Research Paper Imaginary numbers have had a great effect whether direct or indirect on the microwave oven. Although the concept has come out of left field, there is still a plausible explanation for their influence on the microwave oven. The fact remains that complex numbers have much less direct relevance to real-world quantities than other numbers do.
Industrialization Essay Research Paper a Why were
Industrialization Essay, Research Paper a. Why were the Indians treated so unjustly? (12) The American settlers? greed was the basis for the injustice forced upon the Indians. At first the American?s simply wanted the land that could be used to grow or create products. Then the Indians were viewed as hostile enemies.
RAINFOREST DESTRUCTION Essay Research Paper This we
RAINFOREST DESTRUCTION Essay, Research Paper ?This we know- the earth does not belong to man, man belongs to the earth. All things are connected like the blood which unites one family. Man did not weave the web of life; he is merely a strand in it. Whatever he does to the web, he does to himself.? ?Chief Sealth of the Duwamish Tribe. (Nations,108).
My Brother Sam Is Dead Essay Research
Paper My Brother Sam Is Dead James Lincoln Collier & Christopher Collier Historical Fiction A book response by Stacy Olson Summary: A small family of four, living in the Tory town of Redding. Life was great Mr. and Mrs. Meeker owned a small tavern that supplies their town with food, rum, and supplies. Their son Timmy helped around the tavern and did chores, because his older brother Sam was off at college.
Exercise Essay Research Paper I think that
Exercise Essay, Research Paper I think that exercise is one of the most important elements for having a good healthy life. For some people exercise is very difficult because people are not used to exercise in a regular basis. Personally, I had tried to exercise in a regular basis, but it is very hard for me to do so.
Texas Cattle Drives Essay Research Paper Cattle
Texas Cattle Drives Essay, Research Paper Cattle drives are the stuff of legend. From 1866 to 1890, the heyday of cattle trails saw what was then an enormous amount of traffic. More than one and a half million Texas cattle were essentially “walked to market,” even after the railroads were built.
The Millenium Force Essay Research Paper Millennium
The Millenium Force Essay, Research Paper Millennium Force The Millennium Force is located in Sandusky, Ohio at ?Americas Roller Coaster Park?, Cedar Point. Standing at 310 feet tall and traveling at speeds up to 92 mph it is the tallest and fastest roller coaster in the world. It is said to be the first giga-coaster or the first to break the 300 ft tall barrier.
Massai Culture Essay Research Paper I have
Massai Culture Essay, Research Paper I have chosen my paper on the African Cattle People, specifically the Massai Culture. The Massai culture seemed to have more than meets the eye when we studied them in class, so I had to venture on to a website to see what else I could find out about them. In general, the Massai have several practices: circumcision and clitoridectomy, an age group system, shaving of the heads of women, extraction of two lower front teeth, the one-legged stance of the heron, and the use of spit in greeting and benediction.
Phantom Of The Opera Essay Research Paper
Ben Brown English November 17, 1999 Phantom of the Opera In the novel, Phantom of the Opera, by Gaston Leroux, we are introduced to a character known to everyone as the mysterious Opera Ghost. His character in this book is very complex.
Uzbekiston Essay Research Paper UzbekistanCentral Asia has
Uzbekiston Essay, Research Paper Uzbekistan Central Asia has one of the world?s earliest civilizations. Archeological research shows and proves that humans lived in Uzbekistan long before 2000 B. C. The first agricultural societies developed in 2000 B. C. farmers started breeding sheep cattle and horses.
Fields On The Hoof Essay Research Paper
Fields on the Hoof Your livelihood. How do you make a living? How do you support yourself and your family? What problems do you face? How do you solve them? What do you do, what must you do, to achieve a reasonable measure of economic security?
Cedar River Side Essay Research Paper Cedar
Cedar River Side Essay, Research Paper Cedar Riverside School In the spring semester of 2000, I volunteered at Cedar Riverside School for my effective writing class I was taking with Joan Thompson. Volunteering at this school, I experienced criteria that was good and bad that might influence another person’s decision on volunteering at this school.
Complex Vs Simple Lifestyle Essay Research Paper
Complexity I agree with Tom Robbins that life is complex opposed to Thoreau?s view that life is simple. The only way that life could be simple for anyone, is if he/she lived all alone with everything needed for life already provided. Even the company of another person would complicate things and make everything a little more complex.
Language Acqusition Essay Research Paper Children begin
Language Acqusition Essay, Research Paper Children begin by imitating what they hear their parents say as best as they can, repeating random phrases. Parents do not punish the child for childish speech errors by not responding or correcting the error, but reward correct phrases by responding positively.