Giter Site home page Giter Site logo

Comments (4)

christiankral avatar christiankral commented on August 27, 2024

In the information of Diode2Exp the diode formula does not contain the ideality factor m, which is indeed included (and has a significant impact) in the equation section. I would recommend to include it.

In the PV models, e.g., PhotoVoltaics.Components.SimplePhotoVoltaics.SimpleCell, the parameters m and IsdRef are iteration variables in two initial equations and cannot be set independently by the user. The iteration is used to consistently parameterize the PV model.

  final parameter Real m(start = 2, fixed = false) "Ideality factor of diode";
  final parameter Modelica.Units.SI.Current IsdRef(start=1E-4, fixed=false)
    "Reference saturation current of cell";
initial equation 
  IphRef = IsdRef * (exp(moduleData.VocCellRef / m / moduleData.VtCellRef) - 1);
  IphRef = IsdRef * (exp(moduleData.VmpCellRef / m / moduleData.VtCellRef) - 1) + moduleData.ImpRef;

from photovoltaics.

christiankral avatar christiankral commented on August 27, 2024

I take the opportunity of this ticket to recommend changing the name "Bv" into "Vb", so that it becomes consistent with Vt: thermal voltage and Breakthrough voltage.

In the MSL the diode model Modelica.Electrical.Analog.Semiconductors.Diode2 uses the same parameter name Bv. In the PhotoVoltaics library the same name was chosen by intention to keep the connection.

If you propose to change Bv to Vb we should start at the MSL:

  • However, changing the parameter name of a model breaks the compatibility and thus needs a conversion script. So this is a big change and can only be performed in a major release of the MSL.
  • For the same reason I am reluctant to change the parameter name whithout a major release.
  • If you consider the parameter name change important enough you are free to file a ticket at he MSL issue tracker. The implementation will, however, not be done any time soon.

One more comment: Please create two different GitHub tickets for two different requests. Otherwise they cannot be handled independently.

from photovoltaics.

max-privato avatar max-privato commented on August 27, 2024

Thank you for your answers.
Regarding the question of m, I mentioned in my comment the information box , where the ideality factor is missing:
image

So, I complained that the info box does not correspond to the actual equation.
I know that it is not a parameter under the user's control.

Regarding the parameter name, I did not realise that also MSL has Bv.
For me it is a bad choice, and I personally would have broken compliancy with MSL in favour of internal coherency between Vt and Vb,... , but that's all, I can live with it.

from photovoltaics.

christiankral avatar christiankral commented on August 27, 2024

The change affects two models:

image

image

from photovoltaics.

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.