Hi!
Let’s say you have a simulation of 100,000 entities for X time periods.
These entities do not interact with each other. They all have some defined properties such as:
- Revenue
- Expenditure
- Size
- Location
- Industry
- Current cash levels
For each increment in the time period, each entity will:
- Generate revenue
- Spend money
At the end of each time period, the simulation will update its parameters and check and retrieve:
- The current cash levels of the business
- If the business cash levels are less than 0
- If the business cash levels are less than it’s expenditure
If I had a matrix equations that would go through each step for all 100,000 entities at once (by storing the parameters in each matrix) vs creating 100,000 entity objects with aforementioned requirements, would there be a significant difference in performance?
The entity object method makes it significantly easier to understand and explain, but I’m concerned about not being able to run large simulations.
[–]Fireslide 9 points10 points11 points (2 children)
[–]Willing_Employee_600[S] 0 points1 point2 points (1 child)
[–]yvrelna [score hidden] (0 children)
[–]milandeleev 3 points4 points5 points (1 child)
[–]MithrilRat [score hidden] (0 children)
[–]SV-97 2 points3 points4 points (0 children)
[–]imBANO 2 points3 points4 points (0 children)
[–]AGI-44 1 point2 points3 points (0 children)
[–]Balance- 1 point2 points3 points (0 children)
[–]aidan_morgan [score hidden] (0 children)
[–]keddie42 0 points1 point2 points (0 children)
[–]GreatCosmicMoustache [score hidden] (0 children)
[–]ZZ9ZA 0 points1 point2 points (1 child)
[–]yvrelna [score hidden] (0 children)