NCELLS

https://www.dacm-logiciels.fr/tracewin
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

NCELLS

Post by United States of Americawtam »

Dear Didier,

Can "NCELLS" be defined with arbitrary lengths between cells or gaps? I am looking to have an element that represents:
DRIFT
GAP
DRIFT
GAP
DRIFT
The GAPs will share the same voltage and phase.

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

Re: NCELLS

Post by FranceDidier »

Dear Wai-Ming,

Not really, that's not the spirit of the NCELLS element at all, you should use a simple DRIFT & GAP elements suite.

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: NCELLS

Post by United States of Americawtam »

Dear Didier,

This actually ties back to the question I have in my other post. If I use DRIFT & GAP elements suite, is there a way to perform "single" matching on a parameter shared by two GAPs. E.g.

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

I am sorry if I have repeated my question already in my other post. I thought NCELLS could be a workaround.

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

Re: NCELLS

Post by FranceDidier »

Dear wtam,

Using VARAIBLE command, you can set 'v1' to an unique and common value.
Or Using ADJUST you can link two element parameters to each over

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: NCELLS

Post by United States of Americawtam »

Dear Didier,

I understand that I can link two element parameters when using ADJUST. Can we take a step further to link two element parameters with an arithmetic relation. For example, an adjusted value in one element and twice that for another element.

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

Re: NCELLS

Post by FranceDidier »

Dear Wai-Ming,

No, link two element parameters with an arithmetic relation with ADJUST command is not possible
But in some cases, tricks are possible.

The following sequence will therefore not work
VARIABLE v1 1000
ADJUST 1 1 1
GAP V1 20 20 0
DRIFT 10 100
ADJUST 1 1 1
GAP 2*V1 20 20 0

This one will be able to operate
VARIABLE v1 1000
ADJUST 1 1 1
GAP V1 20 20 0
DRIFT 10 100
ADJUST 1 1 1
GAP V1 20 20 0
ADJUST 1 1 1
GAP V1 20 20 0

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: NCELLS

Post by United States of Americawtam »

Dear Didier,

Thank you for the trick. Could you think of a trick that can do:

VARIABLE v1 1000
ADJUST 1 1 1
GAP V1 20 20 0
DRIFT 10 100
ADJUST 1 1 1
GAP -V1 0 20 3

For the last gap I am using Type 3 for phase in order to tie it to the previous gap, the drift and speed. So I cannot simply add 180 degrees to the phase.

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

Re: NCELLS

Post by FranceDidier »

Dear Wai-Ming,

The right trick for your example would be like following:

VARIABLE vv1 1000
ADJUST 1 1 1
GAP vv1 20 20 0
DRIFT 10 100
ADJUST 1 1 -1
GAP vv1 0 20 0

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: NCELLS

Post by United States of Americawtam »

Dear Didier,

Thank you.
Is there a similar trick for MATCH_FAM_FIELD?

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

Re: NCELLS

Post by FranceDidier »

Dear Wai-Ming,

I would like to make a small correction. To be perfectly exact, this is not exactly a trick but a ADJUST's feature clearly described in the manual.
No the MATCH_FAM_FIELD command doesn't do the same thing.

Regards,

Didier
Post Reply