Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Error using multiple Parameter for Sweeps

Please login with a confirmed email address before reporting spam

Hello Comsol-Community,

i get an error when i try to calculate a study with two Parameter Sweeps. The error say something like "Parameter list dont have the same length for the thin sweep type" (Direct german translation "

Friendly Greetings


2 Replies Last Post 2020年9月17日 GMT-4 04:54

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2020年9月16日 GMT-4 07:36
Updated: 4 years ago 2020年9月16日 GMT-4 07:36

Hello,

There are two ways of running sweeps with multiple parameters:

  • All combinations ; then parameter list for each parameter can have different lengths N1, N2, N3, ... because all N1 × N2 × N3 × ... cases will be computed
  • Specified combinations ; then all parameter lists must be of equal length N, because only N combinations will be computed, using the 1st value of each list, then the 2nd, etc. until the N-th

You must have set the sweep type as "Specified combinations" and your parameter lists have different lengths. So depending on what you want you should switch to "All combinations" or equalize the lists' lengths.

Hello, There are two ways of running sweeps with multiple parameters: * All combinations ; then parameter list for each parameter can have different lengths N1, N2, N3, ... because all N1 × N2 × N3 × ... cases will be computed * Specified combinations ; then all parameter lists must be of equal length N, because only N combinations will be computed, using the 1st value of each list, then the 2nd, etc. until the N-th You must have set the sweep type as "Specified combinations" and your parameter lists have different lengths. So depending on what you want you should switch to "All combinations" or equalize the lists' lengths.

Please login with a confirmed email address before reporting spam

Posted: 4 years ago 2020年9月17日 GMT-4 04:54

Thanks! For the quick answer!

Thanks! For the quick answer!

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.