question

Damini C avatar image
0 Likes"
Damini C asked Damini C commented

Reinforcement learning

Hi

I am trying to simulate model with AI using reinforcement learning. I am following your tutorial of flexsim 2022 (https://docs.flexsim.com/en/22.1/ModelLogic/ReinforcementLearning/Training/Training.html) . But I am facing issue in python It cant able to fetch observation data. It did not update further value.

whatsapp-image-2022-05-23-at-10950-pm.jpeg


please help me to solve this problem


FlexSim 22.1.1
reinforcement learningpython
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Phil BoBo avatar image
1 Like"
Phil BoBo answered Damini C commented

Please post your ChangeovertimesRL.fsm file. We cannot tell what is wrong from just a screenshot of the python output.

Without more information, my best guess for what is wrong is that (1) you skipped step 2.16 where you check the Pull box, (2) you skipped step 3.26 where you configure a decision event, or (3) you have a stop time that is causing your model to not run. But we can't tell you for sure what is wrong without seeing the model.

If the model doesn't get to a decision event to send another observation and request another action, then the python script will be stuck waiting for that to happen.

· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.