Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Re: sensitivity analysis in equation

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-20-2018
07:06 AM

08-20-2018
07:06 AM

Hello,

can I perform a sensitivity analysis with Mathcad Prime 4.0? As a result I would like to know which parameter has the greatest effect on the Output. There are local and global sensitivity analysis. At local sensitivities, only one parameter is varied and all others are kept constant. Globals also indicate the interaction between the Parameters. Or maybe there is another oppurtunity.

Thank you

Solved! Go to Solution.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-21-2018
11:54 AM

19 REPLIES 19

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-20-2018
07:35 AM

08-20-2018
07:35 AM

Re: sensitivity analysis in equation

@s-soberh wrote:

Hello,

can I perform a sensitivity analysis with Mathcad Prime 4.0?

Guess yes, but not out of the box. It looks like it would require some programming in Prime.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-20-2018
09:52 AM

08-20-2018
09:52 AM

Re: sensitivity analysis in equation

There are multiple ways it could be done.

a.) programming as Werner suggests. Perhaps the most robust of the solutions

b.) Redefine one variable at a time as a random vector (runif works well) and vectorize any equations as necessary

c.) built in montecarlo function. You can change each variable's standard deviation individually. Make stddev zero for all but one variable and see how the output changes for each one.

Highlighted
##

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-20-2018
10:47 AM

08-20-2018
10:47 AM

Re: sensitivity analysis in equation

Maybe something like this

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-20-2018
11:35 AM

08-20-2018
11:35 AM

Re: sensitivity analysis in equation

Prime is very proud of their "Design of Experiments" functions. There is a function "effects" that looks like it might do what you're looking for (if you can figure out how to apply it.)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-20-2018
01:13 PM

08-20-2018
01:13 PM

Re: sensitivity analysis in equation

DOE is also implemented in real Mathcad.

Maybe this doc can help additionally to understand how to set it up

http://gekor-it.de/media/442a9e0d3eafb80effff806bfffffff4.pdf

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-20-2018
05:59 PM

08-20-2018
05:59 PM

Re: sensitivity analysis in equation

I came up with this to make a tornado graph (and histograms) from a monte carlo. The monte carlo is run several times, wherein only one variable is allowed any deviation at a time. Not the prettiest graph, but gets the job done. (Simple calculation looking at force output of a piston where the variables are diameter, pressure and friction)

4.0 attached

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-20-2018
02:00 AM

08-20-2018
02:00 AM

Re: sensitivity analysis in equation

Based on your message, I tried it with the Monte Carlo. Unfortunately, I do not know how to continue. Maybe someone has the time and the desire to look at it. It would be great if you could write down the necessary lines. Best with a graph, which parameter has the most influence.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-21-2018
08:41 AM

08-21-2018
08:41 AM

Re: sensitivity analysis in equation

Easy enough, you just have to replace the relevant input data in my sheet. Unless you want something different.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

08-21-2018
09:27 AM

08-21-2018
09:27 AM

Re: sensitivity analysis in equation

Many Thanks DJF for your quick support.

I would have made a small change, but the values in the graphs do not match the means and standard deviations. I've added two more parameters, but it looks like it's not working anymore, although in my opinion I've changed everything.

Do I have to change anything in the program?

Top Tags