Skip to main content

Dear All,

I want to perform a complex calculation in AIMMS. For example, the given data is the impedance (Z) with Z = R + iX. In a constraint, the impedance must be transferred into admittance (Y) where Y = 1/Z.

 

Is there a method in AIMMS to do this?

 

Thank you very much.

@rahmat 

AIMMS does not support complex numbers per se. So any constraint over complex numbers need to be implemented as two constraints, one for the real and one for the imaginary part. 

In this, you can use that Y = 1/Z = 1/(R+iX) = (R - iX)/(R^2 + X^2)


@MarcelRoelofs 

Thank you for the answer….


Reply


Didn't find what you were looking for? Try searching on our documentation pages:

AIMMS Developer & PRO | AIMMS How-To | AIMMS SC Navigator