Manpower optimium and maximum for each infrastructure #12

Closed
opened 2022-06-26 12:27:33 +02:00 by Sceptique · 3 comments
Owner

Add to each infrastructure:

  • manpower_efficiency: {function, coefs} curve, with x the number of pop of f(x) to productivity factor. Most should be logarithmic so it as an optimal value
  • manpower_max: {function, coefs} curve to limit the manpower by tier (more tier, more manpower max)

Add a function "manpower_standard" that binds to f[base, min](x) = log[base](x - min + base)

Add to each infrastructure: * `manpower_efficiency: {function, coefs}` curve, with `x` the number of pop of `f(x)` to productivity factor. Most should be logarithmic so it as an optimal value * `manpower_max: {function, coefs}` curve to limit the manpower by tier (more tier, more manpower max) Add a function "manpower_standard" that binds to `f[base, min](x) = log[base](x - min + base)`
Sceptique added this to the v0.2: Get population nicer milestone 2022-06-26 12:27:33 +02:00
Author
Owner

image

![image](/attachments/9ad7f6b3-56b8-4c5a-a082-2d39d4e9b15b)
Author
Owner

Here we can see a simple log10(x - 1000) means:

  • 100% manpower (1010) = 1
  • 105% manpower = 1.7

This kind of curve shows the ratio that is the most easy to find is around 150% manpower (2.7), after that it requires lots of manpower for minimal improvement (2000%=x2.7, 5000%=x4.7, so it cost 2,5x more manpower to increase ratio by x0.7, and it gets worse and worse)

image

I don't think this should be the default curve

Here we can see a simple log10(x - 1000) means: - 100% manpower (1010) = 1 - 105% manpower = 1.7 This kind of curve shows the ratio that is the most easy to find is around 150% manpower (2.7), after that it requires lots of manpower for minimal improvement (2000%=x2.7, 5000%=x4.7, so it cost 2,5x more manpower to increase ratio by x0.7, and it gets worse and worse) ![image](/attachments/1ebe76e3-3d49-48d7-a9d7-5284f7a96bd0) I don't think this should be the default curve
106 KiB
Author
Owner

Note: I found a good function with graphic analysis:

f(x) = log2(x / OPTIMAL) + 1

  • Minimum workers to produce things: OPTIMAL / 2 + 1
  • factor increase quickly up to OPTIMAL for x1
  • factor keep increasing and require x2 manpower for +1 ratio

Possibile improvments:

  • exponential curve for 0 < x < OPTIMAL to reduce a lot efficiency between [0, OPTIMAL/2]

image

image

Note: I found a good function with graphic analysis: `f(x) = log2(x / OPTIMAL) + 1` * Minimum workers to produce things: OPTIMAL / 2 + 1 * factor increase quickly up to OPTIMAL for x1 * factor keep increasing and require x2 manpower for +1 ratio Possibile improvments: * exponential curve for 0 < x < OPTIMAL to reduce a lot efficiency between \[0, OPTIMAL/2] ![image](/attachments/b09c3ca8-f8a5-4d73-9da5-2e4607d6efbf) ![image](/attachments/15be90ff-0c1b-4b0a-91e2-d1f15ba4ff12)
Sceptique added the
economy
label 2022-06-28 13:38:31 +02:00
Sceptique added this to the v0.2 project 2022-07-03 12:34:34 +02:00
Sign in to join this conversation.
No Label
IA
UI
bug
economy
think
war
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: TETU/Core#12
No description provided.