ADJUST with VARIABLE

https://www.dacm-logiciels.fr/tracewin
Post Reply
United States of Americawtam
Skilled
Skilled
Posts: 111
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

ADJUST with VARIABLE

Post by United States of Americawtam »

Dear Colleagues,

My question has two parts:
(1) How can we use a VARIABLE with a multiplicative coefficient?
(2) How can we use ADJUST to adjust a VARIABLE such that the optimization result also apply in other places where the same VARIABLE is used?
Here is an example:

DRIFT 0 100
VARIABLE aa 10
ADJUST 11 1
DRIFT aa 10
DRIFT 10 10
DRIFT aa*2 10
DIAG_SIZE 11 2
DRIFT 10 10
END

I am hoping the ADJUST command will also consider "DRIFT aa*2 10".

Best regards,
Wai-Ming
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: ADJUST with VARIABLE

Post by FranceDidier »

Dear Wai-Ming,

A new version of TraceWin is available allowing the use of mathematical expressions with variables, like your first request. For the second one concerning the application of the ADJUST command to VARIABLE, unfortunately this is not possible and no simple future development would allow to get this functionality.
(See VARIABLE command documentation)

Regards,

Didier
United States of Americawtam
Skilled
Skilled
Posts: 111
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Re: ADJUST with VARIABLE

Post by United States of Americawtam »

Dear Didier,

Regarding my second request, is there a way to "tie" several similar elements together into a "cluster" such that the cluster would use one parameter so that matching would optimize that parameter? It is a workaround that I could think of. Do you have other ideas? Thanks.

Best regards,
Wai-Ming
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: ADJUST with VARIABLE

Post by FranceDidier »

Dear Wai-Ming,

To tell the truth, I didn't really understand your proposal and as it stands I don't have a solution to propose

Regards,

Didier
United States of Americawtam
Skilled
Skilled
Posts: 111
Joined: Mon 7 Dec 2020 06:17
Location: Boston
Country:
United States of America (us)
United States of America

Re: ADJUST with VARIABLE

Post by United States of Americawtam »

Dear Didier,

My proposal is described in my other post "NCELLS". Can we treat the following as one element:

DRIFT 20 20
GAP V1 20 20 0
DRIFT 20 20
GAP V1 20 20 0
DRIFT 20 20

such that in a matching "V1" can be solved for in both GAP elements. I thought NCELLS could be a workaround for what I needed if I can define arbitrary length for each cell. Apparently you told me it is not the spirit of NCELLS.

Best regards,
Wai-Ming
User avatar
FranceDidier
Administrator
Administrator
Posts: 976
Joined: Wed 26 Aug 2020 14:40
Country:
France (fr)
France

Re: ADJUST with VARIABLE

Post by FranceDidier »

Dear wtam,

I think I have already answered this question in another post

Regards,

Didier
Post Reply