Giter Site home page Giter Site logo

Comments (2)

jhmenke avatar jhmenke commented on August 13, 2024

A workaround is the following:

pp.runpp(self.grid)
self.grid.trafo["max_loading_percent"] = 0.95 * self.grid.res_trafo.loading_percent.values / self.grid.res_trafo.i_hv_ka.values * self.grid.trafo.max_i_ka.values

The maximum loading percent is scaled according to an initial power flow. No trafo sn_mva values need to be adjusted then.

from grid2op.

BDonnot avatar BDonnot commented on August 13, 2024

Hello Jan Hendrick :-)

I didn't want to modify too much the grid initially loaded, that is why the thermal limit are provided in an external vector, outside of the pandapower grid. You can use the:
backend.thermal_limit
or
env._thermal_limit

Transformers are considered as powerline, because, from a ML perspective, trafo pass the "Duck Test": they have flows like a powerline, limits (usually in current) like a powerline, 2 ends like a powerline and can be disconnected like powerlines. So from the perspective of a user of grid2op, trafo are powerlines.

However, as you noted, changing SN_MVA in transformer will change their physical properties (the one that are used in the ppc / ppci). So better not touch pandapower in this case, and use a check in post processing to see if the flow on the transformer is ok or not :-)

Benjamin

from grid2op.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.