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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

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

SK_9833315
5-Regular Member

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

Mathcad-sheet, please, not picture!

SK_9833315
5-Regular Member
(To:ValeryOchkov)

Please find the attachment for mathcad file.

LucMeekes
23-Emerald III
(To:SK_9833315)

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

SK_9833315
5-Regular Member
(To:LucMeekes)

removed one underscore. still the same error at Rp_fn.

LucMeekes
23-Emerald III
(To:SK_9833315)

Units should be OK, since:

LucMeekes_0-1615885786453.png

and

LucMeekes_1-1615885805456.png

.

You have brackets around sigma_r2...?

 

Success!
Luc

SK_9833315
5-Regular Member
(To:LucMeekes)

Removed the brackets. Still the same error.

LucMeekes
23-Emerald III
(To:SK_9833315)

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

 

Luc

SK_9833315
5-Regular Member
(To:LucMeekes)

Its ok. Thanks.

LucMeekes
23-Emerald III
(To:SK_9833315)

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

SK_9833315
5-Regular Member
(To:LucMeekes)

Please find the attachment for the mathcad file.

LucMeekes
23-Emerald III
(To:SK_9833315)

A single attachment suffices....

ttokoro
19-Tanzanite
(To:SK_9833315)

image.pngimage.png

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

Announcements