Message Boards Message Boards

0
|
6469 Views
|
1 Reply
|
2 Total Likes
View groups...
Share
Share this post:
GROUPS:

Complex numbers in SystemModeler?

Is there a easy way or tick to handle complex numbers in SystemModeler?  I need to do a model with phasors and I do not see a direct way to implement it.  

Thanks!
POSTED BY: Wayne Weaver
SystemModeler runs on the Modelica programming language. 

The Modelica 3.2 standard library supports complex numbers, but the current version of SystemModeler supports the 3.1 standard libraries.  Hopefully the next version of System Modeler will support the Modelica 3.2 standard libraries and you can use the definition of complex numbers there. 

 If you search online, there are some examples of complex number artihmetic being programmed handled in Modelica which you might find useful. 
POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract