Import CSV to PSIM

Altair Forum User
Altair Forum User
Altair Employee
edited August 2023 in Community Q&A

I want to Import CSV file and make a source that operates on CSV. Can you explain the procedure to do so?

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2023

    Hello,

    Do you have solved your problem? Because i search to do the same thing and i don't find solutions.

    Best regards

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2023

    please watch this tutorial video:


    https://www.youtube.com/watch?v=80OdNUBW1ZM

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited August 2023

    It's possible to make it by using a Lookup Table and a Time source.
    Set the path to the CSV file in the "File Name" entry box of the Lookup Table component.
    The CSV file should be composed of at least two columns. The first column is the Time, and the second column is the voltage signal to generate. If the CSV has more columns, these will be ignored.
    Then, just connect a Time source in the input of the Lookup Table.
    The image below gives an example:

     

    image

     

    If you want a periodic signal, replace the Time source with a Internal Resetable Integrator with an input signal equal to 1, the Time Constant parameter equal to 1, the Lower Output Limit equal to 0, and the Upper Output Limit equal to the desired time period for the signal like shown below: