Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/animal parameters #41

Closed
wants to merge 4 commits into from
Closed

Conversation

lorenzosenarigo
Copy link
Contributor

No description provided.

Copy link
Contributor

@Johnny-MB Johnny-MB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment to rates

@@ -20,25 +20,43 @@ public class Bison : AbstractAnimal {
public override double Longitude { get; set; }

#endregion

#region Constants
private readonly Dictionary<AnimalLifePeriod, double> _satietyIntakeHourly = new()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename to starvationRate

{ AnimalLifePeriod.Adolescent, 1.81 }, //20-29 kg per day
{ AnimalLifePeriod.Adult, 3.75 } //60 kg per day, 113 liter
//value adjusted to maxSatiety = 100
{ AnimalLifePeriod.Calf, MaxSatiety * DailyFoodAdult / 16 / DailyFoodAdult },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comment explaining calculation

@lorenzosenarigo
Copy link
Contributor Author

  • rename satietyintakehourly
  • Edit Calf starvation rate

@Johnny-MB Johnny-MB deleted the refactor/animal_parameters branch January 28, 2024 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants