Giter Site home page Giter Site logo

Comments (5)

XyDrKRulof avatar XyDrKRulof commented on May 30, 2024

So if I understand these supplies right we need the following:

For the model of the one-phase supply we need to implement a sinus function depending on the time with a specific (optionally given by the user) frequency, maximum amplitude and a random (optionally also given by the user) starting phase. On a call of the get_voltage() function we would like to return the amplitude, frequency (not time depended) and phase of the sinus at time t.

For the model of the three-phase supply we need three sinus functions which do all have a phase difference of 120° but the same frequency and maximum amplitude. On a call of the get_voltage() function we would like to return the three phases and amplitudes but only one frequency (since they are same for all sinus waves?).

Are there any concerns with this?

from gym-electric-motor.

atra94 avatar atra94 commented on May 30, 2024

For the model of the one-phase supply we need to implement a sinus function depending on the time with a specific (optionally given by the user) frequency, maximum amplitude and a random (optionally also given by the user) starting phase.

Correct!

On a call of the get_voltage() function we would like to return the amplitude, frequency (not time depended) and phase of the sinus at time t.

No, at that point, the voltage at time t should be returned.
return amp*np.sin(f*t+phi)

For the model of the three-phase supply we need three sinus functions which do all have a phase difference of 120° but the same frequency and maximum amplitude.

Correct

On a call of the get_voltage() function we would like to return the three phases and amplitudes but only one frequency (since they are same for all sinus waves?).

Again, only the three voltages are of interest. (Similar to the single phase case)

The "challenge" of this task, is that the Voltage Supply has to be generalized to support vectorial outputs. Currently, get_voltagereturns a scalar value.

Furthermore, the SCMLSystem needs to be adapted to handle a vectorial voltage (of length 1). The three phase supply is a preparation for #17 .

from gym-electric-motor.

wallscheid avatar wallscheid commented on May 30, 2024

As standard parameter for these single and three phase power supply we can use German LV standards i.e. 50 Hz 230/400 V

from gym-electric-motor.

XyDrKRulof avatar XyDrKRulof commented on May 30, 2024

Do we want to use a new random starting phase Phi at every call of reset()? If yes, do we want to add the option for the user to have a fixed phi for every episode?

from gym-electric-motor.

wallscheid avatar wallscheid commented on May 30, 2024

Starting with random phase angle should be default, giving the user the option to assign an arbitrary value (within 0-2pi) ist highly useful.

from gym-electric-motor.

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.