Лабораторная работа: Imitating modelling of a cattle-breeding complex on basis Cedar Bog
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
Meteo.sun --> Forage.sun;
Meteo.sun --> Effluent.sun;
Meteo.sun --> Herd.sun;
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;
--> ЧИТАТЬ ПОЛНОСТЬЮ <--