Channel loss is not calculated

Issue #36 closed
Former user created an issue

I made a simple model in MODSIM to confirm the channel loss function of MODSIM. I found that if the channel loss coefficient in a link is greater than 0.5, then the channel loss is not calculated. Please see the model attached. I think, although the channel loss greater than 0.5 may be not practical issue or it is a rare case, but it is better that the solver calculates it as MODSIM allows users to input channel loss coefficient less than 1.

In addition, I input the channel coefficient as 0.4 in the attached model. Since the flow is 100 units then the loss should be 40, but the solver result in 39. I have no idea why this difference occurs.

Comments (3)

  1. Bob Lounsbury

    Thank you again!! More perfect examples! Somehow this escaped our test networks, we will add this network so this doesn't happen again. As an FYI, the MODSIM code base was converted from C++ to C# a few or so years ago and it appears a few pieces may have not been correctly translated. Anyway, I've fixed this issue and will be closing it shortly. Unfortunately, there is no workaround for this issue, but this is a serious bug so we will try to get a new release out soon.

    Thanks again!

  2. Log in to comment