Solved

How to perfrom complex calculation in AIMMS


Userlevel 2
Badge +4

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.

icon

Best answer by MarcelRoelofs 27 May 2024, 10:33

View original

2 replies

Userlevel 4
Badge +5

@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)

Userlevel 2
Badge +4

@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