Can anyone code this for me ?

Joined
Dec 6, 2024
Messages
1
Reaction score
0
Hi, can someone code the following project?
Thanks goats you're the boss ๐Ÿ˜๐Ÿ˜๐Ÿ‘๐Ÿ‘.

# Natural simulation

Below is one of the projects evaluated.

It has to be done in <u>binรดme</u>! If plagiarism is detected with another group, 0 for everyone involved.

Even if you can carry out the whole of this project with a jupyter notebook, the latter will not be the most optimal for managing menus and display succession (as specified in [chapter 0](../courses/chapitre_0_jupyter_notebook.ipynb)). <u>You can</u> choose to write your code in a simple python file (extension .py). In this case, the tests for your functionality will also have to be written in the python file.

In all cases, you are expected to provide a notebook containing your explanations and algorithmic choices, and illustrating how you meet the customer's needs. You can also indicate the known limitations of your programme and suggestions.

So, to sum up, the output of your project will be either :
  • A jupyter notebook file (and associated files) containing everything OU
  • A python file containing your code and tests AND a jupyter notebook file containing everything else (and associated files).


All of this should be returned in a `.zip' archive.

โš ๏ธ Make sure that the images in your notebook have been exported before submitting, and that you have clicked on the submit button in the pedagotheque. No assessment will take place after the submission date, for whatever reason.

โš ๏ธ The first and last names of each member of the pairing must appear at the beginning of the jupyter notebook.

โš ๏ธ The submission must be made by only one member of the pair, not both.

## Minutes of the meeting with the customer

| Field | Content
|-------------------|-----------------
| 1/12/2025
| Customer** | A. Lebis
| Requirements and specifications for a simulation of a natural model

### Introduction
During our meeting, the client expressed the need to develop a simulation of a natural model involving a prey-predator model. The main objective is to be able to model how an ecosystem evolves in a given situation with specific constraints.

### Functional requirements
* Implementation of a prey-predator model:
* Implement the Lotka-Volterra predation equation between ๐Ÿ‡ and ๐ŸฆŠ

* Intricate a dual prey-predator model (2MP):
* Model the interraction between two predation systems representing the food chain pyramid, i.e. ๐Ÿ‡ eats ๐ŸŒพ, and ๐Ÿ‡ is eaten by ๐ŸฆŠ.

* Intrication of a dual prey-predator model (2MP):
* Model the interraction between two predation systems representing the food chain pyramid, i.e. ๐Ÿ‡ eats ๐ŸŒพ, and ๐Ÿ‡ is eaten by ๐ŸฆŠ.

* Study the dual 2MP model:
* Study and identify remarkable configurations (such as stable configurations) of the 2MP model.

* Visualisation of simulated individuals:
* Represent, on the command line, a 2D terrain where the different individuals of each species move (be careful, there can't be two elements on the same square): the way the animals move are left to your discretion
* Match the display to the 2MP model

* Implement the principle of seasonality:
* The cycle of changing seasons must be implemented in the simulation, which will have the effect of modifying the parameters of reproducibility and mortality of individuals in the simulation.

* Life cycle:
* When an individual is supposed to die according to your model, it will always be the oldest individuals first.


* Command line management menu :
* A command line interface to display a menu allowing you to configure the parameters of the 2MP model or load configurations that you have preset.
* Allows the user to start at a specific point in the simulation, as well as to go back in time
* Enable the placement of a type of individual in the grid (which therefore affects the number of individuals) during the simulation.
* Allow parameters to be changed during the simulation
* Enable the change of seasons to be taken into account or not

### Functional wishes
* If possible, propose a new version of the Lotka-Volterra model:
* Manage the predator's dependence not on one prey but on two โ€˜preysโ€™, i.e. its food source on the one hand and water ๐Ÿ’ง on the other -- ๐Ÿ’ง which has its own cycle to be defined.

* If possible, a realistic display:
* Match the display even more closely to the calculated model, by making the predators move on the prey (when the prey are already moving) and birth individuals next to others of the same species. To do this, the client suggests looking at the evolution of the population over n time steps and then using this to direct the individuals.

### Concerns and Constraints

| Field | Content
|-------------------|-----------------
|Budget| This doesn't seem to be a problem for the client.
|**The project must be delivered <u>before</u> 24 December 2024, 23:59.
|Delivery method| The project is to be delivered, with all its content and ancillary resources, on the educational library, and only.
|Training| A potential need for end-user training has been identified, so it is important to document the application produced.
|Intellectual Property| The project will be taken over internally after delivery, the client expects the code to be documented if possible using documentation comments and the pydoc command.
|Functional Guarantee| The customer requires a guarantee of the functional requirements through testing.

### Technical Appendices
#### Lotka-Volterra predation equations

$$frac{\text{d}x}{\text{d}t}=x(t)(\alpha - \beta y(t))$$

$$frac{\text{d}y}{\text{d}t}=x(t)(\delta x(t) - \gamma)$$

Where
  • $t$ is time ;
  • $x(t)$ is the number of prey (๐ŸŒพ or ๐Ÿ‡) as a function of time.
  • $y(t)$ is the number of predators (๐Ÿ‡ or ๐ŸฆŠ) as a function of time;
  • the derivatives $\text{d}x$ and $\text{d}y$ represent the variation in the populations of prey and predators respectively over time.

The parameters characterising the two species $x$ and $y$ can be interpreted as follows,
  • $\alpha$, the reproducibility rate intrinsic to species x, in other words the prey ;
  • $\beta$, the prey mortality rate due to the predators encountered;
  • $\delta$, the predator reproduction rate as a function of the prey encountered and eaten;
  • $\gamma$, the intrinsic mortality rate of predators (here constant and independent of the number of prey).
 
Joined
Sep 21, 2022
Messages
196
Reaction score
26
In 17 days?

It would take longer than 17 days just to properly test a program like that.

This specification reminds me of the Wa-Tor program.

Good luck.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,073
Messages
2,570,539
Members
47,197
Latest member
NDTShavonn

Latest Threads

Top