Menu

Generator object in price dispatch mode

Beginners
2025-01-21
2025-01-21
  • ankita singh

    ankita singh - 2025-01-21

    Hi all,
    anyone who has solved the problem related to generator in price dispatch mode for optimal dispatch of generators. I have tried to solve but i am not getting the correct answer. Generator is turned on all the time irrespective of dispatch price value.

    New PriceShape.Price interval=1 npts=24 price = [0.230, 0.190, 0.140, 0.120, 0.120, 0.130, 0.130, 0.140, 0.170, 0.220, 0.220, 0.220, 0.210, 0.220, 0.190, 0.180, 0.170, 0.230, 0.210, 0.220, 0.180, 0.170, 0.130, 0.120]
    New Generator.G2 Bus1=2 kV= 12.66 kW=2500 Vpu=1.0 model=3 Maxkvar=1000 Minkvar= 0 dispmode=price DispValue=0.200 !debugtrace=yes

    Can anyone help in this?

    Thanks

     
    • Davis Montenegro

      Hello,

      Yes, there is a missing command. After declaring your PriceShape you need to make it the global default, so other devices such as the generator later declared will know what is the energy price for the simulation.
      That being said, the example presented above needs to be modified as follows:

      ...
      New PriceShape.Price interval=1 npts=24 price = [0.230, 0.190, 0.140, 0.120, 0.120, 0.130, 0.130, 0.140, 0.170, 0.220, 0.220, 0.220, 0.210, 0.220, 0.190, 0.180, 0.170, 0.230, 0.210, 0.220, 0.180, 0.170, 0.130, 0.120]
      
      Set pricecurve=Price
      
      New Generator.G2 Bus1=2 kV= 12.66 kW=2500 Vpu=1.0 model=3 Maxkvar=1000 Minkvar= 0 dispmode=price DispValue=0.200 !debugtrace=yes
      ...
      

      That should do,

      Best regards,

       
  • ankita singh

    ankita singh - 2025-01-21

    Thank you so much sir.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.