Skip to main content
Solved

How to perfrom complex calculation in AIMMS

  • May 24, 2024
  • 2 replies
  • 37 views

rahmat
Forum|alt.badge.img+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.

Best answer by MarcelRoelofs

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

2 replies

MarcelRoelofs
AIMMSian
Forum|alt.badge.img+5
  • AIMMSian
  • 107 replies
  • Answer
  • May 27, 2024

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


rahmat
Forum|alt.badge.img+4
  • Author
  • Ace
  • 33 replies
  • June 7, 2024

@MarcelRoelofs 

Thank you for the answer….



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

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