Saturday, February 26, 2011

CCM-DCM2 Model

Hello Folks

Did anyone find the model of CCM-DCM2 work? I can't get the output with this model.

5 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. CCM-DCM2 model has 2 lines for Ga.
    Try one or the other.

    I works with:
    Ga 0 a value={MAX(i(Et),0)}

    It doesn't work with:
    Ga 0 a value={i(Et)}

    ReplyDelete
  3. Good point - thanks. I have updated switch.lib so that:

    Ga 0 a value={MAX(i(Et),0)}

    is now default, which works fine in the HW7 example. Note, however, that this version may result in convergence problems in other examples.

    ReplyDelete
  4. I've found that using .nodeset helps a lot with this problem. If your output node is labeled as out, then you can add the following to help with convergence:

    .nodeset v(out)=5

    With this extra line, my simulation converges with either version of CCM-DCM2.

    ReplyDelete

Note: Only a member of this blog may post a comment.