issue with user defined diff

issue with user defined diff - [not a bug] - Messaggi

#1 Pubblicato: 29/01/2018 16:41:29
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

Bug 6484.sm (10,84 KiB) scaricato 1284 volta(e).
#2 Pubblicato: 29/01/2018 21:05:52
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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 Pubblicato: 30/01/2018 02:34:50
Radovan Omorjan

Radovan Omorjan

325 apprezzamenti e 1 disapprezzamenti in 2.052 post.

Gruppo: 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 Pubblicato: 30/01/2018 10:51:07
Jean Giraud

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: 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) scaricato 1320 volta(e).

2 utenti hanno apprezzato questo post
Davide Carpi 30/01/2018 11:05:00, Radovan Omorjan 31/01/2018 02:48:00
#5 Pubblicato: 30/01/2018 11:04:41
Davide Carpi

Davide Carpi

1.443 apprezzamenti in 2.936 post.

Gruppo: 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 utenti hanno apprezzato questo post
Radovan Omorjan 31/01/2018 02:48:00
  • Nuovi post
  • Nessun nuovo post