how is the value of observation updating in RL Module?

how is the value of observation updating in RL Module?

sharan_nitin
Not applicable
191 Views
4 Replies
Message 1 of 5

how is the value of observation updating in RL Module?

sharan_nitin
Not applicable

[ FlexSim 23.0.15 ]

1712741434544.png

0 Likes
Accepted solutions (1)
192 Views
4 Replies
Replies (4)
Message 2 of 5

sharan_nitin
Not applicable
0 Likes
Message 3 of 5

sharan_nitin
Not applicable

1712745787516.png

need to know how this code works?

0 Likes
Message 4 of 5

JordanLJohnson
Autodesk
Autodesk
Accepted solution

The user is responsible to set the value of the observation so that it is up-to-date when requestdecision() is called. You can set parameter values with code like this:

Model.parameters.MyParam = 5;

You can either set it as part of your model logic (in Process Flow or object triggers, etc.) or you can write code in the On Observation trigger in the RL tool.

.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 5 of 5

Jeanette_Fullmer
Community Manager
Community Manager

Hi @sharan-nitin, was Jordan Johnson's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes