Professional Documents
Culture Documents
A STUDY OF HOGS
Juan Martn Garca Theory and Practical Exercises of System Dynamics 103
The price of pork depends on the price of hogs, and the price of hogs depends on
supply and demand. Assume that butchers try to keep on hand about 2 weeks worth of the
amount of pork products they usually sell to avoid stocks-outs (we use the term coverage
for this). When the available inventory of pork runs low, relative to their normal inventory,
butchers are willing to pay higher prices to get hogs. When the butchers' inventory of pork
is high, butchers are less willing to buy and the price of hogs falls.
Assume that the normal price of hogs at slaughter is 3 euros per kilo and that
butchers charge consumers a 7 euro/kg premium over their price of hogs (3 euros/kg),
resulting in the price of pork to consumers of 10 euros/kg. Now, draw the flow diagram of
the sale and consumption of pork, and write equations for the model. Put the equation of
slaughter rate= 750000 and see if the model is in equilibrium. If it isnt, you have made a
mistake in the equations :-) Once you have obtained a model that runs in equilibrium, try
testing its response to exogenous disturbances. For example, how does the system respond
to a 6 month 10.000 increment in the hog slaughter rate? This can be done using the adding
the function PULSE(6,6)*10000 in the equation of slaughter rate.
104 Juan Martn Garca Theory and Practical Exercises of System Dynamics
Initial Time=0, Final Time= 48, Time Step=1, Units=Month
(12) pork consumed per person= pork consumed per person normal*effect of price on
consumption
Units: kg/(person*Month)
Juan Martn Garca Theory and Practical Exercises of System Dynamics 105
(14) Pork Inventory= +production rate-consumption rate
Initial value: 30000000
Units: kg
(20) surcharge= 7
Units: Euro/kg
Take a look to the PULSE and SMOOTH functions in the Annex chapter.
In Model 1, we assumed the hog slaughter rate was an exogenous constant. Now let
us develop a model of the breeding and maturation of hogs to simulate the slaughter rate.
For this model, we will assume that the price of hogs is an exogenous constant. In Model 3,
we will combine the two models to simulate both the hog price and the slaughter rate.
Farmers distinguish between two kinds of hogs - hogs for market and hogs for
breeding stock. Hogs for market (which can be either male or female) are fattened for
about 6 months after they are born, and then they are slaughtered. Females intended for
market are not bred. Females to be bred (called sows) are raised separately as breeding
stock, and they are used entirely for breeding. We will assume that they are not
slaughtered for pork.
106 Juan Martn Garca Theory and Practical Exercises of System Dynamics
Farmers change the size of their hog herd by adjusting the number of sows in their
breeding stock. When the price of hogs is higher than normal, farmers increase the size of
the breeding stock, and when the price of hogs is lower than normal, they decrease the size
of the breeding stock.
Draw the flow diagram and write the equations for the model of the breeding and
maturation of hogs. Assume that each sow gives birth to 18 hogs per year (1.5 per month).
Also, assume that hogs must be fattened for 6 months before they are ready for market.
The most difficult part of the model is the breeding stock adjustment rate. We will
formulate this using a desired breeding stock size as a function of hog price. This
adjustment can be expressed most easily as a percentage of the actual breeding stock size.
The breeding stock adjustment rate can then be formulated as the difference between the
desired size and the actual size, divided by an adjustment time. Set the hog price at 3
euros/kilo. We will choose values for the breeding stock and for number of hogs that will
produce an equilibrium slaughter rate of 750,000 hogs per month (the value we assumed in
Model 1.)
Juan Martn Garca Theory and Practical Exercises of System Dynamics 107
(02) adjustment time= 3
Units: Month
108 Juan Martn Garca Theory and Practical Exercises of System Dynamics
Graphs shows constant values for all the variables.
You can test if the units are correct following this path:
Model 3:
Combining
the Two Models
Now let us merge the models developed.
If you have the model Pork2 in the screen, save it and push Select All Copy, later
File Open model, and choose the Pork 1 model. Push Edit Paste and move to the right
(with the paste icon activated) the added elements. Save the new model as Pork3.
Now you must use the hog price from model 1 in place of the hog price in model 2,
and the slaughter rate from model 2 in place of the slaughter rate in model 1.
Run the model and examine the results. If you use the same initial values as those
you chose in Models 1 and 2 (with slaughter rate= 750000), the model should be in
equilibrium.
Once you have obtained an equilibrium run, you can test the model's response to
external disturbances. For example, activate the test as you did in model 1. What happens?
Can you explain why the cycles occur?
Two features of cyclical behaviour are particularly important - period and damping.
The period of a cycle is the time that elapses from one peak to the next. Damping refers to
the degree to which oscillations fade away over time. For the parameter values we have
chosen, the hog model produces stable oscillations.
Based on a book of Dennis L. Meadows, Dynamics of Commodity Production Cycles (Cambridge, Mass.:
MIT Press).
Juan Martn Garca Theory and Practical Exercises of System Dynamics 109
110 Juan Martn Garca Theory and Practical Exercises of System Dynamics
(01) adjustment rate=(desired breeding stock size-Breeding Stock)/adjustment time
Units: hog/Month
Juan Martn Garca Theory and Practical Exercises of System Dynamics 111
(16) hog price normal=3
Units: Euro/kg
(21) pork consumed per person= pork consumed per person normal*effect of price on
consumption
Units: kg/(person*Month)
112 Juan Martn Garca Theory and Practical Exercises of System Dynamics
(30) surcharge= 7
Units: Euro/kg
Juan Martn Garca Theory and Practical Exercises of System Dynamics 113