Skip to content

Commit

Permalink
final simulation code
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Raghav committed Jan 6, 2025
1 parent 1174ab4 commit f24d123
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Simulation/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@ def generate_milk_production():
def generate_body_condition_score():
return round(random.uniform(2.5, 4.5), 1)

def generate_estrous_cycle():
return random.randint(18, 25)

def generate_feed_intake():
return round(random.uniform(10.0, 30.0), 1)

Expand All @@ -76,7 +73,6 @@ def parameter_worker(slave_id):
"activity_level": datetime.min,
"milk_production": datetime.min,
"body_condition_score": datetime.min,
"estrous_cycle": datetime.min,
"feed_intake": datetime.min,
"rumen_ph": datetime.min
}
Expand All @@ -91,7 +87,6 @@ def parameter_worker(slave_id):
("activity_level", generate_activity_level),
("milk_production", generate_milk_production),
("body_condition_score", generate_body_condition_score),
("estrous_cycle", generate_estrous_cycle),
("feed_intake", generate_feed_intake),
("rumen_ph", generate_rumen_ph),
]:
Expand Down

0 comments on commit f24d123

Please sign in to comment.