THE reference for power system transients

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6662
    anonymous
    Keymaster

    Hallo everyone,

    I want to create a simple model in EMTP that has many almost identical parts. For example 100 capacitors in series, but each one with a different capacitance. Is there a way to quickly create this circuit with a script?

    It is very tedious to double click on all devices and change each and every parameter every time there is a new model.

    Cheers,

    Ronald

    #6664
    anonymous
    Keymaster

    Hi Ronald,

    I’ve uploaded an exemple in the exchange platform (Javascript : Add C devices + change values + connect devices)

    Best Regards,

    Ali

    #6665
    anonymous
    Keymaster

    Hi Ali,

    Thank you for your reply. I tried to run the file you sent me, but I got the following javascript error:

     

    Source:’Mircosoft JScript runtime error’

    Line:410 File: c\program files (x86)\emtpworks 2.6\infoscripts\branches\rlc_m.dwj Char:7

    Error:0 ”undefined’ is null or not an object’

    (null)

     

    What do you think is wrong here? Thank you for your support

     

    Regards,

     

    Ronald

    #6666
    anonymous
    Keymaster

    Hi Ronald,

    The last version of the script was for EMTP 2.5.

    I’ve uploaded a new version (for EMTP 3.0).

    Javascript : Add C devices + change values + connect devices (EMTP 3.0)

     

    Regards,

    Ali

    • This reply was modified 11 months ago by anonymous.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.