Comments (4)
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.
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.
Thank you for your answers.
Regarding the question of m, I mentioned in my comment the information box , where the ideality factor is missing:
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.
The change affects two models:
from photovoltaics.
Related Issues (20)
- Change sun azimuth in SolarPyramidBatteryCharge HOT 1
- Add license information of EnergyPlus HOT 1
- Start time behavior of TriangleAndStep is wrong
- Initial conditions are not fully specified HOT 2
- Update library to Buildings 5.1.0
- Change license to BSD-3
- Change output path of result files HOT 1
- Add reference to Modelica 2019 paper
- Dymola 2019FD01 warning on range of VRef HOT 1
- Swith dependency from MSL 3.2.2 to 3.2.3
- Replace obsolete block icon in PhotoVoltaics_TGM.WriteCSV
- Improve documentation of the initialization of the cell model
- Use full qualified class names in all examples to simlify duplication
- Move connectors of converters HOT 1
- Use absolute instance names in all module records of PhotoVoltaics.Records
- Add example of (generic) table irradiance data supplying a PV module model HOT 1
- Problem simulating via FMPy HOT 5
- Type of Temperature in Measurement Data HOT 1
- Are reference results available? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photovoltaics.