cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

I am getting "Unknown error : bad%_dimension" in monte carlo

SK_9833315
Participant

I am getting "Unknown error : bad%_dimension" in monte carlo

I am getting below error while performing monte carlo. Please find the attachment.

13 REPLIES 13

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

Mathcad-sheet, please, not picture!

Tags (1)

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

Please find the attachment for mathcad file.

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

You have a double underscore in the definitions for mu_Go1_R2t and mu_Go2_R2b, one too many just before the 'G'. And also in the table Rvals.

 

Success!
Luc

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

removed one underscore. still the same error at Rp_fn.

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

Units should be OK, since:

LucMeekes_0-1615885786453.png

and

LucMeekes_1-1615885805456.png

.

You have brackets around sigma_r2...?

 

Success!
Luc

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

Removed the brackets. Still the same error.

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

I have no further clues, sorry. (And I'm limited to Express = montecarlo doesn't work for me.)

 

Luc

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

Its ok. Thanks.

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

You should ALWAYS attach the worksheet, or a worksheet, that demonstrates to problem that you have.

From quick observation of the picture, you equation appears to be unit-balanced. But:

If your R values (R0, R1 and R2s) have a sigma of 0, then you probably shouldn't include them in the montecarlo.

However I doubt that you are so sure these resistor values are always exactly the same value.

So another option is to have them vary by at least 1 Ohm or so.

 

Success!
Luc

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

Please find the attachment for the mathcad file.

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

A single attachment suffices....

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

image.pngimage.png

Tags (1)

Re: I am getting "Unknown error : bad%_dimension" in monte carlo

Prime seems not like the units! Delete the units Siemens and it works.

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."