Mercurial > repos > siwaa > insilicow
comparison test-data/input/example_02/farmer-pl.txt @ 0:50112d3941d8 draft
"planemo upload for repository https://forgemia.inra.fr/insilicow/insilicow-tool commit a01dd8fc54d5015e703722d7acb8db4b54b4a468"
author | siwaa |
---|---|
date | Mon, 07 Apr 2025 15:18:25 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:50112d3941d8 |
---|---|
1 ################################################################################################################# | |
2 # # | |
3 # InSiliCow: Farm Management # | |
4 # # | |
5 ################################################################################################################# | |
6 | |
7 ################################################################################################################# | |
8 #====== Preprocessor: specification of included files # | |
9 ################################################################################################################# | |
10 | |
11 @include farmer-log.txt | |
12 # provides the action log_olivier | |
13 # call the action log_olivier every hour | |
14 | |
15 ################################################################################################################# | |
16 #====== Initialization of simulation # | |
17 ################################################################################################################# | |
18 | |
19 #______ Simulation time range | |
20 | |
21 init{ | |
22 begin_date = 1970-01-01 00:00:00 # 1970-01-01 00:00:00 | |
23 end_date = $end_year$-12-31 23:59:59 # 1975-02-20 23:59:59 | |
24 output_db = events.sqlite | |
25 name = $sim_id$ | |
26 } | |
27 | |
28 #______ Models | |
29 | |
30 param_general{ | |
31 garuns_type = garuns_olivier | |
32 rpm_type = rpm_lite | |
33 abortion_type = abortion_olivier | |
34 } | |
35 | |
36 | |
37 #______ Stoechio | |
38 stoechio{ | |
39 | |
40 } | |
41 | |
42 ################################################################################################################# | |
43 #====== Genetic Scaling Parameters (GSP): defines individual cow performance # | |
44 # # | |
45 #======> in GARUNS model # | |
46 #GSP (unit) : Name Default | Proxy for # | |
47 #WM (Kg) : Mature non labile body mass 450 ± 25 | Format # | |
48 #khi_M (%) : Target labile:non-labile mass ratio 0.33 ± 0.03 | Body fatness # | |
49 #b0 (1/d) : Reserves storage rate 1.6 ± 0.16 | Reserve lability # | |
50 #nu_X (-) : Labile body mass mobilization index 1.0 ± 0.1 | Maternal investment # | |
51 #nu_Y (-) : Milk yield index 1.0 ± 0.1 | Milk potential # | |
52 #nu_F (-) : Milk fat secretion index 1.00 ± 0.02 | Milk fat content # | |
53 #nu_P (-) : Milk protein secretion index 1.00 ± 0.02 | Milk protein content # | |
54 #eD_star (MJ ME/Kg DM) : Optimal diet energy content 12.3 ± 0.5 | Energy intake capacity # | |
55 #NDF_star (Kg NDF/Kg DM): Optimal fiber energy content 0.5 ± 0.02 | Fiber intake capacity # | |
56 # # | |
57 #======> in RPM model # | |
58 #nu_I (-) : Conception probability threshold 0.026 ± 0.007 | Fertility # | |
59 #nu_B (-) : Puberty index 1.70 ± 0.07 | Age at 1st ovulation # | |
60 #nu_Z (-) : Follicular dynamics rate 1.00 ± 0.02 | Estrous duration # | |
61 ################################################################################################################# | |
62 | |
63 ################################################################################################################# | |
64 #====== Transmission of Genetic Scaling Parameters (GSP) # | |
65 # > genetic_sd defines the Mendelian sampling standard deviation for the calculation of the GSP of # | |
66 # a newborn calf : GSP_newborn ~ Normal [ (GSP_mother + GSP_father)/2 , GSP_sd ] # | |
67 ################################################################################################################# | |
68 | |
69 genetic_sd{ | |
70 | |
71 garuns_olivier.WM{ | |
72 sd = 50 | |
73 min = 200 | |
74 max = 800 | |
75 } | |
76 | |
77 garuns_olivier.khi_M { | |
78 sd = 0.06 | |
79 min = 0.1 | |
80 max = 0.6 | |
81 } | |
82 | |
83 garuns_olivier.b0{ | |
84 sd = 0 | |
85 min = 0.80 | |
86 max = 2.40 | |
87 } | |
88 | |
89 garuns_olivier.nu_X{ | |
90 sd = 0 | |
91 min = 0.2 | |
92 max = 1.8 | |
93 } | |
94 | |
95 garuns_olivier.nu_Y{ | |
96 sd = 0.1 | |
97 min = 0.2 | |
98 max = 1.8 | |
99 } | |
100 | |
101 garuns_olivier.nu_F{ | |
102 sd = 0 | |
103 min = 0.50 | |
104 max = 1.50 | |
105 } | |
106 | |
107 garuns_olivier.nu_P{ | |
108 sd = 0 | |
109 min = 0.50 | |
110 max = 1.50 | |
111 } | |
112 | |
113 garuns_olivier.eD_star{ | |
114 sd = 0 | |
115 min = 9.0 | |
116 max = 15.0 | |
117 } | |
118 | |
119 garuns_olivier.NDF_star{ | |
120 sd = 0 | |
121 min = 0.10 | |
122 max = 0.90 | |
123 } | |
124 | |
125 rpm_lite.nu_I{ | |
126 sd = 0.007 | |
127 min = 0.00 | |
128 max = 0.20 | |
129 } | |
130 | |
131 rpm_lite.nu_B{ | |
132 sd = 0.07 | |
133 min = 1.20 | |
134 max = 2.20 | |
135 } | |
136 | |
137 rpm_lite.nu_Z{ | |
138 sd = 0.02 | |
139 min = 0.90 | |
140 max = 1.10 | |
141 } | |
142 } | |
143 | |
144 ################################################################################################################# | |
145 #====== Initialization of cows # | |
146 ################################################################################################################# | |
147 | |
148 ####### DEFAULT COW ############################################################################################# | |
149 init_cow{ | |
150 name=cow_default | |
151 | |
152 ### ABORTION rules acording to days in pregnancy (dip) | |
153 abortion_olivier.delta = constant 3.0 # days (compute every delta) | |
154 abortion_olivier.enabled = sometime | |
155 # never : no abortion, | |
156 # always : always abort, | |
157 # sometime : abort according to abortion_olivier.abo | |
158 # and abortion_olivier.dip | |
159 | |
160 ### Days in pregnancy (dip) cutoffs (to cut gestation in early embryo, late embryo and fetal stages) | |
161 # Default intervals: Early embryo [0;17] Late embryo [17;64] Fetal [64;+inf] | |
162 abortion_olivier.dip = vector constant 17 ; constant 64 | |
163 | |
164 ### Daily probability of abortion for each intervals | |
165 # Default probabiliies : E: 0.0230 L: 0.0096 F: 0.0004 | |
166 abortion_olivier.abo = vector constant 0.02 ; constant 0.005 ; constant 0.0004 | |
167 | |
168 ### GARUNS & RPM_lite Genetic Scaling Parameters | |
169 # Default constant values | |
170 garuns_olivier.WM = constant 450 #450 | |
171 garuns_olivier.khi_M = constant 0.30 # 0.33 | |
172 garuns_olivier.b0 = constant 1.6 # 1.6 | |
173 garuns_olivier.nu_X = constant 1 # 1.0 | |
174 garuns_olivier.nu_Y = constant 1.1 # 1.0 | |
175 garuns_olivier.nu_F = constant 1 # 1.0 | |
176 garuns_olivier.nu_P = constant 1 # 1.0 | |
177 garuns_olivier.eD_star = constant 10.7 # 10.7 | |
178 garuns_olivier.NDF_star = constant 0.5 # 0.5 | |
179 rpm_lite.nu_B = constant 1.7 # 1.7 | |
180 rpm_lite.nu_Z = constant 1 # 1.0 | |
181 rpm_lite.nu_I = constant 0.025 # 0.026 | |
182 } | |
183 | |
184 ####### RANDOM COW ############################################################################################## | |
185 init_cow{ | |
186 name=cow_random | |
187 | |
188 ### ABORTION rules acording to days in pregnancy (dip) | |
189 abortion_olivier.delta = constant 3.0 # days (compute every delta) | |
190 abortion_olivier.enabled = sometime | |
191 # never : no abortion, | |
192 # always : always abort, | |
193 # sometime : abort according to abortion_olivier.abo | |
194 # and abortion_olivier.dip | |
195 | |
196 ### Days in pregnancy (dip) cutoffs (to cut gestation in early embryo, late embryo and fetal stages) | |
197 # Default intervals: Early embryo [0;17] Late embryo [17;64] Fetal [64;+inf] | |
198 abortion_olivier.dip = vector constant 17 ; constant 64 | |
199 | |
200 ### Daily probability of abortion for each intervals | |
201 # Default probabiliies : E: 0.0230 L: 0.0096 F: 0.0004 | |
202 abortion_olivier.abo = vector constant 0.02 ; constant 0.005 ; constant 0.0004 | |
203 | |
204 ### GARUNS & RPM_lite Genetic Scaling Parameters | |
205 # Random values | |
206 garuns_olivier.WM = norm99 450 50 #450 ± 25 | |
207 garuns_olivier.khi_M = norm99 0.30 0.06 # 0.33 ± 0.03 | |
208 garuns_olivier.b0 = norm99 1.6 0 # 1.6 ± 0.16 | |
209 garuns_olivier.nu_X = norm99 1 0 # 1.0 ± 0.10 | |
210 garuns_olivier.nu_Y = norm99 1.1 0.1 # 1.0 ± 0.10 | |
211 garuns_olivier.nu_F = norm99 1 0 # 1.0 ± 0.02 | |
212 garuns_olivier.nu_P = norm99 1 0 # 1.0 ± 0.02 | |
213 garuns_olivier.eD_star = norm99 10.7 0 # 10.7 ± 0.5 | |
214 garuns_olivier.NDF_star = norm99 0.5 0 # 0.5 ± 0.02 | |
215 rpm_lite.nu_B = norm99 1.7 0.07 # 1.7 ± 0.07 | |
216 rpm_lite.nu_Z = norm99 1 0.02 # 1.0 ± 0.02 | |
217 rpm_lite.nu_I = norm99 0.025 0.007 # 0.026 ± 0.007 | |
218 } | |
219 | |
220 ################################################################################################################# | |
221 #====== Breeding # | |
222 ################################################################################################################# | |
223 | |
224 #______ Bull semen: quality = 0.95 ± 0.05 ; sexratio = 0 % female | |
225 | |
226 breed{ | |
227 breed = bull_default | |
228 } | |
229 | |
230 init_bull{ | |
231 name=semen_default | |
232 bull.breed_name = bull_default | |
233 bull.semens_quality = norm99 0.95 0.05 # a number between 0.0 (=never works) and 1.0 (=perfect) | |
234 bull.female_ratio = constant 0 # offspring sex ratio. 1.0 = 100%female, 0.0=0%female | |
235 } | |
236 | |
237 #_______Breeding season: every year from *-03-21 00:00:00 to *-06-21 23:59:59 | |
238 | |
239 condition{ | |
240 type = chron_range | |
241 name = breeding_season | |
242 from = *-03-21 00:00:00 #*-03-21 00:00:00 | |
243 to = *-06-21 23:59:59 #*-06-21 23:59:59 | |
244 } | |
245 | |
246 trigger{ | |
247 type = chron | |
248 name = breeding_start | |
249 scheme = *-03-21 00:00:00 | |
250 } | |
251 | |
252 # link{ | |
253 # trigger = breeding_start | |
254 # action = log_db Start_breeding_season | |
255 #} | |
256 | |
257 trigger{ | |
258 type = chron | |
259 name = breeding_end | |
260 scheme = *-06-21 23:59:59 | |
261 } | |
262 | |
263 #link{ | |
264 # trigger = breeding_end | |
265 # action = log_db Stop_breeding_season | |
266 #} | |
267 | |
268 #______ Estrous detection method ________________________________________________________________________________ | |
269 | |
270 estrous_detection_method{ | |
271 name=estrous_detection_default | |
272 | |
273 #When do we observe oestruses | |
274 time_slice = 06:00:00 18:00:00 #00:00:01 23:59:59 | |
275 | |
276 #estrogene is transformed to an expression using a Hill function | |
277 expression_threshold=0.75 #default 0.75 | |
278 expression_stiffness=7 #default 7 | |
279 | |
280 | |
281 #the oestrus worth an insemination if the memory function is above this threshold | |
282 #THIS threshold is scaled for an observation all the day long | |
283 #if you observe half a day multiply this threshold by 0.5 | |
284 #1.0 is a reasonable base value for all day observations | |
285 detection_threshold=0.05 # 0.1 | |
286 | |
287 #then, the oestrus is truely detected with a chance of | |
288 sensitivity = 0.75 #0.7 | |
289 | |
290 #then an average of wrong_oestrus_per_day are generated | |
291 wrong_oestrus_per_day = 0 #0.00 | |
292 } | |
293 | |
294 | |
295 #______ Insemination _________________________________________________________________________________ | |
296 | |
297 # Insemination is performed once a day when estrous is detected | |
298 | |
299 state{ | |
300 state = ALREADY_INSEMINATED | |
301 } | |
302 | |
303 trigger{ | |
304 type=custom | |
305 name=tr_delete_ALREADY_INSEMINATED | |
306 } | |
307 | |
308 link{ | |
309 trigger = tr_delete_ALREADY_INSEMINATED | |
310 action = state_delete ALREADY_INSEMINATED | |
311 } | |
312 | |
313 link{ | |
314 trigger = estrous | |
315 condition = is_in BREEDING | |
316 condition = not is_pregnant | |
317 condition = not is_in ALREADY_INSEMINATED | |
318 action = state_add ALREADY_INSEMINATED | |
319 action = trigger_later tr_delete_ALREADY_INSEMINATED 1 | |
320 action = log_db 01_INSEMINATION | |
321 action = inseminate semen_default | |
322 } | |
323 | |
324 ################################################################################################################# | |
325 #====== Initialization of herd # | |
326 ################################################################################################################# | |
327 | |
328 trigger{ | |
329 type = custom | |
330 name = init_day_01 | |
331 } | |
332 trigger{ | |
333 type = custom | |
334 name = init_day_02 | |
335 } | |
336 trigger{ | |
337 type = custom | |
338 name = init_day_03 | |
339 } | |
340 trigger{ | |
341 type = custom | |
342 name = init_day_04 | |
343 } | |
344 trigger{ | |
345 type = custom | |
346 name = init_day_05 | |
347 } | |
348 trigger{ | |
349 type = custom | |
350 name = init_day_06 | |
351 } | |
352 trigger{ | |
353 type = custom | |
354 name = init_day_07 | |
355 } | |
356 trigger{ | |
357 type = custom | |
358 name = init_day_08 | |
359 } | |
360 trigger{ | |
361 type = custom | |
362 name = init_day_09 | |
363 } | |
364 trigger{ | |
365 type = custom | |
366 name = init_day_10 | |
367 } | |
368 trigger{ | |
369 type = custom | |
370 name = init_day_11 | |
371 } | |
372 trigger{ | |
373 type = custom | |
374 name = init_day_12 | |
375 } | |
376 trigger{ | |
377 type = custom | |
378 name = init_day_13 | |
379 } | |
380 trigger{ | |
381 type = custom | |
382 name = init_day_14 | |
383 } | |
384 trigger{ | |
385 type = custom | |
386 name = init_day_15 | |
387 } | |
388 trigger{ | |
389 type = custom | |
390 name = init_day_16 | |
391 } | |
392 trigger{ | |
393 type = custom | |
394 name = init_day_17 | |
395 } | |
396 trigger{ | |
397 type = custom | |
398 name = init_day_18 | |
399 } | |
400 trigger{ | |
401 type = custom | |
402 name = init_day_19 | |
403 } | |
404 trigger{ | |
405 type = custom | |
406 name = init_day_20 | |
407 } | |
408 trigger{ | |
409 type = custom | |
410 name = init_day_21 | |
411 } | |
412 trigger{ | |
413 type = custom | |
414 name = init_day_22 | |
415 } | |
416 trigger{ | |
417 type = custom | |
418 name = init_day_23 | |
419 } | |
420 trigger{ | |
421 type = custom | |
422 name = init_day_24 | |
423 } | |
424 trigger{ | |
425 type = custom | |
426 name = init_day_25 | |
427 } | |
428 trigger{ | |
429 type = custom | |
430 name = init_day_26 | |
431 } | |
432 trigger{ | |
433 type = custom | |
434 name = init_day_27 | |
435 } | |
436 trigger{ | |
437 type = custom | |
438 name = init_day_28 | |
439 } | |
440 trigger{ | |
441 type = custom | |
442 name = init_day_29 | |
443 } | |
444 trigger{ | |
445 type = custom | |
446 name = init_day_30 | |
447 } | |
448 trigger{ | |
449 type = custom | |
450 name = init_day_31 | |
451 } | |
452 trigger{ | |
453 type = custom | |
454 name = init_day_32 | |
455 } | |
456 trigger{ | |
457 type = custom | |
458 name = init_day_33 | |
459 } | |
460 trigger{ | |
461 type = custom | |
462 name = init_day_34 | |
463 } | |
464 trigger{ | |
465 type = custom | |
466 name = init_day_35 | |
467 } | |
468 trigger{ | |
469 type = custom | |
470 name = init_day_36 | |
471 } | |
472 trigger{ | |
473 type = custom | |
474 name = init_day_37 | |
475 } | |
476 trigger{ | |
477 type = custom | |
478 name = init_day_38 | |
479 } | |
480 trigger{ | |
481 type = custom | |
482 name = init_day_39 | |
483 } | |
484 trigger{ | |
485 type = custom | |
486 name = init_day_40 | |
487 } | |
488 trigger{ | |
489 type = custom | |
490 name = init_day_41 | |
491 } | |
492 trigger{ | |
493 type = custom | |
494 name = init_day_42 | |
495 } | |
496 trigger{ | |
497 type = custom | |
498 name = init_day_43 | |
499 } | |
500 trigger{ | |
501 type = custom | |
502 name = init_day_44 | |
503 } | |
504 trigger{ | |
505 type = custom | |
506 name = init_day_45 | |
507 } | |
508 trigger{ | |
509 type = custom | |
510 name = init_day_46 | |
511 } | |
512 trigger{ | |
513 type = custom | |
514 name = init_day_47 | |
515 } | |
516 trigger{ | |
517 type = custom | |
518 name = init_day_48 | |
519 } | |
520 trigger{ | |
521 type = custom | |
522 name = init_day_49 | |
523 } | |
524 trigger{ | |
525 type = custom | |
526 name = init_day_50 | |
527 } | |
528 trigger{ | |
529 type = custom | |
530 name = init_day_51 | |
531 } | |
532 trigger{ | |
533 type = custom | |
534 name = init_day_52 | |
535 } | |
536 trigger{ | |
537 type = custom | |
538 name = init_day_53 | |
539 } | |
540 trigger{ | |
541 type = custom | |
542 name = init_day_54 | |
543 } | |
544 trigger{ | |
545 type = custom | |
546 name = init_day_55 | |
547 } | |
548 trigger{ | |
549 type = custom | |
550 name = init_day_56 | |
551 } | |
552 trigger{ | |
553 type = custom | |
554 name = init_day_57 | |
555 } | |
556 trigger{ | |
557 type = custom | |
558 name = init_day_58 | |
559 } | |
560 trigger{ | |
561 type = custom | |
562 name = init_day_59 | |
563 } | |
564 | |
565 link{ | |
566 trigger = init | |
567 action = buy_calf cow_random 1 | |
568 action = log_db BUY_CALF_N=1 | |
569 action = trigger_later init_day_01 1 | |
570 } | |
571 link{ | |
572 trigger = init_day_01 | |
573 action = buy_calf cow_random 0 | |
574 action = log_db BUY_CALF_N=0 | |
575 action = trigger_later init_day_02 1 | |
576 } | |
577 link{ | |
578 trigger = init_day_02 | |
579 action = buy_calf cow_random 0 | |
580 action = log_db BUY_CALF_N=0 | |
581 action = trigger_later init_day_03 1 | |
582 } | |
583 link{ | |
584 trigger = init_day_03 | |
585 action = buy_calf cow_random 8 | |
586 action = log_db BUY_CALF_N=8 | |
587 action = trigger_later init_day_04 1 | |
588 } | |
589 link{ | |
590 trigger = init_day_04 | |
591 action = buy_calf cow_random 8 | |
592 action = log_db BUY_CALF_N=8 | |
593 action = trigger_later init_day_05 1 | |
594 } | |
595 link{ | |
596 trigger = init_day_05 | |
597 action = buy_calf cow_random 4 | |
598 action = log_db BUY_CALF_N=4 | |
599 action = trigger_later init_day_06 1 | |
600 } | |
601 link{ | |
602 trigger = init_day_06 | |
603 action = buy_calf cow_random 0 | |
604 action = log_db BUY_CALF_N=0 | |
605 action = trigger_later init_day_07 1 | |
606 } | |
607 link{ | |
608 trigger = init_day_07 | |
609 action = buy_calf cow_random 0 | |
610 action = log_db BUY_CALF_N=0 | |
611 action = trigger_later init_day_08 1 | |
612 } | |
613 link{ | |
614 trigger = init_day_08 | |
615 action = buy_calf cow_random 0 | |
616 action = log_db BUY_CALF_N=0 | |
617 action = trigger_later init_day_09 1 | |
618 } | |
619 link{ | |
620 trigger = init_day_09 | |
621 action = buy_calf cow_random 4 | |
622 action = log_db BUY_CALF_N=4 | |
623 action = trigger_later init_day_10 1 | |
624 } | |
625 link{ | |
626 trigger = init_day_10 | |
627 action = buy_calf cow_random 4 | |
628 action = log_db BUY_CALF_N=4 | |
629 action = trigger_later init_day_11 1 | |
630 } | |
631 link{ | |
632 trigger = init_day_11 | |
633 action = buy_calf cow_random 0 | |
634 action = log_db BUY_CALF_N=0 | |
635 action = trigger_later init_day_12 1 | |
636 } | |
637 link{ | |
638 trigger = init_day_12 | |
639 action = buy_calf cow_random 0 | |
640 action = log_db BUY_CALF_N=0 | |
641 action = trigger_later init_day_13 1 | |
642 } | |
643 link{ | |
644 trigger = init_day_13 | |
645 action = buy_calf cow_random 4 | |
646 action = log_db BUY_CALF_N=4 | |
647 action = trigger_later init_day_14 1 | |
648 } | |
649 link{ | |
650 trigger = init_day_14 | |
651 action = buy_calf cow_random 0 | |
652 action = log_db BUY_CALF_N=0 | |
653 action = trigger_later init_day_15 1 | |
654 } | |
655 link{ | |
656 trigger = init_day_15 | |
657 action = buy_calf cow_random 0 | |
658 action = log_db BUY_CALF_N=0 | |
659 action = trigger_later init_day_16 1 | |
660 } | |
661 link{ | |
662 trigger = init_day_16 | |
663 action = buy_calf cow_random 4 | |
664 action = log_db BUY_CALF_N=4 | |
665 action = trigger_later init_day_17 1 | |
666 } | |
667 link{ | |
668 trigger = init_day_17 | |
669 action = buy_calf cow_random 0 | |
670 action = log_db BUY_CALF_N=0 | |
671 action = trigger_later init_day_18 1 | |
672 } | |
673 link{ | |
674 trigger = init_day_18 | |
675 action = buy_calf cow_random 0 | |
676 action = log_db BUY_CALF_N=0 | |
677 action = trigger_later init_day_19 1 | |
678 } | |
679 link{ | |
680 trigger = init_day_19 | |
681 action = buy_calf cow_random 0 | |
682 action = log_db BUY_CALF_N=0 | |
683 action = trigger_later init_day_20 1 | |
684 } | |
685 link{ | |
686 trigger = init_day_20 | |
687 action = buy_calf cow_random 0 | |
688 action = log_db BUY_CALF_N=0 | |
689 action = trigger_later init_day_21 1 | |
690 } | |
691 link{ | |
692 trigger = init_day_21 | |
693 action = buy_calf cow_random 0 | |
694 action = log_db BUY_CALF_N=0 | |
695 action = trigger_later init_day_22 1 | |
696 } | |
697 link{ | |
698 trigger = init_day_22 | |
699 action = buy_calf cow_random 0 | |
700 action = log_db BUY_CALF_N=0 | |
701 action = trigger_later init_day_23 1 | |
702 } | |
703 link{ | |
704 trigger = init_day_23 | |
705 action = buy_calf cow_random 0 | |
706 action = log_db BUY_CALF_N=0 | |
707 action = trigger_later init_day_24 1 | |
708 } | |
709 link{ | |
710 trigger = init_day_24 | |
711 action = buy_calf cow_random 0 | |
712 action = log_db BUY_CALF_N=0 | |
713 action = trigger_later init_day_25 1 | |
714 } | |
715 link{ | |
716 trigger = init_day_25 | |
717 action = buy_calf cow_random 4 | |
718 action = log_db BUY_CALF_N=4 | |
719 action = trigger_later init_day_26 1 | |
720 } | |
721 link{ | |
722 trigger = init_day_26 | |
723 action = buy_calf cow_random 0 | |
724 action = log_db BUY_CALF_N=0 | |
725 action = trigger_later init_day_27 1 | |
726 } | |
727 link{ | |
728 trigger = init_day_27 | |
729 action = buy_calf cow_random 12 | |
730 action = log_db BUY_CALF_N=12 | |
731 action = trigger_later init_day_28 1 | |
732 } | |
733 link{ | |
734 trigger = init_day_28 | |
735 action = buy_calf cow_random 0 | |
736 action = log_db BUY_CALF_N=0 | |
737 action = trigger_later init_day_29 1 | |
738 } | |
739 link{ | |
740 trigger = init_day_29 | |
741 action = buy_calf cow_random 0 | |
742 action = log_db BUY_CALF_N=0 | |
743 action = trigger_later init_day_30 1 | |
744 } | |
745 link{ | |
746 trigger = init_day_30 | |
747 action = buy_calf cow_random 0 | |
748 action = log_db BUY_CALF_N=0 | |
749 action = trigger_later init_day_31 1 | |
750 } | |
751 link{ | |
752 trigger = init_day_31 | |
753 action = buy_calf cow_random 0 | |
754 action = log_db BUY_CALF_N=0 | |
755 action = trigger_later init_day_32 1 | |
756 } | |
757 link{ | |
758 trigger = init_day_32 | |
759 action = buy_calf cow_random 0 | |
760 action = log_db BUY_CALF_N=0 | |
761 action = trigger_later init_day_33 1 | |
762 } | |
763 link{ | |
764 trigger = init_day_33 | |
765 action = buy_calf cow_random 0 | |
766 action = log_db BUY_CALF_N=0 | |
767 action = trigger_later init_day_34 1 | |
768 } | |
769 link{ | |
770 trigger = init_day_34 | |
771 action = buy_calf cow_random 4 | |
772 action = log_db BUY_CALF_N=4 | |
773 action = trigger_later init_day_35 1 | |
774 } | |
775 link{ | |
776 trigger = init_day_35 | |
777 action = buy_calf cow_random 4 | |
778 action = log_db BUY_CALF_N=4 | |
779 action = trigger_later init_day_36 1 | |
780 } | |
781 link{ | |
782 trigger = init_day_36 | |
783 action = buy_calf cow_random 0 | |
784 action = log_db BUY_CALF_N=0 | |
785 action = trigger_later init_day_37 1 | |
786 } | |
787 link{ | |
788 trigger = init_day_37 | |
789 action = buy_calf cow_random 0 | |
790 action = log_db BUY_CALF_N=0 | |
791 action = trigger_later init_day_38 1 | |
792 } | |
793 link{ | |
794 trigger = init_day_38 | |
795 action = buy_calf cow_random 0 | |
796 action = log_db BUY_CALF_N=0 | |
797 action = trigger_later init_day_39 1 | |
798 } | |
799 link{ | |
800 trigger = init_day_39 | |
801 action = buy_calf cow_random 4 | |
802 action = log_db BUY_CALF_N=4 | |
803 action = trigger_later init_day_40 1 | |
804 } | |
805 link{ | |
806 trigger = init_day_40 | |
807 action = buy_calf cow_random 0 | |
808 action = log_db BUY_CALF_N=0 | |
809 action = trigger_later init_day_41 1 | |
810 } | |
811 link{ | |
812 trigger = init_day_41 | |
813 action = buy_calf cow_random 0 | |
814 action = log_db BUY_CALF_N=0 | |
815 action = trigger_later init_day_42 1 | |
816 } | |
817 link{ | |
818 trigger = init_day_42 | |
819 action = buy_calf cow_random 0 | |
820 action = log_db BUY_CALF_N=0 | |
821 action = trigger_later init_day_43 1 | |
822 } | |
823 link{ | |
824 trigger = init_day_43 | |
825 action = buy_calf cow_random 4 | |
826 action = log_db BUY_CALF_N=4 | |
827 action = trigger_later init_day_44 1 | |
828 } | |
829 link{ | |
830 trigger = init_day_44 | |
831 action = buy_calf cow_random 4 | |
832 action = log_db BUY_CALF_N=4 | |
833 action = trigger_later init_day_45 1 | |
834 } | |
835 link{ | |
836 trigger = init_day_45 | |
837 action = buy_calf cow_random 4 | |
838 action = log_db BUY_CALF_N=4 | |
839 action = trigger_later init_day_46 1 | |
840 } | |
841 link{ | |
842 trigger = init_day_46 | |
843 action = buy_calf cow_random 0 | |
844 action = log_db BUY_CALF_N=0 | |
845 action = trigger_later init_day_47 1 | |
846 } | |
847 link{ | |
848 trigger = init_day_47 | |
849 action = buy_calf cow_random 0 | |
850 action = log_db BUY_CALF_N=0 | |
851 action = trigger_later init_day_48 1 | |
852 } | |
853 link{ | |
854 trigger = init_day_48 | |
855 action = buy_calf cow_random 4 | |
856 action = log_db BUY_CALF_N=4 | |
857 action = trigger_later init_day_49 1 | |
858 } | |
859 link{ | |
860 trigger = init_day_49 | |
861 action = buy_calf cow_random 4 | |
862 action = log_db BUY_CALF_N=4 | |
863 action = trigger_later init_day_50 1 | |
864 } | |
865 link{ | |
866 trigger = init_day_50 | |
867 action = buy_calf cow_random 4 | |
868 action = log_db BUY_CALF_N=4 | |
869 action = trigger_later init_day_51 1 | |
870 } | |
871 link{ | |
872 trigger = init_day_51 | |
873 action = buy_calf cow_random 8 | |
874 action = log_db BUY_CALF_N=8 | |
875 action = trigger_later init_day_52 1 | |
876 } | |
877 link{ | |
878 trigger = init_day_52 | |
879 action = buy_calf cow_random 4 | |
880 action = log_db BUY_CALF_N=4 | |
881 action = trigger_later init_day_53 1 | |
882 } | |
883 link{ | |
884 trigger = init_day_53 | |
885 action = buy_calf cow_random 0 | |
886 action = log_db BUY_CALF_N=0 | |
887 action = trigger_later init_day_54 1 | |
888 } | |
889 link{ | |
890 trigger = init_day_54 | |
891 action = buy_calf cow_random 0 | |
892 action = log_db BUY_CALF_N=0 | |
893 action = trigger_later init_day_55 1 | |
894 } | |
895 link{ | |
896 trigger = init_day_55 | |
897 action = buy_calf cow_random 0 | |
898 action = log_db BUY_CALF_N=0 | |
899 action = trigger_later init_day_56 1 | |
900 } | |
901 link{ | |
902 trigger = init_day_56 | |
903 action = buy_calf cow_random 0 | |
904 action = log_db BUY_CALF_N=0 | |
905 action = trigger_later init_day_57 1 | |
906 } | |
907 link{ | |
908 trigger = init_day_57 | |
909 action = buy_calf cow_random 0 | |
910 action = log_db BUY_CALF_N=0 | |
911 action = trigger_later init_day_58 1 | |
912 } | |
913 link{ | |
914 trigger = init_day_58 | |
915 action = buy_calf cow_random 0 | |
916 action = log_db BUY_CALF_N=0 | |
917 action = trigger_later init_day_59 1 | |
918 } | |
919 link{ | |
920 trigger = init_day_59 | |
921 action = buy_calf cow_random 25 | |
922 action = log_db BUY_CALF_N=25 | |
923 } | |
924 | |
925 ################################################################################################################# | |
926 #====== Management of herd # | |
927 ################################################################################################################# | |
928 | |
929 #_______Predefined states : herd, heifers & mature ______________________________________________________________ | |
930 # | |
931 # herd : Every animal that enters the herd is added to this state. Male calves are never added. | |
932 # heifers : Newborn female calves enter the herd as heifers, and are moved to not_heifers at 1st calving. | |
933 # mature : Cows enter mature state when non-labile body mass W > 0.5 WM (GSP for mature format). | |
934 | |
935 | |
936 ################################################################################################################# | |
937 #====== Remove cows @ end of simulation # | |
938 ################################################################################################################# | |
939 | |
940 trigger{ | |
941 type = chron | |
942 name = tr_end_simu | |
943 scheme = 1985-12-31 23:59:58 | |
944 } | |
945 | |
946 link{ | |
947 trigger = tr_end_simu | |
948 action = log_db action_remove_herd | |
949 action = remove_herd | |
950 } | |
951 | |
952 action{ | |
953 type = broadcast_now | |
954 name = remove_herd | |
955 trigger = tr_remove_herd | |
956 } | |
957 | |
958 trigger{ | |
959 type = custom | |
960 name = tr_remove_herd | |
961 } | |
962 | |
963 link{ | |
964 trigger = tr_remove_herd | |
965 action = log_db delete_cow | |
966 action = delete_cow | |
967 } | |
968 | |
969 ################################################################################################################# | |
970 #====== Rearing # | |
971 ################################################################################################################# | |
972 | |
973 #_______CALF: heifers of age < 100 days | |
974 | |
975 state{ | |
976 state = CALF | |
977 } | |
978 | |
979 link{ | |
980 trigger = enter heifers | |
981 condition = age < 100 | |
982 # action = log_db heifers_to_CALF | |
983 action = state_move heifers CALF | |
984 } | |
985 | |
986 link{ | |
987 trigger = calving | |
988 condition = state_size CALF > 333 | |
989 action = log_db REMOVE_CALF_to_limit_size | |
990 action = delete_calf | |
991 } | |
992 | |
993 #_______HEIFER: heifers of age >= 100 days | |
994 | |
995 state{ | |
996 state = HEIFER | |
997 } | |
998 | |
999 link{ | |
1000 trigger = enter heifers | |
1001 condition = age >= 100 | |
1002 # action = log_db heifers_to_HEIFER | |
1003 action = state_move heifers HEIFER | |
1004 } | |
1005 | |
1006 link{ | |
1007 trigger = every_day | |
1008 condition = age >= 100 | |
1009 condition = is_in CALF | |
1010 # action = log_db CALF_to_HEIFER_@WEANING | |
1011 action = state_move CALF HEIFER | |
1012 } | |
1013 | |
1014 | |
1015 ################################################################################################################# | |
1016 #====== Reproduction # | |
1017 ################################################################################################################# | |
1018 | |
1019 #_______CYCLING: non-pregnant heifers at 1st ovulation or postabortive/postpartum recycling cows _____________ | |
1020 | |
1021 state{ | |
1022 state = CYCLING | |
1023 } | |
1024 | |
1025 link{ | |
1026 trigger = ovulation | |
1027 condition = is_in HEIFER | |
1028 # action = log_db HEIFER_to_CYCLING_@PUBERTY | |
1029 action = log_db 00_PUBERTY | |
1030 action = state_move HEIFER CYCLING | |
1031 } | |
1032 | |
1033 link{ | |
1034 trigger = ovulation | |
1035 action = log_db 00_OVULATION | |
1036 } | |
1037 | |
1038 #_______BREEDING: cycling heifers and cows during breeding season ______________________________________________ | |
1039 | |
1040 state{ | |
1041 state = BREEDING | |
1042 } | |
1043 | |
1044 #During breeding season, not TO_CULL and CYCLING cows are moved to BREEDING | |
1045 link{ | |
1046 trigger = every_day | |
1047 condition = breeding_season | |
1048 condition = not is_in TO_CULL | |
1049 condition = is_in CYCLING | |
1050 condition = is_in mature | |
1051 # action = log_db CYCLING_to_BREEDING | |
1052 action = state_move CYCLING BREEDING | |
1053 } | |
1054 | |
1055 link{ | |
1056 trigger = enter BREEDING | |
1057 # action = log_db Start_estrous_detection | |
1058 action = estrous_start estrous_detection_default | |
1059 } | |
1060 | |
1061 link{ | |
1062 trigger = every_day | |
1063 condition = not breeding_season | |
1064 condition = is_in BREEDING | |
1065 # action = log_db BREEDING_to_CYCLING | |
1066 action = state_move BREEDING CYCLING | |
1067 } | |
1068 | |
1069 link{ | |
1070 trigger = quit BREEDING | |
1071 # action = log_db Stop_estrous_detection | |
1072 action = estrous_stop | |
1073 } | |
1074 | |
1075 | |
1076 #_______PREGNANT: at conception _________________________________________________________________________________ | |
1077 | |
1078 state{ | |
1079 state = PREGNANT | |
1080 } | |
1081 | |
1082 link{ | |
1083 trigger = conception | |
1084 action = log_db 02_CONCEPTION | |
1085 action = state_move BREEDING PREGNANT | |
1086 } | |
1087 | |
1088 #_______POST-ABORTIVE: triggered at abortion ____________________________________________________________________ | |
1089 | |
1090 state{ | |
1091 state = POST-ABORTIVE | |
1092 } | |
1093 | |
1094 link{ | |
1095 trigger = abortion | |
1096 condition = days_after_conception <= 17 | |
1097 action = log_db 03_EARLY_EMBRYO_DEATH | |
1098 action = state_move PREGNANT CYCLING | |
1099 } | |
1100 | |
1101 link{ | |
1102 trigger = abortion | |
1103 condition = days_after_conception > 17 | |
1104 condition = days_after_conception <= 64 | |
1105 action = log_db 04_LATE_EMBRYO_DEATH | |
1106 action = state_move PREGNANT CYCLING | |
1107 } | |
1108 | |
1109 trigger{ | |
1110 type = custom | |
1111 name = post_abortive_recycling | |
1112 } | |
1113 | |
1114 #Abortions after ] 64 - 210 days] days in pregnancy are managed with a voluntary period of 40 days | |
1115 link{ | |
1116 trigger = abortion | |
1117 condition = days_after_conception > 64 | |
1118 condition = days_after_conception <= 210 | |
1119 action = log_db 05_FETAL_DEATH | |
1120 action = state_move PREGNANT POST-ABORTIVE | |
1121 action = trigger_later post_abortive_recycling 40 | |
1122 } | |
1123 | |
1124 link{ | |
1125 trigger = post_abortive_recycling | |
1126 # action = log_db POST-ABORTIVE_to_CYCLING | |
1127 action = state_move POST-ABORTIVE CYCLING | |
1128 } | |
1129 | |
1130 #Abortions after 210 days in pregnancy are managed by culling | |
1131 link{ | |
1132 trigger = abortion | |
1133 condition = days_after_conception > 210 | |
1134 action = log_db 05_FETAL_DEATH | |
1135 action = log_db TO_CULL_from_PREGNANT_after_late_fetal_death | |
1136 action = state_move PREGNANT TO_CULL | |
1137 } | |
1138 | |
1139 | |
1140 #_______POSTPARTAL: triggered at parturition ____________________________________________________________________ | |
1141 | |
1142 state{ | |
1143 state = POSTPARTAL | |
1144 } | |
1145 | |
1146 trigger{ | |
1147 type = custom | |
1148 name = postpartal_recycling | |
1149 } | |
1150 | |
1151 link{ | |
1152 trigger = parturition | |
1153 action = log_db 06_PARTURITION | |
1154 # action = log_db PREGNANT_to_POSTPARTAL | |
1155 action = state_move PREGNANT POSTPARTAL | |
1156 action = trigger_later postpartal_recycling 40 | |
1157 action = log_db start_milking | |
1158 action = start_milking | |
1159 } | |
1160 | |
1161 link{ | |
1162 trigger = postpartal_recycling | |
1163 # action = log_db POSTPARTAL_to_CYCLING | |
1164 action = state_move POSTPARTAL CYCLING | |
1165 } | |
1166 | |
1167 ################################################################################################################# | |
1168 #====== Drying-off # | |
1169 ################################################################################################################# | |
1170 | |
1171 #_______EXTENDED_LACTATION: CYCLING and is_milking after 305 days after calving | |
1172 | |
1173 state{ | |
1174 state = EXTENDED_LACTATION | |
1175 } | |
1176 | |
1177 link{ | |
1178 trigger = every_day | |
1179 condition = is_milking | |
1180 condition = not is_in PREGNANT | |
1181 condition = not is_in EXTENDED_LACTATION | |
1182 condition = days_after_calving >= 305 | |
1183 # action = log_db Extended lactation | |
1184 action = state_add EXTENDED_LACTATION | |
1185 } | |
1186 | |
1187 #stop 300 days_after_calving if milk_yield <= 5 kg/d and not in EXTENDED_LACTATION | |
1188 link{ | |
1189 trigger = every_day | |
1190 condition = is_milking | |
1191 condition = not is_in EXTENDED_LACTATION | |
1192 condition = days_after_calving >= 300 | |
1193 condition = milk_yield <= 5 | |
1194 action = log_db stop_milking | |
1195 action = stop_milking | |
1196 } | |
1197 | |
1198 #stop 300 days_after_calving if milk_yield <= 5 kg/d and in EXTENDED_LACTATION | |
1199 link{ | |
1200 trigger = every_day | |
1201 condition = is_milking | |
1202 condition = is_in EXTENDED_LACTATION | |
1203 condition = days_after_calving >= 300 | |
1204 condition = milk_yield <= 5 | |
1205 action = log_db stop_milking_extended | |
1206 action = stop_milking | |
1207 } | |
1208 | |
1209 #stop 300 days_after_calving and 219 days_in_pregnancy | |
1210 link{ | |
1211 trigger = every_day | |
1212 condition = is_milking | |
1213 condition = is_pregnant | |
1214 condition = days_after_calving >= 300 | |
1215 condition = days_in_pregnancy >= 219 | |
1216 action = log_db stop_milking_pregnant | |
1217 action = stop_milking | |
1218 } | |
1219 | |
1220 link{ | |
1221 trigger = stop_milking | |
1222 trigger = enter PREGNANT | |
1223 condition = is_in EXTENDED_LACTATION | |
1224 action = state_delete EXTENDED_LACTATION | |
1225 } | |
1226 | |
1227 ################################################################################################################# | |
1228 #====== Culling # | |
1229 ################################################################################################################# | |
1230 | |
1231 #_______TO_CULL: ____________________________________________________________________ | |
1232 | |
1233 state{ | |
1234 state = TO_CULL | |
1235 } | |
1236 | |
1237 #______culling not pregnant nulliparous at age > 800 days | |
1238 link{ | |
1239 trigger = every_day | |
1240 condition = is_in CYCLING | |
1241 condition = not is_in PREGNANT | |
1242 condition = parity = 0 | |
1243 condition = age > 800 | |
1244 action = log_db TO_CULL_from_CYCLING_because_too_old_heifer | |
1245 action = state_move CYCLING TO_CULL | |
1246 } | |
1247 | |
1248 | |
1249 #______culling not pregnant 320 days_after_calving | |
1250 link{ | |
1251 trigger = every_day | |
1252 condition = days_after_calving > 320 | |
1253 condition = is_in CYCLING | |
1254 action = log_db TO_CULL_from_CYCLING_because_too_late_after_calving | |
1255 action = state_move CYCLING TO_CULL | |
1256 } | |
1257 | |
1258 #______culling not pregnant after 7 insemination | |
1259 link{ | |
1260 trigger = every_day | |
1261 condition = is_in BREEDING | |
1262 condition = not is_in ALREADY_INSEMINATED | |
1263 condition = parity > 0 | |
1264 condition = num_insemination_lactation >= 7 | |
1265 action = log_db TO_CULL_from_BREEDING_max_nb_ins | |
1266 action = state_move BREEDING TO_CULL | |
1267 } | |
1268 | |
1269 link{ | |
1270 trigger = enter PREGNANT | |
1271 condition = is_in TO_CULL | |
1272 action = state_move TO_CULL PREGNANT | |
1273 } | |
1274 | |
1275 | |
1276 #______culling oldest cow | |
1277 | |
1278 link{ | |
1279 trigger = culling_day | |
1280 condition = state_size TO_CULL = 999999 | |
1281 condition = state_size PREGNANT > 666 | |
1282 #individual conditions, like not is_milking cannot be mixed wirh herd level triggers | |
1283 action = log_db Seek_for_oldest_to_cull | |
1284 action = cull_oldest | |
1285 } | |
1286 | |
1287 trigger{ | |
1288 type = custom | |
1289 name = tr_cull_oldest | |
1290 } | |
1291 | |
1292 action{ | |
1293 type = broadcast_now | |
1294 name = cull_oldest | |
1295 condition = not is_pregnant | |
1296 condition = not is_milking | |
1297 condition = not is_in HEIFER | |
1298 condition = not is_in CALF | |
1299 sortby = age | |
1300 reverse = yes | |
1301 limit = 1 | |
1302 trigger = tr_cull_oldest | |
1303 } | |
1304 | |
1305 link{ | |
1306 trigger = tr_cull_oldest | |
1307 action = log_db remove_oldest | |
1308 action = delete_cow | |
1309 } | |
1310 | |
1311 | |
1312 #______remove cows TO_CULL once a month on day 15th | |
1313 | |
1314 trigger{ | |
1315 type = custom | |
1316 name = tr_remove_cows_to_cull | |
1317 } | |
1318 | |
1319 link{ | |
1320 trigger = tr_remove_cows_to_cull | |
1321 condition = is_in TO_CULL | |
1322 condition = not is_milking | |
1323 condition = not is_pregnant | |
1324 action = log_db Remove | |
1325 action = delete_cow | |
1326 } | |
1327 | |
1328 trigger{ | |
1329 type = chron | |
1330 name = culling_day | |
1331 scheme = *-*-15 14:00:00 | |
1332 } | |
1333 | |
1334 action{ | |
1335 type = broadcast_now | |
1336 name = broadcast_TO_CULL | |
1337 condition = is_in TO_CULL | |
1338 trigger = tr_remove_cows_to_cull | |
1339 } | |
1340 | |
1341 link{ | |
1342 trigger = culling_day | |
1343 action = broadcast_TO_CULL | |
1344 } | |
1345 | |
1346 | |
1347 ################################################################################################################# | |
1348 #====== Feeding # | |
1349 ################################################################################################################# | |
1350 #______optimal feeding for 999 | |
1351 | |
1352 state{ | |
1353 state = CONTROL | |
1354 } | |
1355 | |
1356 link{ | |
1357 trigger = enter herd | |
1358 condition = state_size herd <= 999 #nb_control 0 - 999 | |
1359 action = change_food optimal | |
1360 action = state_add CONTROL #Cows are fed on optimal diet as a control | |
1361 } | |
1362 | |
1363 #______Default feeding rules | |
1364 | |
1365 #################### > at birth: on calf diet | |
1366 link{ | |
1367 trigger = enter CALF | |
1368 condition = not is_in CONTROL | |
1369 action = change_food calf_diet | |
1370 } | |
1371 | |
1372 #################### > at weaning: on heifer diet | |
1373 link{ | |
1374 trigger = enter HEIFER | |
1375 condition = not is_in CONTROL | |
1376 action = change_food heifer_diet | |
1377 } | |
1378 | |
1379 #################### > at parturition: on lactation diet | |
1380 link{ | |
1381 trigger = parturition | |
1382 condition = not is_in CONTROL | |
1383 action = change_food lactation_diet | |
1384 } | |
1385 | |
1386 | |
1387 #################### > at drying-off: on drycow_diet | |
1388 link{ | |
1389 trigger = stop_milking | |
1390 condition = not is_in CONTROL | |
1391 action = change_food drycow_diet | |
1392 } | |
1393 | |
1394 #################### > OUTDOOR: on pasture diet | |
1395 trigger{ | |
1396 type = chron | |
1397 name = outdoor | |
1398 scheme = *-04-01 00:00:00 | |
1399 } | |
1400 | |
1401 link{ | |
1402 trigger = outdoor | |
1403 action = broadcast_outdoor | |
1404 } | |
1405 | |
1406 action{ | |
1407 type = broadcast_now | |
1408 name = broadcast_outdoor | |
1409 trigger = outdoor_feeding | |
1410 } | |
1411 | |
1412 trigger{ | |
1413 type = custom | |
1414 name = outdoor_feeding | |
1415 } | |
1416 | |
1417 link{ | |
1418 trigger = outdoor_feeding | |
1419 condition = not is_in CALF | |
1420 condition = not is_in CONTROL | |
1421 action = change_food pasture_diet | |
1422 } | |
1423 | |
1424 | |
1425 #################### > INDOOR: back to diet according to state | |
1426 trigger{ | |
1427 type = chron | |
1428 name = indoor | |
1429 scheme = *-10-01 00:00:00 | |
1430 } | |
1431 | |
1432 link{ | |
1433 trigger = indoor | |
1434 action = broadcast_indoor | |
1435 } | |
1436 | |
1437 action{ | |
1438 type = broadcast_now | |
1439 name = broadcast_indoor | |
1440 trigger = indoor_feeding | |
1441 } | |
1442 | |
1443 trigger{ | |
1444 type = custom | |
1445 name = indoor_feeding | |
1446 } | |
1447 | |
1448 link{ | |
1449 trigger = indoor_feeding | |
1450 condition = is_in HEIFER | |
1451 condition = not is_in CONTROL | |
1452 action = change_food heifer_diet | |
1453 } | |
1454 | |
1455 link{ | |
1456 trigger = indoor_feeding | |
1457 condition = is_in CYCLING | |
1458 condition = not is_in CONTROL | |
1459 action = change_food heifer_diet | |
1460 } | |
1461 | |
1462 link{ | |
1463 trigger = indoor_feeding | |
1464 condition = is_in BREEDING | |
1465 condition = not is_milking | |
1466 condition = not is_in CONTROL | |
1467 action = change_food heifer_diet | |
1468 } | |
1469 | |
1470 link{ | |
1471 trigger = indoor_feeding | |
1472 condition = not is_in BREEDING | |
1473 condition = not is_milking | |
1474 condition = not is_in CONTROL | |
1475 action = change_food drycow_diet | |
1476 } | |
1477 | |
1478 link{ | |
1479 trigger = indoor_feeding | |
1480 condition = is_milking | |
1481 condition = not is_in CONTROL | |
1482 action = change_food lactation_diet | |
1483 } | |
1484 | |
1485 | |
1486 | |
1487 | |
1488 ################################################################################################################# | |
1489 #====== Generic stuff # | |
1490 ################################################################################################################# | |
1491 | |
1492 trigger{ | |
1493 type = chron | |
1494 name = every_day_herd | |
1495 scheme = *-*-* 12:00:00 | |
1496 } | |
1497 | |
1498 trigger{ | |
1499 type = custom | |
1500 name = every_day | |
1501 } | |
1502 | |
1503 link{ | |
1504 trigger = every_day_herd | |
1505 action = broadcast_now every_day | |
1506 } | |
1507 | |
1508 trigger{ | |
1509 type = custom | |
1510 name = first_day_sub | |
1511 } | |
1512 | |
1513 trigger{ | |
1514 type = custom | |
1515 name = first_day | |
1516 } | |
1517 | |
1518 link{ | |
1519 trigger = init | |
1520 action = trigger_later first_day_sub 0.001 | |
1521 } | |
1522 link{ | |
1523 trigger = first_day_sub | |
1524 action = broadcast_now first_day | |
1525 } | |
1526 | |
1527 ################################################################################################################# | |
1528 #====== Log # | |
1529 ################################################################################################################# | |
1530 | |
1531 log{ | |
1532 | |
1533 #farmer level | |
1534 insemination = yes | |
1535 change_food = yes | |
1536 | |
1537 #herd level | |
1538 conception = yes | |
1539 parturition = yes | |
1540 death = yes | |
1541 estrous_observed = yes | |
1542 estrous_missed = yes | |
1543 estrous_environment= yes | |
1544 insemination_result= yes | |
1545 mature = yes | |
1546 ovulation = yes | |
1547 new_cow = yes | |
1548 delete_cow = yes | |
1549 abortion = yes | |
1550 | |
1551 #cow level | |
1552 animal_performance = no | |
1553 } | |
1554 | |
1555 ################################################################################################################# | |
1556 #====== Log states # | |
1557 ################################################################################################################# | |
1558 | |
1559 action{ | |
1560 type = genericlog_herd | |
1561 | |
1562 name = log_states | |
1563 log_type = file | |
1564 file_path = states.txt | |
1565 sep_col = \t | |
1566 file_line_flush=no | |
1567 | |
1568 #sqlite_path = states.sqlite | |
1569 #sqlite_table = states | |
1570 | |
1571 | |
1572 #--- from cow and simulator --- | |
1573 column{ | |
1574 value = time | |
1575 name = time | |
1576 sqlite_type = numeric | |
1577 } | |
1578 | |
1579 column{ | |
1580 value = state.CONTROL | |
1581 name = CONTROL | |
1582 sqlite_type = numeric | |
1583 } | |
1584 | |
1585 column{ | |
1586 value = state.CALF | |
1587 name = CALF | |
1588 sqlite_type = numeric | |
1589 } | |
1590 | |
1591 column{ | |
1592 value = state.HEIFER | |
1593 name = HEIFER | |
1594 sqlite_type = numeric | |
1595 } | |
1596 | |
1597 column{ | |
1598 value = state.CYCLING | |
1599 name = CYCLING | |
1600 sqlite_type = numeric | |
1601 } | |
1602 | |
1603 column{ | |
1604 value = state.BREEDING | |
1605 name = BREEDING | |
1606 sqlite_type = numeric | |
1607 } | |
1608 | |
1609 column{ | |
1610 value = state.PREGNANT | |
1611 name = PREGNANT | |
1612 sqlite_type = numeric | |
1613 } | |
1614 | |
1615 column{ | |
1616 value = state.POST-ABORTIVE | |
1617 name = POST-ABORTIVE | |
1618 sqlite_type = numeric | |
1619 } | |
1620 | |
1621 column{ | |
1622 value = state.POSTPARTAL | |
1623 name = POSTPARTAL | |
1624 sqlite_type = numeric | |
1625 } | |
1626 | |
1627 column{ | |
1628 value = state.EXTENDED_LACTATION | |
1629 name = EXTENDED_LACTATION | |
1630 sqlite_type = numeric | |
1631 } | |
1632 | |
1633 column{ | |
1634 value = state.TO_CULL | |
1635 name = TO_CULL | |
1636 sqlite_type = numeric | |
1637 } | |
1638 | |
1639 | |
1640 # column{ | |
1641 # value = state.not.mature | |
1642 # name = not_mature | |
1643 # sqlite_type = numeric | |
1644 # } | |
1645 | |
1646 } | |
1647 | |
1648 link{ | |
1649 trigger = every_day_herd | |
1650 action = log_states | |
1651 } | |
1652 | |
1653 | |
1654 | |
1655 ###s######## Default diets | |
1656 | |
1657 feed{ | |
1658 name = calf_diet | |
1659 type = mix | |
1660 | |
1661 feed = CPL.MLK | |
1662 proportion = 1.00 | |
1663 } | |
1664 | |
1665 feed{ | |
1666 name = heifer_diet | |
1667 type = mix | |
1668 | |
1669 feed = FO.STR | |
1670 proportion = 0.02 | |
1671 feed = FO.HAP | |
1672 proportion = 0.60 | |
1673 feed = FO.GSI | |
1674 proportion = 0.32 | |
1675 feed = CO.CER | |
1676 proportion = 0.05 | |
1677 feed = CPL.CMV | |
1678 proportion = 0.01 | |
1679 } | |
1680 | |
1681 feed{ | |
1682 name = lactation_diet | |
1683 type = mix | |
1684 | |
1685 feed = FO.STR | |
1686 proportion = 0.01 | |
1687 feed = FO.HAP | |
1688 proportion = 0.03 | |
1689 feed = FO.GSI | |
1690 proportion = 0.04 | |
1691 feed = FO.CSI | |
1692 proportion = 0.70 | |
1693 feed = CO.CER | |
1694 proportion = 0.05 | |
1695 feed = CO.OSC | |
1696 proportion = 0.13 | |
1697 feed = CO.ROO | |
1698 proportion = 0.03 | |
1699 feed = CPL.CMV | |
1700 proportion = 0.01 | |
1701 } | |
1702 | |
1703 feed{ | |
1704 name = drycow_diet | |
1705 type = mix | |
1706 | |
1707 feed = FO.STR | |
1708 proportion = 0.02 | |
1709 feed = FO.HAP | |
1710 proportion = 0.68 | |
1711 feed = FO.CSI | |
1712 proportion = 0.08 | |
1713 feed = CO.CER | |
1714 proportion = 0.05 | |
1715 feed = CO.OSC | |
1716 proportion = 0.13 | |
1717 feed = CO.ROO | |
1718 proportion = 0.03 | |
1719 feed = CPL.CMV | |
1720 proportion = 0.01 | |
1721 } | |
1722 | |
1723 feed{ | |
1724 name = pasture_diet | |
1725 type = mix | |
1726 | |
1727 feed = FO.FGX | |
1728 proportion = 0.778 | |
1729 feed = CO.CER | |
1730 proportion = 0.050 | |
1731 feed = CO.OSC | |
1732 proportion = 0.130 | |
1733 feed = CO.TUB | |
1734 proportion = 0.002 | |
1735 feed = CO.ROO | |
1736 proportion = 0.030 | |
1737 feed = CPL.CMV | |
1738 proportion = 0.010 | |
1739 } | |
1740 | |
1741 | |
1742 | |
1743 | |
1744 | |
1745 ######################################################## | |
1746 # # | |
1747 #List of available feed (derived from INRA tables) # | |
1748 # # | |
1749 ######################################################## | |
1750 | |
1751 ########### FORAGES #################################### | |
1752 # FO.STR Straw | |
1753 # FO.STN Straw treated with ammonia | |
1754 # FO.MSH Maize stover & husks | |
1755 # FO.HAL Legume hay | |
1756 # FO.HAG Gramineae hay | |
1757 # FO.HAP Permanent grassland hay | |
1758 # FO.DHA Dehydrated alfalfa | |
1759 # FO.DHF Dehydrated forage | |
1760 # FO.FGC Fresh cereal grass | |
1761 # FO.FGO Fresh oleaginous grass | |
1762 # FO.FGG Fresh gramineae grass | |
1763 # FO.FGX Fresh mixed grass (meadow) | |
1764 # FO.FGL Fresh legume grass | |
1765 # FO.GSI50 Grass silage > 50% DM | |
1766 # FO.GSI Grass silage | |
1767 # FO.CSI Corn silage | |
1768 # FO.FPF Faba & pea forage | |
1769 # FO.VEG Vegetable fodder | |
1770 | |
1771 ########### CONCENTRATES ############################### | |
1772 # CO.CER Cereal seed & by-products | |
1773 # CO.OSC5 Oilseed cake <5% oil | |
1774 # CO.OSC Oilseed cake | |
1775 # CO.TUB Starchy tubers | |
1776 # CO.ROO Vegetable roots | |
1777 # CO.FPB Faba & pea bean | |
1778 # CO.LUP Lupin | |
1779 # CO.SDO Oilseed | |
1780 | |
1781 ########### COMPLEMENTS ################################ | |
1782 # CPL.CMV Compl. Minerals & Vitamins | |
1783 # CPL.AMA Amino acids | |
1784 # CPL.URE Urea | |
1785 # CPL.MOL Molasses | |
1786 # CPL.PLP Beet pulp | |
1787 # CPL.MLK Milk | |
1788 # CPL.OIL Oil | |
1789 | |
1790 | |
1791 feed{ # Straw | |
1792 # Type of feed: FORAGE | |
1793 # Maximum incorporation in diet: 80 %FM | |
1794 # Representative INRA feed: FP0090 Oat straw | |
1795 name = FO.STR | |
1796 type = ingredient | |
1797 feed_eD = 5.9512 # MJ_ME/kg_DM | |
1798 feed_DMC = 0.8825 # kg_DM/kg_FM | |
1799 feed_OM = 0.9100 # kg/kg_DM | |
1800 feed_OMd = 0.4500 # % | |
1801 feed_CP = 0.0360 # kg/kg_DM | |
1802 feed_CPd = 0.0296 # % | |
1803 feed_NDF = 0.7910 # kg/kg_DM | |
1804 feed_ST = 0.0000 # kg/kg_DM | |
1805 feed_STd = 0.0000 # % | |
1806 feed_EE = 0.0150 # kg/kg_DM | |
1807 } | |
1808 feed{ # Straw treated with ammonia | |
1809 # Type of feed: FORAGE | |
1810 # Maximum incorporation in diet: 80 %FM | |
1811 # Representative INRA feed: FP0080 Barley straw, NH3-treated 5%DM | |
1812 name = FO.STN | |
1813 type = ingredient | |
1814 feed_eD = 7.6484 # MJ_ME/kg_DM | |
1815 feed_DMC = 0.8867 # kg_DM/kg_FM | |
1816 feed_OM = 0.8970 # kg/kg_DM | |
1817 feed_OMd = 0.5567 # % | |
1818 feed_CP = 0.1000 # kg/kg_DM | |
1819 feed_CPd = 0.3933 # % | |
1820 feed_NDF = 0.7603 # kg/kg_DM | |
1821 feed_ST = 0.0000 # kg/kg_DM | |
1822 feed_STd = 0.0000 # % | |
1823 feed_EE = 0.0150 # kg/kg_DM | |
1824 } | |
1825 feed{ # Maize stover & husks | |
1826 # Type of feed: FORAGE | |
1827 # Maximum incorporation in diet: 80 %FM | |
1828 # Representative INRA feed: FP0180 Maize stover, ensiled | |
1829 name = FO.MSH | |
1830 type = ingredient | |
1831 feed_eD = 8.5847 # MJ_ME/kg_DM | |
1832 feed_DMC = 0.5022 # kg_DM/kg_FM | |
1833 feed_OM = 0.9332 # kg/kg_DM | |
1834 feed_OMd = 0.6220 # % | |
1835 feed_CP = 0.0888 # kg/kg_DM | |
1836 feed_CPd = 0.3432 # % | |
1837 feed_NDF = 0.6580 # kg/kg_DM | |
1838 feed_ST = 0.0000 # kg/kg_DM | |
1839 feed_STd = 0.0000 # % | |
1840 feed_EE = 0.0150 # kg/kg_DM | |
1841 } | |
1842 feed{ # Legume hay | |
1843 # Type of feed: FORAGE | |
1844 # Maximum incorporation in diet: 100 %FM | |
1845 # Representative INRA feed: FF3370 Lucerne hay | |
1846 name = FO.HAL | |
1847 type = ingredient | |
1848 feed_eD = 8.4626 # MJ_ME/kg_DM | |
1849 feed_DMC = 0.8500 # kg_DM/kg_FM | |
1850 feed_OM = 0.8956 # kg/kg_DM | |
1851 feed_OMd = 0.5987 # % | |
1852 feed_CP = 0.1791 # kg/kg_DM | |
1853 feed_CPd = 0.6818 # % | |
1854 feed_NDF = 0.5326 # kg/kg_DM | |
1855 feed_ST = 0.0000 # kg/kg_DM | |
1856 feed_STd = 0.0000 # % | |
1857 feed_EE = 0.0259 # kg/kg_DM | |
1858 } | |
1859 feed{ # Gramineae hay | |
1860 # Type of feed: FORAGE | |
1861 # Maximum incorporation in diet: 100 %FM | |
1862 # Representative INRA feed: FF1190 Italian ryegrass hay | |
1863 name = FO.HAG | |
1864 type = ingredient | |
1865 feed_eD = 8.8553 # MJ_ME/kg_DM | |
1866 feed_DMC = 0.8500 # kg_DM/kg_FM | |
1867 feed_OM = 0.9011 # kg/kg_DM | |
1868 feed_OMd = 0.6294 # % | |
1869 feed_CP = 0.1169 # kg/kg_DM | |
1870 feed_CPd = 0.5447 # % | |
1871 feed_NDF = 0.6421 # kg/kg_DM | |
1872 feed_ST = 0.0000 # kg/kg_DM | |
1873 feed_STd = 0.0000 # % | |
1874 feed_EE = 0.0300 # kg/kg_DM | |
1875 } | |
1876 feed{ # Permanent grassland hay | |
1877 # Type of feed: FORAGE | |
1878 # Maximum incorporation in diet: 100 %FM | |
1879 # Representative INRA feed: FF0750 Mountain permanent grassland hay | |
1880 name = FO.HAP | |
1881 type = ingredient | |
1882 feed_eD = 9.0294 # MJ_ME/kg_DM | |
1883 feed_DMC = 0.8500 # kg_DM/kg_FM | |
1884 feed_OM = 0.9133 # kg/kg_DM | |
1885 feed_OMd = 0.6196 # % | |
1886 feed_CP = 0.1270 # kg/kg_DM | |
1887 feed_CPd = 0.5679 # % | |
1888 feed_NDF = 0.6090 # kg/kg_DM | |
1889 feed_ST = 0.0000 # kg/kg_DM | |
1890 feed_STd = 0.0000 # % | |
1891 feed_EE = 0.0223 # kg/kg_DM | |
1892 } | |
1893 feed{ # Dehydrated alfalfa | |
1894 # Type of feed: FORAGE | |
1895 # Maximum incorporation in diet: 60 %FM | |
1896 # Representative INRA feed: CD0040 Dehydrated alfalfa | |
1897 name = FO.DHA | |
1898 type = ingredient | |
1899 feed_eD = 9.2187 # MJ_ME/kg_DM | |
1900 feed_DMC = 0.9070 # kg_DM/kg_FM | |
1901 feed_OM = 0.8752 # kg/kg_DM | |
1902 feed_OMd = 0.6317 # % | |
1903 feed_CP = 0.2002 # kg/kg_DM | |
1904 feed_CPd = 0.7017 # % | |
1905 feed_NDF = 0.4375 # kg/kg_DM | |
1906 feed_ST = 0.0297 # kg/kg_DM | |
1907 feed_STd = 0.8200 # % | |
1908 feed_EE = 0.0292 # kg/kg_DM | |
1909 } | |
1910 feed{ # Dehydrated forage | |
1911 # Type of feed: FORAGE | |
1912 # Maximum incorporation in diet: 60 %FM | |
1913 # Representative INRA feed: CD0120 Dehydrated Italian ryegrass | |
1914 name = FO.DHF | |
1915 type = ingredient | |
1916 feed_eD = 9.9954 # MJ_ME/kg_DM | |
1917 feed_DMC = 0.9080 # kg_DM/kg_FM | |
1918 feed_OM = 0.8898 # kg/kg_DM | |
1919 feed_OMd = 0.7010 # % | |
1920 feed_CP = 0.1436 # kg/kg_DM | |
1921 feed_CPd = 0.6182 # % | |
1922 feed_NDF = 0.5450 # kg/kg_DM | |
1923 feed_ST = 0.0024 # kg/kg_DM | |
1924 feed_STd = 0.1640 # % | |
1925 feed_EE = 0.0268 # kg/kg_DM | |
1926 } | |
1927 feed{ # Fresh cereal grass | |
1928 # Type of feed: FORAGE | |
1929 # Maximum incorporation in diet: 100 %FM | |
1930 # Representative INRA feed: FV2020 Fresh whole crop sorghum | |
1931 name = FO.FGC | |
1932 type = ingredient | |
1933 feed_eD = 9.4748 # MJ_ME/kg_DM | |
1934 feed_DMC = 0.2504 # kg_DM/kg_FM | |
1935 feed_OM = 0.9148 # kg/kg_DM | |
1936 feed_OMd = 0.6585 # % | |
1937 feed_CP = 0.1044 # kg/kg_DM | |
1938 feed_CPd = 0.6330 # % | |
1939 feed_NDF = 0.5710 # kg/kg_DM | |
1940 feed_ST = 0.0983 # kg/kg_DM | |
1941 feed_STd = 0.8652 # % | |
1942 feed_EE = 0.0304 # kg/kg_DM | |
1943 } | |
1944 feed{ # Fresh oleaginous grass | |
1945 # Type of feed: FORAGE | |
1946 # Maximum incorporation in diet: 100 %FM | |
1947 # Representative INRA feed: FV2830 Fresh silphium | |
1948 name = FO.FGO | |
1949 type = ingredient | |
1950 feed_eD = 9.8974 # MJ_ME/kg_DM | |
1951 feed_DMC = 0.1170 # kg_DM/kg_FM | |
1952 feed_OM = 0.8494 # kg/kg_DM | |
1953 feed_OMd = 0.7323 # % | |
1954 feed_CP = 0.1535 # kg/kg_DM | |
1955 feed_CPd = 0.7491 # % | |
1956 feed_NDF = 0.4212 # kg/kg_DM | |
1957 feed_ST = 0.0000 # kg/kg_DM | |
1958 feed_STd = 0.0000 # % | |
1959 feed_EE = 0.0248 # kg/kg_DM | |
1960 } | |
1961 feed{ # Fresh gramineae grass | |
1962 # Type of feed: FORAGE | |
1963 # Maximum incorporation in diet: 100 %FM | |
1964 # Representative INRA feed: FV0490 Fresh italian ryegrass | |
1965 name = FO.FGG | |
1966 type = ingredient | |
1967 feed_eD = 10.2129 # MJ_ME/kg_DM | |
1968 feed_DMC = 0.1885 # kg_DM/kg_FM | |
1969 feed_OM = 0.8893 # kg/kg_DM | |
1970 feed_OMd = 0.7150 # % | |
1971 feed_CP = 0.1452 # kg/kg_DM | |
1972 feed_CPd = 0.6756 # % | |
1973 feed_NDF = 0.5690 # kg/kg_DM | |
1974 feed_ST = 0.0000 # kg/kg_DM | |
1975 feed_STd = 0.0000 # % | |
1976 feed_EE = 0.0367 # kg/kg_DM | |
1977 } | |
1978 feed{ # Fresh mixed grass (meadow) | |
1979 # Type of feed: FORAGE | |
1980 # Maximum incorporation in diet: 100 %FM | |
1981 # Representative INRA feed: FV0120 Fresh lowland grassland | |
1982 name = FO.FGX | |
1983 type = ingredient | |
1984 feed_eD = 10.2424 # MJ_ME/kg_DM | |
1985 feed_DMC = 0.1946 # kg_DM/kg_FM | |
1986 feed_OM = 0.9057 # kg/kg_DM | |
1987 feed_OMd = 0.6896 # % | |
1988 feed_CP = 0.1444 # kg/kg_DM | |
1989 feed_CPd = 0.6595 # % | |
1990 feed_NDF = 0.5498 # kg/kg_DM | |
1991 feed_ST = 0.0000 # kg/kg_DM | |
1992 feed_STd = 0.0000 # % | |
1993 feed_EE = 0.0265 # kg/kg_DM | |
1994 } | |
1995 feed{ # Fresh legume grass | |
1996 # Type of feed: FORAGE | |
1997 # Maximum incorporation in diet: 100 %FM | |
1998 # Representative INRA feed: FV2370 Fresh red clover | |
1999 name = FO.FGL | |
2000 type = ingredient | |
2001 feed_eD = 10.3243 # MJ_ME/kg_DM | |
2002 feed_DMC = 0.1749 # kg_DM/kg_FM | |
2003 feed_OM = 0.8844 # kg/kg_DM | |
2004 feed_OMd = 0.7014 # % | |
2005 feed_CP = 0.2046 # kg/kg_DM | |
2006 feed_CPd = 0.7671 # % | |
2007 feed_NDF = 0.4603 # kg/kg_DM | |
2008 feed_ST = 0.0000 # kg/kg_DM | |
2009 feed_STd = 0.0000 # % | |
2010 feed_EE = 0.0287 # kg/kg_DM | |
2011 } | |
2012 feed{ # Grass silage > 50% DM | |
2013 # Type of feed: FORAGE | |
2014 # Maximum incorporation in diet: 100 %FM | |
2015 # Representative INRA feed: FE2790 Wilted perennial ryegrass silage | |
2016 name = FO.GSI50 | |
2017 type = ingredient | |
2018 feed_eD = 9.3078 # MJ_ME/kg_DM | |
2019 feed_DMC = 0.5502 # kg_DM/kg_FM | |
2020 feed_OM = 0.9056 # kg/kg_DM | |
2021 feed_OMd = 0.6545 # % | |
2022 feed_CP = 0.1351 # kg/kg_DM | |
2023 feed_CPd = 0.6395 # % | |
2024 feed_NDF = 0.5744 # kg/kg_DM | |
2025 feed_ST = 0.0000 # kg/kg_DM | |
2026 feed_STd = 0.0000 # % | |
2027 feed_EE = 0.0337 # kg/kg_DM | |
2028 } | |
2029 feed{ # Grass silage | |
2030 # Type of feed: FORAGE | |
2031 # Maximum incorporation in diet: 100 %FM | |
2032 # Representative INRA feed: FE2220 Perennial ryegrass silage | |
2033 name = FO.GSI | |
2034 type = ingredient | |
2035 feed_eD = 10.3090 # MJ_ME/kg_DM | |
2036 feed_DMC = 0.2234 # kg_DM/kg_FM | |
2037 feed_OM = 0.8950 # kg/kg_DM | |
2038 feed_OMd = 0.6952 # % | |
2039 feed_CP = 0.1406 # kg/kg_DM | |
2040 feed_CPd = 0.6469 # % | |
2041 feed_NDF = 0.5425 # kg/kg_DM | |
2042 feed_ST = 0.0000 # kg/kg_DM | |
2043 feed_STd = 0.0000 # % | |
2044 feed_EE = 0.0374 # kg/kg_DM | |
2045 } | |
2046 feed{ # Corn silage | |
2047 # Type of feed: FORAGE | |
2048 # Maximum incorporation in diet: 100 %FM | |
2049 # Representative INRA feed: FE4710 Fine chop 30% DM corn silage | |
2050 name = FO.CSI | |
2051 type = ingredient | |
2052 feed_eD = 10.6995 # MJ_ME/kg_DM | |
2053 feed_DMC = 0.3109 # kg_DM/kg_FM | |
2054 feed_OM = 0.9484 # kg/kg_DM | |
2055 feed_OMd = 0.7061 # % | |
2056 feed_CP = 0.0848 # kg/kg_DM | |
2057 feed_CPd = 0.5300 # % | |
2058 feed_NDF = 0.4415 # kg/kg_DM | |
2059 feed_ST = 0.2754 # kg/kg_DM | |
2060 feed_STd = 0.7660 # % | |
2061 feed_EE = 0.0310 # kg/kg_DM | |
2062 } | |
2063 feed{ # Faba & pea forage | |
2064 # Type of feed: FORAGE | |
2065 # Maximum incorporation in diet: 100 %FM | |
2066 # Representative INRA feed: FV2700 Fresh faba bean forage | |
2067 name = FO.FPF | |
2068 type = ingredient | |
2069 feed_eD = 10.8203 # MJ_ME/kg_DM | |
2070 feed_DMC = 0.2546 # kg_DM/kg_FM | |
2071 feed_OM = 0.9115 # kg/kg_DM | |
2072 feed_OMd = 0.7188 # % | |
2073 feed_CP = 0.1578 # kg/kg_DM | |
2074 feed_CPd = 0.7156 # % | |
2075 feed_NDF = 0.4160 # kg/kg_DM | |
2076 feed_ST = 0.0913 # kg/kg_DM | |
2077 feed_STd = 0.7650 # % | |
2078 feed_EE = 0.0288 # kg/kg_DM | |
2079 } | |
2080 feed{ # Vegetable fodder | |
2081 # Type of feed: FORAGE | |
2082 # Maximum incorporation in diet: 100 %FM | |
2083 # Representative INRA feed: FV2840 Fresh kale | |
2084 name = FO.VEG | |
2085 type = ingredient | |
2086 feed_eD = 12.0901 # MJ_ME/kg_DM | |
2087 feed_DMC = 0.1348 # kg_DM/kg_FM | |
2088 feed_OM = 0.8674 # kg/kg_DM | |
2089 feed_OMd = 0.8260 # % | |
2090 feed_CP = 0.1684 # kg/kg_DM | |
2091 feed_CPd = 0.7794 # % | |
2092 feed_NDF = 0.3382 # kg/kg_DM | |
2093 feed_ST = 0.0000 # kg/kg_DM | |
2094 feed_STd = 0.0000 # % | |
2095 feed_EE = 0.0080 # kg/kg_DM | |
2096 } | |
2097 feed{ # Cereal seed & by-products | |
2098 # Type of feed: CONCENTRATE | |
2099 # Maximum incorporation in diet: 60 %FM | |
2100 # Representative INRA feed: CS0160 Wheat middlings, starch 30-40% | |
2101 name = CO.CER | |
2102 type = ingredient | |
2103 feed_eD = 12.3262 # MJ_ME/kg_DM | |
2104 feed_DMC = 0.8835 # kg_DM/kg_FM | |
2105 feed_OM = 0.9541 # kg/kg_DM | |
2106 feed_OMd = 0.7712 # % | |
2107 feed_CP = 0.1642 # kg/kg_DM | |
2108 feed_CPd = 0.6629 # % | |
2109 feed_NDF = 0.2909 # kg/kg_DM | |
2110 feed_ST = 0.4008 # kg/kg_DM | |
2111 feed_STd = 0.8041 # % | |
2112 feed_EE = 0.0584 # kg/kg_DM | |
2113 } | |
2114 feed{ # Oilseed cake <5% oil | |
2115 # Type of feed: CONCENTRATE | |
2116 # Maximum incorporation in diet: 60 %FM | |
2117 # Representative INRA feed: CX0050 Cottonseed meal, cr. fibre 15-20% | |
2118 name = CO.OSC5 | |
2119 type = ingredient | |
2120 feed_eD = 12.0555 # MJ_ME/kg_DM | |
2121 feed_DMC = 0.8907 # kg_DM/kg_FM | |
2122 feed_OM = 0.9309 # kg/kg_DM | |
2123 feed_OMd = 0.7747 # % | |
2124 feed_CP = 0.4309 # kg/kg_DM | |
2125 feed_CPd = 0.7740 # % | |
2126 feed_NDF = 0.2931 # kg/kg_DM | |
2127 feed_ST = 0.0527 # kg/kg_DM | |
2128 feed_STd = 0.8200 # % | |
2129 feed_EE = 0.0236 # kg/kg_DM | |
2130 } | |
2131 feed{ # Oilseed cake | |
2132 # Type of feed: CONCENTRATE | |
2133 # Maximum incorporation in diet: 60 %FM | |
2134 # Representative INRA feed: CX0310 Sunflower meal, oil 5-20% | |
2135 name = CO.OSC | |
2136 type = ingredient | |
2137 feed_eD = 12.6524 # MJ_ME/kg_DM | |
2138 feed_DMC = 0.9207 # kg_DM/kg_FM | |
2139 feed_OM = 0.9368 # kg/kg_DM | |
2140 feed_OMd = 0.7350 # % | |
2141 feed_CP = 0.3499 # kg/kg_DM | |
2142 feed_CPd = 0.7570 # % | |
2143 feed_NDF = 0.3477 # kg/kg_DM | |
2144 feed_ST = 0.0444 # kg/kg_DM | |
2145 feed_STd = 0.8200 # % | |
2146 feed_EE = 0.1015 # kg/kg_DM | |
2147 } | |
2148 feed{ # Starchy tubers | |
2149 # Type of feed: CONCENTRATE | |
2150 # Maximum incorporation in diet: 60 %FM | |
2151 # Representative INRA feed: CP0030 Cassava | |
2152 name = CO.TUB | |
2153 type = ingredient | |
2154 feed_eD = 11.6622 # MJ_ME/kg_DM | |
2155 feed_DMC = 0.6480 # kg_DM/kg_FM | |
2156 feed_OM = 0.9510 # kg/kg_DM | |
2157 feed_OMd = 0.8367 # % | |
2158 feed_CP = 0.0750 # kg/kg_DM | |
2159 feed_CPd = 0.4888 # % | |
2160 feed_NDF = 0.1192 # kg/kg_DM | |
2161 feed_ST = 0.6447 # kg/kg_DM | |
2162 feed_STd = 0.7900 # % | |
2163 feed_EE = 0.0062 # kg/kg_DM | |
2164 } | |
2165 feed{ # Vegetable roots | |
2166 # Type of feed: CONCENTRATE | |
2167 # Maximum incorporation in diet: 60 %FM | |
2168 # Representative INRA feed: FR0040 Carrot | |
2169 name = CO.ROO | |
2170 type = ingredient | |
2171 feed_eD = 12.8261 # MJ_ME/kg_DM | |
2172 feed_DMC = 0.1568 # kg_DM/kg_FM | |
2173 feed_OM = 0.9311 # kg/kg_DM | |
2174 feed_OMd = 0.8900 # % | |
2175 feed_CP = 0.0896 # kg/kg_DM | |
2176 feed_CPd = 0.5710 # % | |
2177 feed_NDF = 0.1295 # kg/kg_DM | |
2178 feed_ST = 0.0050 # kg/kg_DM | |
2179 feed_STd = 0.2000 # % | |
2180 feed_EE = 0.0110 # kg/kg_DM | |
2181 } | |
2182 feed{ # Faba & pea bean | |
2183 # Type of feed: CONCENTRATE | |
2184 # Maximum incorporation in diet: 60 %FM | |
2185 # Representative INRA feed: CN0060 Faba bean seeds | |
2186 name = CO.FPB | |
2187 type = ingredient | |
2188 feed_eD = 13.6219 # MJ_ME/kg_DM | |
2189 feed_DMC = 0.8721 # kg_DM/kg_FM | |
2190 feed_OM = 0.9610 # kg/kg_DM | |
2191 feed_OMd = 0.9057 # % | |
2192 feed_CP = 0.2689 # kg/kg_DM | |
2193 feed_CPd = 0.7843 # % | |
2194 feed_NDF = 0.1550 # kg/kg_DM | |
2195 feed_ST = 0.4601 # kg/kg_DM | |
2196 feed_STd = 0.7586 # % | |
2197 feed_EE = 0.0146 # kg/kg_DM | |
2198 } | |
2199 feed{ # Lupin | |
2200 # Type of feed: CONCENTRATE | |
2201 # Maximum incorporation in diet: 60 %FM | |
2202 # Representative INRA feed: CN0130 White lupin seeds | |
2203 name = CO.LUP | |
2204 type = ingredient | |
2205 feed_eD = 15.2995 # MJ_ME/kg_DM | |
2206 feed_DMC = 0.8880 # kg_DM/kg_FM | |
2207 feed_OM = 0.9617 # kg/kg_DM | |
2208 feed_OMd = 0.8800 # % | |
2209 feed_CP = 0.3657 # kg/kg_DM | |
2210 feed_CPd = 0.8000 # % | |
2211 feed_NDF = 0.2257 # kg/kg_DM | |
2212 feed_ST = 0.0700 # kg/kg_DM | |
2213 feed_STd = 0.8200 # % | |
2214 feed_EE = 0.0850 # kg/kg_DM | |
2215 } | |
2216 feed{ # Oilseed | |
2217 # Type of feed: CONCENTRATE | |
2218 # Maximum incorporation in diet: 60 %FM | |
2219 # Representative INRA feed: CN0110 Linseeds | |
2220 name = CO.SDO | |
2221 type = ingredient | |
2222 feed_eD = 17.6063 # MJ_ME/kg_DM | |
2223 feed_DMC = 0.9143 # kg_DM/kg_FM | |
2224 feed_OM = 0.9539 # kg/kg_DM | |
2225 feed_OMd = 0.7650 # % | |
2226 feed_CP = 0.2647 # kg/kg_DM | |
2227 feed_CPd = 0.7380 # % | |
2228 feed_NDF = 0.2515 # kg/kg_DM | |
2229 feed_ST = 0.0461 # kg/kg_DM | |
2230 feed_STd = 0.8200 # % | |
2231 feed_EE = 0.3208 # kg/kg_DM | |
2232 } | |
2233 feed{ # Compl. Minerals & Vitamins | |
2234 # Type of feed: COMPLEMENT | |
2235 # Maximum incorporation in diet: 5 %FM | |
2236 # Representative INRA feed: MC0010 Crushed chalk | |
2237 name = CPL.CMV | |
2238 type = ingredient | |
2239 feed_eD = 0.0000 # MJ_ME/kg_DM | |
2240 feed_DMC = 0.9500 # kg_DM/kg_FM | |
2241 feed_OM = 0.0000 # kg/kg_DM | |
2242 feed_OMd = 0.0000 # % | |
2243 feed_CP = 0.0000 # kg/kg_DM | |
2244 feed_CPd = 0.0000 # % | |
2245 feed_NDF = 0.0000 # kg/kg_DM | |
2246 feed_ST = 0.0000 # kg/kg_DM | |
2247 feed_STd = 0.0000 # % | |
2248 feed_EE = 0.0000 # kg/kg_DM | |
2249 } | |
2250 feed{ # Amino acids | |
2251 # Type of feed: COMPLEMENT | |
2252 # Maximum incorporation in diet: 5 %FM | |
2253 # Representative INRA feed: CAA020 L-threonin | |
2254 name = CPL.AMA | |
2255 type = ingredient | |
2256 feed_eD = 0.0000 # MJ_ME/kg_DM | |
2257 feed_DMC = 1.0000 # kg_DM/kg_FM | |
2258 feed_OM = 0.9960 # kg/kg_DM | |
2259 feed_OMd = 1.0000 # % | |
2260 feed_CP = 0.7450 # kg/kg_DM | |
2261 feed_CPd = 1.0000 # % | |
2262 feed_NDF = 0.0000 # kg/kg_DM | |
2263 feed_ST = 0.0000 # kg/kg_DM | |
2264 feed_STd = 0.0000 # % | |
2265 feed_EE = 0.0000 # kg/kg_DM | |
2266 } | |
2267 feed{ # Urea | |
2268 # Type of feed: COMPLEMENT | |
2269 # Maximum incorporation in diet: 5 %FM | |
2270 # Representative INRA feed: CV0020 Urea | |
2271 name = CPL.URE | |
2272 type = ingredient | |
2273 feed_eD = 3.3890 # MJ_ME/kg_DM | |
2274 feed_DMC = 0.9940 # kg_DM/kg_FM | |
2275 feed_OM = 1.0000 # kg/kg_DM | |
2276 feed_OMd = 0.9900 # % | |
2277 feed_CP = 2.8700 # kg/kg_DM | |
2278 feed_CPd = 1.0000 # % | |
2279 feed_NDF = 0.0000 # kg/kg_DM | |
2280 feed_ST = 0.0000 # kg/kg_DM | |
2281 feed_STd = 0.0000 # % | |
2282 feed_EE = 0.0000 # kg/kg_DM | |
2283 } | |
2284 feed{ # Molasses | |
2285 # Type of feed: COMPLEMENT | |
2286 # Maximum incorporation in diet: 10 %FM | |
2287 # Representative INRA feed: CP0170 Beet molasses | |
2288 name = CPL.MOL | |
2289 type = ingredient | |
2290 feed_eD = 9.7906 # MJ_ME/kg_DM | |
2291 feed_DMC = 0.7390 # kg_DM/kg_FM | |
2292 feed_OM = 0.8660 # kg/kg_DM | |
2293 feed_OMd = 0.8250 # % | |
2294 feed_CP = 0.1000 # kg/kg_DM | |
2295 feed_CPd = 0.5800 # % | |
2296 feed_NDF = 0.0015 # kg/kg_DM | |
2297 feed_ST = 0.0000 # kg/kg_DM | |
2298 feed_STd = 0.0000 # % | |
2299 feed_EE = 0.0070 # kg/kg_DM | |
2300 } | |
2301 feed{ # Beet pulp | |
2302 # Type of feed: COMPLEMENT | |
2303 # Maximum incorporation in diet: 10 %FM | |
2304 # Representative INRA feed: CP0020 Pressed beet pulp | |
2305 name = CPL.PLP | |
2306 type = ingredient | |
2307 feed_eD = 11.5046 # MJ_ME/kg_DM | |
2308 feed_DMC = 0.4503 # kg_DM/kg_FM | |
2309 feed_OM = 0.9243 # kg/kg_DM | |
2310 feed_OMd = 0.8367 # % | |
2311 feed_CP = 0.0913 # kg/kg_DM | |
2312 feed_CPd = 0.6470 # % | |
2313 feed_NDF = 0.4827 # kg/kg_DM | |
2314 feed_ST = 0.0047 # kg/kg_DM | |
2315 feed_STd = 0.5467 # % | |
2316 feed_EE = 0.0097 # kg/kg_DM | |
2317 } | |
2318 feed{ # Milk | |
2319 # Type of feed: COMPLEMENT | |
2320 # Maximum incorporation in diet: 100 %FM | |
2321 # Representative INRA feed: CL0020 Whole milk powder | |
2322 name = CPL.MLK | |
2323 type = ingredient | |
2324 feed_eD = 18.8280 # MJ_ME/kg_DM | |
2325 feed_DMC = 0.9600 # kg_DM/kg_FM | |
2326 feed_OM = 0.9350 # kg/kg_DM | |
2327 feed_OMd = 0.9400 # % | |
2328 feed_CP = 0.2540 # kg/kg_DM | |
2329 feed_CPd = 0.7800 # % | |
2330 feed_NDF = 0.0000 # kg/kg_DM | |
2331 feed_ST = 0.0000 # kg/kg_DM | |
2332 feed_STd = 0.0000 # % | |
2333 feed_EE = 0.2510 # kg/kg_DM | |
2334 } | |
2335 feed{ # Oil | |
2336 # Type of feed: COMPLEMENT | |
2337 # Maximum incorporation in diet: 5 %FM | |
2338 # Representative INRA feed: CG0050 Soybean oil | |
2339 name = CPL.OIL | |
2340 type = ingredient | |
2341 feed_eD = 36.6937 # MJ_ME/kg_DM | |
2342 feed_DMC = 0.9980 # kg_DM/kg_FM | |
2343 feed_OM = 0.9995 # kg/kg_DM | |
2344 feed_OMd = 0.8900 # % | |
2345 feed_CP = 0.0000 # kg/kg_DM | |
2346 feed_CPd = 0.0000 # % | |
2347 feed_NDF = 0.0000 # kg/kg_DM | |
2348 feed_ST = 0.0000 # kg/kg_DM | |
2349 feed_STd = 0.0000 # % | |
2350 feed_EE = 0.9992 # kg/kg_DM | |
2351 } | |
2352 | |
2353 | |
2354 |