<?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: Floworks: loading and unloading ships using Basic berth in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/floworks-loading-and-unloading-ships-using-basic-berth/m-p/13642446#M96277</link>
    <description>&lt;P&gt;The steps I took to debug your model where:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check the error msg and stop the model just before that time&lt;/LI&gt;&lt;LI&gt;I found which activity was setting the content of the tank:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrick_zweekhorst_0-1747828235295.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1535772iA8EB4089D35D35ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrick_zweekhorst_0-1747828235295.png" alt="patrick_zweekhorst_0-1747828235295.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;I placed a breakpoint in the code, and that showed me that the maximum content was changed, while there was more product in the tank.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then for your new comment. You want to assign 19,749. This is not done, so it must go wrong where that label value is retrieved:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrick_zweekhorst_1-1747828342714.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1535773iC0EFB350CDA2B6CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrick_zweekhorst_1-1747828342714.png" alt="patrick_zweekhorst_1-1747828342714.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I click on the token I see that token.lb_fornecimento has the value 1 and token.CompartmentIndex has the value 1.&lt;BR /&gt;Looking in the table does give a distribution that can give 734.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Maybe the thing that goes wrong is the decide? That you do not want to go to this assign labels activity?&lt;BR /&gt;&lt;BR /&gt;The main debugging thing I did is to step through the activities and see what is happening&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 May 2025 11:58:21 GMT</pubDate>
    <dc:creator>patrick_zweekhorst</dc:creator>
    <dc:date>2025-05-21T11:58:21Z</dc:date>
    <item>
      <title>Floworks: loading and unloading ships using Basic berth</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/floworks-loading-and-unloading-ships-using-basic-berth/m-p/13641255#M96261</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on a model for loading and unloading ships using the Basic Berth. The loading part is working fine, but when a ship arrives for unloading, I get the following error:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;time:1127.656910 Entered new max content is smaller than the current content at P02/FlowVesselT21/Tank Content is reduced to maximum content&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;From what I've checked, the access to the information seems to be correctly set up, but the model isn't retrieving the values from the table as expected.&lt;/P&gt;&lt;P&gt;The model is attached in case anyone would like to take a closer look.&lt;/P&gt;&lt;P&gt;Has anyone faced this issue before or could help me understand what might be going wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FlexSim 24.0.1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 21:11:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/floworks-loading-and-unloading-ships-using-basic-berth/m-p/13641255#M96261</guid>
      <dc:creator>kelvin-barbosa</dc:creator>
      <dc:date>2025-05-20T21:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Floworks: loading and unloading ships using Basic berth</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/floworks-loading-and-unloading-ships-using-basic-berth/m-p/13641815#M96266</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/17311431"&gt;@kelvin-barbosa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have looked at your model and have found the following.&lt;/P&gt;&lt;P&gt;The first time you get the exception (at time 1448.37) the vessel that you are going to unload arrives full at the berth.&lt;/P&gt;&lt;P&gt;The content of the tank of that vessel is 19749 when the vessel arrives.&lt;/P&gt;&lt;P&gt;Your logic is than going to change the maximum content of the tank in the vessel to 734.01.&lt;/P&gt;&lt;P&gt;However, the content of the tank is still 19749.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know which of the two is where it goes wrong. Either the new content is incorrect, or that is correct but you will need to make a small change to the logic.&lt;/P&gt;&lt;P&gt;If the new content is correct, you will first need to set the new content of the tank before changing the maximum content.&lt;/P&gt;&lt;P&gt;So, something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrick_zweekhorst_0-1747808249399.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1535634i575F9EE15FFF0934/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrick_zweekhorst_0-1747808249399.png" alt="patrick_zweekhorst_0-1747808249399.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this help you further?&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 06:17:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/floworks-loading-and-unloading-ships-using-basic-berth/m-p/13641815#M96266</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2025-05-21T06:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: Floworks: loading and unloading ships using Basic berth</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/floworks-loading-and-unloading-ships-using-basic-berth/m-p/13642404#M96276</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;My goal is to dump 19,749, but I can't figure out why the logic is using the value 734.01.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;In addition, I would like to learn how to properly debug in FlexSim.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Is there a best practice or tool within the software that can help me find exactly where the error is in the logic?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 11:26:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/floworks-loading-and-unloading-ships-using-basic-berth/m-p/13642404#M96276</guid>
      <dc:creator>kelvin-barbosa</dc:creator>
      <dc:date>2025-05-21T11:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Floworks: loading and unloading ships using Basic berth</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/floworks-loading-and-unloading-ships-using-basic-berth/m-p/13642446#M96277</link>
      <description>&lt;P&gt;The steps I took to debug your model where:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Check the error msg and stop the model just before that time&lt;/LI&gt;&lt;LI&gt;I found which activity was setting the content of the tank:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrick_zweekhorst_0-1747828235295.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1535772iA8EB4089D35D35ED/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrick_zweekhorst_0-1747828235295.png" alt="patrick_zweekhorst_0-1747828235295.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;I placed a breakpoint in the code, and that showed me that the maximum content was changed, while there was more product in the tank.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then for your new comment. You want to assign 19,749. This is not done, so it must go wrong where that label value is retrieved:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="patrick_zweekhorst_1-1747828342714.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1535773iC0EFB350CDA2B6CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="patrick_zweekhorst_1-1747828342714.png" alt="patrick_zweekhorst_1-1747828342714.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I click on the token I see that token.lb_fornecimento has the value 1 and token.CompartmentIndex has the value 1.&lt;BR /&gt;Looking in the table does give a distribution that can give 734.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Maybe the thing that goes wrong is the decide? That you do not want to go to this assign labels activity?&lt;BR /&gt;&lt;BR /&gt;The main debugging thing I did is to step through the activities and see what is happening&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 11:58:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/floworks-loading-and-unloading-ships-using-basic-berth/m-p/13642446#M96277</guid>
      <dc:creator>patrick_zweekhorst</dc:creator>
      <dc:date>2025-05-21T11:58:21Z</dc:date>
    </item>
  </channel>
</rss>

