Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossibility to Assign value to a calculated variable. #280

Open
antoniopaolini opened this issue Sep 30, 2024 · 1 comment
Open

Impossibility to Assign value to a calculated variable. #280

antoniopaolini opened this issue Sep 30, 2024 · 1 comment

Comments

@antoniopaolini
Copy link

antoniopaolini commented Sep 30, 2024

Hello,
I found a problem in EngineeringPaper use, during electronic circuit calculation.
I am dimensioning a circuit and from the calculations I find "exact" values for two resistors.
Now I want to assign a commercial value ​​for the resistors, in order to verify that the operating conditions are correct.
The problem is that I can't reassign the value. I get the message "Error: Duplicate assignment of variable R_1" ($$R_1$$ is one of my resistors)

I know, it is by design, isn't a bug, but it is a big issue for this kind of engineering calculation.
I can use different names, like $$R_{1-calculated}$$ , but this is a workaround and is an impediment for using the nice report creation function.

Here one example: https://engineeringpaper.xyz/rkSGpDRfEb2EShV7oEUYzC

@mgreminger
Copy link
Owner

Normally, I would suggest using the built in function notation to address this problem since it allows you to evaluate a function at multiple input values. However, with what you're trying to do with the system solve cell, this won't entirely address your issue. Since you're attempting to solve for R1 and R2 in one case and then solve for Vout for a different set of R1 and R2, there's not really a way to do this without defining another set of variables. You're attempting to solve two separate problems in the same sheet and this can only be done with two sets of variables. You can also do this with two separate sheets and then combine the reports after the fact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants