Rank: Newbie
Groups: Registered
Joined: 14/05/2021(UTC) Posts: 3
|
hi, I'm a beginner I get an error in the calculation error : result is above max. Allowed positive number How can I solve it? impedance.sm (35kb) downloaded 10 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Originally Posted by: takez hi, I'm a beginner I get an error in the calculation
error : result is above max. Allowed positive number
How can I solve it?
Change your calculation result from symbolic to numeric. You can do it with eval() since they are all numbers. Regards
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 14/05/2021(UTC) Posts: 3
|
Thank you I understand the cause of the error
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: takez I understand the cause of the error eval() is a general rule but an absolute rule. Many projects fail from eval(,). SS 6179 does not complain as you constructed. eval(,) is applied afterwards to isolate/accelerate.
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Good application case to globalize within the program. ... in my SS 6179 timing drops from 2.6 s down to 1.6 s
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 14/05/2021(UTC) Posts: 3
|
Thank you. I was able to calculate the frequency characteristics (PP2.sm) But when I modify a circuit, I get an error even with eval. (PPS.sm) it's very difficult. PPS.sm (177kb) downloaded 9 time(s). PP2.sm (168kb) downloaded 7 time(s).
|
|
|
|
Rank: Guest
Groups: Registered
Joined: 04/07/2015(UTC) Posts: 6,866 Was thanked: 981 time(s) in 809 post(s)
|
Originally Posted by: takez Thank you. I was able to calculate the frequency characteristics (PP2.sm) But when I modify a circuit, I get an error even with eval. (PPS.sm) it's very difficult. ... sorry, can't help: this document opens freak SS 6179. You seem to put too much that can't be debugged piece wise.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 28/08/2014(UTC) Posts: 1,356 Was thanked: 815 time(s) in 516 post(s)
|
Originally Posted by: takez Thank you. I was able to calculate the frequency characteristics (PP2.sm) But when I modify a circuit, I get an error even with eval. (PPS.sm) it's very difficult. PPS.sm (177kb) downloaded 9 time(s). PP2.sm (168kb) downloaded 7 time(s). Hi Takez. Yes, it's very difficult recognize or even guess where the program needs some evals. Also, putting them everywhere make unreadable the procedures. In the case of your PPS.sm that's SMath stores into Z without eval and this with it So, for PPS.sm there is where you need to use eval, and seems that then all other calculations works. Best regards Alvaro.
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/07/2013(UTC) Posts: 1,128 Was thanked: 509 time(s) in 339 post(s)
|
Razonar's is the correct solution. Deleting my post.
|
1 user thanked overlord for this useful post.
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.