Menu

set fixed tap

Beginners
Tom
2019-09-11
2019-09-11
  • Tom

    Tom - 2019-09-11

    I am trying to use matlab to compare bus voltages of different toplogy. I would like to know how I could fix my transformer tap value. For example, set all taps to 1, is there any easy way to do it? Thanks.

     
    • Davis Montenegro

      Hello,

      Yes, there is a way. First, you need to select the windng and then set the tap, for example:

      Transformer.XY.wdg=2 tap=1
      

      That will force the tap to 1 at winding 2 for transformer XY. If you want to do it for all the transformers at the same time you can use the "BatchEdit" command.

      Best regards

      Davis

       
      • Tom

        Tom - 2019-09-11

        Thanks! I used DSS.Text.Command=['BatchEdit Transformer..*wdg=2 tap=1'];
        and then used 'show taps' . It still remains as previous tap. Did I do something wrong?

         
        • Davis Montenegro

          Hi,

          For using batchedit you will have to go property by property, like this:

          BatchEdit Transformer..*wdg=2
          BatchEdit Transformer..*tap=1
          

          Also, please disable the contol actions so if you have regulators they will not change the taps. to do it, use the following command;

          set controlmode=off
          

          Let me know how it goes.

          Best regards

          Davis

           
          • Tom

            Tom - 2019-09-11

            I did set control mode off before solve and rewrite BatchEdit acoording to your suggestions and it still did not change tap.

             
  • Roger Dugan

    Roger Dugan - 2019-09-11

    Did you leave the RegControls active and execute a solve command? That will change the taps.

     
  • Paulo Radatz

    Paulo Radatz - 2019-09-11

    Tom,

    Could you share your dss file? I can have a look.

    Best regards

     
    • Tom

      Tom - 2019-09-11

      Sure. Thank you so much for your time.

       
      • Davis Montenegro

        I think I got it,

        for the batchedit command, leave a space between the * and the property to modify as follows:

        BatchEdit Transformer..* wdg=2
        BatchEdit Transformer..* tap=1
        

        I've just tested and it works nice.

        Best regards

        Davis

         
        • Tom

          Tom - 2019-09-11

          Davis,

          Thank you so much! I finally make it. I used DSSSolution.Solve() and it did not work.
          After I changed it to DSSText.Command=['solve'], it works perfectly! Could you give me some hints about those two's difference?

           
          • Davis Montenegro

            Tom,

            They are the same, there is nothing else behind the property at the solution interface. Anyway, I'm glad it worked.

            Best regards

            Davis

             

Log in to post a comment.

MongoDB Logo MongoDB