<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reinforcement learning in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601712#M95248</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 Ok, thanks for you time!
&lt;/DIV&gt;</description>
    <pubDate>Thu, 01 Feb 2024 06:54:15 GMT</pubDate>
    <dc:creator>Clara1</dc:creator>
    <dc:date>2024-02-01T06:54:15Z</dc:date>
    <item>
      <title>Reinforcement learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601707#M95243</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 24.0.1 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;&lt;SPAN id="isPasted" style="color: rgb(51, 51, 51); font-family: ;"&gt;I am trying to simulate model with AI using reinforcement learning. I am following your tutorial of flexsim 2022 (&lt;/SPAN&gt;&lt;A rel="nofollow" href="https://docs.flexsim.com/en/22.1/ModelLogic/ReinforcementLearning/Training/Training.html"&gt;https://docs.flexsim.com/en/22.1/ModelLogic/ReinforcementLearning/Training/Training.html&lt;/A&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: ;"&gt;) . But I am facing issue in python It cant able to fetch observation data. It did not update further value.&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;&lt;SPAN style="color: rgb(51, 51, 51); font-family: ;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1706610806990.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522122iAC8BE32B6BECFF27/image-size/large?v=v2&amp;amp;px=999" role="button" title="1706610806990.png" alt="1706610806990.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1706610817993.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522121iE754735250647862/image-size/large?v=v2&amp;amp;px=999" role="button" title="1706610817993.png" alt="1706610817993.png" /&gt;&lt;/span&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/temp/78551-changeovertimesrl.fsm" target="_blank"&gt;ChangeoverTimesRL.fsm&lt;/A&gt;&lt;/P&gt;
 &lt;P&gt;Version 24.0.2&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Jan 2024 10:34:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601707#M95243</guid>
      <dc:creator>Clara1</dc:creator>
      <dc:date>2024-01-30T10:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reinforcement learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601708#M95244</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P id="isPasted"&gt;Hello,&lt;/P&gt;&lt;P&gt;I've reviewed your model and it appears that it should be working perfectly. However, it seems there might be a bug causing the issue you're experiencing.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I'm sending you a modified model that resolves this problem. I believe this is a better approach and I highly recommend it. The problem lies in the Decision Events within the Reinforcement Learning tab. We’re going to delete them all (as they seem to be failing) and we’ll call the RL from another place.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The solution involves using ProcessFlow to create a token each time an event triggers, and then calling the RL from a customCode. The default code for this is located in control. After this, we remove the token.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;&lt;A rel="noopener noreferrer" href="https://answers.flexsim.com/storage/attachments/78553-changeovertimesrl.fsm" target="_blank"&gt;changeovertimesrl.fsm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Jan 2024 13:04:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601708#M95244</guid>
      <dc:creator>nilP8GEZ</dc:creator>
      <dc:date>2024-01-30T13:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reinforcement learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601709#M95245</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Thank you so much!!
&lt;/DIV&gt;</description>
      <pubDate>Wed, 31 Jan 2024 09:19:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601709#M95245</guid>
      <dc:creator>Clara1</dc:creator>
      <dc:date>2024-01-31T09:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reinforcement learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601710#M95246</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hello, even tough your answer solved the issue, i have kept going with the training part and i'm facing another problem now.&lt;/P&gt;
 &lt;P&gt;It seems that, because we changed the way observation and action space are defined, it's not able to inherit from the gymnasium class correctly. (Error image attached).&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1706769166412.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1522120i904C61533940F2C0/image-size/large?v=v2&amp;amp;px=999" role="button" title="1706769166412.png" alt="1706769166412.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Thanks in advance!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Feb 2024 06:35:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601710#M95246</guid>
      <dc:creator>Clara1</dc:creator>
      <dc:date>2024-02-01T06:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reinforcement learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601711#M95247</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello Clara, &lt;/P&gt;&lt;P&gt;We will try to look at it as soon as possible. &lt;/P&gt;&lt;P&gt;However, since it’s not the same problem as before, I strongly recommend that you create a new question, so it will have more visibility for all users&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Feb 2024 06:40:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601711#M95247</guid>
      <dc:creator>nilP8GEZ</dc:creator>
      <dc:date>2024-02-01T06:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reinforcement learning</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601712#M95248</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Ok, thanks for you time!
&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Feb 2024 06:54:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/reinforcement-learning/m-p/13601712#M95248</guid>
      <dc:creator>Clara1</dc:creator>
      <dc:date>2024-02-01T06:54:15Z</dc:date>
    </item>
  </channel>
</rss>

