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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

"This value must be real." message when inserting chart components

RM_12291418
4-Participant

"This value must be real." message when inserting chart components

Hello everyone, I hope you are doing fine!

I recently calculated soil friction resistance force along subsea pipeline using Mathcad Prime 9.0.0.0.

However, when I was inserting chart components to visualize the force along subsea pipeline, I got the message "This value must be real." in the chart component.


Can someone please help? I attached the full calculation below.

RM_12291418_0-1757402161395.png

 

3 REPLIES 3

Hi 

One way is like this:

Capture.JPG

Cheers

Terry

Werner_E
25-Diamond I
(To:RM_12291418)

You just forgot to use the "Vectrization operator", that's all you need to add to fix the problem!

Of course you should use km instead of just m when you divide KP and chose a different scale at the ordinate axis (highest value for example 4000 or let the Chart component select it automatically).

You are using a vector (KP) as argument for a function (Ffr) which expects a scalar argument (KP is finally used as limit of integration which must be a scalar). That's the reason for the error and that's what vectorization (the arrow over the expression) is made for 😉

Werner_E_0-1757422527571.png

 

You can find the "vectorization" operator either in the 'Operators' menu or use the keyboard shortcut Ctrl+Shift+6

Werner_E_1-1757423245834.png

I am not sure but If you still see the far too tiny font size and too small line width (as seen partly in the screenshots above) when you open the sheet you may have to open the Chart component and close it again to get rid of them. Reason is that I use a small notebook screen with a high 4K resolution and therfore a large Windows scale. The Chart component unfortunately is implemented in a rather amateurish way (also in other respects) and can't deal with that. This and because the component is far too slow reacting makes it unusable for me.

 

Prime 9 sheet attached

 

Hi @RM_12291418,

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.

Of course, if you have more to share on your issue, please pursue the conversation.

Thanks,


Catalina
PTC Community Moderator
PTC
Announcements

Top Tags