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

Age of first employ is different at setup and run in the netlogo code #203

Open
mariopaolucci opened this issue Oct 9, 2020 · 2 comments
Labels
bug Something isn't working mesa This issue is related to the development of the model in python-mesa netlogo This issue is related to the development of the model in netlogo

Comments

@mariopaolucci
Copy link
Contributor

The find-job procedure acts on agents 16 years old or older while in the "go" procedure, the same function (find-job) acts on agents older than 18 years.

Was it intentional or not? Wouldn't it be better to unify that?

@mariopaolucci mariopaolucci added the bug Something isn't working label Oct 9, 2020
@ambitious-octopus
Copy link
Contributor

In the python model, the attribute model.age_enter_labor_market that regulates the age of entry into the labor market has been defined, default value >= 16.

@ambitious-octopus ambitious-octopus added netlogo This issue is related to the development of the model in netlogo mesa This issue is related to the development of the model in python-mesa labels Nov 16, 2020
@ambitious-octopus
Copy link
Contributor

Another problem of inconsistency related to this:

PROTON-OC/PROTON-OC.nlogo

Lines 829 to 835 in 5e7e34a

to setup-inactive-status
ask persons [
if (age > 14 and age < 65 and job-level = 1 and random-float 1 < (item 0 table:get labour-status-by-age-and-sex list male? age) ) [
set job-level 0
]
]
end

Line 831 should be:
if (age >= 16 and age < 65 and job-level .......

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working mesa This issue is related to the development of the model in python-mesa netlogo This issue is related to the development of the model in netlogo
Projects
None yet
Development

No branches or pull requests

2 participants