issue with user defined diff

issue with user defined diff - [not a bug] - 消息

#1 已发布: 2018/1/29 16:41:29
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Copy this section, paste in 6484 ... turns read.
Don't understand error message ?

Bug 6484.sm (10.84 KiB)已下载 1298 次。
#2 已发布: 2018/1/29 21:05:52
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

... not a bug wrt the construction.
Simply, it creates "shadow in the context" past some of the Alvaro coolprop.
It works at top of the work sheet. Whatever: can't understand the error message.
#3 已发布: 2018/1/30 02:34:50
Radovan Omorjan

Radovan Omorjan

325个赞和1个踩,共2,052个帖子。

组: Moderator

Wrote

... not a bug wrt the construction.
Simply, it creates "shadow in the context" past some of the Alvaro coolprop.
It works at top of the work sheet. Whatever: can't understand the error message.



Sorry Jean, I do not quite understand your point. The picture of regions with the error are out of the context. What was the value of object "f" and "g" prior the error messages? The same name "f" can have a variable "f" or a function "f(x)" and they can exist both. Maybe there might be a problem.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#4 已发布: 2018/1/30 10:51:07
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

Wrote

Sorry Jean, I do not quite understand your point. The picture of regions with the error are out of the context. What was the value of object "f" and "g" prior the error messages? The same name "f" can have a variable "f" or a function "f(x)" and they can exist both. Maybe there might be a problem.

Regards,
Radovan



Within the CoolProp context, f & g may have relationship with their respective

f(T,v) Helmholtz free energy equation,
g(T,p) Gibbs free energy equation

It works at top of the work sheet, but not within the context: shadow in the context.

Thanks Radovan.

Maths CoolProp Alvaro.sm (61.76 KiB)已下载 1334 次。

2位用户喜欢此帖子
Davide Carpi 2018/1/30 11:05:00, Radovan Omorjan 2018/1/31 02:48:00
#5 已发布: 2018/1/30 11:04:41
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

Ah, now I see it...

seems related to the fact that the diff function is overridden in amid of the worksheet (see Ndiff, Nint collapsed area)... the unapply() function makes anything (even numbers) as functions, must be improved a little
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
Radovan Omorjan 2018/1/31 02:48:00
  • 有新帖
  • 无新帖