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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Translate the entire conversation x

Interpolation with pwrfit and solve equation with units

ESAB
10-Marble

Interpolation with pwrfit and solve equation with units

Hello,
I'm using a worksheet in Mathcad prime 11 with the pwrfit function to interpolate the curve of electronic components.
Since I like working with units in Mathcad, I slightly modified the interpolation coefficients to include units.

Solve this kind of equation, but with the interpolation VPROT = F(I). I is the result

Solving_I.png


My goal is to solve a function that uses this interpolation. The solve function doesn't work, but I can find the solution for a single point using a solve block and the Find function.

 

Solve_Not_OK.png

 

Find_OK.png

 

Could you help me to solve the solve function 🙂

 

Thank you

See attached file.

 

 

ACCEPTED SOLUTION

Accepted Solutions
ESAB
10-Marble
(To:Werner_E)

Hi Werner_E,

 

Thank you very much for your replying.

Initially, I wanted to solve it using an equation like: RPY_WE.png in order to determine I as a function of the parameters. But your solution ends up giving the same result, which is perfect.


Thank you and have a great day!"

 

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:ESAB)

The symbolics does not know anything about units. It does not know how amperes and ohms are related, or kilovolts and volts and treats them all as unknown variables. So using the symbolic "solve" usually makes more sense to apply to a symbolic equation without any variables being defined.

 

But as you are using an interpolating function found by "pwrfit" I guess you are not looking for a symbolic solution.

From what I see in your sheet you are just looking for a (numeric, but unit-aware) function dependent on RS, correct?

You can get this by parametrizing the solve block, that way turning it into a function of RS.

Werner_E_0-1759845664098.png

Instead of a solve block with "find" you could also use the "root" function:

Werner_E_1-1759845721162.png

Prime 11 file attached

 

 

ESAB
10-Marble
(To:Werner_E)

Hi Werner_E,

 

Thank you very much for your replying.

Initially, I wanted to solve it using an equation like: RPY_WE.png in order to determine I as a function of the parameters. But your solution ends up giving the same result, which is perfect.


Thank you and have a great day!"

 

Announcements

Top Tags