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 Sep 17, 2020, 4:54 AM EDT

Please login with a confirmed email address before reporting spam

Posted: 2 weeks ago Sep 16, 2020, 7:36 AM EDT
Updated: 2 weeks ago Sep 16, 2020, 7:36 AM EDT

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: 2 weeks ago Sep 17, 2020, 4:54 AM EDT

Thanks! For the quick answer!

Thanks! For the quick answer!

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.